Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-30 23:59:03.731294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/21/48/image_28012025_21_48_15_10390.jpg', '/home/pi/Desktop/images/28012025/21/48/image_28012025_21_48_26_10344.jpg', '/home/pi/Desktop/images/28012025/21/48/image_28012025_21_48_35_9340.jpg', '/home/pi/Desktop/images/28012025/21/48/image_28012025_21_48_45_10460.jpg', '/home/pi/Desktop/images/28012025/21/48/image_28012025_21_48_55_9344.jpg', '/home/pi/Desktop/images/28012025/21/48/image_28012025_21_49_05_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/48/image_28012025_21_48_15_10390.jpg
/home/pi/Desktop/images/28012025/21/48/image_28012025_21_48_26_10344.jpg
/home/pi/Desktop/images/28012025/21/48/image_28012025_21_48_35_9340.jpg
/home/pi/Desktop/images/28012025/21/48/image_28012025_21_48_45_10460.jpg
/home/pi/Desktop/images/28012025/21/48/image_28012025_21_48_55_9344.jpg
/home/pi/Desktop/images/28012025/21/48/image_28012025_21_49_05_10446.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":["1333133870","1333133884","1333133866","1333133881","1333133877","1333133874"],"photo_ids_order":["1333133866","1333133870","1333133874","1333133877","1333133881","1333133884"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/391b4dcb16261cfb5f7e6d5dbccca8ec.jpg","text":"TemporaryFile(/tmp/multipartBody3564028849661600706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278011949,"filename":"image_28012025_21_48_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/1/31/8ba2bc2d53595e24466bf1a8b984b992.jpg","text":"TemporaryFile(/tmp/multipartBody1842712858401726330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278011949,"filename":"image_28012025_21_49_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/1/31/8065d439898f268d8a623037a498ea75.jpg","text":"TemporaryFile(/tmp/multipartBody353297484239412948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278011949,"filename":"image_28012025_21_48_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/1/31/4e96b426fad9d23cf90a160aef062e39.jpg","text":"TemporaryFile(/tmp/multipartBody6711821637396328924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278011949,"filename":"image_28012025_21_48_55_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/051de3c3f0b7fbfe4617d7325ffc1fd8.jpg","text":"TemporaryFile(/tmp/multipartBody5532825863588869378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278011949,"filename":"image_28012025_21_48_45_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cd37b0f4cd7c99054fbb273cc0546d14.jpg","text":"TemporaryFile(/tmp/multipartBody7344063776380114640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278011949,"filename":"image_28012025_21_48_35_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333133874","file1":"1333133870","file0":"1333133866","file4":"1333133881","file5":"1333133884","file3":"1333133877"},"map_files_photo_id_array":[{"photo_id":"1333133884","filename":"file5"},{"photo_id":"1333133874","filename":"file2"},{"photo_id":"1333133881","filename":"file4"},{"photo_id":"1333133870","filename":"file1"},{"photo_id":"1333133866","filename":"file0"},{"photo_id":"1333133877","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333133870":["hashtag1","hashtag2"]},{"1333133884":["hashtag1","hashtag2"]},{"1333133866":["hashtag1","hashtag2"]},{"1333133881":["hashtag1","hashtag2"]},{"1333133877":["hashtag1","hashtag2"]},{"1333133874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333133870, 1333133884, 1333133866, 1333133881, 1333133877, 1333133874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.35140919685364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:00:03.594528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/21/49/image_28012025_21_49_16_10368.jpg', '/home/pi/Desktop/images/28012025/21/49/image_28012025_21_49_25_9360.jpg', '/home/pi/Desktop/images/28012025/21/49/image_28012025_21_49_35_10388.jpg', '/home/pi/Desktop/images/28012025/21/49/image_28012025_21_49_45_9362.jpg', '/home/pi/Desktop/images/28012025/21/49/image_28012025_21_49_55_10485.jpg', '/home/pi/Desktop/images/28012025/21/49/image_28012025_21_50_06_10380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/49/image_28012025_21_49_16_10368.jpg
/home/pi/Desktop/images/28012025/21/49/image_28012025_21_49_25_9360.jpg
/home/pi/Desktop/images/28012025/21/49/image_28012025_21_49_35_10388.jpg
/home/pi/Desktop/images/28012025/21/49/image_28012025_21_49_45_9362.jpg
/home/pi/Desktop/images/28012025/21/49/image_28012025_21_49_55_10485.jpg
/home/pi/Desktop/images/28012025/21/49/image_28012025_21_50_06_10380.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.1734557151794434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-31 00:00:13.038658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/21/49/image_28012025_21_49_16_10368.jpg', '/home/pi/Desktop/images/28012025/21/49/image_28012025_21_49_25_9360.jpg', '/home/pi/Desktop/images/28012025/21/49/image_28012025_21_49_35_10388.jpg', '/home/pi/Desktop/images/28012025/21/49/image_28012025_21_49_45_9362.jpg', '/home/pi/Desktop/images/28012025/21/49/image_28012025_21_49_55_10485.jpg', '/home/pi/Desktop/images/28012025/21/49/image_28012025_21_50_06_10380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/49/image_28012025_21_49_16_10368.jpg
/home/pi/Desktop/images/28012025/21/49/image_28012025_21_49_25_9360.jpg
/home/pi/Desktop/images/28012025/21/49/image_28012025_21_49_35_10388.jpg
/home/pi/Desktop/images/28012025/21/49/image_28012025_21_49_45_9362.jpg
/home/pi/Desktop/images/28012025/21/49/image_28012025_21_49_55_10485.jpg
/home/pi/Desktop/images/28012025/21/49/image_28012025_21_50_06_10380.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333134356","1333134707","1333134109","1333134573","1333134711","1333134702"],"photo_ids_order":["1333134109","1333134356","1333134573","1333134702","1333134707","1333134711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/675115789dae2708714af65dacfc863c.jpg","text":"TemporaryFile(/tmp/multipartBody2878967876084324933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278075287,"filename":"image_28012025_21_49_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/1/31/9398ae72fe2e8c8f6255589a7317ebad.jpg","text":"TemporaryFile(/tmp/multipartBody8049128719224481126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278075287,"filename":"image_28012025_21_49_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/1/31/448e3161cef3aeb5363223d6ae0c2eba.jpg","text":"TemporaryFile(/tmp/multipartBody7640191068746776877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278075287,"filename":"image_28012025_21_49_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/1/31/52355a1119505aa944fda1b2a4953be6.jpg","text":"TemporaryFile(/tmp/multipartBody9076372409764966434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278075287,"filename":"image_28012025_21_49_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/1/31/353a468c9eb761667854a3e60cd1d07c.jpg","text":"TemporaryFile(/tmp/multipartBody4135529774167207354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278075287,"filename":"image_28012025_21_50_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/1/31/3789189b1e09afe28023b4a5a273e214.jpg","text":"TemporaryFile(/tmp/multipartBody7268104477755782276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278075287,"filename":"image_28012025_21_49_45_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333134573","file1":"1333134356","file0":"1333134109","file4":"1333134707","file5":"1333134711","file3":"1333134702"},"map_files_photo_id_array":[{"photo_id":"1333134711","filename":"file5"},{"photo_id":"1333134573","filename":"file2"},{"photo_id":"1333134707","filename":"file4"},{"photo_id":"1333134356","filename":"file1"},{"photo_id":"1333134109","filename":"file0"},{"photo_id":"1333134702","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333134356":["hashtag1","hashtag2"]},{"1333134707":["hashtag1","hashtag2"]},{"1333134109":["hashtag1","hashtag2"]},{"1333134573":["hashtag1","hashtag2"]},{"1333134711":["hashtag1","hashtag2"]},{"1333134702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333134356, 1333134707, 1333134109, 1333134573, 1333134711, 1333134702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.428313970565796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:01:04.414392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 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_31012025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
{'portfolio_id': 20089544, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1738278125000}
4310
2531304
4310
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/00/image_31012025_00_00_15_10059.jpg', '/home/pi/Desktop/images/31012025/00/00/image_31012025_00_00_25_10329.jpg', '/home/pi/Desktop/images/31012025/00/00/image_31012025_00_00_36_10366.jpg', '/home/pi/Desktop/images/31012025/00/00/image_31012025_00_00_45_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/00/image_31012025_00_00_15_10059.jpg
/home/pi/Desktop/images/31012025/00/00/image_31012025_00_00_25_10329.jpg
/home/pi/Desktop/images/31012025/00/00/image_31012025_00_00_36_10366.jpg
/home/pi/Desktop/images/31012025/00/00/image_31012025_00_00_45_9390.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333134733","1333134739","1333134730","1333134732"],"photo_ids_order":["1333134730","1333134732","1333134733","1333134739"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/03a8b4c0ba664e3a3bbe8d5f1625707e.jpg","text":"TemporaryFile(/tmp/multipartBody3448579182034466450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278128708,"filename":"image_31012025_00_00_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/1/31/47f68c8d8d8b6a7511b38092d818eb3b.jpg","text":"TemporaryFile(/tmp/multipartBody5084538602520913196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278128708,"filename":"image_31012025_00_00_45_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/74985e9af3d3951733f45f137537752b.jpg","text":"TemporaryFile(/tmp/multipartBody6950654488515582182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278128708,"filename":"image_31012025_00_00_15_10059.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/42babdfe3a50e9f48e6d18327b796610.jpg","text":"TemporaryFile(/tmp/multipartBody3164471765272525534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278128708,"filename":"image_31012025_00_00_25_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333134733","file1":"1333134732","file0":"1333134730","file3":"1333134739"},"map_files_photo_id_array":[{"photo_id":"1333134733","filename":"file2"},{"photo_id":"1333134732","filename":"file1"},{"photo_id":"1333134730","filename":"file0"},{"photo_id":"1333134739","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333134733":["hashtag1","hashtag2"]},{"1333134739":["hashtag1","hashtag2"]},{"1333134730":["hashtag1","hashtag2"]},{"1333134732":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333134733, 1333134739, 1333134730, 1333134732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.490522623062134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-31 00:01:43.074700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/21/50/image_28012025_21_50_15_9406.jpg', '/home/pi/Desktop/images/28012025/21/50/image_28012025_21_50_25_10338.jpg', '/home/pi/Desktop/images/28012025/21/50/image_28012025_21_50_35_9414.jpg', '/home/pi/Desktop/images/28012025/21/50/image_28012025_21_50_56_10366.jpg', '/home/pi/Desktop/images/28012025/21/50/image_28012025_21_51_05_9341.jpg', '/home/pi/Desktop/images/28012025/21/51/image_28012025_21_51_26_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/50/image_28012025_21_50_15_9406.jpg
/home/pi/Desktop/images/28012025/21/50/image_28012025_21_50_25_10338.jpg
/home/pi/Desktop/images/28012025/21/50/image_28012025_21_50_35_9414.jpg
/home/pi/Desktop/images/28012025/21/50/image_28012025_21_50_56_10366.jpg
/home/pi/Desktop/images/28012025/21/50/image_28012025_21_51_05_9341.jpg
/home/pi/Desktop/images/28012025/21/51/image_28012025_21_51_26_10339.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":["1333135084","1333135210","1333135153","1333135140","1333135211","1333135198"],"photo_ids_order":["1333135084","1333135140","1333135153","1333135198","1333135210","1333135211"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/befb88eaaa316dbfd2c2e441a799d620.jpg","text":"TemporaryFile(/tmp/multipartBody4986245596928581192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278165425,"filename":"image_28012025_21_50_15_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5a36f34d84d24739d6d56063687ad4f5.jpg","text":"TemporaryFile(/tmp/multipartBody5456729857364973725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278165425,"filename":"image_28012025_21_51_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/1/31/c2065b604f367d289b00c35981040e1b.jpg","text":"TemporaryFile(/tmp/multipartBody779737441902202860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278165425,"filename":"image_28012025_21_50_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/1/31/f79cc9f740416697436194f1c788d3fe.jpg","text":"TemporaryFile(/tmp/multipartBody7062733813400585045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278165425,"filename":"image_28012025_21_50_25_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/971c3b44c270692deeab8188ae522b7b.jpg","text":"TemporaryFile(/tmp/multipartBody128069670763098539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278165425,"filename":"image_28012025_21_51_26_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/05dc622cf0ace4a99a2d918ed801837f.jpg","text":"TemporaryFile(/tmp/multipartBody6084064715833562594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278165425,"filename":"image_28012025_21_50_56_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333135153","file1":"1333135140","file0":"1333135084","file4":"1333135210","file5":"1333135211","file3":"1333135198"},"map_files_photo_id_array":[{"photo_id":"1333135211","filename":"file5"},{"photo_id":"1333135153","filename":"file2"},{"photo_id":"1333135210","filename":"file4"},{"photo_id":"1333135140","filename":"file1"},{"photo_id":"1333135084","filename":"file0"},{"photo_id":"1333135198","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333135084":["hashtag1","hashtag2"]},{"1333135210":["hashtag1","hashtag2"]},{"1333135153":["hashtag1","hashtag2"]},{"1333135140":["hashtag1","hashtag2"]},{"1333135211":["hashtag1","hashtag2"]},{"1333135198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333135084, 1333135210, 1333135153, 1333135140, 1333135211, 1333135198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.42802429199219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-31 00:02:42.324300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/21/51/image_28012025_21_51_35_9426.jpg', '/home/pi/Desktop/images/28012025/21/51/image_28012025_21_51_55_9433.jpg', '/home/pi/Desktop/images/28012025/21/51/image_28012025_21_52_05_10390.jpg', '/home/pi/Desktop/images/28012025/21/52/image_28012025_21_52_16_10334.jpg', '/home/pi/Desktop/images/28012025/21/52/image_28012025_21_52_25_9345.jpg', '/home/pi/Desktop/images/28012025/21/52/image_28012025_21_52_45_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/51/image_28012025_21_51_35_9426.jpg
/home/pi/Desktop/images/28012025/21/51/image_28012025_21_51_55_9433.jpg
/home/pi/Desktop/images/28012025/21/51/image_28012025_21_52_05_10390.jpg
/home/pi/Desktop/images/28012025/21/52/image_28012025_21_52_16_10334.jpg
/home/pi/Desktop/images/28012025/21/52/image_28012025_21_52_25_9345.jpg
/home/pi/Desktop/images/28012025/21/52/image_28012025_21_52_45_9342.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9505059719085693 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:03:03.932164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/00/image_31012025_00_00_55_10330.jpg', '/home/pi/Desktop/images/31012025/00/00/image_31012025_00_01_06_10387.jpg', '/home/pi/Desktop/images/31012025/00/01/image_31012025_00_01_15_9375.jpg', '/home/pi/Desktop/images/31012025/00/01/image_31012025_00_01_25_10347.jpg', '/home/pi/Desktop/images/31012025/00/01/image_31012025_00_01_36_10411.jpg', '/home/pi/Desktop/images/31012025/00/01/image_31012025_00_01_45_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/00/image_31012025_00_00_55_10330.jpg
/home/pi/Desktop/images/31012025/00/00/image_31012025_00_01_06_10387.jpg
/home/pi/Desktop/images/31012025/00/01/image_31012025_00_01_15_9375.jpg
/home/pi/Desktop/images/31012025/00/01/image_31012025_00_01_25_10347.jpg
/home/pi/Desktop/images/31012025/00/01/image_31012025_00_01_36_10411.jpg
/home/pi/Desktop/images/31012025/00/01/image_31012025_00_01_45_9353.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":["1333135773","1333135982","1333135976","1333135955","1333135979","1333135952"],"photo_ids_order":["1333135773","1333135952","1333135955","1333135976","1333135979","1333135982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/96f324a9a60bd17081c88fc1df466e3d.jpg","text":"TemporaryFile(/tmp/multipartBody1959947553131374835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278245049,"filename":"image_31012025_00_00_55_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/74a7b7e5c0d7a4a6797afcb2a4b315fb.jpg","text":"TemporaryFile(/tmp/multipartBody6043205816804283268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278245049,"filename":"image_31012025_00_01_45_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4a604265838ce8bdc7d441c4fcfa40d0.jpg","text":"TemporaryFile(/tmp/multipartBody3122748094255565073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278245049,"filename":"image_31012025_00_01_25_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/66b6f1d7a1d672539eb8fc2e4bd373c4.jpg","text":"TemporaryFile(/tmp/multipartBody3456960350749045342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278245049,"filename":"image_31012025_00_01_15_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cdc2a4d38b167a079c4d66fda8a9ba74.jpg","text":"TemporaryFile(/tmp/multipartBody940643595870695345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278245049,"filename":"image_31012025_00_01_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/1/31/c57e79f47e8dc205bafcb4168eb876f9.jpg","text":"TemporaryFile(/tmp/multipartBody556704052254675403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278245049,"filename":"image_31012025_00_01_06_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333135955","file1":"1333135952","file0":"1333135773","file4":"1333135979","file5":"1333135982","file3":"1333135976"},"map_files_photo_id_array":[{"photo_id":"1333135982","filename":"file5"},{"photo_id":"1333135955","filename":"file2"},{"photo_id":"1333135979","filename":"file4"},{"photo_id":"1333135952","filename":"file1"},{"photo_id":"1333135773","filename":"file0"},{"photo_id":"1333135976","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333135773":["hashtag1","hashtag2"]},{"1333135982":["hashtag1","hashtag2"]},{"1333135976":["hashtag1","hashtag2"]},{"1333135955":["hashtag1","hashtag2"]},{"1333135979":["hashtag1","hashtag2"]},{"1333135952":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333135773, 1333135982, 1333135976, 1333135955, 1333135979, 1333135952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9047954082489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:04:03.614462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/01/image_31012025_00_01_56_10386.jpg', '/home/pi/Desktop/images/31012025/00/02/image_31012025_00_02_15_10352.jpg', '/home/pi/Desktop/images/31012025/00/02/image_31012025_00_02_26_10398.jpg', '/home/pi/Desktop/images/31012025/00/02/image_31012025_00_02_35_9367.jpg', '/home/pi/Desktop/images/31012025/00/02/image_31012025_00_02_46_10409.jpg', '/home/pi/Desktop/images/31012025/00/02/image_31012025_00_02_55_9428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/01/image_31012025_00_01_56_10386.jpg
/home/pi/Desktop/images/31012025/00/02/image_31012025_00_02_15_10352.jpg
/home/pi/Desktop/images/31012025/00/02/image_31012025_00_02_26_10398.jpg
/home/pi/Desktop/images/31012025/00/02/image_31012025_00_02_35_9367.jpg
/home/pi/Desktop/images/31012025/00/02/image_31012025_00_02_46_10409.jpg
/home/pi/Desktop/images/31012025/00/02/image_31012025_00_02_55_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5441949367523193 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-31 00:04:12.751256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/21/51/image_28012025_21_51_35_9426.jpg', '/home/pi/Desktop/images/28012025/21/51/image_28012025_21_51_55_9433.jpg', '/home/pi/Desktop/images/28012025/21/51/image_28012025_21_52_05_10390.jpg', '/home/pi/Desktop/images/28012025/21/52/image_28012025_21_52_16_10334.jpg', '/home/pi/Desktop/images/28012025/21/52/image_28012025_21_52_25_9345.jpg', '/home/pi/Desktop/images/28012025/21/52/image_28012025_21_52_45_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/51/image_28012025_21_51_35_9426.jpg
/home/pi/Desktop/images/28012025/21/51/image_28012025_21_51_55_9433.jpg
/home/pi/Desktop/images/28012025/21/51/image_28012025_21_52_05_10390.jpg
/home/pi/Desktop/images/28012025/21/52/image_28012025_21_52_16_10334.jpg
/home/pi/Desktop/images/28012025/21/52/image_28012025_21_52_25_9345.jpg
/home/pi/Desktop/images/28012025/21/52/image_28012025_21_52_45_9342.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333136349","1333136291","1333136294","1333136282","1333136356","1333136359"],"photo_ids_order":["1333136282","1333136291","1333136294","1333136349","1333136356","1333136359"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c66667f8be0e98023f1f2f32bba2ee65.jpg","text":"TemporaryFile(/tmp/multipartBody3194288822564823872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278315037,"filename":"image_28012025_21_52_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/1/31/79c9050f9cb5cab9edaa43f2a3f5e329.jpg","text":"TemporaryFile(/tmp/multipartBody8987139406746858643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278315037,"filename":"image_28012025_21_51_55_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5df228132f3aca229bd2ba51ec9a8fac.jpg","text":"TemporaryFile(/tmp/multipartBody3496835059596751779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278315037,"filename":"image_28012025_21_52_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/1/31/2d924fcf5bf60b2f32673b5bd1654620.jpg","text":"TemporaryFile(/tmp/multipartBody1641772526602303412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278315037,"filename":"image_28012025_21_51_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/1/31/b6888e98f4fdc33cb30ed99c7bba8cec.jpg","text":"TemporaryFile(/tmp/multipartBody1069159599653780212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278315037,"filename":"image_28012025_21_52_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/1/31/968f924abb9d60b91b78d115d254c83c.jpg","text":"TemporaryFile(/tmp/multipartBody1248396249590452634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278315037,"filename":"image_28012025_21_52_45_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333136294","file1":"1333136291","file0":"1333136282","file4":"1333136356","file5":"1333136359","file3":"1333136349"},"map_files_photo_id_array":[{"photo_id":"1333136359","filename":"file5"},{"photo_id":"1333136294","filename":"file2"},{"photo_id":"1333136356","filename":"file4"},{"photo_id":"1333136291","filename":"file1"},{"photo_id":"1333136282","filename":"file0"},{"photo_id":"1333136349","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333136349":["hashtag1","hashtag2"]},{"1333136291":["hashtag1","hashtag2"]},{"1333136294":["hashtag1","hashtag2"]},{"1333136282":["hashtag1","hashtag2"]},{"1333136356":["hashtag1","hashtag2"]},{"1333136359":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333136349, 1333136291, 1333136294, 1333136282, 1333136356, 1333136359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41757392883301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:05:04.302460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/01/image_31012025_00_01_56_10386.jpg', '/home/pi/Desktop/images/31012025/00/02/image_31012025_00_02_15_10352.jpg', '/home/pi/Desktop/images/31012025/00/02/image_31012025_00_02_26_10398.jpg', '/home/pi/Desktop/images/31012025/00/02/image_31012025_00_02_35_9367.jpg', '/home/pi/Desktop/images/31012025/00/02/image_31012025_00_02_46_10409.jpg', '/home/pi/Desktop/images/31012025/00/02/image_31012025_00_02_55_9428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/01/image_31012025_00_01_56_10386.jpg
/home/pi/Desktop/images/31012025/00/02/image_31012025_00_02_15_10352.jpg
/home/pi/Desktop/images/31012025/00/02/image_31012025_00_02_26_10398.jpg
/home/pi/Desktop/images/31012025/00/02/image_31012025_00_02_35_9367.jpg
/home/pi/Desktop/images/31012025/00/02/image_31012025_00_02_46_10409.jpg
/home/pi/Desktop/images/31012025/00/02/image_31012025_00_02_55_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":["1333136614","1333136608","1333136612","1333136668","1333136653","1333136617"],"photo_ids_order":["1333136608","1333136612","1333136614","1333136617","1333136653","1333136668"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ee5f807499257ba92904e79efcb3a9da.jpg","text":"TemporaryFile(/tmp/multipartBody1291066712403961848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278365373,"filename":"image_31012025_00_02_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/1/31/b20aa83618130cf49cdc27ef31ddbe82.jpg","text":"TemporaryFile(/tmp/multipartBody8668271636017778379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278365373,"filename":"image_31012025_00_01_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/1/31/55ffa299c9133d285f45a32546c134a0.jpg","text":"TemporaryFile(/tmp/multipartBody4416302747602926353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278365373,"filename":"image_31012025_00_02_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/1/31/6be537f3dcda93f7ef3d6ba8e7d83eb2.jpg","text":"TemporaryFile(/tmp/multipartBody5842754251674171963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278365373,"filename":"image_31012025_00_02_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/1/31/4d778ce5fccb645517cbb653dd56f7ee.jpg","text":"TemporaryFile(/tmp/multipartBody7479942239398599086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278365373,"filename":"image_31012025_00_02_46_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1f5f8121ec0d3991f0012fab54b594cb.jpg","text":"TemporaryFile(/tmp/multipartBody4660870106083093220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278365373,"filename":"image_31012025_00_02_35_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333136614","file1":"1333136612","file0":"1333136608","file4":"1333136653","file5":"1333136668","file3":"1333136617"},"map_files_photo_id_array":[{"photo_id":"1333136668","filename":"file5"},{"photo_id":"1333136614","filename":"file2"},{"photo_id":"1333136653","filename":"file4"},{"photo_id":"1333136612","filename":"file1"},{"photo_id":"1333136608","filename":"file0"},{"photo_id":"1333136617","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333136614":["hashtag1","hashtag2"]},{"1333136608":["hashtag1","hashtag2"]},{"1333136612":["hashtag1","hashtag2"]},{"1333136668":["hashtag1","hashtag2"]},{"1333136653":["hashtag1","hashtag2"]},{"1333136617":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333136614, 1333136608, 1333136612, 1333136668, 1333136653, 1333136617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.680055379867554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:06:02.933561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/02/image_31012025_00_03_05_10438.jpg', '/home/pi/Desktop/images/31012025/00/03/image_31012025_00_03_16_10344.jpg', '/home/pi/Desktop/images/31012025/00/03/image_31012025_00_03_25_9348.jpg', '/home/pi/Desktop/images/31012025/00/03/image_31012025_00_03_35_10357.jpg', '/home/pi/Desktop/images/31012025/00/03/image_31012025_00_03_46_10417.jpg', '/home/pi/Desktop/images/31012025/00/03/image_31012025_00_03_55_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/02/image_31012025_00_03_05_10438.jpg
/home/pi/Desktop/images/31012025/00/03/image_31012025_00_03_16_10344.jpg
/home/pi/Desktop/images/31012025/00/03/image_31012025_00_03_25_9348.jpg
/home/pi/Desktop/images/31012025/00/03/image_31012025_00_03_35_10357.jpg
/home/pi/Desktop/images/31012025/00/03/image_31012025_00_03_46_10417.jpg
/home/pi/Desktop/images/31012025/00/03/image_31012025_00_03_55_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":["1333136710","1333136745","1333136747","1333136732","1333136743","1333136737"],"photo_ids_order":["1333136710","1333136732","1333136737","1333136743","1333136745","1333136747"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3c2d0835b55750307145f872adf2f6d3.jpg","text":"TemporaryFile(/tmp/multipartBody598781926010990610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278423886,"filename":"image_31012025_00_03_05_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c7ee8459deb932aa350bbcc1c3ac03a4.jpg","text":"TemporaryFile(/tmp/multipartBody4189762862952921166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278423886,"filename":"image_31012025_00_03_46_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d562a2952f92283162b6e9296a6c9f61.jpg","text":"TemporaryFile(/tmp/multipartBody7759381245817426545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278423886,"filename":"image_31012025_00_03_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/1/31/fedb77d8007d36b66b14cf36d3723b7f.jpg","text":"TemporaryFile(/tmp/multipartBody2214896482932386441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278423886,"filename":"image_31012025_00_03_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/1/31/527fe28b4b332fbca757e7b781f6ec67.jpg","text":"TemporaryFile(/tmp/multipartBody6062438442730590836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278423886,"filename":"image_31012025_00_03_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/1/31/c1c341796ffcbf8d65b45461e1be00b5.jpg","text":"TemporaryFile(/tmp/multipartBody1788021652892835050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278423886,"filename":"image_31012025_00_03_25_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333136737","file1":"1333136732","file0":"1333136710","file4":"1333136745","file5":"1333136747","file3":"1333136743"},"map_files_photo_id_array":[{"photo_id":"1333136747","filename":"file5"},{"photo_id":"1333136737","filename":"file2"},{"photo_id":"1333136745","filename":"file4"},{"photo_id":"1333136732","filename":"file1"},{"photo_id":"1333136710","filename":"file0"},{"photo_id":"1333136743","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333136710":["hashtag1","hashtag2"]},{"1333136745":["hashtag1","hashtag2"]},{"1333136747":["hashtag1","hashtag2"]},{"1333136732":["hashtag1","hashtag2"]},{"1333136743":["hashtag1","hashtag2"]},{"1333136737":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333136710, 1333136745, 1333136747, 1333136732, 1333136743, 1333136737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.755845069885254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:07:04.111935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/03/image_31012025_00_04_06_10394.jpg', '/home/pi/Desktop/images/31012025/00/04/image_31012025_00_04_36_10500.jpg', '/home/pi/Desktop/images/31012025/00/04/image_31012025_00_04_45_9412.jpg', '/home/pi/Desktop/images/31012025/00/05/image_31012025_00_05_15_10327.jpg', '/home/pi/Desktop/images/31012025/00/05/image_31012025_00_05_26_10426.jpg', '/home/pi/Desktop/images/31012025/00/05/image_31012025_00_05_35_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/03/image_31012025_00_04_06_10394.jpg
/home/pi/Desktop/images/31012025/00/04/image_31012025_00_04_36_10500.jpg
/home/pi/Desktop/images/31012025/00/04/image_31012025_00_04_45_9412.jpg
/home/pi/Desktop/images/31012025/00/05/image_31012025_00_05_15_10327.jpg
/home/pi/Desktop/images/31012025/00/05/image_31012025_00_05_26_10426.jpg
/home/pi/Desktop/images/31012025/00/05/image_31012025_00_05_35_9348.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":["1333136792","1333136780","1333136774","1333136783","1333136777","1333136788"],"photo_ids_order":["1333136774","1333136777","1333136780","1333136783","1333136788","1333136792"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/14eb07b9373216f22ed7547f4923c5d8.jpg","text":"TemporaryFile(/tmp/multipartBody7920172753283565293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278485192,"filename":"image_31012025_00_05_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/1/31/6e6e9e9237e1f29ade93d95dc6d9a956.jpg","text":"TemporaryFile(/tmp/multipartBody5366497606152157456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278485192,"filename":"image_31012025_00_04_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/1/31/8f5ccde41cbde2a63920270f038f90b6.jpg","text":"TemporaryFile(/tmp/multipartBody1438069010149994573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278485192,"filename":"image_31012025_00_04_06_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1c4f298bf3ecd41c970c6f9ab3169811.jpg","text":"TemporaryFile(/tmp/multipartBody5977954597596028701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278485192,"filename":"image_31012025_00_05_15_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/490c7c67188bdc38325d91eea3dcaead.jpg","text":"TemporaryFile(/tmp/multipartBody5874551167162299026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278485192,"filename":"image_31012025_00_04_36_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4f9fb239a9686d81f5db42f5efb5fbd6.jpg","text":"TemporaryFile(/tmp/multipartBody8375253875152956448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278485192,"filename":"image_31012025_00_05_26_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333136780","file1":"1333136777","file0":"1333136774","file4":"1333136788","file5":"1333136792","file3":"1333136783"},"map_files_photo_id_array":[{"photo_id":"1333136792","filename":"file5"},{"photo_id":"1333136780","filename":"file2"},{"photo_id":"1333136788","filename":"file4"},{"photo_id":"1333136777","filename":"file1"},{"photo_id":"1333136774","filename":"file0"},{"photo_id":"1333136783","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333136792":["hashtag1","hashtag2"]},{"1333136780":["hashtag1","hashtag2"]},{"1333136774":["hashtag1","hashtag2"]},{"1333136783":["hashtag1","hashtag2"]},{"1333136777":["hashtag1","hashtag2"]},{"1333136788":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333136792, 1333136780, 1333136774, 1333136783, 1333136777, 1333136788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48420214653015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:08:03.333496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/05/image_31012025_00_05_55_9412.jpg', '/home/pi/Desktop/images/31012025/00/05/image_31012025_00_06_05_10393.jpg', '/home/pi/Desktop/images/31012025/00/06/image_31012025_00_06_35_10350.jpg', '/home/pi/Desktop/images/31012025/00/06/image_31012025_00_06_45_9445.jpg', '/home/pi/Desktop/images/31012025/00/06/image_31012025_00_06_55_10410.jpg', '/home/pi/Desktop/images/31012025/00/06/image_31012025_00_07_06_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/05/image_31012025_00_05_55_9412.jpg
/home/pi/Desktop/images/31012025/00/05/image_31012025_00_06_05_10393.jpg
/home/pi/Desktop/images/31012025/00/06/image_31012025_00_06_35_10350.jpg
/home/pi/Desktop/images/31012025/00/06/image_31012025_00_06_45_9445.jpg
/home/pi/Desktop/images/31012025/00/06/image_31012025_00_06_55_10410.jpg
/home/pi/Desktop/images/31012025/00/06/image_31012025_00_07_06_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":["1333136838","1333136832","1333136826","1333136820","1333136843","1333136815"],"photo_ids_order":["1333136815","1333136820","1333136826","1333136832","1333136838","1333136843"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b587f31611f04572727c6b0ccbcc883f.jpg","text":"TemporaryFile(/tmp/multipartBody8209994612490728462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278544273,"filename":"image_31012025_00_06_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/1/31/96c4859959c417194893eb2f9829af0e.jpg","text":"TemporaryFile(/tmp/multipartBody7516718495682433178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278544273,"filename":"image_31012025_00_06_45_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d4c70acb521f9267fd3413a0864d9972.jpg","text":"TemporaryFile(/tmp/multipartBody1653446329234241364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278544273,"filename":"image_31012025_00_06_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/1/31/936adb0c0b715b1265996411ef6271ae.jpg","text":"TemporaryFile(/tmp/multipartBody5862931818334876984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278544273,"filename":"image_31012025_00_06_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/1/31/5f2bab748ee659f2a3ef0da05b88b69e.jpg","text":"TemporaryFile(/tmp/multipartBody7689068352652373469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278544273,"filename":"image_31012025_00_07_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/1/31/1a29f6df71566301c1036e99a0b0cbb1.jpg","text":"TemporaryFile(/tmp/multipartBody4524426799283732591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278544273,"filename":"image_31012025_00_05_55_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333136826","file1":"1333136820","file0":"1333136815","file4":"1333136838","file5":"1333136843","file3":"1333136832"},"map_files_photo_id_array":[{"photo_id":"1333136843","filename":"file5"},{"photo_id":"1333136826","filename":"file2"},{"photo_id":"1333136838","filename":"file4"},{"photo_id":"1333136820","filename":"file1"},{"photo_id":"1333136815","filename":"file0"},{"photo_id":"1333136832","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333136838":["hashtag1","hashtag2"]},{"1333136832":["hashtag1","hashtag2"]},{"1333136826":["hashtag1","hashtag2"]},{"1333136820":["hashtag1","hashtag2"]},{"1333136843":["hashtag1","hashtag2"]},{"1333136815":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333136838, 1333136832, 1333136826, 1333136820, 1333136843, 1333136815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.784810066223145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:09:04.446336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/07/image_31012025_00_07_15_9366.jpg', '/home/pi/Desktop/images/31012025/00/07/image_31012025_00_07_25_10386.jpg', '/home/pi/Desktop/images/31012025/00/07/image_31012025_00_07_35_9449.jpg', '/home/pi/Desktop/images/31012025/00/07/image_31012025_00_07_45_10444.jpg', '/home/pi/Desktop/images/31012025/00/07/image_31012025_00_07_56_10374.jpg', '/home/pi/Desktop/images/31012025/00/07/image_31012025_00_08_05_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/07/image_31012025_00_07_15_9366.jpg
/home/pi/Desktop/images/31012025/00/07/image_31012025_00_07_25_10386.jpg
/home/pi/Desktop/images/31012025/00/07/image_31012025_00_07_35_9449.jpg
/home/pi/Desktop/images/31012025/00/07/image_31012025_00_07_45_10444.jpg
/home/pi/Desktop/images/31012025/00/07/image_31012025_00_07_56_10374.jpg
/home/pi/Desktop/images/31012025/00/07/image_31012025_00_08_05_9346.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":["1333136892","1333136873","1333136882","1333136879","1333136887","1333136869"],"photo_ids_order":["1333136869","1333136873","1333136879","1333136882","1333136887","1333136892"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a76168c56b76a24624a8074f1bdd1e78.jpg","text":"TemporaryFile(/tmp/multipartBody6052266544304005038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278605508,"filename":"image_31012025_00_08_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/1/31/f1002bc860e1890de46a7ee1937e3285.jpg","text":"TemporaryFile(/tmp/multipartBody6788816107579158759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278605508,"filename":"image_31012025_00_07_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/1/31/19a511b74c118ea6724d2bade6f2e89e.jpg","text":"TemporaryFile(/tmp/multipartBody1247734924919837884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278605508,"filename":"image_31012025_00_07_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/1/31/71394b665a4134088d478354c4141849.jpg","text":"TemporaryFile(/tmp/multipartBody3225601148079493346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278605508,"filename":"image_31012025_00_07_35_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b2370f00e4b50ae334ca1301e238222d.jpg","text":"TemporaryFile(/tmp/multipartBody4674507056467400500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278605508,"filename":"image_31012025_00_07_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/1/31/9b730cb7a5f1c59679190f7630c451b5.jpg","text":"TemporaryFile(/tmp/multipartBody2238915891784656310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278605508,"filename":"image_31012025_00_07_15_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333136879","file1":"1333136873","file0":"1333136869","file4":"1333136887","file5":"1333136892","file3":"1333136882"},"map_files_photo_id_array":[{"photo_id":"1333136892","filename":"file5"},{"photo_id":"1333136879","filename":"file2"},{"photo_id":"1333136887","filename":"file4"},{"photo_id":"1333136873","filename":"file1"},{"photo_id":"1333136869","filename":"file0"},{"photo_id":"1333136882","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333136892":["hashtag1","hashtag2"]},{"1333136873":["hashtag1","hashtag2"]},{"1333136882":["hashtag1","hashtag2"]},{"1333136879":["hashtag1","hashtag2"]},{"1333136887":["hashtag1","hashtag2"]},{"1333136869":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333136892, 1333136873, 1333136882, 1333136879, 1333136887, 1333136869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13210582733154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:10:03.811163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/08/image_31012025_00_08_15_10349.jpg', '/home/pi/Desktop/images/31012025/00/08/image_31012025_00_08_26_10472.jpg', '/home/pi/Desktop/images/31012025/00/08/image_31012025_00_08_35_9373.jpg', '/home/pi/Desktop/images/31012025/00/08/image_31012025_00_08_46_10365.jpg', '/home/pi/Desktop/images/31012025/00/08/image_31012025_00_08_55_9360.jpg', '/home/pi/Desktop/images/31012025/00/08/image_31012025_00_09_05_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/08/image_31012025_00_08_15_10349.jpg
/home/pi/Desktop/images/31012025/00/08/image_31012025_00_08_26_10472.jpg
/home/pi/Desktop/images/31012025/00/08/image_31012025_00_08_35_9373.jpg
/home/pi/Desktop/images/31012025/00/08/image_31012025_00_08_46_10365.jpg
/home/pi/Desktop/images/31012025/00/08/image_31012025_00_08_55_9360.jpg
/home/pi/Desktop/images/31012025/00/08/image_31012025_00_09_05_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":["1333136997","1333136931","1333136934","1333137002","1333136941","1333136929"],"photo_ids_order":["1333136929","1333136931","1333136934","1333136941","1333136997","1333137002"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b66d394154a719f5c3360d9cb05c091e.jpg","text":"TemporaryFile(/tmp/multipartBody2065681545431148250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278664765,"filename":"image_31012025_00_08_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/1/31/79d0a7d51070326f0d71019d1ec4ee08.jpg","text":"TemporaryFile(/tmp/multipartBody8296759939463342738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278664765,"filename":"image_31012025_00_08_26_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9fc3f4114118f488c3b32c29b8dfc36a.jpg","text":"TemporaryFile(/tmp/multipartBody6180970115065620255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278664765,"filename":"image_31012025_00_08_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/1/31/95dde78fc4835594fcdc40168873e22d.jpg","text":"TemporaryFile(/tmp/multipartBody4556503563969104000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278664765,"filename":"image_31012025_00_09_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/1/31/748d2991ebdd02c2a6af82f0e476735e.jpg","text":"TemporaryFile(/tmp/multipartBody6936329783242872732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278664765,"filename":"image_31012025_00_08_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/1/31/0aa44f1b342e4b1c3072781caed8e77f.jpg","text":"TemporaryFile(/tmp/multipartBody4850306570125045606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278664765,"filename":"image_31012025_00_08_15_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333136934","file1":"1333136931","file0":"1333136929","file4":"1333136997","file5":"1333137002","file3":"1333136941"},"map_files_photo_id_array":[{"photo_id":"1333137002","filename":"file5"},{"photo_id":"1333136934","filename":"file2"},{"photo_id":"1333136997","filename":"file4"},{"photo_id":"1333136931","filename":"file1"},{"photo_id":"1333136929","filename":"file0"},{"photo_id":"1333136941","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333136997":["hashtag1","hashtag2"]},{"1333136931":["hashtag1","hashtag2"]},{"1333136934":["hashtag1","hashtag2"]},{"1333137002":["hashtag1","hashtag2"]},{"1333136941":["hashtag1","hashtag2"]},{"1333136929":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333136997, 1333136931, 1333136934, 1333137002, 1333136941, 1333136929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.77896022796631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:11:03.789178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/09/image_31012025_00_09_15_9521.jpg', '/home/pi/Desktop/images/31012025/00/09/image_31012025_00_09_25_10350.jpg', '/home/pi/Desktop/images/31012025/00/09/image_31012025_00_09_36_10347.jpg', '/home/pi/Desktop/images/31012025/00/09/image_31012025_00_09_45_9362.jpg', '/home/pi/Desktop/images/31012025/00/09/image_31012025_00_09_55_10340.jpg', '/home/pi/Desktop/images/31012025/00/09/image_31012025_00_10_06_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/09/image_31012025_00_09_15_9521.jpg
/home/pi/Desktop/images/31012025/00/09/image_31012025_00_09_25_10350.jpg
/home/pi/Desktop/images/31012025/00/09/image_31012025_00_09_36_10347.jpg
/home/pi/Desktop/images/31012025/00/09/image_31012025_00_09_45_9362.jpg
/home/pi/Desktop/images/31012025/00/09/image_31012025_00_09_55_10340.jpg
/home/pi/Desktop/images/31012025/00/09/image_31012025_00_10_06_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":["1333137153","1333137156","1333137132","1333137151","1333137148","1333137291"],"photo_ids_order":["1333137132","1333137148","1333137151","1333137153","1333137156","1333137291"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ab363b5004d490421300192a64884d70.jpg","text":"TemporaryFile(/tmp/multipartBody6134312960783437881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278726376,"filename":"image_31012025_00_09_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/1/31/725fc514bb9738d55a1b8477c0df65e5.jpg","text":"TemporaryFile(/tmp/multipartBody6420436212423794519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278726376,"filename":"image_31012025_00_09_55_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2a4541238b31efd9e88e3cba4a8cd102.jpg","text":"TemporaryFile(/tmp/multipartBody8925639299894264508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278726376,"filename":"image_31012025_00_09_15_9521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fa225bfd6f8f96bc7b159a1a2db5e16b.jpg","text":"TemporaryFile(/tmp/multipartBody1720347204904893222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278726376,"filename":"image_31012025_00_09_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/1/31/b7e57327a7276497db49bbdb42fb84c4.jpg","text":"TemporaryFile(/tmp/multipartBody9119544389403378141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278726376,"filename":"image_31012025_00_09_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/1/31/56f6626df945ea1314501bc63c14143e.jpg","text":"TemporaryFile(/tmp/multipartBody2702749136905528822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278726376,"filename":"image_31012025_00_10_06_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333137151","file1":"1333137148","file0":"1333137132","file4":"1333137156","file5":"1333137291","file3":"1333137153"},"map_files_photo_id_array":[{"photo_id":"1333137291","filename":"file5"},{"photo_id":"1333137151","filename":"file2"},{"photo_id":"1333137156","filename":"file4"},{"photo_id":"1333137148","filename":"file1"},{"photo_id":"1333137132","filename":"file0"},{"photo_id":"1333137153","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333137153":["hashtag1","hashtag2"]},{"1333137156":["hashtag1","hashtag2"]},{"1333137132":["hashtag1","hashtag2"]},{"1333137151":["hashtag1","hashtag2"]},{"1333137148":["hashtag1","hashtag2"]},{"1333137291":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333137153, 1333137156, 1333137132, 1333137151, 1333137148, 1333137291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87051844596863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:12:03.318496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/10/image_31012025_00_10_15_9359.jpg', '/home/pi/Desktop/images/31012025/00/10/image_31012025_00_10_25_10442.jpg', '/home/pi/Desktop/images/31012025/00/10/image_31012025_00_10_35_9484.jpg', '/home/pi/Desktop/images/31012025/00/10/image_31012025_00_10_45_10360.jpg', '/home/pi/Desktop/images/31012025/00/10/image_31012025_00_10_56_10521.jpg', '/home/pi/Desktop/images/31012025/00/10/image_31012025_00_11_05_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/10/image_31012025_00_10_15_9359.jpg
/home/pi/Desktop/images/31012025/00/10/image_31012025_00_10_25_10442.jpg
/home/pi/Desktop/images/31012025/00/10/image_31012025_00_10_35_9484.jpg
/home/pi/Desktop/images/31012025/00/10/image_31012025_00_10_45_10360.jpg
/home/pi/Desktop/images/31012025/00/10/image_31012025_00_10_56_10521.jpg
/home/pi/Desktop/images/31012025/00/10/image_31012025_00_11_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":["1333137450","1333137525","1333137441","1333137438","1333137530","1333137436"],"photo_ids_order":["1333137436","1333137438","1333137441","1333137450","1333137525","1333137530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/02c59321b15b1c1a9c2b0ba994e5c6ef.jpg","text":"TemporaryFile(/tmp/multipartBody3046640730044250036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278784244,"filename":"image_31012025_00_10_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/1/31/46c1ef82f3e5395a52fd9d69ece9c7e3.jpg","text":"TemporaryFile(/tmp/multipartBody4921771640766076606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278784244,"filename":"image_31012025_00_10_56_10521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/69bffb535b8d55996e2e2a3c8c5396e0.jpg","text":"TemporaryFile(/tmp/multipartBody6046309578612149897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278784244,"filename":"image_31012025_00_10_35_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7df75cf69d870b36b8da73ac9b83eb7f.jpg","text":"TemporaryFile(/tmp/multipartBody457004828118319955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278784244,"filename":"image_31012025_00_10_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/1/31/505281e85e3d205658f9a20b31bcf21f.jpg","text":"TemporaryFile(/tmp/multipartBody963474730478536643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278784244,"filename":"image_31012025_00_11_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/1/31/77ddef2c453ff8096ed0383968ef8d6a.jpg","text":"TemporaryFile(/tmp/multipartBody6784840893588838519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278784244,"filename":"image_31012025_00_10_15_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333137441","file1":"1333137438","file0":"1333137436","file4":"1333137525","file5":"1333137530","file3":"1333137450"},"map_files_photo_id_array":[{"photo_id":"1333137530","filename":"file5"},{"photo_id":"1333137441","filename":"file2"},{"photo_id":"1333137525","filename":"file4"},{"photo_id":"1333137438","filename":"file1"},{"photo_id":"1333137436","filename":"file0"},{"photo_id":"1333137450","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333137450":["hashtag1","hashtag2"]},{"1333137525":["hashtag1","hashtag2"]},{"1333137441":["hashtag1","hashtag2"]},{"1333137438":["hashtag1","hashtag2"]},{"1333137530":["hashtag1","hashtag2"]},{"1333137436":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333137450, 1333137525, 1333137441, 1333137438, 1333137530, 1333137436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.54011607170105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:13:04.133528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/11/image_31012025_00_11_16_10322.jpg', '/home/pi/Desktop/images/31012025/00/11/image_31012025_00_11_25_9404.jpg', '/home/pi/Desktop/images/31012025/00/11/image_31012025_00_11_35_10433.jpg', '/home/pi/Desktop/images/31012025/00/11/image_31012025_00_11_46_10366.jpg', '/home/pi/Desktop/images/31012025/00/11/image_31012025_00_11_55_9355.jpg', '/home/pi/Desktop/images/31012025/00/11/image_31012025_00_12_05_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/11/image_31012025_00_11_16_10322.jpg
/home/pi/Desktop/images/31012025/00/11/image_31012025_00_11_25_9404.jpg
/home/pi/Desktop/images/31012025/00/11/image_31012025_00_11_35_10433.jpg
/home/pi/Desktop/images/31012025/00/11/image_31012025_00_11_46_10366.jpg
/home/pi/Desktop/images/31012025/00/11/image_31012025_00_11_55_9355.jpg
/home/pi/Desktop/images/31012025/00/11/image_31012025_00_12_05_10332.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":["1333137585","1333137624","1333137621","1333137590","1333137594","1333137597"],"photo_ids_order":["1333137585","1333137590","1333137594","1333137597","1333137621","1333137624"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e6fc985d85e50cdc05f1f9d6d28efbd8.jpg","text":"TemporaryFile(/tmp/multipartBody68423507956602182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278845348,"filename":"image_31012025_00_11_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/1/31/046e6cd0da4f2c6d90fa6d8da3352f5c.jpg","text":"TemporaryFile(/tmp/multipartBody8863902640270600604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278845348,"filename":"image_31012025_00_12_05_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2a4a87127c5564775a00672e38840399.jpg","text":"TemporaryFile(/tmp/multipartBody8950432303816745647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278845348,"filename":"image_31012025_00_11_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/1/31/41d38bc288c9b123885a639bd2a06a64.jpg","text":"TemporaryFile(/tmp/multipartBody6136045426504630199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278845348,"filename":"image_31012025_00_11_25_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d2721e3d9c8e2d60ddf168fd1c7a64dd.jpg","text":"TemporaryFile(/tmp/multipartBody4480688883852247086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278845348,"filename":"image_31012025_00_11_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/1/31/1d1112f9e5d681d22e107261cb5ba1c7.jpg","text":"TemporaryFile(/tmp/multipartBody316249394592148058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278845348,"filename":"image_31012025_00_11_46_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333137594","file1":"1333137590","file0":"1333137585","file4":"1333137621","file5":"1333137624","file3":"1333137597"},"map_files_photo_id_array":[{"photo_id":"1333137624","filename":"file5"},{"photo_id":"1333137594","filename":"file2"},{"photo_id":"1333137621","filename":"file4"},{"photo_id":"1333137590","filename":"file1"},{"photo_id":"1333137585","filename":"file0"},{"photo_id":"1333137597","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333137585":["hashtag1","hashtag2"]},{"1333137624":["hashtag1","hashtag2"]},{"1333137621":["hashtag1","hashtag2"]},{"1333137590":["hashtag1","hashtag2"]},{"1333137594":["hashtag1","hashtag2"]},{"1333137597":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333137585, 1333137624, 1333137621, 1333137590, 1333137594, 1333137597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21319532394409 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:14:03.611446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/12/image_31012025_00_12_16_10472.jpg', '/home/pi/Desktop/images/31012025/00/12/image_31012025_00_12_25_9356.jpg', '/home/pi/Desktop/images/31012025/00/12/image_31012025_00_12_36_10372.jpg', '/home/pi/Desktop/images/31012025/00/12/image_31012025_00_12_45_9419.jpg', '/home/pi/Desktop/images/31012025/00/12/image_31012025_00_12_55_10379.jpg', '/home/pi/Desktop/images/31012025/00/12/image_31012025_00_13_06_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/12/image_31012025_00_12_16_10472.jpg
/home/pi/Desktop/images/31012025/00/12/image_31012025_00_12_25_9356.jpg
/home/pi/Desktop/images/31012025/00/12/image_31012025_00_12_36_10372.jpg
/home/pi/Desktop/images/31012025/00/12/image_31012025_00_12_45_9419.jpg
/home/pi/Desktop/images/31012025/00/12/image_31012025_00_12_55_10379.jpg
/home/pi/Desktop/images/31012025/00/12/image_31012025_00_13_06_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":["1333137920","1333137914","1333137902","1333137905","1333137925","1333137910"],"photo_ids_order":["1333137902","1333137905","1333137910","1333137914","1333137920","1333137925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3da5ebe59f266a3ba1c100815646eaaa.jpg","text":"TemporaryFile(/tmp/multipartBody5959676626577212480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278904552,"filename":"image_31012025_00_12_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/1/31/e369cda8a74e9c90a4fe955536d185e1.jpg","text":"TemporaryFile(/tmp/multipartBody3260898186956230094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278904552,"filename":"image_31012025_00_12_45_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ae00e4a5ad2bc2e660bd99c072d2d003.jpg","text":"TemporaryFile(/tmp/multipartBody2151511503347068138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278904552,"filename":"image_31012025_00_12_16_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2e6e9c35f44fd94ecf40b439f003fb9d.jpg","text":"TemporaryFile(/tmp/multipartBody3310723774885868886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278904552,"filename":"image_31012025_00_12_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/1/31/c7a303d55ae684c49580041328a352c8.jpg","text":"TemporaryFile(/tmp/multipartBody5832650277744064943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278904552,"filename":"image_31012025_00_13_06_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/865c62df6f40e30e622ba4918088ee83.jpg","text":"TemporaryFile(/tmp/multipartBody6596577409118721259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278904552,"filename":"image_31012025_00_12_36_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333137910","file1":"1333137905","file0":"1333137902","file4":"1333137920","file5":"1333137925","file3":"1333137914"},"map_files_photo_id_array":[{"photo_id":"1333137925","filename":"file5"},{"photo_id":"1333137910","filename":"file2"},{"photo_id":"1333137920","filename":"file4"},{"photo_id":"1333137905","filename":"file1"},{"photo_id":"1333137902","filename":"file0"},{"photo_id":"1333137914","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333137920":["hashtag1","hashtag2"]},{"1333137914":["hashtag1","hashtag2"]},{"1333137902":["hashtag1","hashtag2"]},{"1333137905":["hashtag1","hashtag2"]},{"1333137925":["hashtag1","hashtag2"]},{"1333137910":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333137920, 1333137914, 1333137902, 1333137905, 1333137925, 1333137910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.76297116279602 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:15:04.474262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/13/image_31012025_00_13_15_9326.jpg', '/home/pi/Desktop/images/31012025/00/13/image_31012025_00_13_26_10350.jpg', '/home/pi/Desktop/images/31012025/00/13/image_31012025_00_13_35_9426.jpg', '/home/pi/Desktop/images/31012025/00/13/image_31012025_00_13_45_10354.jpg', '/home/pi/Desktop/images/31012025/00/13/image_31012025_00_13_56_10364.jpg', '/home/pi/Desktop/images/31012025/00/13/image_31012025_00_14_05_9475.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/13/image_31012025_00_13_15_9326.jpg
/home/pi/Desktop/images/31012025/00/13/image_31012025_00_13_26_10350.jpg
/home/pi/Desktop/images/31012025/00/13/image_31012025_00_13_35_9426.jpg
/home/pi/Desktop/images/31012025/00/13/image_31012025_00_13_45_10354.jpg
/home/pi/Desktop/images/31012025/00/13/image_31012025_00_13_56_10364.jpg
/home/pi/Desktop/images/31012025/00/13/image_31012025_00_14_05_9475.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":["1333138046","1333137986","1333137965","1333138063","1333138029","1333137972"],"photo_ids_order":["1333137965","1333137972","1333137986","1333138029","1333138046","1333138063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/59c0b865065583b9ee0f2077feac0a7f.jpg","text":"TemporaryFile(/tmp/multipartBody5710026852836129051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278965482,"filename":"image_31012025_00_13_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/1/31/3691498992a4795876aaf7c67513b1c3.jpg","text":"TemporaryFile(/tmp/multipartBody7798784498811897779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278965482,"filename":"image_31012025_00_13_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/1/31/83e99f07d36df5873a64d4f7b921c084.jpg","text":"TemporaryFile(/tmp/multipartBody1038117174358057336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278965482,"filename":"image_31012025_00_13_15_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/35563aabf5f907216793a74d22428847.jpg","text":"TemporaryFile(/tmp/multipartBody2716854657346278465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278965482,"filename":"image_31012025_00_14_05_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3dd405818d6443ab5c34ca1805eb2c09.jpg","text":"TemporaryFile(/tmp/multipartBody3030827260978099527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278965482,"filename":"image_31012025_00_13_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/1/31/5cdbfe8f525ffaa2261efc97d41682aa.jpg","text":"TemporaryFile(/tmp/multipartBody8050260143745507831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738278965482,"filename":"image_31012025_00_13_26_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333137986","file1":"1333137972","file0":"1333137965","file4":"1333138046","file5":"1333138063","file3":"1333138029"},"map_files_photo_id_array":[{"photo_id":"1333138063","filename":"file5"},{"photo_id":"1333137986","filename":"file2"},{"photo_id":"1333138046","filename":"file4"},{"photo_id":"1333137972","filename":"file1"},{"photo_id":"1333137965","filename":"file0"},{"photo_id":"1333138029","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333138046":["hashtag1","hashtag2"]},{"1333137986":["hashtag1","hashtag2"]},{"1333137965":["hashtag1","hashtag2"]},{"1333138063":["hashtag1","hashtag2"]},{"1333138029":["hashtag1","hashtag2"]},{"1333137972":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333138046, 1333137986, 1333137965, 1333138063, 1333138029, 1333137972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.87201642990112 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:16:02.949715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/14/image_31012025_00_14_15_10343.jpg', '/home/pi/Desktop/images/31012025/00/14/image_31012025_00_14_26_10393.jpg', '/home/pi/Desktop/images/31012025/00/14/image_31012025_00_14_35_9462.jpg', '/home/pi/Desktop/images/31012025/00/14/image_31012025_00_14_46_10357.jpg', '/home/pi/Desktop/images/31012025/00/14/image_31012025_00_14_55_9367.jpg', '/home/pi/Desktop/images/31012025/00/14/image_31012025_00_15_05_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/14/image_31012025_00_14_15_10343.jpg
/home/pi/Desktop/images/31012025/00/14/image_31012025_00_14_26_10393.jpg
/home/pi/Desktop/images/31012025/00/14/image_31012025_00_14_35_9462.jpg
/home/pi/Desktop/images/31012025/00/14/image_31012025_00_14_46_10357.jpg
/home/pi/Desktop/images/31012025/00/14/image_31012025_00_14_55_9367.jpg
/home/pi/Desktop/images/31012025/00/14/image_31012025_00_15_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":["1333138280","1333138277","1333138275","1333138284","1333138287","1333138272"],"photo_ids_order":["1333138272","1333138275","1333138277","1333138280","1333138284","1333138287"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/50df22e7294652e4c0ce74d84fe1239f.jpg","text":"TemporaryFile(/tmp/multipartBody1704130823599191704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279023888,"filename":"image_31012025_00_14_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/1/31/de843f75eea04bd284a380dddca9e54e.jpg","text":"TemporaryFile(/tmp/multipartBody4045499808471699884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279023888,"filename":"image_31012025_00_14_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/1/31/c5fbf39a7270fb4d1597eb0983c34965.jpg","text":"TemporaryFile(/tmp/multipartBody5736039278768649771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279023888,"filename":"image_31012025_00_14_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/1/31/5e3e58ff7bbeca6543031ee1962e1f89.jpg","text":"TemporaryFile(/tmp/multipartBody7142822953993779863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279023888,"filename":"image_31012025_00_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/1/31/5c85cf89b3636a53df0dbb39d17f65f8.jpg","text":"TemporaryFile(/tmp/multipartBody2330527156890325547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279023888,"filename":"image_31012025_00_15_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/1/31/eae5c9edcffdd6a9298ef284c52ffd51.jpg","text":"TemporaryFile(/tmp/multipartBody2927734473700551933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279023888,"filename":"image_31012025_00_14_15_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333138277","file1":"1333138275","file0":"1333138272","file4":"1333138284","file5":"1333138287","file3":"1333138280"},"map_files_photo_id_array":[{"photo_id":"1333138287","filename":"file5"},{"photo_id":"1333138277","filename":"file2"},{"photo_id":"1333138284","filename":"file4"},{"photo_id":"1333138275","filename":"file1"},{"photo_id":"1333138272","filename":"file0"},{"photo_id":"1333138280","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333138280":["hashtag1","hashtag2"]},{"1333138277":["hashtag1","hashtag2"]},{"1333138275":["hashtag1","hashtag2"]},{"1333138284":["hashtag1","hashtag2"]},{"1333138287":["hashtag1","hashtag2"]},{"1333138272":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333138280, 1333138277, 1333138275, 1333138284, 1333138287, 1333138272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.458657026290894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:17:03.791233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 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
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-31 00:17:12.613138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/21/52/image_28012025_21_52_55_10496.jpg', '/home/pi/Desktop/images/28012025/21/52/image_28012025_21_53_06_10380.jpg', '/home/pi/Desktop/images/28012025/21/53/image_28012025_21_53_25_10357.jpg', '/home/pi/Desktop/images/28012025/21/53/image_28012025_21_53_35_9372.jpg', '/home/pi/Desktop/images/28012025/21/53/image_28012025_21_53_45_10363.jpg', '/home/pi/Desktop/images/28012025/21/53/image_28012025_21_53_55_10381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/52/image_28012025_21_52_55_10496.jpg
/home/pi/Desktop/images/28012025/21/52/image_28012025_21_53_06_10380.jpg
/home/pi/Desktop/images/28012025/21/53/image_28012025_21_53_25_10357.jpg
/home/pi/Desktop/images/28012025/21/53/image_28012025_21_53_35_9372.jpg
/home/pi/Desktop/images/28012025/21/53/image_28012025_21_53_45_10363.jpg
/home/pi/Desktop/images/28012025/21/53/image_28012025_21_53_55_10381.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333138317","1333138349","1333138322","1333138345","1333138375","1333138326"],"photo_ids_order":["1333138317","1333138322","1333138326","1333138345","1333138349","1333138375"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a9076fbaa1ae14110c447d7974406efc.jpg","text":"TemporaryFile(/tmp/multipartBody2532937442476812903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279095160,"filename":"image_28012025_21_52_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/1/31/f66dcab4e5d8ce55c79b5fa0a13d36fd.jpg","text":"TemporaryFile(/tmp/multipartBody2688351351168745056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279095160,"filename":"image_28012025_21_53_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/1/31/7b30537554611d2b29ba2918865cafe8.jpg","text":"TemporaryFile(/tmp/multipartBody5027035439144124286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279095160,"filename":"image_28012025_21_53_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/1/31/fab1630b1a924b9b8dfe08dd0d856259.jpg","text":"TemporaryFile(/tmp/multipartBody4390200761711189413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279095160,"filename":"image_28012025_21_53_35_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6939d8f06d489da76b1f44762c979527.jpg","text":"TemporaryFile(/tmp/multipartBody6599535267602962144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279095160,"filename":"image_28012025_21_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/1/31/412aa0e0c123e60857468e90c403ebe5.jpg","text":"TemporaryFile(/tmp/multipartBody4504572259345898419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279095160,"filename":"image_28012025_21_53_25_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333138326","file1":"1333138322","file0":"1333138317","file4":"1333138349","file5":"1333138375","file3":"1333138345"},"map_files_photo_id_array":[{"photo_id":"1333138375","filename":"file5"},{"photo_id":"1333138326","filename":"file2"},{"photo_id":"1333138349","filename":"file4"},{"photo_id":"1333138322","filename":"file1"},{"photo_id":"1333138317","filename":"file0"},{"photo_id":"1333138345","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333138317":["hashtag1","hashtag2"]},{"1333138349":["hashtag1","hashtag2"]},{"1333138322":["hashtag1","hashtag2"]},{"1333138345":["hashtag1","hashtag2"]},{"1333138375":["hashtag1","hashtag2"]},{"1333138326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333138317, 1333138349, 1333138322, 1333138345, 1333138375, 1333138326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.93915772438049 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:18:03.411454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/15/image_31012025_00_15_16_10452.jpg', '/home/pi/Desktop/images/31012025/00/15/image_31012025_00_15_25_9356.jpg', '/home/pi/Desktop/images/31012025/00/15/image_31012025_00_15_36_10364.jpg', '/home/pi/Desktop/images/31012025/00/15/image_31012025_00_15_45_9426.jpg', '/home/pi/Desktop/images/31012025/00/15/image_31012025_00_16_06_10329.jpg', '/home/pi/Desktop/images/31012025/00/16/image_31012025_00_16_15_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/15/image_31012025_00_15_16_10452.jpg
/home/pi/Desktop/images/31012025/00/15/image_31012025_00_15_25_9356.jpg
/home/pi/Desktop/images/31012025/00/15/image_31012025_00_15_36_10364.jpg
/home/pi/Desktop/images/31012025/00/15/image_31012025_00_15_45_9426.jpg
/home/pi/Desktop/images/31012025/00/15/image_31012025_00_16_06_10329.jpg
/home/pi/Desktop/images/31012025/00/16/image_31012025_00_16_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":["1333139033","1333139050","1333138891","1333138642","1333138414","1333139055"],"photo_ids_order":["1333138414","1333138642","1333138891","1333139033","1333139050","1333139055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/92b7e47e1cb02d8f3f73e38f504f9601.jpg","text":"TemporaryFile(/tmp/multipartBody8665617594532972839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279144371,"filename":"image_31012025_00_15_45_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/be5a81d2b64c72f1921f2588516a192b.jpg","text":"TemporaryFile(/tmp/multipartBody470886663611431728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279144371,"filename":"image_31012025_00_16_06_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/78b6d2741163127889240f42e8c5bec0.jpg","text":"TemporaryFile(/tmp/multipartBody8509553058929305844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279144371,"filename":"image_31012025_00_15_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/1/31/a21294dd14d8ad5191756318108ea0f4.jpg","text":"TemporaryFile(/tmp/multipartBody7745219057132604302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279144371,"filename":"image_31012025_00_15_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/1/31/56a98ce13b1d01f145fb9def4988259a.jpg","text":"TemporaryFile(/tmp/multipartBody5252478616935176128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279144371,"filename":"image_31012025_00_15_16_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9b6d31f904a7333f6c1be09005c48fdf.jpg","text":"TemporaryFile(/tmp/multipartBody4286871433474246531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279144371,"filename":"image_31012025_00_16_15_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333138891","file1":"1333138642","file0":"1333138414","file4":"1333139050","file5":"1333139055","file3":"1333139033"},"map_files_photo_id_array":[{"photo_id":"1333139055","filename":"file5"},{"photo_id":"1333138891","filename":"file2"},{"photo_id":"1333139050","filename":"file4"},{"photo_id":"1333138642","filename":"file1"},{"photo_id":"1333138414","filename":"file0"},{"photo_id":"1333139033","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333139033":["hashtag1","hashtag2"]},{"1333139050":["hashtag1","hashtag2"]},{"1333138891":["hashtag1","hashtag2"]},{"1333138642":["hashtag1","hashtag2"]},{"1333138414":["hashtag1","hashtag2"]},{"1333139055":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333139033, 1333139050, 1333138891, 1333138642, 1333138414, 1333139055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.5237078666687 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:19:04.113191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/16/image_31012025_00_16_25_10355.jpg', '/home/pi/Desktop/images/31012025/00/16/image_31012025_00_16_36_10478.jpg', '/home/pi/Desktop/images/31012025/00/16/image_31012025_00_16_45_9342.jpg', '/home/pi/Desktop/images/31012025/00/16/image_31012025_00_16_56_10366.jpg', '/home/pi/Desktop/images/31012025/00/16/image_31012025_00_17_05_9370.jpg', '/home/pi/Desktop/images/31012025/00/17/image_31012025_00_17_15_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/16/image_31012025_00_16_25_10355.jpg
/home/pi/Desktop/images/31012025/00/16/image_31012025_00_16_36_10478.jpg
/home/pi/Desktop/images/31012025/00/16/image_31012025_00_16_45_9342.jpg
/home/pi/Desktop/images/31012025/00/16/image_31012025_00_16_56_10366.jpg
/home/pi/Desktop/images/31012025/00/16/image_31012025_00_17_05_9370.jpg
/home/pi/Desktop/images/31012025/00/17/image_31012025_00_17_15_10416.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":["1333139156","1333139441","1333139182","1333139446","1333139431","1333139154"],"photo_ids_order":["1333139154","1333139156","1333139182","1333139431","1333139441","1333139446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d88bbc63582422eb784cdc0c862c1b64.jpg","text":"TemporaryFile(/tmp/multipartBody659184395813186178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279206397,"filename":"image_31012025_00_16_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/1/31/eb91e627c045040e3e27da5ddec64793.jpg","text":"TemporaryFile(/tmp/multipartBody7425816030667902649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279206397,"filename":"image_31012025_00_17_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/1/31/0b713f1a2f859c8fe5689ea6103a9d6b.jpg","text":"TemporaryFile(/tmp/multipartBody2433506470249093911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279206397,"filename":"image_31012025_00_16_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/1/31/80982148423982066169bb907cca2cd5.jpg","text":"TemporaryFile(/tmp/multipartBody7681399705222237725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279206397,"filename":"image_31012025_00_17_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/1/31/82f595eb8e87239bfd79dd056aece22b.jpg","text":"TemporaryFile(/tmp/multipartBody6885467894637890316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279206397,"filename":"image_31012025_00_16_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/1/31/6f7b447f2a73087867ce5878c3fb8717.jpg","text":"TemporaryFile(/tmp/multipartBody7587174705318998696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279206397,"filename":"image_31012025_00_16_25_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333139182","file1":"1333139156","file0":"1333139154","file4":"1333139441","file5":"1333139446","file3":"1333139431"},"map_files_photo_id_array":[{"photo_id":"1333139446","filename":"file5"},{"photo_id":"1333139182","filename":"file2"},{"photo_id":"1333139441","filename":"file4"},{"photo_id":"1333139156","filename":"file1"},{"photo_id":"1333139154","filename":"file0"},{"photo_id":"1333139431","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333139156":["hashtag1","hashtag2"]},{"1333139441":["hashtag1","hashtag2"]},{"1333139182":["hashtag1","hashtag2"]},{"1333139446":["hashtag1","hashtag2"]},{"1333139431":["hashtag1","hashtag2"]},{"1333139154":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333139156, 1333139441, 1333139182, 1333139446, 1333139431, 1333139154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.55695581436157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:20:02.952963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/17/image_31012025_00_17_26_10339.jpg', '/home/pi/Desktop/images/31012025/00/17/image_31012025_00_17_35_9348.jpg', '/home/pi/Desktop/images/31012025/00/17/image_31012025_00_17_45_10360.jpg', '/home/pi/Desktop/images/31012025/00/17/image_31012025_00_17_56_10444.jpg', '/home/pi/Desktop/images/31012025/00/17/image_31012025_00_18_05_9424.jpg', '/home/pi/Desktop/images/31012025/00/18/image_31012025_00_18_15_9969.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/17/image_31012025_00_17_26_10339.jpg
/home/pi/Desktop/images/31012025/00/17/image_31012025_00_17_35_9348.jpg
/home/pi/Desktop/images/31012025/00/17/image_31012025_00_17_45_10360.jpg
/home/pi/Desktop/images/31012025/00/17/image_31012025_00_17_56_10444.jpg
/home/pi/Desktop/images/31012025/00/17/image_31012025_00_18_05_9424.jpg
/home/pi/Desktop/images/31012025/00/18/image_31012025_00_18_15_9969.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":["1333139564","1333139590","1333139572","1333139566","1333139568","1333139562"],"photo_ids_order":["1333139562","1333139564","1333139566","1333139568","1333139572","1333139590"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/115174d43dd19318f70e7cc71628776a.jpg","text":"TemporaryFile(/tmp/multipartBody1342753419727951871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279263899,"filename":"image_31012025_00_17_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/1/31/234cedc4b88cce9a580c9814cb2de25d.jpg","text":"TemporaryFile(/tmp/multipartBody8436455241530805247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279263899,"filename":"image_31012025_00_18_15_9969.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c9f5b2dae34af0f3139a3e094179bc78.jpg","text":"TemporaryFile(/tmp/multipartBody6526048110776852565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279263899,"filename":"image_31012025_00_18_05_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/28c0b9e056d99cc344c5409bfd728e2e.jpg","text":"TemporaryFile(/tmp/multipartBody2862500233568174496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279263899,"filename":"image_31012025_00_17_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/1/31/e5baab889f1d55e1a3aadcfe2fb6e6b9.jpg","text":"TemporaryFile(/tmp/multipartBody6063107440520561512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279263899,"filename":"image_31012025_00_17_56_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/07e4e91938de9bfc9d30559d67b3e223.jpg","text":"TemporaryFile(/tmp/multipartBody6208570031436729175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279263899,"filename":"image_31012025_00_17_26_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333139566","file1":"1333139564","file0":"1333139562","file4":"1333139572","file5":"1333139590","file3":"1333139568"},"map_files_photo_id_array":[{"photo_id":"1333139590","filename":"file5"},{"photo_id":"1333139566","filename":"file2"},{"photo_id":"1333139572","filename":"file4"},{"photo_id":"1333139564","filename":"file1"},{"photo_id":"1333139562","filename":"file0"},{"photo_id":"1333139568","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333139564":["hashtag1","hashtag2"]},{"1333139590":["hashtag1","hashtag2"]},{"1333139572":["hashtag1","hashtag2"]},{"1333139566":["hashtag1","hashtag2"]},{"1333139568":["hashtag1","hashtag2"]},{"1333139562":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333139564, 1333139590, 1333139572, 1333139566, 1333139568, 1333139562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.56179642677307 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:21:04.015319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/18/image_31012025_00_18_26_10354.jpg', '/home/pi/Desktop/images/31012025/00/18/image_31012025_00_18_45_10360.jpg', '/home/pi/Desktop/images/31012025/00/18/image_31012025_00_18_56_10359.jpg', '/home/pi/Desktop/images/31012025/00/18/image_31012025_00_19_05_9413.jpg', '/home/pi/Desktop/images/31012025/00/19/image_31012025_00_19_16_10416.jpg', '/home/pi/Desktop/images/31012025/00/19/image_31012025_00_19_25_9415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/18/image_31012025_00_18_26_10354.jpg
/home/pi/Desktop/images/31012025/00/18/image_31012025_00_18_45_10360.jpg
/home/pi/Desktop/images/31012025/00/18/image_31012025_00_18_56_10359.jpg
/home/pi/Desktop/images/31012025/00/18/image_31012025_00_19_05_9413.jpg
/home/pi/Desktop/images/31012025/00/19/image_31012025_00_19_16_10416.jpg
/home/pi/Desktop/images/31012025/00/19/image_31012025_00_19_25_9415.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":["1333139684","1333139801","1333139689","1333139697","1333139766","1333139780"],"photo_ids_order":["1333139684","1333139689","1333139697","1333139766","1333139780","1333139801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5a56beec3cf55f6b512716965929e793.jpg","text":"TemporaryFile(/tmp/multipartBody3910188484809073500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279325035,"filename":"image_31012025_00_18_26_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8be38597b52162b8ca19f0592c636aa6.jpg","text":"TemporaryFile(/tmp/multipartBody7798768994840380099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279325035,"filename":"image_31012025_00_19_25_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9880b636e44a5e4d9b565eb4b07a0136.jpg","text":"TemporaryFile(/tmp/multipartBody5938506262560700173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279325035,"filename":"image_31012025_00_18_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/1/31/9d7df53ee0399c8755c9dc15bd5a53ae.jpg","text":"TemporaryFile(/tmp/multipartBody4317020081246337076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279325035,"filename":"image_31012025_00_18_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/1/31/a0ba951150b1211ba77331d7be44fa7d.jpg","text":"TemporaryFile(/tmp/multipartBody6340067163207415997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279325035,"filename":"image_31012025_00_19_05_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/76925dff17277d348b506a6b9d16ea23.jpg","text":"TemporaryFile(/tmp/multipartBody6699100320646138562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279325035,"filename":"image_31012025_00_19_16_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333139697","file1":"1333139689","file0":"1333139684","file4":"1333139780","file5":"1333139801","file3":"1333139766"},"map_files_photo_id_array":[{"photo_id":"1333139801","filename":"file5"},{"photo_id":"1333139697","filename":"file2"},{"photo_id":"1333139780","filename":"file4"},{"photo_id":"1333139689","filename":"file1"},{"photo_id":"1333139684","filename":"file0"},{"photo_id":"1333139766","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333139684":["hashtag1","hashtag2"]},{"1333139801":["hashtag1","hashtag2"]},{"1333139689":["hashtag1","hashtag2"]},{"1333139697":["hashtag1","hashtag2"]},{"1333139766":["hashtag1","hashtag2"]},{"1333139780":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333139684, 1333139801, 1333139689, 1333139697, 1333139766, 1333139780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.58795428276062 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:22:03.492268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/19/image_31012025_00_19_35_10361.jpg', '/home/pi/Desktop/images/31012025/00/19/image_31012025_00_19_46_10372.jpg', '/home/pi/Desktop/images/31012025/00/19/image_31012025_00_19_55_9419.jpg', '/home/pi/Desktop/images/31012025/00/20/image_31012025_00_20_25_10254.jpg', '/home/pi/Desktop/images/31012025/00/20/image_31012025_00_20_36_10629.jpg', '/home/pi/Desktop/images/31012025/00/20/image_31012025_00_20_56_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/19/image_31012025_00_19_35_10361.jpg
/home/pi/Desktop/images/31012025/00/19/image_31012025_00_19_46_10372.jpg
/home/pi/Desktop/images/31012025/00/19/image_31012025_00_19_55_9419.jpg
/home/pi/Desktop/images/31012025/00/20/image_31012025_00_20_25_10254.jpg
/home/pi/Desktop/images/31012025/00/20/image_31012025_00_20_36_10629.jpg
/home/pi/Desktop/images/31012025/00/20/image_31012025_00_20_56_10370.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5575685501098633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/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-01-31 00:22:12.641078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/21/53/image_28012025_21_54_05_9350.jpg', '/home/pi/Desktop/images/28012025/21/54/image_28012025_21_54_15_10340.jpg', '/home/pi/Desktop/images/28012025/21/54/image_28012025_21_54_25_10353.jpg', '/home/pi/Desktop/images/28012025/21/54/image_28012025_21_54_35_9330.jpg', '/home/pi/Desktop/images/28012025/21/54/image_28012025_21_54_45_10410.jpg', '/home/pi/Desktop/images/28012025/21/54/image_28012025_21_55_05_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/53/image_28012025_21_54_05_9350.jpg
/home/pi/Desktop/images/28012025/21/54/image_28012025_21_54_15_10340.jpg
/home/pi/Desktop/images/28012025/21/54/image_28012025_21_54_25_10353.jpg
/home/pi/Desktop/images/28012025/21/54/image_28012025_21_54_35_9330.jpg
/home/pi/Desktop/images/28012025/21/54/image_28012025_21_54_45_10410.jpg
/home/pi/Desktop/images/28012025/21/54/image_28012025_21_55_05_9338.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333139900","1333139875","1333139892","1333139880","1333139871","1333139885"],"photo_ids_order":["1333139871","1333139875","1333139880","1333139885","1333139892","1333139900"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bff7bb4f25b37fe5b182c2e50dc40036.jpg","text":"TemporaryFile(/tmp/multipartBody7472029673898365414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279394998,"filename":"image_28012025_21_55_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/1/31/19688ba94bca22cb7f417298f90bd503.jpg","text":"TemporaryFile(/tmp/multipartBody5167808097549181345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279394998,"filename":"image_28012025_21_54_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/1/31/4e3b00f0547459ec8ffbdf0d86f50900.jpg","text":"TemporaryFile(/tmp/multipartBody5268263727899280978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279394998,"filename":"image_28012025_21_54_45_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9c7fedc9d36357e6432273593aad9f76.jpg","text":"TemporaryFile(/tmp/multipartBody1875166336254787061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279394998,"filename":"image_28012025_21_54_25_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/153b0b93dc0127a7e5f9d69f41656bb8.jpg","text":"TemporaryFile(/tmp/multipartBody9146119949198294190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279394998,"filename":"image_28012025_21_54_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/1/31/cbc5e0dc00e4c9b834b5e02d61e20b49.jpg","text":"TemporaryFile(/tmp/multipartBody4921332711025213555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279394998,"filename":"image_28012025_21_54_35_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333139880","file1":"1333139875","file0":"1333139871","file4":"1333139892","file5":"1333139900","file3":"1333139885"},"map_files_photo_id_array":[{"photo_id":"1333139900","filename":"file5"},{"photo_id":"1333139880","filename":"file2"},{"photo_id":"1333139892","filename":"file4"},{"photo_id":"1333139875","filename":"file1"},{"photo_id":"1333139871","filename":"file0"},{"photo_id":"1333139885","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333139900":["hashtag1","hashtag2"]},{"1333139875":["hashtag1","hashtag2"]},{"1333139892":["hashtag1","hashtag2"]},{"1333139880":["hashtag1","hashtag2"]},{"1333139871":["hashtag1","hashtag2"]},{"1333139885":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333139900, 1333139875, 1333139892, 1333139880, 1333139871, 1333139885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.819013833999634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:23:04.226289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/19/image_31012025_00_19_35_10361.jpg', '/home/pi/Desktop/images/31012025/00/19/image_31012025_00_19_46_10372.jpg', '/home/pi/Desktop/images/31012025/00/19/image_31012025_00_19_55_9419.jpg', '/home/pi/Desktop/images/31012025/00/20/image_31012025_00_20_25_10254.jpg', '/home/pi/Desktop/images/31012025/00/20/image_31012025_00_20_36_10629.jpg', '/home/pi/Desktop/images/31012025/00/20/image_31012025_00_20_56_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/19/image_31012025_00_19_35_10361.jpg
/home/pi/Desktop/images/31012025/00/19/image_31012025_00_19_46_10372.jpg
/home/pi/Desktop/images/31012025/00/19/image_31012025_00_19_55_9419.jpg
/home/pi/Desktop/images/31012025/00/20/image_31012025_00_20_25_10254.jpg
/home/pi/Desktop/images/31012025/00/20/image_31012025_00_20_36_10629.jpg
/home/pi/Desktop/images/31012025/00/20/image_31012025_00_20_56_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":["1333139948","1333139942","1333139939","1333139989","1333139941","1333139999"],"photo_ids_order":["1333139939","1333139941","1333139942","1333139948","1333139989","1333139999"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/65f9f35617b8b70b03c34e474220406f.jpg","text":"TemporaryFile(/tmp/multipartBody8280182696313555334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279445421,"filename":"image_31012025_00_20_25_10254.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d7314423560ca48a9b3938ea1eaf253f.jpg","text":"TemporaryFile(/tmp/multipartBody2334079535170166536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279445421,"filename":"image_31012025_00_19_55_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d43968511859678ef3066c6a98299877.jpg","text":"TemporaryFile(/tmp/multipartBody6183189838242914159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279445421,"filename":"image_31012025_00_19_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/1/31/89e5b77a56e9c265ce4a82d3e8d3d3c0.jpg","text":"TemporaryFile(/tmp/multipartBody5629926958945687266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279445421,"filename":"image_31012025_00_20_36_10629.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7d18b73929ee61c3c07196bf085672bc.jpg","text":"TemporaryFile(/tmp/multipartBody8873633694505166262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279445421,"filename":"image_31012025_00_19_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/1/31/d92c949ea4f9e5f40c157080388cc205.jpg","text":"TemporaryFile(/tmp/multipartBody8827123417531611860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279445421,"filename":"image_31012025_00_20_56_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333139942","file1":"1333139941","file0":"1333139939","file4":"1333139989","file5":"1333139999","file3":"1333139948"},"map_files_photo_id_array":[{"photo_id":"1333139999","filename":"file5"},{"photo_id":"1333139942","filename":"file2"},{"photo_id":"1333139989","filename":"file4"},{"photo_id":"1333139941","filename":"file1"},{"photo_id":"1333139939","filename":"file0"},{"photo_id":"1333139948","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333139948":["hashtag1","hashtag2"]},{"1333139942":["hashtag1","hashtag2"]},{"1333139939":["hashtag1","hashtag2"]},{"1333139989":["hashtag1","hashtag2"]},{"1333139941":["hashtag1","hashtag2"]},{"1333139999":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333139948, 1333139942, 1333139939, 1333139989, 1333139941, 1333139999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.412877798080444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:24:03.672589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/20/image_31012025_00_21_05_9405.jpg', '/home/pi/Desktop/images/31012025/00/21/image_31012025_00_21_15_10344.jpg', '/home/pi/Desktop/images/31012025/00/21/image_31012025_00_21_35_9413.jpg', '/home/pi/Desktop/images/31012025/00/21/image_31012025_00_21_45_10366.jpg', '/home/pi/Desktop/images/31012025/00/22/image_31012025_00_22_16_10334.jpg', '/home/pi/Desktop/images/31012025/00/22/image_31012025_00_22_25_9442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/20/image_31012025_00_21_05_9405.jpg
/home/pi/Desktop/images/31012025/00/21/image_31012025_00_21_15_10344.jpg
/home/pi/Desktop/images/31012025/00/21/image_31012025_00_21_35_9413.jpg
/home/pi/Desktop/images/31012025/00/21/image_31012025_00_21_45_10366.jpg
/home/pi/Desktop/images/31012025/00/22/image_31012025_00_22_16_10334.jpg
/home/pi/Desktop/images/31012025/00/22/image_31012025_00_22_25_9442.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":["1333140248","1333140077","1333140236","1333140271","1333140255","1333140084"],"photo_ids_order":["1333140077","1333140084","1333140236","1333140248","1333140255","1333140271"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/60a174f8e2c33747e242c76217ab08d7.jpg","text":"TemporaryFile(/tmp/multipartBody8189962983516901673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279504635,"filename":"image_31012025_00_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/1/31/6429f2c5fddf3326471a6c14fad84233.jpg","text":"TemporaryFile(/tmp/multipartBody2225695060185483517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279504635,"filename":"image_31012025_00_21_05_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/eb73ec48f649e4d651facaadd9e0a5d1.jpg","text":"TemporaryFile(/tmp/multipartBody3519920499758784626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279504635,"filename":"image_31012025_00_21_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/1/31/9bf8b3be617a6872195cb6ab0b490281.jpg","text":"TemporaryFile(/tmp/multipartBody7885976323511647248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279504635,"filename":"image_31012025_00_22_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/1/31/6b4ec9a0e9867cf9b43a0456530d2df9.jpg","text":"TemporaryFile(/tmp/multipartBody4072563313375238203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279504635,"filename":"image_31012025_00_22_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/1/31/55ac08caeca46bcac2a14b54893b02a7.jpg","text":"TemporaryFile(/tmp/multipartBody2511060715844157133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279504635,"filename":"image_31012025_00_21_15_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333140236","file1":"1333140084","file0":"1333140077","file4":"1333140255","file5":"1333140271","file3":"1333140248"},"map_files_photo_id_array":[{"photo_id":"1333140271","filename":"file5"},{"photo_id":"1333140236","filename":"file2"},{"photo_id":"1333140255","filename":"file4"},{"photo_id":"1333140084","filename":"file1"},{"photo_id":"1333140077","filename":"file0"},{"photo_id":"1333140248","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333140248":["hashtag1","hashtag2"]},{"1333140077":["hashtag1","hashtag2"]},{"1333140236":["hashtag1","hashtag2"]},{"1333140271":["hashtag1","hashtag2"]},{"1333140255":["hashtag1","hashtag2"]},{"1333140084":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333140248, 1333140077, 1333140236, 1333140271, 1333140255, 1333140084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25662279129028 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:25:03.605669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/22/image_31012025_00_22_46_10398.jpg', '/home/pi/Desktop/images/31012025/00/22/image_31012025_00_22_55_9345.jpg', '/home/pi/Desktop/images/31012025/00/22/image_31012025_00_23_06_10429.jpg', '/home/pi/Desktop/images/31012025/00/23/image_31012025_00_23_15_9384.jpg', '/home/pi/Desktop/images/31012025/00/23/image_31012025_00_23_25_10363.jpg', '/home/pi/Desktop/images/31012025/00/23/image_31012025_00_23_36_10482.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/22/image_31012025_00_22_46_10398.jpg
/home/pi/Desktop/images/31012025/00/22/image_31012025_00_22_55_9345.jpg
/home/pi/Desktop/images/31012025/00/22/image_31012025_00_23_06_10429.jpg
/home/pi/Desktop/images/31012025/00/23/image_31012025_00_23_15_9384.jpg
/home/pi/Desktop/images/31012025/00/23/image_31012025_00_23_25_10363.jpg
/home/pi/Desktop/images/31012025/00/23/image_31012025_00_23_36_10482.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":["1333140324","1333140312","1333140317","1333140340","1333140351","1333140321"],"photo_ids_order":["1333140312","1333140317","1333140321","1333140324","1333140340","1333140351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/903a73be07a4ab8b1c270e93fa8a939b.jpg","text":"TemporaryFile(/tmp/multipartBody4601074868458846754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279564670,"filename":"image_31012025_00_23_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/1/31/36d924709189174ea7ae6d7c66e097ac.jpg","text":"TemporaryFile(/tmp/multipartBody19322389136386054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279564670,"filename":"image_31012025_00_22_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/1/31/3e8ea88d2c76c6accfb90d18c7ac9d78.jpg","text":"TemporaryFile(/tmp/multipartBody2050432866170569864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279564670,"filename":"image_31012025_00_22_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/1/31/5414fdd771fdf40b15b96bac866b6c79.jpg","text":"TemporaryFile(/tmp/multipartBody7183788018727761477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279564670,"filename":"image_31012025_00_23_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/1/31/6cd74487f5e9866f10151fb7de807bbe.jpg","text":"TemporaryFile(/tmp/multipartBody7956558577582716630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279564670,"filename":"image_31012025_00_23_36_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/94e0efa358b82c1f0b5a843ff328fa4b.jpg","text":"TemporaryFile(/tmp/multipartBody289390768563343739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279564670,"filename":"image_31012025_00_23_06_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333140321","file1":"1333140317","file0":"1333140312","file4":"1333140340","file5":"1333140351","file3":"1333140324"},"map_files_photo_id_array":[{"photo_id":"1333140351","filename":"file5"},{"photo_id":"1333140321","filename":"file2"},{"photo_id":"1333140340","filename":"file4"},{"photo_id":"1333140317","filename":"file1"},{"photo_id":"1333140312","filename":"file0"},{"photo_id":"1333140324","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333140324":["hashtag1","hashtag2"]},{"1333140312":["hashtag1","hashtag2"]},{"1333140317":["hashtag1","hashtag2"]},{"1333140340":["hashtag1","hashtag2"]},{"1333140351":["hashtag1","hashtag2"]},{"1333140321":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333140324, 1333140312, 1333140317, 1333140340, 1333140351, 1333140321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.19969296455383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:26:03.084065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/23/image_31012025_00_23_45_9352.jpg', '/home/pi/Desktop/images/31012025/00/23/image_31012025_00_23_56_10455.jpg', '/home/pi/Desktop/images/31012025/00/23/image_31012025_00_24_05_9346.jpg', '/home/pi/Desktop/images/31012025/00/24/image_31012025_00_24_25_9439.jpg', '/home/pi/Desktop/images/31012025/00/24/image_31012025_00_24_35_10448.jpg', '/home/pi/Desktop/images/31012025/00/24/image_31012025_00_24_46_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/23/image_31012025_00_23_45_9352.jpg
/home/pi/Desktop/images/31012025/00/23/image_31012025_00_23_56_10455.jpg
/home/pi/Desktop/images/31012025/00/23/image_31012025_00_24_05_9346.jpg
/home/pi/Desktop/images/31012025/00/24/image_31012025_00_24_25_9439.jpg
/home/pi/Desktop/images/31012025/00/24/image_31012025_00_24_35_10448.jpg
/home/pi/Desktop/images/31012025/00/24/image_31012025_00_24_46_10339.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":["1333140501","1333140504","1333140507","1333140511","1333140495","1333140498"],"photo_ids_order":["1333140495","1333140498","1333140501","1333140504","1333140507","1333140511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2890fe39b172bdb24b33701bd8a245b6.jpg","text":"TemporaryFile(/tmp/multipartBody1229277819356328241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279624051,"filename":"image_31012025_00_24_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/1/31/136e4303453af41b6b279af6cf015959.jpg","text":"TemporaryFile(/tmp/multipartBody7437867168044064441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279624051,"filename":"image_31012025_00_24_25_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/33676b72dfc06318853525f5bba4a654.jpg","text":"TemporaryFile(/tmp/multipartBody2860473551063388971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279624051,"filename":"image_31012025_00_24_35_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/96fbf47a9b083b81ad4acda11748010d.jpg","text":"TemporaryFile(/tmp/multipartBody4157683101159154391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279624051,"filename":"image_31012025_00_24_46_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1ef40adce76a0c036bb41058fbdc0b07.jpg","text":"TemporaryFile(/tmp/multipartBody4293442986790700585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279624051,"filename":"image_31012025_00_23_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/1/31/1c1a85fb127c65f28e5ab76695052283.jpg","text":"TemporaryFile(/tmp/multipartBody4789865496154943646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279624051,"filename":"image_31012025_00_23_56_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333140501","file1":"1333140498","file0":"1333140495","file4":"1333140507","file5":"1333140511","file3":"1333140504"},"map_files_photo_id_array":[{"photo_id":"1333140511","filename":"file5"},{"photo_id":"1333140501","filename":"file2"},{"photo_id":"1333140507","filename":"file4"},{"photo_id":"1333140498","filename":"file1"},{"photo_id":"1333140495","filename":"file0"},{"photo_id":"1333140504","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333140501":["hashtag1","hashtag2"]},{"1333140504":["hashtag1","hashtag2"]},{"1333140507":["hashtag1","hashtag2"]},{"1333140511":["hashtag1","hashtag2"]},{"1333140495":["hashtag1","hashtag2"]},{"1333140498":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333140501, 1333140504, 1333140507, 1333140511, 1333140495, 1333140498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.721816062927246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:27:04.136233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/24/image_31012025_00_24_55_9396.jpg', '/home/pi/Desktop/images/31012025/00/24/image_31012025_00_25_05_10338.jpg', '/home/pi/Desktop/images/31012025/00/25/image_31012025_00_25_16_10454.jpg', '/home/pi/Desktop/images/31012025/00/25/image_31012025_00_25_25_9407.jpg', '/home/pi/Desktop/images/31012025/00/25/image_31012025_00_25_36_10447.jpg', '/home/pi/Desktop/images/31012025/00/25/image_31012025_00_25_45_9395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/24/image_31012025_00_24_55_9396.jpg
/home/pi/Desktop/images/31012025/00/24/image_31012025_00_25_05_10338.jpg
/home/pi/Desktop/images/31012025/00/25/image_31012025_00_25_16_10454.jpg
/home/pi/Desktop/images/31012025/00/25/image_31012025_00_25_25_9407.jpg
/home/pi/Desktop/images/31012025/00/25/image_31012025_00_25_36_10447.jpg
/home/pi/Desktop/images/31012025/00/25/image_31012025_00_25_45_9395.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":["1333140542","1333140548","1333140541","1333140544","1333140552","1333140540"],"photo_ids_order":["1333140540","1333140541","1333140542","1333140544","1333140548","1333140552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/df22b1ca227fd4ec71f5ea25bce51852.jpg","text":"TemporaryFile(/tmp/multipartBody7957447011108242703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279685212,"filename":"image_31012025_00_25_16_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/015f5f867d502a651221a6f1c057af6d.jpg","text":"TemporaryFile(/tmp/multipartBody2564826332045392637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279685212,"filename":"image_31012025_00_25_36_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d7d076ed71074561e4a69e2bce0e2350.jpg","text":"TemporaryFile(/tmp/multipartBody5386439350315207950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279685212,"filename":"image_31012025_00_25_05_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4eab3f69a51ac9b950b6e95db0677535.jpg","text":"TemporaryFile(/tmp/multipartBody4027166791213156880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279685212,"filename":"image_31012025_00_25_25_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/062a717a4c661ac68fef0b24e295dc9c.jpg","text":"TemporaryFile(/tmp/multipartBody5160331643256836570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279685212,"filename":"image_31012025_00_25_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/1/31/b4ba50a76a0d76f52747fbefeb87ad5a.jpg","text":"TemporaryFile(/tmp/multipartBody3950914733245904529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279685212,"filename":"image_31012025_00_24_55_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333140542","file1":"1333140541","file0":"1333140540","file4":"1333140548","file5":"1333140552","file3":"1333140544"},"map_files_photo_id_array":[{"photo_id":"1333140552","filename":"file5"},{"photo_id":"1333140542","filename":"file2"},{"photo_id":"1333140548","filename":"file4"},{"photo_id":"1333140541","filename":"file1"},{"photo_id":"1333140540","filename":"file0"},{"photo_id":"1333140544","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333140542":["hashtag1","hashtag2"]},{"1333140548":["hashtag1","hashtag2"]},{"1333140541":["hashtag1","hashtag2"]},{"1333140544":["hashtag1","hashtag2"]},{"1333140552":["hashtag1","hashtag2"]},{"1333140540":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333140542, 1333140548, 1333140541, 1333140544, 1333140552, 1333140540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.09811282157898 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:28:03.486839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/25/image_31012025_00_25_55_10366.jpg', '/home/pi/Desktop/images/31012025/00/25/image_31012025_00_26_05_9409.jpg', '/home/pi/Desktop/images/31012025/00/26/image_31012025_00_26_15_10415.jpg', '/home/pi/Desktop/images/31012025/00/26/image_31012025_00_26_26_10373.jpg', '/home/pi/Desktop/images/31012025/00/26/image_31012025_00_26_35_9430.jpg', '/home/pi/Desktop/images/31012025/00/26/image_31012025_00_26_45_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/25/image_31012025_00_25_55_10366.jpg
/home/pi/Desktop/images/31012025/00/25/image_31012025_00_26_05_9409.jpg
/home/pi/Desktop/images/31012025/00/26/image_31012025_00_26_15_10415.jpg
/home/pi/Desktop/images/31012025/00/26/image_31012025_00_26_26_10373.jpg
/home/pi/Desktop/images/31012025/00/26/image_31012025_00_26_35_9430.jpg
/home/pi/Desktop/images/31012025/00/26/image_31012025_00_26_45_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":["1333140581","1333140578","1333140574","1333140576","1333140585","1333140579"],"photo_ids_order":["1333140574","1333140576","1333140578","1333140579","1333140581","1333140585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/57cf90a8763d8d1fa017f71cac826610.jpg","text":"TemporaryFile(/tmp/multipartBody585756915307967937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279745893,"filename":"image_31012025_00_26_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/1/31/ff68e54b878754cd89587530bd9ac392.jpg","text":"TemporaryFile(/tmp/multipartBody5969168463964486148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279745893,"filename":"image_31012025_00_26_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/1/31/db461513f7f2992aa297385df91e9069.jpg","text":"TemporaryFile(/tmp/multipartBody2719056089951550664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279745893,"filename":"image_31012025_00_25_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/1/31/126a8695a60a2b78f6dee7fb6e0908d3.jpg","text":"TemporaryFile(/tmp/multipartBody2353738815257484839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279745893,"filename":"image_31012025_00_26_05_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f814b2a4a7b81c15e88ebd113bcff359.jpg","text":"TemporaryFile(/tmp/multipartBody4824784336977283833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279745893,"filename":"image_31012025_00_26_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/1/31/f4281f5b2693087e94e1693b9e0f8d1a.jpg","text":"TemporaryFile(/tmp/multipartBody2255779664708497269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279745893,"filename":"image_31012025_00_26_26_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333140578","file1":"1333140576","file0":"1333140574","file4":"1333140581","file5":"1333140585","file3":"1333140579"},"map_files_photo_id_array":[{"photo_id":"1333140585","filename":"file5"},{"photo_id":"1333140578","filename":"file2"},{"photo_id":"1333140581","filename":"file4"},{"photo_id":"1333140576","filename":"file1"},{"photo_id":"1333140574","filename":"file0"},{"photo_id":"1333140579","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333140581":["hashtag1","hashtag2"]},{"1333140578":["hashtag1","hashtag2"]},{"1333140574":["hashtag1","hashtag2"]},{"1333140576":["hashtag1","hashtag2"]},{"1333140585":["hashtag1","hashtag2"]},{"1333140579":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333140581, 1333140578, 1333140574, 1333140576, 1333140585, 1333140579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.324639081954956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:29:04.381164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/26/image_31012025_00_26_55_9427.jpg', '/home/pi/Desktop/images/31012025/00/26/image_31012025_00_27_05_10349.jpg', '/home/pi/Desktop/images/31012025/00/27/image_31012025_00_27_16_10384.jpg', '/home/pi/Desktop/images/31012025/00/27/image_31012025_00_27_25_9371.jpg', '/home/pi/Desktop/images/31012025/00/27/image_31012025_00_27_35_10362.jpg', '/home/pi/Desktop/images/31012025/00/27/image_31012025_00_27_46_10475.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/26/image_31012025_00_26_55_9427.jpg
/home/pi/Desktop/images/31012025/00/26/image_31012025_00_27_05_10349.jpg
/home/pi/Desktop/images/31012025/00/27/image_31012025_00_27_16_10384.jpg
/home/pi/Desktop/images/31012025/00/27/image_31012025_00_27_25_9371.jpg
/home/pi/Desktop/images/31012025/00/27/image_31012025_00_27_35_10362.jpg
/home/pi/Desktop/images/31012025/00/27/image_31012025_00_27_46_10475.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333140617","1333140620","1333140619","1333140613","1333140624","1333140627"],"photo_ids_order":["1333140613","1333140617","1333140619","1333140620","1333140624","1333140627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bfd2df0901d4bb2745222824f5756fdb.jpg","text":"TemporaryFile(/tmp/multipartBody1781175609145067463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279805505,"filename":"image_31012025_00_27_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/1/31/780badbcd54d200ad997f33f13f4719b.jpg","text":"TemporaryFile(/tmp/multipartBody5671858347494220600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279805505,"filename":"image_31012025_00_27_25_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4f0285a985003e9272f6cdaad4b6b38b.jpg","text":"TemporaryFile(/tmp/multipartBody3278615191392552732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279805505,"filename":"image_31012025_00_27_16_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9fd858886cc5df09c7e0ce4336c70ddf.jpg","text":"TemporaryFile(/tmp/multipartBody7894147899531157134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279805505,"filename":"image_31012025_00_26_55_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/724a809db98354dc5ed9842e521c758b.jpg","text":"TemporaryFile(/tmp/multipartBody8391186295709132490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279805505,"filename":"image_31012025_00_27_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/1/31/0b36099fe7b7cca96a47be3213d6e33a.jpg","text":"TemporaryFile(/tmp/multipartBody8152194790131182483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279805505,"filename":"image_31012025_00_27_46_10475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333140619","file1":"1333140617","file0":"1333140613","file4":"1333140624","file5":"1333140627","file3":"1333140620"},"map_files_photo_id_array":[{"photo_id":"1333140627","filename":"file5"},{"photo_id":"1333140619","filename":"file2"},{"photo_id":"1333140624","filename":"file4"},{"photo_id":"1333140617","filename":"file1"},{"photo_id":"1333140613","filename":"file0"},{"photo_id":"1333140620","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333140617":["hashtag1","hashtag2"]},{"1333140620":["hashtag1","hashtag2"]},{"1333140619":["hashtag1","hashtag2"]},{"1333140613":["hashtag1","hashtag2"]},{"1333140624":["hashtag1","hashtag2"]},{"1333140627":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333140617, 1333140620, 1333140619, 1333140613, 1333140624, 1333140627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.45119500160217 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:30:03.254428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/27/image_31012025_00_27_55_9367.jpg', '/home/pi/Desktop/images/31012025/00/27/image_31012025_00_28_06_10421.jpg', '/home/pi/Desktop/images/31012025/00/28/image_31012025_00_28_15_9403.jpg', '/home/pi/Desktop/images/31012025/00/28/image_31012025_00_28_25_10364.jpg', '/home/pi/Desktop/images/31012025/00/28/image_31012025_00_28_36_10442.jpg', '/home/pi/Desktop/images/31012025/00/28/image_31012025_00_28_45_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/27/image_31012025_00_27_55_9367.jpg
/home/pi/Desktop/images/31012025/00/27/image_31012025_00_28_06_10421.jpg
/home/pi/Desktop/images/31012025/00/28/image_31012025_00_28_15_9403.jpg
/home/pi/Desktop/images/31012025/00/28/image_31012025_00_28_25_10364.jpg
/home/pi/Desktop/images/31012025/00/28/image_31012025_00_28_36_10442.jpg
/home/pi/Desktop/images/31012025/00/28/image_31012025_00_28_45_9343.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333140674","1333140653","1333140740","1333140722","1333140688","1333140655"],"photo_ids_order":["1333140653","1333140655","1333140674","1333140688","1333140722","1333140740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5ae77f1f159a88cf27438cf6aca10cf8.jpg","text":"TemporaryFile(/tmp/multipartBody7077516300575926484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279864225,"filename":"image_31012025_00_28_15_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c4f36f1685fdc3d132949ef4500be592.jpg","text":"TemporaryFile(/tmp/multipartBody6305535670199891338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279864225,"filename":"image_31012025_00_27_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/1/31/f0aff28269d3da1f54911c98be51f249.jpg","text":"TemporaryFile(/tmp/multipartBody2198953768672814919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279864225,"filename":"image_31012025_00_28_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/1/31/aab2f6842c5fb3b713b1883ffdfd2762.jpg","text":"TemporaryFile(/tmp/multipartBody4956813711446170947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279864225,"filename":"image_31012025_00_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/1/31/690d46dbbe937ab32f5db905c053033f.jpg","text":"TemporaryFile(/tmp/multipartBody1316214931512777764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279864225,"filename":"image_31012025_00_28_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/1/31/e35decf2812268310a479847990f3125.jpg","text":"TemporaryFile(/tmp/multipartBody2599976061520148204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279864225,"filename":"image_31012025_00_28_06_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333140674","file1":"1333140655","file0":"1333140653","file4":"1333140722","file5":"1333140740","file3":"1333140688"},"map_files_photo_id_array":[{"photo_id":"1333140740","filename":"file5"},{"photo_id":"1333140674","filename":"file2"},{"photo_id":"1333140722","filename":"file4"},{"photo_id":"1333140655","filename":"file1"},{"photo_id":"1333140653","filename":"file0"},{"photo_id":"1333140688","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333140674":["hashtag1","hashtag2"]},{"1333140653":["hashtag1","hashtag2"]},{"1333140740":["hashtag1","hashtag2"]},{"1333140722":["hashtag1","hashtag2"]},{"1333140688":["hashtag1","hashtag2"]},{"1333140655":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333140674, 1333140653, 1333140740, 1333140722, 1333140688, 1333140655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.35481905937195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:31:03.910164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/28/image_31012025_00_28_56_10420.jpg', '/home/pi/Desktop/images/31012025/00/28/image_31012025_00_29_05_9356.jpg', '/home/pi/Desktop/images/31012025/00/29/image_31012025_00_29_15_10524.jpg', '/home/pi/Desktop/images/31012025/00/29/image_31012025_00_29_25_9480.jpg', '/home/pi/Desktop/images/31012025/00/29/image_31012025_00_29_35_10358.jpg', '/home/pi/Desktop/images/31012025/00/29/image_31012025_00_29_46_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/28/image_31012025_00_28_56_10420.jpg
/home/pi/Desktop/images/31012025/00/28/image_31012025_00_29_05_9356.jpg
/home/pi/Desktop/images/31012025/00/29/image_31012025_00_29_15_10524.jpg
/home/pi/Desktop/images/31012025/00/29/image_31012025_00_29_25_9480.jpg
/home/pi/Desktop/images/31012025/00/29/image_31012025_00_29_35_10358.jpg
/home/pi/Desktop/images/31012025/00/29/image_31012025_00_29_46_10357.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333140796","1333140838","1333140787","1333140847","1333140817","1333140792"],"photo_ids_order":["1333140787","1333140792","1333140796","1333140817","1333140838","1333140847"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0b0ea4ac588ddaff1877ed1ccba29ba0.jpg","text":"TemporaryFile(/tmp/multipartBody4327517911637539582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279924992,"filename":"image_31012025_00_29_15_10524.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/eb3dfe489055311d458fbf67b974e03c.jpg","text":"TemporaryFile(/tmp/multipartBody8877790520049552990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279924992,"filename":"image_31012025_00_29_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/1/31/ca8c63551ef652af642f8cc857a70846.jpg","text":"TemporaryFile(/tmp/multipartBody7084392022922597014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279924992,"filename":"image_31012025_00_28_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/1/31/54927655e3f49b07c864c45d6e8cbf91.jpg","text":"TemporaryFile(/tmp/multipartBody6257984028677033755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279924992,"filename":"image_31012025_00_29_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/1/31/3d8978bace96f2380be4da4eda5ab783.jpg","text":"TemporaryFile(/tmp/multipartBody8334751600371517922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279924992,"filename":"image_31012025_00_29_25_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ca6856f433800e5ed5d7152de728c346.jpg","text":"TemporaryFile(/tmp/multipartBody3155483609549241478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738279924992,"filename":"image_31012025_00_29_05_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333140796","file1":"1333140792","file0":"1333140787","file4":"1333140838","file5":"1333140847","file3":"1333140817"},"map_files_photo_id_array":[{"photo_id":"1333140847","filename":"file5"},{"photo_id":"1333140796","filename":"file2"},{"photo_id":"1333140838","filename":"file4"},{"photo_id":"1333140792","filename":"file1"},{"photo_id":"1333140787","filename":"file0"},{"photo_id":"1333140817","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333140796":["hashtag1","hashtag2"]},{"1333140838":["hashtag1","hashtag2"]},{"1333140787":["hashtag1","hashtag2"]},{"1333140847":["hashtag1","hashtag2"]},{"1333140817":["hashtag1","hashtag2"]},{"1333140792":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333140796, 1333140838, 1333140787, 1333140847, 1333140817, 1333140792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.331796407699585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:32:03.550721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/29/image_31012025_00_29_55_9447.jpg', '/home/pi/Desktop/images/31012025/00/29/image_31012025_00_30_06_10387.jpg', '/home/pi/Desktop/images/31012025/00/30/image_31012025_00_30_15_9464.jpg', '/home/pi/Desktop/images/31012025/00/30/image_31012025_00_30_25_10364.jpg', '/home/pi/Desktop/images/31012025/00/30/image_31012025_00_30_36_10421.jpg', '/home/pi/Desktop/images/31012025/00/30/image_31012025_00_30_45_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/29/image_31012025_00_29_55_9447.jpg
/home/pi/Desktop/images/31012025/00/29/image_31012025_00_30_06_10387.jpg
/home/pi/Desktop/images/31012025/00/30/image_31012025_00_30_15_9464.jpg
/home/pi/Desktop/images/31012025/00/30/image_31012025_00_30_25_10364.jpg
/home/pi/Desktop/images/31012025/00/30/image_31012025_00_30_36_10421.jpg
/home/pi/Desktop/images/31012025/00/30/image_31012025_00_30_45_9342.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5713026523590088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:33:04.052833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/29/image_31012025_00_29_55_9447.jpg', '/home/pi/Desktop/images/31012025/00/29/image_31012025_00_30_06_10387.jpg', '/home/pi/Desktop/images/31012025/00/30/image_31012025_00_30_15_9464.jpg', '/home/pi/Desktop/images/31012025/00/30/image_31012025_00_30_25_10364.jpg', '/home/pi/Desktop/images/31012025/00/30/image_31012025_00_30_36_10421.jpg', '/home/pi/Desktop/images/31012025/00/30/image_31012025_00_30_45_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/29/image_31012025_00_29_55_9447.jpg
/home/pi/Desktop/images/31012025/00/29/image_31012025_00_30_06_10387.jpg
/home/pi/Desktop/images/31012025/00/30/image_31012025_00_30_15_9464.jpg
/home/pi/Desktop/images/31012025/00/30/image_31012025_00_30_25_10364.jpg
/home/pi/Desktop/images/31012025/00/30/image_31012025_00_30_36_10421.jpg
/home/pi/Desktop/images/31012025/00/30/image_31012025_00_30_45_9342.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333140927","1333140956","1333140920","1333140923","1333141048","1333141137"],"photo_ids_order":["1333140920","1333140923","1333140927","1333140956","1333141048","1333141137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a31c43fbd87da7b192dbc87bee883596.jpg","text":"TemporaryFile(/tmp/multipartBody7644595324227648209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280045073,"filename":"image_31012025_00_30_15_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/abb90c9650606cd62f8dfd7b575d649c.jpg","text":"TemporaryFile(/tmp/multipartBody7397108645307223507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280045073,"filename":"image_31012025_00_30_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/1/31/1c61d2c616d4529c0927bc9660719790.jpg","text":"TemporaryFile(/tmp/multipartBody646541134651601249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280045073,"filename":"image_31012025_00_29_55_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e852405aa611cc1b4b3eede31e7fbe74.jpg","text":"TemporaryFile(/tmp/multipartBody6616423364851580261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280045073,"filename":"image_31012025_00_30_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/1/31/b4562aafa266bb98c09ae597c3448110.jpg","text":"TemporaryFile(/tmp/multipartBody6168323766511975966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280045073,"filename":"image_31012025_00_30_36_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/254dd17ab77691b0161becf686e98645.jpg","text":"TemporaryFile(/tmp/multipartBody8633624940125592506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280045073,"filename":"image_31012025_00_30_45_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333140927","file1":"1333140923","file0":"1333140920","file4":"1333141048","file5":"1333141137","file3":"1333140956"},"map_files_photo_id_array":[{"photo_id":"1333141137","filename":"file5"},{"photo_id":"1333140927","filename":"file2"},{"photo_id":"1333141048","filename":"file4"},{"photo_id":"1333140923","filename":"file1"},{"photo_id":"1333140920","filename":"file0"},{"photo_id":"1333140956","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333140927":["hashtag1","hashtag2"]},{"1333140956":["hashtag1","hashtag2"]},{"1333140920":["hashtag1","hashtag2"]},{"1333140923":["hashtag1","hashtag2"]},{"1333141048":["hashtag1","hashtag2"]},{"1333141137":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333140927, 1333140956, 1333140920, 1333140923, 1333141048, 1333141137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12082886695862 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:34:03.114042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/30/image_31012025_00_30_55_10363.jpg', '/home/pi/Desktop/images/31012025/00/30/image_31012025_00_31_05_9471.jpg', '/home/pi/Desktop/images/31012025/00/31/image_31012025_00_31_15_10377.jpg', '/home/pi/Desktop/images/31012025/00/31/image_31012025_00_32_05_10369.jpg', '/home/pi/Desktop/images/31012025/00/32/image_31012025_00_32_16_10426.jpg', '/home/pi/Desktop/images/31012025/00/32/image_31012025_00_32_35_10444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/30/image_31012025_00_30_55_10363.jpg
/home/pi/Desktop/images/31012025/00/30/image_31012025_00_31_05_9471.jpg
/home/pi/Desktop/images/31012025/00/31/image_31012025_00_31_15_10377.jpg
/home/pi/Desktop/images/31012025/00/31/image_31012025_00_32_05_10369.jpg
/home/pi/Desktop/images/31012025/00/32/image_31012025_00_32_16_10426.jpg
/home/pi/Desktop/images/31012025/00/32/image_31012025_00_32_35_10444.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333141847","1333142071","1333141744","1333141674","1333142037","1333141941"],"photo_ids_order":["1333141674","1333141744","1333141847","1333141941","1333142037","1333142071"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b5f8abaad9621d8e204574791bff90c5.jpg","text":"TemporaryFile(/tmp/multipartBody818394568065448961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280104071,"filename":"image_31012025_00_31_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/1/31/5eb617833185f5c477cdd1885d80ce21.jpg","text":"TemporaryFile(/tmp/multipartBody4331235707082470596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280104071,"filename":"image_31012025_00_32_35_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b1ca57d8dcc3d34cb8ffc63012dc3859.jpg","text":"TemporaryFile(/tmp/multipartBody7475508029293388820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280104071,"filename":"image_31012025_00_31_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/1/31/ea741c099bbe7c915e45ac050c71842b.jpg","text":"TemporaryFile(/tmp/multipartBody1730709838874566138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280104071,"filename":"image_31012025_00_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/1/31/59de6acf06135aa1ed427df307c972d7.jpg","text":"TemporaryFile(/tmp/multipartBody2723825938943086537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280104071,"filename":"image_31012025_00_32_16_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b41e305304768c8f07bec634a2377b7e.jpg","text":"TemporaryFile(/tmp/multipartBody8746393114661146463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280104071,"filename":"image_31012025_00_32_05_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333141847","file1":"1333141744","file0":"1333141674","file4":"1333142037","file5":"1333142071","file3":"1333141941"},"map_files_photo_id_array":[{"photo_id":"1333142071","filename":"file5"},{"photo_id":"1333141847","filename":"file2"},{"photo_id":"1333142037","filename":"file4"},{"photo_id":"1333141744","filename":"file1"},{"photo_id":"1333141674","filename":"file0"},{"photo_id":"1333141941","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333141847":["hashtag1","hashtag2"]},{"1333142071":["hashtag1","hashtag2"]},{"1333141744":["hashtag1","hashtag2"]},{"1333141674":["hashtag1","hashtag2"]},{"1333142037":["hashtag1","hashtag2"]},{"1333141941":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333141847, 1333142071, 1333141744, 1333141674, 1333142037, 1333141941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.07350516319275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:35:04.671458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/32/image_31012025_00_32_55_9356.jpg', '/home/pi/Desktop/images/31012025/00/33/image_31012025_00_33_15_9430.jpg', '/home/pi/Desktop/images/31012025/00/33/image_31012025_00_33_25_10361.jpg', '/home/pi/Desktop/images/31012025/00/33/image_31012025_00_33_36_10398.jpg', '/home/pi/Desktop/images/31012025/00/33/image_31012025_00_33_45_9355.jpg', '/home/pi/Desktop/images/31012025/00/33/image_31012025_00_33_56_10437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/32/image_31012025_00_32_55_9356.jpg
/home/pi/Desktop/images/31012025/00/33/image_31012025_00_33_15_9430.jpg
/home/pi/Desktop/images/31012025/00/33/image_31012025_00_33_25_10361.jpg
/home/pi/Desktop/images/31012025/00/33/image_31012025_00_33_36_10398.jpg
/home/pi/Desktop/images/31012025/00/33/image_31012025_00_33_45_9355.jpg
/home/pi/Desktop/images/31012025/00/33/image_31012025_00_33_56_10437.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333142094","1333142113","1333142109","1333142099","1333142090","1333142103"],"photo_ids_order":["1333142090","1333142094","1333142099","1333142103","1333142109","1333142113"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f2d4913ba09c522201c56f7d81244655.jpg","text":"TemporaryFile(/tmp/multipartBody3521285211817919852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280166127,"filename":"image_31012025_00_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/1/31/9000b1bfc67d95dcb0e86a6b04b180dc.jpg","text":"TemporaryFile(/tmp/multipartBody3397682921636149979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280166127,"filename":"image_31012025_00_33_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/1/31/5aaac39e8535637600ae7b42734356c3.jpg","text":"TemporaryFile(/tmp/multipartBody414401328183692674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280166127,"filename":"image_31012025_00_33_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/1/31/74c4fe5681b88c8ee19b493fce784ad9.jpg","text":"TemporaryFile(/tmp/multipartBody3602746616330378495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280166127,"filename":"image_31012025_00_33_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/1/31/34f3539272795973ec592450f77f27f5.jpg","text":"TemporaryFile(/tmp/multipartBody9220952889745736117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280166127,"filename":"image_31012025_00_32_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/1/31/4e3b61abd745e7b37cc159f4e01e2dd6.jpg","text":"TemporaryFile(/tmp/multipartBody8447746587748007432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280166127,"filename":"image_31012025_00_33_36_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333142099","file1":"1333142094","file0":"1333142090","file4":"1333142109","file5":"1333142113","file3":"1333142103"},"map_files_photo_id_array":[{"photo_id":"1333142113","filename":"file5"},{"photo_id":"1333142099","filename":"file2"},{"photo_id":"1333142109","filename":"file4"},{"photo_id":"1333142094","filename":"file1"},{"photo_id":"1333142090","filename":"file0"},{"photo_id":"1333142103","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333142094":["hashtag1","hashtag2"]},{"1333142113":["hashtag1","hashtag2"]},{"1333142109":["hashtag1","hashtag2"]},{"1333142099":["hashtag1","hashtag2"]},{"1333142090":["hashtag1","hashtag2"]},{"1333142103":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333142094, 1333142113, 1333142109, 1333142099, 1333142090, 1333142103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70287036895752 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:36:03.230766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/33/image_31012025_00_34_05_9346.jpg', '/home/pi/Desktop/images/31012025/00/34/image_31012025_00_34_15_10348.jpg', '/home/pi/Desktop/images/31012025/00/34/image_31012025_00_34_26_10366.jpg', '/home/pi/Desktop/images/31012025/00/34/image_31012025_00_34_35_9349.jpg', '/home/pi/Desktop/images/31012025/00/34/image_31012025_00_34_45_10365.jpg', '/home/pi/Desktop/images/31012025/00/34/image_31012025_00_34_56_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/33/image_31012025_00_34_05_9346.jpg
/home/pi/Desktop/images/31012025/00/34/image_31012025_00_34_15_10348.jpg
/home/pi/Desktop/images/31012025/00/34/image_31012025_00_34_26_10366.jpg
/home/pi/Desktop/images/31012025/00/34/image_31012025_00_34_35_9349.jpg
/home/pi/Desktop/images/31012025/00/34/image_31012025_00_34_45_10365.jpg
/home/pi/Desktop/images/31012025/00/34/image_31012025_00_34_56_10427.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333142519","1333142268","1333142613","1333142271","1333142426","1333142342"],"photo_ids_order":["1333142268","1333142271","1333142342","1333142426","1333142519","1333142613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2f22c24b84ef71f7ea223f9e276a4338.jpg","text":"TemporaryFile(/tmp/multipartBody59228313149495740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280224203,"filename":"image_31012025_00_34_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/1/31/ef254560253e03e568f1f8e4ddd5d7fa.jpg","text":"TemporaryFile(/tmp/multipartBody8167127744968547182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280224203,"filename":"image_31012025_00_34_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/1/31/3384f3b9d40476674cbd8f50666e5fb0.jpg","text":"TemporaryFile(/tmp/multipartBody5475543704119525678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280224203,"filename":"image_31012025_00_34_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/1/31/f121db7d2a4e697e56676dc555ac14e9.jpg","text":"TemporaryFile(/tmp/multipartBody4160808283711686714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280224203,"filename":"image_31012025_00_34_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/1/31/7e0b2d03ad720fbfb7035e6b97419d9d.jpg","text":"TemporaryFile(/tmp/multipartBody7451709699840269136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280224203,"filename":"image_31012025_00_34_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/1/31/aa2a7c595ec1fc5a4265ea88e083c9d1.jpg","text":"TemporaryFile(/tmp/multipartBody5486643928089434109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280224203,"filename":"image_31012025_00_34_26_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333142342","file1":"1333142271","file0":"1333142268","file4":"1333142519","file5":"1333142613","file3":"1333142426"},"map_files_photo_id_array":[{"photo_id":"1333142613","filename":"file5"},{"photo_id":"1333142342","filename":"file2"},{"photo_id":"1333142519","filename":"file4"},{"photo_id":"1333142271","filename":"file1"},{"photo_id":"1333142268","filename":"file0"},{"photo_id":"1333142426","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333142519":["hashtag1","hashtag2"]},{"1333142268":["hashtag1","hashtag2"]},{"1333142613":["hashtag1","hashtag2"]},{"1333142271":["hashtag1","hashtag2"]},{"1333142426":["hashtag1","hashtag2"]},{"1333142342":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333142519, 1333142268, 1333142613, 1333142271, 1333142426, 1333142342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83645033836365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:37:03.957367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/34/image_31012025_00_35_05_9343.jpg', '/home/pi/Desktop/images/31012025/00/35/image_31012025_00_35_16_10368.jpg', '/home/pi/Desktop/images/31012025/00/35/image_31012025_00_35_25_9370.jpg', '/home/pi/Desktop/images/31012025/00/35/image_31012025_00_35_35_10359.jpg', '/home/pi/Desktop/images/31012025/00/35/image_31012025_00_35_46_10397.jpg', '/home/pi/Desktop/images/31012025/00/35/image_31012025_00_35_55_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/34/image_31012025_00_35_05_9343.jpg
/home/pi/Desktop/images/31012025/00/35/image_31012025_00_35_16_10368.jpg
/home/pi/Desktop/images/31012025/00/35/image_31012025_00_35_25_9370.jpg
/home/pi/Desktop/images/31012025/00/35/image_31012025_00_35_35_10359.jpg
/home/pi/Desktop/images/31012025/00/35/image_31012025_00_35_46_10397.jpg
/home/pi/Desktop/images/31012025/00/35/image_31012025_00_35_55_9421.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333143241","1333143594","1333143409","1333143717","1333143531","1333143107"],"photo_ids_order":["1333143107","1333143241","1333143409","1333143531","1333143594","1333143717"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e2538596301d1a6ce99d489b6e4f86b1.jpg","text":"TemporaryFile(/tmp/multipartBody5145785419313295879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280285010,"filename":"image_31012025_00_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/1/31/d18c1a64ac7fd2b4c3b61dd1ba58071e.jpg","text":"TemporaryFile(/tmp/multipartBody3339589147823388915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280285010,"filename":"image_31012025_00_35_46_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9c1cb51c3f5ca14fb51525306a659cce.jpg","text":"TemporaryFile(/tmp/multipartBody1406648071225932888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280285010,"filename":"image_31012025_00_35_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/1/31/af9f9ff7091cafce100e4b06ab22176d.jpg","text":"TemporaryFile(/tmp/multipartBody5993340146865242512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280285010,"filename":"image_31012025_00_35_55_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8dc06c142dc7d1d54681c0b1502feb2c.jpg","text":"TemporaryFile(/tmp/multipartBody9162486975294460761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280285010,"filename":"image_31012025_00_35_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/1/31/e2dd9de7a439de6fb8d733a42c5e0567.jpg","text":"TemporaryFile(/tmp/multipartBody2137362812830643394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280285010,"filename":"image_31012025_00_35_05_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333143409","file1":"1333143241","file0":"1333143107","file4":"1333143594","file5":"1333143717","file3":"1333143531"},"map_files_photo_id_array":[{"photo_id":"1333143717","filename":"file5"},{"photo_id":"1333143409","filename":"file2"},{"photo_id":"1333143594","filename":"file4"},{"photo_id":"1333143241","filename":"file1"},{"photo_id":"1333143107","filename":"file0"},{"photo_id":"1333143531","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333143241":["hashtag1","hashtag2"]},{"1333143594":["hashtag1","hashtag2"]},{"1333143409":["hashtag1","hashtag2"]},{"1333143717":["hashtag1","hashtag2"]},{"1333143531":["hashtag1","hashtag2"]},{"1333143107":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333143241, 1333143594, 1333143409, 1333143717, 1333143531, 1333143107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.99213099479675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:38:03.426818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/35/image_31012025_00_36_05_10364.jpg', '/home/pi/Desktop/images/31012025/00/36/image_31012025_00_36_16_10420.jpg', '/home/pi/Desktop/images/31012025/00/36/image_31012025_00_36_25_9347.jpg', '/home/pi/Desktop/images/31012025/00/36/image_31012025_00_36_45_9373.jpg', '/home/pi/Desktop/images/31012025/00/36/image_31012025_00_36_55_10375.jpg', '/home/pi/Desktop/images/31012025/00/36/image_31012025_00_37_06_10496.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/35/image_31012025_00_36_05_10364.jpg
/home/pi/Desktop/images/31012025/00/36/image_31012025_00_36_16_10420.jpg
/home/pi/Desktop/images/31012025/00/36/image_31012025_00_36_25_9347.jpg
/home/pi/Desktop/images/31012025/00/36/image_31012025_00_36_45_9373.jpg
/home/pi/Desktop/images/31012025/00/36/image_31012025_00_36_55_10375.jpg
/home/pi/Desktop/images/31012025/00/36/image_31012025_00_37_06_10496.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333144462","1333144471","1333144465","1333144468","1333144456","1333144435"],"photo_ids_order":["1333144435","1333144456","1333144462","1333144465","1333144468","1333144471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/eeb6701385e0cdc1c5286c04b7e59b01.jpg","text":"TemporaryFile(/tmp/multipartBody8522249582724136202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280344363,"filename":"image_31012025_00_36_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/1/31/98280946b0d1a17d76105afb7782276c.jpg","text":"TemporaryFile(/tmp/multipartBody5096494985241289569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280344363,"filename":"image_31012025_00_37_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/1/31/f867175a29339e064a07467d87bd6bd7.jpg","text":"TemporaryFile(/tmp/multipartBody6534189471575268600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280344363,"filename":"image_31012025_00_36_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/1/31/3d66d7f332ae8ca9e8ba1fbbb92710c6.jpg","text":"TemporaryFile(/tmp/multipartBody3853587618539361447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280344363,"filename":"image_31012025_00_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/1/31/5b0e2cba4c4d17f4f89ae66637514e6c.jpg","text":"TemporaryFile(/tmp/multipartBody5568358638893856946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280344363,"filename":"image_31012025_00_36_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/1/31/ab714a6739ddca7141652c33c1302131.jpg","text":"TemporaryFile(/tmp/multipartBody1348030623330499129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280344363,"filename":"image_31012025_00_36_05_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333144462","file1":"1333144456","file0":"1333144435","file4":"1333144468","file5":"1333144471","file3":"1333144465"},"map_files_photo_id_array":[{"photo_id":"1333144471","filename":"file5"},{"photo_id":"1333144462","filename":"file2"},{"photo_id":"1333144468","filename":"file4"},{"photo_id":"1333144456","filename":"file1"},{"photo_id":"1333144435","filename":"file0"},{"photo_id":"1333144465","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333144462":["hashtag1","hashtag2"]},{"1333144471":["hashtag1","hashtag2"]},{"1333144465":["hashtag1","hashtag2"]},{"1333144468":["hashtag1","hashtag2"]},{"1333144456":["hashtag1","hashtag2"]},{"1333144435":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333144462, 1333144471, 1333144465, 1333144468, 1333144456, 1333144435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.845388889312744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:39:04.345883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/37/image_31012025_00_37_15_9341.jpg', '/home/pi/Desktop/images/31012025/00/37/image_31012025_00_37_26_10344.jpg', '/home/pi/Desktop/images/31012025/00/37/image_31012025_00_37_35_9459.jpg', '/home/pi/Desktop/images/31012025/00/37/image_31012025_00_37_45_10369.jpg', '/home/pi/Desktop/images/31012025/00/37/image_31012025_00_37_56_10484.jpg', '/home/pi/Desktop/images/31012025/00/37/image_31012025_00_38_05_9381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/37/image_31012025_00_37_15_9341.jpg
/home/pi/Desktop/images/31012025/00/37/image_31012025_00_37_26_10344.jpg
/home/pi/Desktop/images/31012025/00/37/image_31012025_00_37_35_9459.jpg
/home/pi/Desktop/images/31012025/00/37/image_31012025_00_37_45_10369.jpg
/home/pi/Desktop/images/31012025/00/37/image_31012025_00_37_56_10484.jpg
/home/pi/Desktop/images/31012025/00/37/image_31012025_00_38_05_9381.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333144503","1333144496","1333144500","1333144499","1333144511","1333144507"],"photo_ids_order":["1333144496","1333144499","1333144500","1333144503","1333144507","1333144511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c7501bcd8a44494cd376b8e37e6ac4a8.jpg","text":"TemporaryFile(/tmp/multipartBody8597062598202372590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280405337,"filename":"image_31012025_00_37_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/1/31/86809490854062034ba41fab232318e4.jpg","text":"TemporaryFile(/tmp/multipartBody5709238771011263606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280405337,"filename":"image_31012025_00_37_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/1/31/8412d1a484b05dc29a438bc70285dbf8.jpg","text":"TemporaryFile(/tmp/multipartBody108170827072057190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280405337,"filename":"image_31012025_00_37_35_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/528bd073ce6f51ab72165fa8da5f4ca2.jpg","text":"TemporaryFile(/tmp/multipartBody3540354556281735796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280405337,"filename":"image_31012025_00_37_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/1/31/ee0245dd0344131034692de2a48c380f.jpg","text":"TemporaryFile(/tmp/multipartBody2974602691427891474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280405337,"filename":"image_31012025_00_38_05_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4419860243141374384db2290f7e0ddb.jpg","text":"TemporaryFile(/tmp/multipartBody3335753962000438516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280405337,"filename":"image_31012025_00_37_56_10484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333144500","file1":"1333144499","file0":"1333144496","file4":"1333144507","file5":"1333144511","file3":"1333144503"},"map_files_photo_id_array":[{"photo_id":"1333144511","filename":"file5"},{"photo_id":"1333144500","filename":"file2"},{"photo_id":"1333144507","filename":"file4"},{"photo_id":"1333144499","filename":"file1"},{"photo_id":"1333144496","filename":"file0"},{"photo_id":"1333144503","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333144503":["hashtag1","hashtag2"]},{"1333144496":["hashtag1","hashtag2"]},{"1333144500":["hashtag1","hashtag2"]},{"1333144499":["hashtag1","hashtag2"]},{"1333144511":["hashtag1","hashtag2"]},{"1333144507":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333144503, 1333144496, 1333144500, 1333144499, 1333144511, 1333144507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.67911243438721 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:40:02.767742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/38/image_31012025_00_38_16_10340.jpg', '/home/pi/Desktop/images/31012025/00/38/image_31012025_00_38_25_9399.jpg', '/home/pi/Desktop/images/31012025/00/38/image_31012025_00_38_45_9493.jpg', '/home/pi/Desktop/images/31012025/00/38/image_31012025_00_39_06_10353.jpg', '/home/pi/Desktop/images/31012025/00/39/image_31012025_00_39_25_10357.jpg', '/home/pi/Desktop/images/31012025/00/39/image_31012025_00_39_35_9466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/38/image_31012025_00_38_16_10340.jpg
/home/pi/Desktop/images/31012025/00/38/image_31012025_00_38_25_9399.jpg
/home/pi/Desktop/images/31012025/00/38/image_31012025_00_38_45_9493.jpg
/home/pi/Desktop/images/31012025/00/38/image_31012025_00_39_06_10353.jpg
/home/pi/Desktop/images/31012025/00/39/image_31012025_00_39_25_10357.jpg
/home/pi/Desktop/images/31012025/00/39/image_31012025_00_39_35_9466.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333145166","1333145019","1333145174","1333145143","1333145091","1333145088"],"photo_ids_order":["1333145019","1333145088","1333145091","1333145143","1333145166","1333145174"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/11c233d0ea6b5939c811c4a1c025a6d8.jpg","text":"TemporaryFile(/tmp/multipartBody808466511572924884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280463733,"filename":"image_31012025_00_39_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/1/31/f09a66e211f808da10ac4fe9ba7d6b3a.jpg","text":"TemporaryFile(/tmp/multipartBody2549243354834407956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280463733,"filename":"image_31012025_00_38_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/1/31/47d6496a4055ba36db1147e374e56b05.jpg","text":"TemporaryFile(/tmp/multipartBody1677516881685422473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280463733,"filename":"image_31012025_00_39_35_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4fd7a66b30fd9098953f2b9bf3bc3cd9.jpg","text":"TemporaryFile(/tmp/multipartBody6262551591081860767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280463733,"filename":"image_31012025_00_39_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/1/31/f312a891b47aee17a5ac4b2588fbb7c6.jpg","text":"TemporaryFile(/tmp/multipartBody7930528578185270140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280463733,"filename":"image_31012025_00_38_45_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bd4fedf3d7ef3631a8998288476ee4c0.jpg","text":"TemporaryFile(/tmp/multipartBody4113440803130198235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280463733,"filename":"image_31012025_00_38_25_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333145091","file1":"1333145088","file0":"1333145019","file4":"1333145166","file5":"1333145174","file3":"1333145143"},"map_files_photo_id_array":[{"photo_id":"1333145174","filename":"file5"},{"photo_id":"1333145091","filename":"file2"},{"photo_id":"1333145166","filename":"file4"},{"photo_id":"1333145088","filename":"file1"},{"photo_id":"1333145019","filename":"file0"},{"photo_id":"1333145143","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333145166":["hashtag1","hashtag2"]},{"1333145019":["hashtag1","hashtag2"]},{"1333145174":["hashtag1","hashtag2"]},{"1333145143":["hashtag1","hashtag2"]},{"1333145091":["hashtag1","hashtag2"]},{"1333145088":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333145166, 1333145019, 1333145174, 1333145143, 1333145091, 1333145088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65508675575256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:41:04.313176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/39/image_31012025_00_39_45_10378.jpg', '/home/pi/Desktop/images/31012025/00/39/image_31012025_00_40_05_9455.jpg', '/home/pi/Desktop/images/31012025/00/40/image_31012025_00_40_15_10350.jpg', '/home/pi/Desktop/images/31012025/00/40/image_31012025_00_40_25_9445.jpg', '/home/pi/Desktop/images/31012025/00/40/image_31012025_00_40_35_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/39/image_31012025_00_39_45_10378.jpg
/home/pi/Desktop/images/31012025/00/39/image_31012025_00_40_05_9455.jpg
/home/pi/Desktop/images/31012025/00/40/image_31012025_00_40_15_10350.jpg
/home/pi/Desktop/images/31012025/00/40/image_31012025_00_40_25_9445.jpg
/home/pi/Desktop/images/31012025/00/40/image_31012025_00_40_35_10436.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333145217","1333145211","1333145222","1333145213","1333145224"],"photo_ids_order":["1333145211","1333145213","1333145217","1333145222","1333145224"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9f1e8651de999276bccf5b44c9139123.jpg","text":"TemporaryFile(/tmp/multipartBody2489426710699579813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280525325,"filename":"image_31012025_00_40_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/1/31/a7f591f924ccaaf4c5d5e2263cf43a9e.jpg","text":"TemporaryFile(/tmp/multipartBody6062138402687600543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280525325,"filename":"image_31012025_00_39_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/1/31/cdaa3aac843071d47240185356cbebe2.jpg","text":"TemporaryFile(/tmp/multipartBody1864143324157346272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280525325,"filename":"image_31012025_00_40_25_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/08e07a45437f8257aed732369b03d1a1.jpg","text":"TemporaryFile(/tmp/multipartBody8351699409983327662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280525325,"filename":"image_31012025_00_40_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/1/31/01c35e871e73891670eeb07a2443ff78.jpg","text":"TemporaryFile(/tmp/multipartBody3388517593754706325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280525325,"filename":"image_31012025_00_40_35_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333145217","file1":"1333145213","file0":"1333145211","file4":"1333145224","file3":"1333145222"},"map_files_photo_id_array":[{"photo_id":"1333145217","filename":"file2"},{"photo_id":"1333145224","filename":"file4"},{"photo_id":"1333145213","filename":"file1"},{"photo_id":"1333145211","filename":"file0"},{"photo_id":"1333145222","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333145217":["hashtag1","hashtag2"]},{"1333145211":["hashtag1","hashtag2"]},{"1333145222":["hashtag1","hashtag2"]},{"1333145213":["hashtag1","hashtag2"]},{"1333145224":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333145217, 1333145211, 1333145222, 1333145213, 1333145224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.98188519477844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:42:03.197458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/40/image_31012025_00_40_46_10399.jpg', '/home/pi/Desktop/images/31012025/00/40/image_31012025_00_41_05_10420.jpg', '/home/pi/Desktop/images/31012025/00/41/image_31012025_00_41_15_9400.jpg', '/home/pi/Desktop/images/31012025/00/41/image_31012025_00_41_25_10352.jpg', '/home/pi/Desktop/images/31012025/00/41/image_31012025_00_41_36_10358.jpg', '/home/pi/Desktop/images/31012025/00/41/image_31012025_00_41_45_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/40/image_31012025_00_40_46_10399.jpg
/home/pi/Desktop/images/31012025/00/40/image_31012025_00_41_05_10420.jpg
/home/pi/Desktop/images/31012025/00/41/image_31012025_00_41_15_9400.jpg
/home/pi/Desktop/images/31012025/00/41/image_31012025_00_41_25_10352.jpg
/home/pi/Desktop/images/31012025/00/41/image_31012025_00_41_36_10358.jpg
/home/pi/Desktop/images/31012025/00/41/image_31012025_00_41_45_9343.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333145519","1333145534","1333145258","1333145516","1333145542","1333145416"],"photo_ids_order":["1333145258","1333145416","1333145516","1333145519","1333145534","1333145542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ceea1fe4436397fac9b84a514deaeea7.jpg","text":"TemporaryFile(/tmp/multipartBody2754577929967072708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280584160,"filename":"image_31012025_00_41_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/1/31/9535f087e3648042bb051742ad50890a.jpg","text":"TemporaryFile(/tmp/multipartBody7611730144658642576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280584160,"filename":"image_31012025_00_41_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/1/31/6b012ecc63ead2df94b6963cff353fb2.jpg","text":"TemporaryFile(/tmp/multipartBody2701991245854248505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280584160,"filename":"image_31012025_00_40_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/1/31/015aef05b612c3ed36a13fd5397264d0.jpg","text":"TemporaryFile(/tmp/multipartBody1405351005256933396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280584160,"filename":"image_31012025_00_41_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/1/31/6fef89ef5fdf72fa5b00eb1996a73d7f.jpg","text":"TemporaryFile(/tmp/multipartBody289919319338862214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280584160,"filename":"image_31012025_00_41_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/1/31/701eba30b110e5ffeccea8088c3563ad.jpg","text":"TemporaryFile(/tmp/multipartBody8338773359897896395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280584160,"filename":"image_31012025_00_41_05_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333145516","file1":"1333145416","file0":"1333145258","file4":"1333145534","file5":"1333145542","file3":"1333145519"},"map_files_photo_id_array":[{"photo_id":"1333145542","filename":"file5"},{"photo_id":"1333145516","filename":"file2"},{"photo_id":"1333145534","filename":"file4"},{"photo_id":"1333145416","filename":"file1"},{"photo_id":"1333145258","filename":"file0"},{"photo_id":"1333145519","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333145519":["hashtag1","hashtag2"]},{"1333145534":["hashtag1","hashtag2"]},{"1333145258":["hashtag1","hashtag2"]},{"1333145516":["hashtag1","hashtag2"]},{"1333145542":["hashtag1","hashtag2"]},{"1333145416":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333145519, 1333145534, 1333145258, 1333145516, 1333145542, 1333145416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.963160037994385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:43:03.982596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/41/image_31012025_00_41_55_10355.jpg', '/home/pi/Desktop/images/31012025/00/41/image_31012025_00_42_06_10389.jpg', '/home/pi/Desktop/images/31012025/00/42/image_31012025_00_42_15_9383.jpg', '/home/pi/Desktop/images/31012025/00/42/image_31012025_00_42_25_10370.jpg', '/home/pi/Desktop/images/31012025/00/42/image_31012025_00_42_35_9493.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/41/image_31012025_00_41_55_10355.jpg
/home/pi/Desktop/images/31012025/00/41/image_31012025_00_42_06_10389.jpg
/home/pi/Desktop/images/31012025/00/42/image_31012025_00_42_15_9383.jpg
/home/pi/Desktop/images/31012025/00/42/image_31012025_00_42_25_10370.jpg
/home/pi/Desktop/images/31012025/00/42/image_31012025_00_42_35_9493.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333145786","1333145852","1333145813","1333145909","1333145905"],"photo_ids_order":["1333145786","1333145813","1333145852","1333145905","1333145909"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c6da2dd0ce9b5c1098c9bfff8ab0563e.jpg","text":"TemporaryFile(/tmp/multipartBody3998010864753888763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280645028,"filename":"image_31012025_00_41_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/1/31/e34e86b96befacdbd63eb48fa29c6613.jpg","text":"TemporaryFile(/tmp/multipartBody6859997413697961718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280645028,"filename":"image_31012025_00_42_15_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b2dd58b806d613e03aecea60ef9d47df.jpg","text":"TemporaryFile(/tmp/multipartBody8509784419336340751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280645028,"filename":"image_31012025_00_42_06_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c1c8637215ccdb8300b61793a84bcdf6.jpg","text":"TemporaryFile(/tmp/multipartBody3778740685140226514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280645028,"filename":"image_31012025_00_42_35_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5e01e2716d4835eeb0d4f053e64ad508.jpg","text":"TemporaryFile(/tmp/multipartBody2534500299533408229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280645028,"filename":"image_31012025_00_42_25_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333145852","file1":"1333145813","file0":"1333145786","file4":"1333145909","file3":"1333145905"},"map_files_photo_id_array":[{"photo_id":"1333145852","filename":"file2"},{"photo_id":"1333145909","filename":"file4"},{"photo_id":"1333145813","filename":"file1"},{"photo_id":"1333145786","filename":"file0"},{"photo_id":"1333145905","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333145786":["hashtag1","hashtag2"]},{"1333145852":["hashtag1","hashtag2"]},{"1333145813":["hashtag1","hashtag2"]},{"1333145909":["hashtag1","hashtag2"]},{"1333145905":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333145786, 1333145852, 1333145813, 1333145909, 1333145905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.130921363830566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:44:03.482843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/42/image_31012025_00_42_56_10364.jpg', '/home/pi/Desktop/images/31012025/00/42/image_31012025_00_43_05_9339.jpg', '/home/pi/Desktop/images/31012025/00/43/image_31012025_00_43_15_10336.jpg', '/home/pi/Desktop/images/31012025/00/43/image_31012025_00_43_26_10485.jpg', '/home/pi/Desktop/images/31012025/00/43/image_31012025_00_43_46_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/42/image_31012025_00_42_56_10364.jpg
/home/pi/Desktop/images/31012025/00/42/image_31012025_00_43_05_9339.jpg
/home/pi/Desktop/images/31012025/00/43/image_31012025_00_43_15_10336.jpg
/home/pi/Desktop/images/31012025/00/43/image_31012025_00_43_26_10485.jpg
/home/pi/Desktop/images/31012025/00/43/image_31012025_00_43_46_10363.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333145946","1333145942","1333145936","1333145950","1333145940"],"photo_ids_order":["1333145936","1333145940","1333145942","1333145946","1333145950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/95c9316ac6db0cf10f7f7cc09f3f58ea.jpg","text":"TemporaryFile(/tmp/multipartBody22863389294099351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280704413,"filename":"image_31012025_00_43_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/1/31/67bd5d360033cab0f0f4ef384ae16200.jpg","text":"TemporaryFile(/tmp/multipartBody1910285741031981516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280704413,"filename":"image_31012025_00_43_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f0ba4aecac03c14e8414fac1f0cc5bde.jpg","text":"TemporaryFile(/tmp/multipartBody1631658886253042763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280704413,"filename":"image_31012025_00_42_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/1/31/61da2f3714384e50aabd203fd6b71cfe.jpg","text":"TemporaryFile(/tmp/multipartBody3165223305690681514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280704413,"filename":"image_31012025_00_43_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/1/31/dbbaa9c961d8fc3031e00ecec774cbf1.jpg","text":"TemporaryFile(/tmp/multipartBody5235413696807104525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280704413,"filename":"image_31012025_00_43_05_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333145942","file1":"1333145940","file0":"1333145936","file4":"1333145950","file3":"1333145946"},"map_files_photo_id_array":[{"photo_id":"1333145942","filename":"file2"},{"photo_id":"1333145950","filename":"file4"},{"photo_id":"1333145940","filename":"file1"},{"photo_id":"1333145936","filename":"file0"},{"photo_id":"1333145946","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333145946":["hashtag1","hashtag2"]},{"1333145942":["hashtag1","hashtag2"]},{"1333145936":["hashtag1","hashtag2"]},{"1333145950":["hashtag1","hashtag2"]},{"1333145940":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333145946, 1333145942, 1333145936, 1333145950, 1333145940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.05503702163696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:45:03.974239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/43/image_31012025_00_43_55_9427.jpg', '/home/pi/Desktop/images/31012025/00/43/image_31012025_00_44_05_10387.jpg', '/home/pi/Desktop/images/31012025/00/44/image_31012025_00_44_16_10459.jpg', '/home/pi/Desktop/images/31012025/00/44/image_31012025_00_44_25_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/43/image_31012025_00_43_55_9427.jpg
/home/pi/Desktop/images/31012025/00/43/image_31012025_00_44_05_10387.jpg
/home/pi/Desktop/images/31012025/00/44/image_31012025_00_44_16_10459.jpg
/home/pi/Desktop/images/31012025/00/44/image_31012025_00_44_25_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.6005268096923828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:46:03.675861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/43/image_31012025_00_43_55_9427.jpg', '/home/pi/Desktop/images/31012025/00/43/image_31012025_00_44_05_10387.jpg', '/home/pi/Desktop/images/31012025/00/44/image_31012025_00_44_16_10459.jpg', '/home/pi/Desktop/images/31012025/00/44/image_31012025_00_44_25_9349.jpg', '/home/pi/Desktop/images/31012025/00/44/image_31012025_00_44_36_10357.jpg', '/home/pi/Desktop/images/31012025/00/44/image_31012025_00_45_06_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/43/image_31012025_00_43_55_9427.jpg
/home/pi/Desktop/images/31012025/00/43/image_31012025_00_44_05_10387.jpg
/home/pi/Desktop/images/31012025/00/44/image_31012025_00_44_16_10459.jpg
/home/pi/Desktop/images/31012025/00/44/image_31012025_00_44_25_9349.jpg
/home/pi/Desktop/images/31012025/00/44/image_31012025_00_44_36_10357.jpg
/home/pi/Desktop/images/31012025/00/44/image_31012025_00_45_06_10433.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.4335579872131348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:47:04.347552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/43/image_31012025_00_43_55_9427.jpg', '/home/pi/Desktop/images/31012025/00/43/image_31012025_00_44_05_10387.jpg', '/home/pi/Desktop/images/31012025/00/44/image_31012025_00_44_16_10459.jpg', '/home/pi/Desktop/images/31012025/00/44/image_31012025_00_44_25_9349.jpg', '/home/pi/Desktop/images/31012025/00/44/image_31012025_00_44_36_10357.jpg', '/home/pi/Desktop/images/31012025/00/44/image_31012025_00_45_06_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/43/image_31012025_00_43_55_9427.jpg
/home/pi/Desktop/images/31012025/00/43/image_31012025_00_44_05_10387.jpg
/home/pi/Desktop/images/31012025/00/44/image_31012025_00_44_16_10459.jpg
/home/pi/Desktop/images/31012025/00/44/image_31012025_00_44_25_9349.jpg
/home/pi/Desktop/images/31012025/00/44/image_31012025_00_44_36_10357.jpg
/home/pi/Desktop/images/31012025/00/44/image_31012025_00_45_06_10433.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333146062","1333146056","1333146061","1333146064","1333146069","1333146060"],"photo_ids_order":["1333146056","1333146060","1333146061","1333146062","1333146064","1333146069"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a42153add4a10c0a8b274ed1c54d01cd.jpg","text":"TemporaryFile(/tmp/multipartBody8640134964462883563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280885439,"filename":"image_31012025_00_44_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/1/31/f336a21f05d31e48bc53908599b1ca18.jpg","text":"TemporaryFile(/tmp/multipartBody6116612917334891767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280885439,"filename":"image_31012025_00_43_55_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b6fe3ead53d9a11a178013e3e67dcaed.jpg","text":"TemporaryFile(/tmp/multipartBody2096760848374642108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280885439,"filename":"image_31012025_00_44_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/1/31/ba91b1316ef0b730e7508e2409eaed73.jpg","text":"TemporaryFile(/tmp/multipartBody4250750449821271427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280885439,"filename":"image_31012025_00_44_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/1/31/6701736b465d4a4bdb8f265c1d7cb45c.jpg","text":"TemporaryFile(/tmp/multipartBody4552336227662378867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280885439,"filename":"image_31012025_00_45_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/1/31/b00eecdad962517da4999ab4c824cb53.jpg","text":"TemporaryFile(/tmp/multipartBody7142680809541185036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280885439,"filename":"image_31012025_00_44_05_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333146061","file1":"1333146060","file0":"1333146056","file4":"1333146064","file5":"1333146069","file3":"1333146062"},"map_files_photo_id_array":[{"photo_id":"1333146069","filename":"file5"},{"photo_id":"1333146061","filename":"file2"},{"photo_id":"1333146064","filename":"file4"},{"photo_id":"1333146060","filename":"file1"},{"photo_id":"1333146056","filename":"file0"},{"photo_id":"1333146062","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333146062":["hashtag1","hashtag2"]},{"1333146056":["hashtag1","hashtag2"]},{"1333146061":["hashtag1","hashtag2"]},{"1333146064":["hashtag1","hashtag2"]},{"1333146069":["hashtag1","hashtag2"]},{"1333146060":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333146062, 1333146056, 1333146061, 1333146064, 1333146069, 1333146060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57589316368103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:48:03.172325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/45/image_31012025_00_45_15_9517.jpg', '/home/pi/Desktop/images/31012025/00/45/image_31012025_00_45_26_10501.jpg', '/home/pi/Desktop/images/31012025/00/45/image_31012025_00_45_35_9350.jpg', '/home/pi/Desktop/images/31012025/00/45/image_31012025_00_45_45_10398.jpg', '/home/pi/Desktop/images/31012025/00/45/image_31012025_00_45_55_9408.jpg', '/home/pi/Desktop/images/31012025/00/45/image_31012025_00_46_05_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/45/image_31012025_00_45_15_9517.jpg
/home/pi/Desktop/images/31012025/00/45/image_31012025_00_45_26_10501.jpg
/home/pi/Desktop/images/31012025/00/45/image_31012025_00_45_35_9350.jpg
/home/pi/Desktop/images/31012025/00/45/image_31012025_00_45_45_10398.jpg
/home/pi/Desktop/images/31012025/00/45/image_31012025_00_45_55_9408.jpg
/home/pi/Desktop/images/31012025/00/45/image_31012025_00_46_05_10424.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333146161","1333146158","1333146154","1333146166","1333146147","1333146150"],"photo_ids_order":["1333146147","1333146150","1333146154","1333146158","1333146161","1333146166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/abb522a235fe5f2ebb5359f73217d579.jpg","text":"TemporaryFile(/tmp/multipartBody8045268747924632204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280944126,"filename":"image_31012025_00_45_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/1/31/84acf071629d4a71c7bd8603f8fcccc7.jpg","text":"TemporaryFile(/tmp/multipartBody136959181613371135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280944126,"filename":"image_31012025_00_45_45_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/72447520759c914be5a6e4740e417821.jpg","text":"TemporaryFile(/tmp/multipartBody8413610693457848081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280944126,"filename":"image_31012025_00_45_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/1/31/853ea2e5dcd64968dfebe85cda8ac7da.jpg","text":"TemporaryFile(/tmp/multipartBody5238856703139880882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280944126,"filename":"image_31012025_00_46_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/1/31/e4669c38e55133f494d23daa5cb27993.jpg","text":"TemporaryFile(/tmp/multipartBody5014134267435791443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280944126,"filename":"image_31012025_00_45_15_9517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/edd206aaf6be97ce94e7dc3e2b562494.jpg","text":"TemporaryFile(/tmp/multipartBody551386570639297074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738280944126,"filename":"image_31012025_00_45_26_10501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333146154","file1":"1333146150","file0":"1333146147","file4":"1333146161","file5":"1333146166","file3":"1333146158"},"map_files_photo_id_array":[{"photo_id":"1333146166","filename":"file5"},{"photo_id":"1333146154","filename":"file2"},{"photo_id":"1333146161","filename":"file4"},{"photo_id":"1333146150","filename":"file1"},{"photo_id":"1333146147","filename":"file0"},{"photo_id":"1333146158","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333146161":["hashtag1","hashtag2"]},{"1333146158":["hashtag1","hashtag2"]},{"1333146154":["hashtag1","hashtag2"]},{"1333146166":["hashtag1","hashtag2"]},{"1333146147":["hashtag1","hashtag2"]},{"1333146150":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333146161, 1333146158, 1333146154, 1333146166, 1333146147, 1333146150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.646538972854614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:49:03.763608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/46/image_31012025_00_46_16_10384.jpg', '/home/pi/Desktop/images/31012025/00/46/image_31012025_00_46_25_9348.jpg', '/home/pi/Desktop/images/31012025/00/46/image_31012025_00_46_35_10350.jpg', '/home/pi/Desktop/images/31012025/00/46/image_31012025_00_46_46_10299.jpg', '/home/pi/Desktop/images/31012025/00/46/image_31012025_00_46_55_9448.jpg', '/home/pi/Desktop/images/31012025/00/46/image_31012025_00_47_06_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/46/image_31012025_00_46_16_10384.jpg
/home/pi/Desktop/images/31012025/00/46/image_31012025_00_46_25_9348.jpg
/home/pi/Desktop/images/31012025/00/46/image_31012025_00_46_35_10350.jpg
/home/pi/Desktop/images/31012025/00/46/image_31012025_00_46_46_10299.jpg
/home/pi/Desktop/images/31012025/00/46/image_31012025_00_46_55_9448.jpg
/home/pi/Desktop/images/31012025/00/46/image_31012025_00_47_06_10429.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333146187","1333146196","1333146184","1333146192","1333146189","1333146201"],"photo_ids_order":["1333146184","1333146187","1333146189","1333146192","1333146196","1333146201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bae7c89dd038340c0b2d31ef158d83d0.jpg","text":"TemporaryFile(/tmp/multipartBody3086796039977846784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281004823,"filename":"image_31012025_00_46_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/1/31/17977911828f1ddbfa9dd5b728ecc9fe.jpg","text":"TemporaryFile(/tmp/multipartBody6738325236371217572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281004823,"filename":"image_31012025_00_46_55_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9135c30e5379cc52c64cc4d8f13c0cc3.jpg","text":"TemporaryFile(/tmp/multipartBody3315777164480385455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281004823,"filename":"image_31012025_00_46_16_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a5099db88275bf2dbd9bc517a4abc89f.jpg","text":"TemporaryFile(/tmp/multipartBody6568100527343354282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281004823,"filename":"image_31012025_00_46_46_10299.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/22b82626a7bc7f1d6384472272536525.jpg","text":"TemporaryFile(/tmp/multipartBody4891373279945251821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281004823,"filename":"image_31012025_00_46_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/1/31/59bb3c31987d3df77518a28a781c6f51.jpg","text":"TemporaryFile(/tmp/multipartBody4635555258847589717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281004823,"filename":"image_31012025_00_47_06_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333146189","file1":"1333146187","file0":"1333146184","file4":"1333146196","file5":"1333146201","file3":"1333146192"},"map_files_photo_id_array":[{"photo_id":"1333146201","filename":"file5"},{"photo_id":"1333146189","filename":"file2"},{"photo_id":"1333146196","filename":"file4"},{"photo_id":"1333146187","filename":"file1"},{"photo_id":"1333146184","filename":"file0"},{"photo_id":"1333146192","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333146187":["hashtag1","hashtag2"]},{"1333146196":["hashtag1","hashtag2"]},{"1333146184":["hashtag1","hashtag2"]},{"1333146192":["hashtag1","hashtag2"]},{"1333146189":["hashtag1","hashtag2"]},{"1333146201":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333146187, 1333146196, 1333146184, 1333146192, 1333146189, 1333146201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83417630195618 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:50:03.386668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/47/image_31012025_00_47_25_10344.jpg', '/home/pi/Desktop/images/31012025/00/47/image_31012025_00_47_36_10432.jpg', '/home/pi/Desktop/images/31012025/00/47/image_31012025_00_47_45_9359.jpg', '/home/pi/Desktop/images/31012025/00/47/image_31012025_00_47_56_10372.jpg', '/home/pi/Desktop/images/31012025/00/47/image_31012025_00_48_05_9421.jpg', '/home/pi/Desktop/images/31012025/00/48/image_31012025_00_48_15_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/47/image_31012025_00_47_25_10344.jpg
/home/pi/Desktop/images/31012025/00/47/image_31012025_00_47_36_10432.jpg
/home/pi/Desktop/images/31012025/00/47/image_31012025_00_47_45_9359.jpg
/home/pi/Desktop/images/31012025/00/47/image_31012025_00_47_56_10372.jpg
/home/pi/Desktop/images/31012025/00/47/image_31012025_00_48_05_9421.jpg
/home/pi/Desktop/images/31012025/00/48/image_31012025_00_48_15_10331.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333147226","1333146644","1333146961","1333147152","1333146786","1333147215"],"photo_ids_order":["1333146644","1333146786","1333146961","1333147152","1333147215","1333147226"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/541a15f0aaa034ced6529d69a450012c.jpg","text":"TemporaryFile(/tmp/multipartBody1502248796871613743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281064335,"filename":"image_31012025_00_48_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/1/31/4866db389ec19b11469f81c69d6af84a.jpg","text":"TemporaryFile(/tmp/multipartBody1563382188290671213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281064335,"filename":"image_31012025_00_47_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c59732204865f2e6803146aab671ba92.jpg","text":"TemporaryFile(/tmp/multipartBody3571077079989000309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281064335,"filename":"image_31012025_00_47_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/1/31/5bffd70544592067a92c9a9e25a584ee.jpg","text":"TemporaryFile(/tmp/multipartBody5381844647896219424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281064335,"filename":"image_31012025_00_47_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/1/31/14242749e5cd27b4e689b5c64292ecba.jpg","text":"TemporaryFile(/tmp/multipartBody1997761742158392279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281064335,"filename":"image_31012025_00_47_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/1/31/5cf4bb261ac99627abef671516a2d891.jpg","text":"TemporaryFile(/tmp/multipartBody812496609442185007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281064335,"filename":"image_31012025_00_48_05_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333146961","file1":"1333146786","file0":"1333146644","file4":"1333147215","file5":"1333147226","file3":"1333147152"},"map_files_photo_id_array":[{"photo_id":"1333147226","filename":"file5"},{"photo_id":"1333146961","filename":"file2"},{"photo_id":"1333147215","filename":"file4"},{"photo_id":"1333146786","filename":"file1"},{"photo_id":"1333146644","filename":"file0"},{"photo_id":"1333147152","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333147226":["hashtag1","hashtag2"]},{"1333146644":["hashtag1","hashtag2"]},{"1333146961":["hashtag1","hashtag2"]},{"1333147152":["hashtag1","hashtag2"]},{"1333146786":["hashtag1","hashtag2"]},{"1333147215":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333147226, 1333146644, 1333146961, 1333147152, 1333146786, 1333147215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68602633476257 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:51:04.440271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/48/image_31012025_00_48_26_10487.jpg', '/home/pi/Desktop/images/31012025/00/48/image_31012025_00_48_35_9349.jpg', '/home/pi/Desktop/images/31012025/00/48/image_31012025_00_48_55_9356.jpg', '/home/pi/Desktop/images/31012025/00/48/image_31012025_00_49_05_10351.jpg', '/home/pi/Desktop/images/31012025/00/49/image_31012025_00_49_16_10338.jpg', '/home/pi/Desktop/images/31012025/00/49/image_31012025_00_49_25_9425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/48/image_31012025_00_48_26_10487.jpg
/home/pi/Desktop/images/31012025/00/48/image_31012025_00_48_35_9349.jpg
/home/pi/Desktop/images/31012025/00/48/image_31012025_00_48_55_9356.jpg
/home/pi/Desktop/images/31012025/00/48/image_31012025_00_49_05_10351.jpg
/home/pi/Desktop/images/31012025/00/49/image_31012025_00_49_16_10338.jpg
/home/pi/Desktop/images/31012025/00/49/image_31012025_00_49_25_9425.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333147387","1333147392","1333147359","1333147518","1333147431","1333147428"],"photo_ids_order":["1333147359","1333147387","1333147392","1333147428","1333147431","1333147518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/63ea0e7d1d6a62a0a58b7a81408036df.jpg","text":"TemporaryFile(/tmp/multipartBody7164366350751557273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281125453,"filename":"image_31012025_00_48_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/1/31/7b029dc312a9ec27d4e6ceb497f812a6.jpg","text":"TemporaryFile(/tmp/multipartBody2604231826245485554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281125453,"filename":"image_31012025_00_48_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/1/31/78c99101089e11ca9fa96d45294ea5a9.jpg","text":"TemporaryFile(/tmp/multipartBody6245037699017027942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281125453,"filename":"image_31012025_00_48_26_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/63cfa8cd1a7ffbe7c631c750de2b6ddb.jpg","text":"TemporaryFile(/tmp/multipartBody1780778123973927740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281125453,"filename":"image_31012025_00_49_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/1/31/3b9e0c5adca61e87ee0df79c05ca3e7b.jpg","text":"TemporaryFile(/tmp/multipartBody682540938430366160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281125453,"filename":"image_31012025_00_49_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/1/31/fa14cf963826abe48b4691c5a4112b1e.jpg","text":"TemporaryFile(/tmp/multipartBody5048781654472400882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281125453,"filename":"image_31012025_00_49_05_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333147392","file1":"1333147387","file0":"1333147359","file4":"1333147431","file5":"1333147518","file3":"1333147428"},"map_files_photo_id_array":[{"photo_id":"1333147518","filename":"file5"},{"photo_id":"1333147392","filename":"file2"},{"photo_id":"1333147431","filename":"file4"},{"photo_id":"1333147387","filename":"file1"},{"photo_id":"1333147359","filename":"file0"},{"photo_id":"1333147428","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333147387":["hashtag1","hashtag2"]},{"1333147392":["hashtag1","hashtag2"]},{"1333147359":["hashtag1","hashtag2"]},{"1333147518":["hashtag1","hashtag2"]},{"1333147431":["hashtag1","hashtag2"]},{"1333147428":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333147387, 1333147392, 1333147359, 1333147518, 1333147431, 1333147428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.11589503288269 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:52:03.243739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/49/image_31012025_00_49_35_10370.jpg', '/home/pi/Desktop/images/31012025/00/49/image_31012025_00_49_45_9478.jpg', '/home/pi/Desktop/images/31012025/00/49/image_31012025_00_49_55_10369.jpg', '/home/pi/Desktop/images/31012025/00/49/image_31012025_00_50_06_10351.jpg', '/home/pi/Desktop/images/31012025/00/50/image_31012025_00_50_15_9364.jpg', '/home/pi/Desktop/images/31012025/00/50/image_31012025_00_50_25_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/49/image_31012025_00_49_35_10370.jpg
/home/pi/Desktop/images/31012025/00/49/image_31012025_00_49_45_9478.jpg
/home/pi/Desktop/images/31012025/00/49/image_31012025_00_49_55_10369.jpg
/home/pi/Desktop/images/31012025/00/49/image_31012025_00_50_06_10351.jpg
/home/pi/Desktop/images/31012025/00/50/image_31012025_00_50_15_9364.jpg
/home/pi/Desktop/images/31012025/00/50/image_31012025_00_50_25_10366.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333148257","1333148233","1333148274","1333148082","1333148226","1333148282"],"photo_ids_order":["1333148082","1333148226","1333148233","1333148257","1333148274","1333148282"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/79f2def6af9622ce3aa5e80512e3d7f2.jpg","text":"TemporaryFile(/tmp/multipartBody5477230506303113094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281184191,"filename":"image_31012025_00_50_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/1/31/ea2613d37718bc4a4e850fa80b4b9481.jpg","text":"TemporaryFile(/tmp/multipartBody6458722366129789362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281184191,"filename":"image_31012025_00_49_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/1/31/353c2561729e030014d7fc835fdb0fae.jpg","text":"TemporaryFile(/tmp/multipartBody2188405289694656683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281184191,"filename":"image_31012025_00_50_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/1/31/84ac59f1809c5fb6034016d0ef13210b.jpg","text":"TemporaryFile(/tmp/multipartBody3111889776982761684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281184191,"filename":"image_31012025_00_49_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/1/31/82f35126a613acb21eeaf653bbc68f88.jpg","text":"TemporaryFile(/tmp/multipartBody5674156296121265236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281184191,"filename":"image_31012025_00_49_45_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3182fdb25471e05cc1a6945a6a6df86f.jpg","text":"TemporaryFile(/tmp/multipartBody1892564504096226736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281184191,"filename":"image_31012025_00_50_25_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333148233","file1":"1333148226","file0":"1333148082","file4":"1333148274","file5":"1333148282","file3":"1333148257"},"map_files_photo_id_array":[{"photo_id":"1333148282","filename":"file5"},{"photo_id":"1333148233","filename":"file2"},{"photo_id":"1333148274","filename":"file4"},{"photo_id":"1333148226","filename":"file1"},{"photo_id":"1333148082","filename":"file0"},{"photo_id":"1333148257","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333148257":["hashtag1","hashtag2"]},{"1333148233":["hashtag1","hashtag2"]},{"1333148274":["hashtag1","hashtag2"]},{"1333148082":["hashtag1","hashtag2"]},{"1333148226":["hashtag1","hashtag2"]},{"1333148282":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333148257, 1333148233, 1333148274, 1333148082, 1333148226, 1333148282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.52271127700806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:53:04.597915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/50/image_31012025_00_50_36_10364.jpg', '/home/pi/Desktop/images/31012025/00/50/image_31012025_00_50_45_9342.jpg', '/home/pi/Desktop/images/31012025/00/50/image_31012025_00_50_55_10370.jpg', '/home/pi/Desktop/images/31012025/00/50/image_31012025_00_51_06_10439.jpg', '/home/pi/Desktop/images/31012025/00/51/image_31012025_00_51_15_9347.jpg', '/home/pi/Desktop/images/31012025/00/51/image_31012025_00_51_26_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/50/image_31012025_00_50_36_10364.jpg
/home/pi/Desktop/images/31012025/00/50/image_31012025_00_50_45_9342.jpg
/home/pi/Desktop/images/31012025/00/50/image_31012025_00_50_55_10370.jpg
/home/pi/Desktop/images/31012025/00/50/image_31012025_00_51_06_10439.jpg
/home/pi/Desktop/images/31012025/00/51/image_31012025_00_51_15_9347.jpg
/home/pi/Desktop/images/31012025/00/51/image_31012025_00_51_26_10358.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333148374","1333148346","1333148349","1333148340","1333148343","1333148354"],"photo_ids_order":["1333148340","1333148343","1333148346","1333148349","1333148354","1333148374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7421ec4c99428fe9b33f3498c8c567fa.jpg","text":"TemporaryFile(/tmp/multipartBody1408316651974872096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281245636,"filename":"image_31012025_00_51_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/1/31/8922bddacb64d2204abeee60ac762926.jpg","text":"TemporaryFile(/tmp/multipartBody8262068140712026634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281245636,"filename":"image_31012025_00_50_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/1/31/aeaca89d0ae8240027cc413a5c7579f1.jpg","text":"TemporaryFile(/tmp/multipartBody6976099264224285511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281245636,"filename":"image_31012025_00_51_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/1/31/92acd98b9f4ec796dcd38a413bef79ca.jpg","text":"TemporaryFile(/tmp/multipartBody7794965467140520340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281245636,"filename":"image_31012025_00_50_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/1/31/29d49245d8cb74b650daf2f9e605a252.jpg","text":"TemporaryFile(/tmp/multipartBody3988122472807940850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281245636,"filename":"image_31012025_00_50_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/1/31/b9cbf32e856c2c3f7ee4568cfc6beadc.jpg","text":"TemporaryFile(/tmp/multipartBody4423504339420700526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281245636,"filename":"image_31012025_00_51_15_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333148346","file1":"1333148343","file0":"1333148340","file4":"1333148354","file5":"1333148374","file3":"1333148349"},"map_files_photo_id_array":[{"photo_id":"1333148374","filename":"file5"},{"photo_id":"1333148346","filename":"file2"},{"photo_id":"1333148354","filename":"file4"},{"photo_id":"1333148343","filename":"file1"},{"photo_id":"1333148340","filename":"file0"},{"photo_id":"1333148349","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333148374":["hashtag1","hashtag2"]},{"1333148346":["hashtag1","hashtag2"]},{"1333148349":["hashtag1","hashtag2"]},{"1333148340":["hashtag1","hashtag2"]},{"1333148343":["hashtag1","hashtag2"]},{"1333148354":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333148374, 1333148346, 1333148349, 1333148340, 1333148343, 1333148354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.90845966339111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:54:03.281650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/51/image_31012025_00_51_35_9441.jpg', '/home/pi/Desktop/images/31012025/00/51/image_31012025_00_51_45_10342.jpg', '/home/pi/Desktop/images/31012025/00/51/image_31012025_00_51_56_10350.jpg', '/home/pi/Desktop/images/31012025/00/51/image_31012025_00_52_05_9420.jpg', '/home/pi/Desktop/images/31012025/00/52/image_31012025_00_52_15_10342.jpg', '/home/pi/Desktop/images/31012025/00/52/image_31012025_00_52_26_10410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/51/image_31012025_00_51_35_9441.jpg
/home/pi/Desktop/images/31012025/00/51/image_31012025_00_51_45_10342.jpg
/home/pi/Desktop/images/31012025/00/51/image_31012025_00_51_56_10350.jpg
/home/pi/Desktop/images/31012025/00/51/image_31012025_00_52_05_9420.jpg
/home/pi/Desktop/images/31012025/00/52/image_31012025_00_52_15_10342.jpg
/home/pi/Desktop/images/31012025/00/52/image_31012025_00_52_26_10410.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5849761962890625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:55:03.901806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/51/image_31012025_00_51_35_9441.jpg', '/home/pi/Desktop/images/31012025/00/51/image_31012025_00_51_45_10342.jpg', '/home/pi/Desktop/images/31012025/00/51/image_31012025_00_51_56_10350.jpg', '/home/pi/Desktop/images/31012025/00/51/image_31012025_00_52_05_9420.jpg', '/home/pi/Desktop/images/31012025/00/52/image_31012025_00_52_15_10342.jpg', '/home/pi/Desktop/images/31012025/00/52/image_31012025_00_52_26_10410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/51/image_31012025_00_51_35_9441.jpg
/home/pi/Desktop/images/31012025/00/51/image_31012025_00_51_45_10342.jpg
/home/pi/Desktop/images/31012025/00/51/image_31012025_00_51_56_10350.jpg
/home/pi/Desktop/images/31012025/00/51/image_31012025_00_52_05_9420.jpg
/home/pi/Desktop/images/31012025/00/52/image_31012025_00_52_15_10342.jpg
/home/pi/Desktop/images/31012025/00/52/image_31012025_00_52_26_10410.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333148470","1333148473","1333148476","1333148468","1333148462","1333148465"],"photo_ids_order":["1333148462","1333148465","1333148468","1333148470","1333148473","1333148476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f62d4bfad4a53698a43f43ad2905fb84.jpg","text":"TemporaryFile(/tmp/multipartBody2031032462498474719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281364942,"filename":"image_31012025_00_52_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/1/31/664426db5f2b94f893f847108ed3da76.jpg","text":"TemporaryFile(/tmp/multipartBody8867729455961026676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281364942,"filename":"image_31012025_00_52_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/1/31/3b6eceb2964c56cddc8f1a94e18c83b0.jpg","text":"TemporaryFile(/tmp/multipartBody3224913384042942187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281364942,"filename":"image_31012025_00_52_26_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7f4e9591f147c947f080ab8627e961fd.jpg","text":"TemporaryFile(/tmp/multipartBody4748886888322397450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281364942,"filename":"image_31012025_00_51_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/1/31/25e8f7f5c747cf0fc3725c84bca1b9d1.jpg","text":"TemporaryFile(/tmp/multipartBody5129760704484332413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281364942,"filename":"image_31012025_00_51_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/1/31/67997305844493ada7aaccf06c8b6e1f.jpg","text":"TemporaryFile(/tmp/multipartBody5431401336307591017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281364942,"filename":"image_31012025_00_51_45_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333148468","file1":"1333148465","file0":"1333148462","file4":"1333148473","file5":"1333148476","file3":"1333148470"},"map_files_photo_id_array":[{"photo_id":"1333148476","filename":"file5"},{"photo_id":"1333148468","filename":"file2"},{"photo_id":"1333148473","filename":"file4"},{"photo_id":"1333148465","filename":"file1"},{"photo_id":"1333148462","filename":"file0"},{"photo_id":"1333148470","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333148470":["hashtag1","hashtag2"]},{"1333148473":["hashtag1","hashtag2"]},{"1333148476":["hashtag1","hashtag2"]},{"1333148468":["hashtag1","hashtag2"]},{"1333148462":["hashtag1","hashtag2"]},{"1333148465":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333148470, 1333148473, 1333148476, 1333148468, 1333148462, 1333148465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19449734687805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:56:03.699599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/52/image_31012025_00_52_35_9409.jpg', '/home/pi/Desktop/images/31012025/00/52/image_31012025_00_52_46_10382.jpg', '/home/pi/Desktop/images/31012025/00/52/image_31012025_00_52_55_9426.jpg', '/home/pi/Desktop/images/31012025/00/52/image_31012025_00_53_05_10348.jpg', '/home/pi/Desktop/images/31012025/00/53/image_31012025_00_53_15_9553.jpg', '/home/pi/Desktop/images/31012025/00/53/image_31012025_00_53_25_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/52/image_31012025_00_52_35_9409.jpg
/home/pi/Desktop/images/31012025/00/52/image_31012025_00_52_46_10382.jpg
/home/pi/Desktop/images/31012025/00/52/image_31012025_00_52_55_9426.jpg
/home/pi/Desktop/images/31012025/00/52/image_31012025_00_53_05_10348.jpg
/home/pi/Desktop/images/31012025/00/53/image_31012025_00_53_15_9553.jpg
/home/pi/Desktop/images/31012025/00/53/image_31012025_00_53_25_10372.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333148499","1333148517","1333148502","1333148511","1333148505","1333148497"],"photo_ids_order":["1333148497","1333148499","1333148502","1333148505","1333148511","1333148517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6dde7236e65e7ae6387fb53914f67452.jpg","text":"TemporaryFile(/tmp/multipartBody240742676012483106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281424638,"filename":"image_31012025_00_52_46_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/671e3c6fcf461094a6aa744e31daf49c.jpg","text":"TemporaryFile(/tmp/multipartBody7863153131479702767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281424638,"filename":"image_31012025_00_53_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/1/31/85c19e6db357c9a0ce3de92bba9bf1ca.jpg","text":"TemporaryFile(/tmp/multipartBody4118978955329305192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281424638,"filename":"image_31012025_00_52_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/1/31/52008b4c0ab649049a3864860b9df5e9.jpg","text":"TemporaryFile(/tmp/multipartBody924963979520286007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281424638,"filename":"image_31012025_00_53_15_9553.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b5385d6f50ac65642a15e5bc63e32880.jpg","text":"TemporaryFile(/tmp/multipartBody5130412770509154047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281424638,"filename":"image_31012025_00_53_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/1/31/a4ad94909964614d0a0973df13220c39.jpg","text":"TemporaryFile(/tmp/multipartBody6391847199847695888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281424638,"filename":"image_31012025_00_52_35_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333148502","file1":"1333148499","file0":"1333148497","file4":"1333148511","file5":"1333148517","file3":"1333148505"},"map_files_photo_id_array":[{"photo_id":"1333148517","filename":"file5"},{"photo_id":"1333148502","filename":"file2"},{"photo_id":"1333148511","filename":"file4"},{"photo_id":"1333148499","filename":"file1"},{"photo_id":"1333148497","filename":"file0"},{"photo_id":"1333148505","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333148499":["hashtag1","hashtag2"]},{"1333148517":["hashtag1","hashtag2"]},{"1333148502":["hashtag1","hashtag2"]},{"1333148511":["hashtag1","hashtag2"]},{"1333148505":["hashtag1","hashtag2"]},{"1333148497":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333148499, 1333148517, 1333148502, 1333148511, 1333148505, 1333148497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17741894721985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:57:04.225169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/53/image_31012025_00_53_36_10368.jpg', '/home/pi/Desktop/images/31012025/00/53/image_31012025_00_53_45_9421.jpg', '/home/pi/Desktop/images/31012025/00/53/image_31012025_00_53_55_10329.jpg', '/home/pi/Desktop/images/31012025/00/53/image_31012025_00_54_06_10408.jpg', '/home/pi/Desktop/images/31012025/00/54/image_31012025_00_54_15_9348.jpg', '/home/pi/Desktop/images/31012025/00/54/image_31012025_00_54_26_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/53/image_31012025_00_53_36_10368.jpg
/home/pi/Desktop/images/31012025/00/53/image_31012025_00_53_45_9421.jpg
/home/pi/Desktop/images/31012025/00/53/image_31012025_00_53_55_10329.jpg
/home/pi/Desktop/images/31012025/00/53/image_31012025_00_54_06_10408.jpg
/home/pi/Desktop/images/31012025/00/54/image_31012025_00_54_15_9348.jpg
/home/pi/Desktop/images/31012025/00/54/image_31012025_00_54_26_10340.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333148545","1333148559","1333148541","1333148555","1333148549","1333148537"],"photo_ids_order":["1333148537","1333148541","1333148545","1333148549","1333148555","1333148559"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8aae1373af9dc9ce281fb153e17532af.jpg","text":"TemporaryFile(/tmp/multipartBody5399883093073326808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281485360,"filename":"image_31012025_00_53_55_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2f179bb72290e067714e349b7e22dccd.jpg","text":"TemporaryFile(/tmp/multipartBody775101494100062090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281485360,"filename":"image_31012025_00_54_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/1/31/d2d9b577d9cedd5b546de0a2dc3a7424.jpg","text":"TemporaryFile(/tmp/multipartBody191986850680798213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281485360,"filename":"image_31012025_00_53_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/1/31/be5703cf545e64c236c5cdf94e1380f9.jpg","text":"TemporaryFile(/tmp/multipartBody5129398667094032860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281485360,"filename":"image_31012025_00_54_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/1/31/bdf6becf1154a87247e0947be9dcd1ae.jpg","text":"TemporaryFile(/tmp/multipartBody7520234344571979168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281485360,"filename":"image_31012025_00_54_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/1/31/5e7384a71db7cfcbd9230f2a68fe2f93.jpg","text":"TemporaryFile(/tmp/multipartBody4984284522937780809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281485360,"filename":"image_31012025_00_53_36_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333148545","file1":"1333148541","file0":"1333148537","file4":"1333148555","file5":"1333148559","file3":"1333148549"},"map_files_photo_id_array":[{"photo_id":"1333148559","filename":"file5"},{"photo_id":"1333148545","filename":"file2"},{"photo_id":"1333148555","filename":"file4"},{"photo_id":"1333148541","filename":"file1"},{"photo_id":"1333148537","filename":"file0"},{"photo_id":"1333148549","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333148545":["hashtag1","hashtag2"]},{"1333148559":["hashtag1","hashtag2"]},{"1333148541":["hashtag1","hashtag2"]},{"1333148555":["hashtag1","hashtag2"]},{"1333148549":["hashtag1","hashtag2"]},{"1333148537":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333148545, 1333148559, 1333148541, 1333148555, 1333148549, 1333148537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.004576444625854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 00:59:03.935020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/54/image_31012025_00_54_35_9415.jpg', '/home/pi/Desktop/images/31012025/00/54/image_31012025_00_54_45_10363.jpg', '/home/pi/Desktop/images/31012025/00/55/image_31012025_00_55_15_10347.jpg', '/home/pi/Desktop/images/31012025/00/55/image_31012025_00_55_35_10399.jpg', '/home/pi/Desktop/images/31012025/00/55/image_31012025_00_56_05_10358.jpg', '/home/pi/Desktop/images/31012025/00/56/image_31012025_00_56_16_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/54/image_31012025_00_54_35_9415.jpg
/home/pi/Desktop/images/31012025/00/54/image_31012025_00_54_45_10363.jpg
/home/pi/Desktop/images/31012025/00/55/image_31012025_00_55_15_10347.jpg
/home/pi/Desktop/images/31012025/00/55/image_31012025_00_55_35_10399.jpg
/home/pi/Desktop/images/31012025/00/55/image_31012025_00_56_05_10358.jpg
/home/pi/Desktop/images/31012025/00/56/image_31012025_00_56_16_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":["1333148621","1333148617","1333148608","1333148604","1333148624","1333148612"],"photo_ids_order":["1333148604","1333148608","1333148612","1333148617","1333148621","1333148624"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e3fc8da19aa1fe7a3bfddbd44a5dd25e.jpg","text":"TemporaryFile(/tmp/multipartBody4988148743549018034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281604944,"filename":"image_31012025_00_56_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/1/31/2e023e82c5589381552116734469d63f.jpg","text":"TemporaryFile(/tmp/multipartBody612566711526339445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281604944,"filename":"image_31012025_00_55_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/1/31/b67ab522f641417f0964286de8581281.jpg","text":"TemporaryFile(/tmp/multipartBody8698549644944022869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281604944,"filename":"image_31012025_00_54_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/1/31/770898bc3a2ca4a181071fbe63b94cd8.jpg","text":"TemporaryFile(/tmp/multipartBody2853306367978083548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281604944,"filename":"image_31012025_00_54_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/1/31/4f5d7b3b71a80efd993b3a6c5673d7a8.jpg","text":"TemporaryFile(/tmp/multipartBody7890058227936465258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281604944,"filename":"image_31012025_00_56_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/1/31/592814290e0f26aba6bbddb7718eb71f.jpg","text":"TemporaryFile(/tmp/multipartBody984743635684340300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281604944,"filename":"image_31012025_00_55_15_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333148612","file1":"1333148608","file0":"1333148604","file4":"1333148621","file5":"1333148624","file3":"1333148617"},"map_files_photo_id_array":[{"photo_id":"1333148624","filename":"file5"},{"photo_id":"1333148612","filename":"file2"},{"photo_id":"1333148621","filename":"file4"},{"photo_id":"1333148608","filename":"file1"},{"photo_id":"1333148604","filename":"file0"},{"photo_id":"1333148617","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333148621":["hashtag1","hashtag2"]},{"1333148617":["hashtag1","hashtag2"]},{"1333148608":["hashtag1","hashtag2"]},{"1333148604":["hashtag1","hashtag2"]},{"1333148624":["hashtag1","hashtag2"]},{"1333148612":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333148621, 1333148617, 1333148608, 1333148604, 1333148624, 1333148612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.917808294296265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 00:59:52.658288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/56/image_31012025_00_56_25_9333.jpg', '/home/pi/Desktop/images/31012025/00/56/image_31012025_00_56_36_10364.jpg', '/home/pi/Desktop/images/31012025/00/56/image_31012025_00_56_45_9433.jpg', '/home/pi/Desktop/images/31012025/00/56/image_31012025_00_57_06_10417.jpg', '/home/pi/Desktop/images/31012025/00/57/image_31012025_00_57_15_9448.jpg', '/home/pi/Desktop/images/31012025/00/57/image_31012025_00_57_26_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/56/image_31012025_00_56_25_9333.jpg
/home/pi/Desktop/images/31012025/00/56/image_31012025_00_56_36_10364.jpg
/home/pi/Desktop/images/31012025/00/56/image_31012025_00_56_45_9433.jpg
/home/pi/Desktop/images/31012025/00/56/image_31012025_00_57_06_10417.jpg
/home/pi/Desktop/images/31012025/00/57/image_31012025_00_57_15_9448.jpg
/home/pi/Desktop/images/31012025/00/57/image_31012025_00_57_26_10347.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333148644","1333148658","1333148654","1333148648","1333148657","1333148651"],"photo_ids_order":["1333148644","1333148648","1333148651","1333148654","1333148657","1333148658"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a7e07e2f4a803ddd05e5d92049162f4a.jpg","text":"TemporaryFile(/tmp/multipartBody7562691733012351794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281653574,"filename":"image_31012025_00_56_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/1/31/39df0e7a1c2796a68729ec3fc64cac4c.jpg","text":"TemporaryFile(/tmp/multipartBody4736183516767242979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281653574,"filename":"image_31012025_00_57_26_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f012a475c0e2c40224dc759450decf6a.jpg","text":"TemporaryFile(/tmp/multipartBody1649423397996323590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281653574,"filename":"image_31012025_00_57_06_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d30a1d108821ec89e9d696deed446671.jpg","text":"TemporaryFile(/tmp/multipartBody1608431265885993544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281653574,"filename":"image_31012025_00_56_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/1/31/67fdbbeef1be832bf882070b4e4f2284.jpg","text":"TemporaryFile(/tmp/multipartBody9005951047347853721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281653574,"filename":"image_31012025_00_57_15_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5f2a927b33ea331120ee9d427646d551.jpg","text":"TemporaryFile(/tmp/multipartBody4080868127597296774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281653574,"filename":"image_31012025_00_56_45_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333148651","file1":"1333148648","file0":"1333148644","file4":"1333148657","file5":"1333148658","file3":"1333148654"},"map_files_photo_id_array":[{"photo_id":"1333148658","filename":"file5"},{"photo_id":"1333148651","filename":"file2"},{"photo_id":"1333148657","filename":"file4"},{"photo_id":"1333148648","filename":"file1"},{"photo_id":"1333148644","filename":"file0"},{"photo_id":"1333148654","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333148644":["hashtag1","hashtag2"]},{"1333148658":["hashtag1","hashtag2"]},{"1333148654":["hashtag1","hashtag2"]},{"1333148648":["hashtag1","hashtag2"]},{"1333148657":["hashtag1","hashtag2"]},{"1333148651":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333148644, 1333148658, 1333148654, 1333148648, 1333148657, 1333148651)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.41001915931702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 01:00:42.892381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/57/image_31012025_00_57_35_9363.jpg', '/home/pi/Desktop/images/31012025/00/57/image_31012025_00_57_45_10362.jpg', '/home/pi/Desktop/images/31012025/00/57/image_31012025_00_57_56_10388.jpg', '/home/pi/Desktop/images/31012025/00/57/image_31012025_00_58_05_9458.jpg', '/home/pi/Desktop/images/31012025/00/58/image_31012025_00_58_15_10362.jpg', '/home/pi/Desktop/images/31012025/00/58/image_31012025_00_58_25_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/57/image_31012025_00_57_35_9363.jpg
/home/pi/Desktop/images/31012025/00/57/image_31012025_00_57_45_10362.jpg
/home/pi/Desktop/images/31012025/00/57/image_31012025_00_57_56_10388.jpg
/home/pi/Desktop/images/31012025/00/57/image_31012025_00_58_05_9458.jpg
/home/pi/Desktop/images/31012025/00/58/image_31012025_00_58_15_10362.jpg
/home/pi/Desktop/images/31012025/00/58/image_31012025_00_58_25_9411.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5260834693908691 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:00:52.847248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/57/image_31012025_00_57_35_9363.jpg', '/home/pi/Desktop/images/31012025/00/57/image_31012025_00_57_45_10362.jpg', '/home/pi/Desktop/images/31012025/00/57/image_31012025_00_57_56_10388.jpg', '/home/pi/Desktop/images/31012025/00/57/image_31012025_00_58_05_9458.jpg', '/home/pi/Desktop/images/31012025/00/58/image_31012025_00_58_15_10362.jpg', '/home/pi/Desktop/images/31012025/00/58/image_31012025_00_58_25_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/57/image_31012025_00_57_35_9363.jpg
/home/pi/Desktop/images/31012025/00/57/image_31012025_00_57_45_10362.jpg
/home/pi/Desktop/images/31012025/00/57/image_31012025_00_57_56_10388.jpg
/home/pi/Desktop/images/31012025/00/57/image_31012025_00_58_05_9458.jpg
/home/pi/Desktop/images/31012025/00/58/image_31012025_00_58_15_10362.jpg
/home/pi/Desktop/images/31012025/00/58/image_31012025_00_58_25_9411.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333148698","1333148683","1333148694","1333148691","1333148687","1333148702"],"photo_ids_order":["1333148683","1333148687","1333148691","1333148694","1333148698","1333148702"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c6c2a7553d562b183f2ea10a42cf0d84.jpg","text":"TemporaryFile(/tmp/multipartBody4488630611524244762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281713786,"filename":"image_31012025_00_58_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/1/31/2336b4b5af693376135cc1d43a1d065b.jpg","text":"TemporaryFile(/tmp/multipartBody4150446889799063936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281713786,"filename":"image_31012025_00_57_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/1/31/f00b8f7dcba6239dfa90d74da6fddee4.jpg","text":"TemporaryFile(/tmp/multipartBody3123445301205831689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281713786,"filename":"image_31012025_00_58_05_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e1478b40bd5090d10787ed841459bdc5.jpg","text":"TemporaryFile(/tmp/multipartBody5825167633440967185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281713786,"filename":"image_31012025_00_57_56_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e95bd7b9e56325c07f3b8f9b27638f49.jpg","text":"TemporaryFile(/tmp/multipartBody4583107515756480173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281713786,"filename":"image_31012025_00_57_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/1/31/338c7b7145afb299af02b25458e7fa91.jpg","text":"TemporaryFile(/tmp/multipartBody1596773620180334628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281713786,"filename":"image_31012025_00_58_25_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333148691","file1":"1333148687","file0":"1333148683","file4":"1333148698","file5":"1333148702","file3":"1333148694"},"map_files_photo_id_array":[{"photo_id":"1333148702","filename":"file5"},{"photo_id":"1333148691","filename":"file2"},{"photo_id":"1333148698","filename":"file4"},{"photo_id":"1333148687","filename":"file1"},{"photo_id":"1333148683","filename":"file0"},{"photo_id":"1333148694","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333148698":["hashtag1","hashtag2"]},{"1333148683":["hashtag1","hashtag2"]},{"1333148694":["hashtag1","hashtag2"]},{"1333148691":["hashtag1","hashtag2"]},{"1333148687":["hashtag1","hashtag2"]},{"1333148702":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333148698, 1333148683, 1333148694, 1333148691, 1333148687, 1333148702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1517915725708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:01:33.231042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/58/image_31012025_00_58_35_10440.jpg', '/home/pi/Desktop/images/31012025/00/58/image_31012025_00_58_46_10492.jpg', '/home/pi/Desktop/images/31012025/00/58/image_31012025_00_58_55_9374.jpg', '/home/pi/Desktop/images/31012025/00/58/image_31012025_00_59_06_10367.jpg', '/home/pi/Desktop/images/31012025/00/59/image_31012025_00_59_15_9435.jpg', '/home/pi/Desktop/images/31012025/00/59/image_31012025_00_59_36_10454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/58/image_31012025_00_58_35_10440.jpg
/home/pi/Desktop/images/31012025/00/58/image_31012025_00_58_46_10492.jpg
/home/pi/Desktop/images/31012025/00/58/image_31012025_00_58_55_9374.jpg
/home/pi/Desktop/images/31012025/00/58/image_31012025_00_59_06_10367.jpg
/home/pi/Desktop/images/31012025/00/59/image_31012025_00_59_15_9435.jpg
/home/pi/Desktop/images/31012025/00/59/image_31012025_00_59_36_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":["1333148714","1333148728","1333148735","1333148720","1333148723","1333148717"],"photo_ids_order":["1333148714","1333148717","1333148720","1333148723","1333148728","1333148735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c8df34cbe03dc09c6f23de16b788a921.jpg","text":"TemporaryFile(/tmp/multipartBody4173804053852222643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281754196,"filename":"image_31012025_00_58_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/1/31/6d8f2eeaf662fd4a11003139ed62fbf0.jpg","text":"TemporaryFile(/tmp/multipartBody400042901918311348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281754196,"filename":"image_31012025_00_59_15_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0dfbe593f8c7a2e607c63329ff26a9fe.jpg","text":"TemporaryFile(/tmp/multipartBody1324450284948955651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281754196,"filename":"image_31012025_00_59_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/1/31/c9964a1d9fe2037c5925f95fbc11e3ad.jpg","text":"TemporaryFile(/tmp/multipartBody6049227917615130729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281754196,"filename":"image_31012025_00_58_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/1/31/0e0c26ad06deefeee980870a325f056c.jpg","text":"TemporaryFile(/tmp/multipartBody7464563558838908171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281754196,"filename":"image_31012025_00_59_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/1/31/2342c4ee4ec934c099f484a8da0cb6c8.jpg","text":"TemporaryFile(/tmp/multipartBody3960116352394527992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281754196,"filename":"image_31012025_00_58_46_10492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333148720","file1":"1333148717","file0":"1333148714","file4":"1333148728","file5":"1333148735","file3":"1333148723"},"map_files_photo_id_array":[{"photo_id":"1333148735","filename":"file5"},{"photo_id":"1333148720","filename":"file2"},{"photo_id":"1333148728","filename":"file4"},{"photo_id":"1333148717","filename":"file1"},{"photo_id":"1333148714","filename":"file0"},{"photo_id":"1333148723","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333148714":["hashtag1","hashtag2"]},{"1333148728":["hashtag1","hashtag2"]},{"1333148735":["hashtag1","hashtag2"]},{"1333148720":["hashtag1","hashtag2"]},{"1333148723":["hashtag1","hashtag2"]},{"1333148717":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333148714, 1333148728, 1333148735, 1333148720, 1333148723, 1333148717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.608232259750366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:02:32.536351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/00/59/image_31012025_00_59_56_10372.jpg', '/home/pi/Desktop/images/31012025/01/01/image_31012025_01_01_15_10078.jpg', '/home/pi/Desktop/images/31012025/01/01/image_31012025_01_01_25_10409.jpg', '/home/pi/Desktop/images/31012025/01/01/image_31012025_01_01_36_10413.jpg', '/home/pi/Desktop/images/31012025/01/01/image_31012025_01_01_45_9422.jpg', '/home/pi/Desktop/images/31012025/01/01/image_31012025_01_02_05_9443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/00/59/image_31012025_00_59_56_10372.jpg
/home/pi/Desktop/images/31012025/01/01/image_31012025_01_01_15_10078.jpg
/home/pi/Desktop/images/31012025/01/01/image_31012025_01_01_25_10409.jpg
/home/pi/Desktop/images/31012025/01/01/image_31012025_01_01_36_10413.jpg
/home/pi/Desktop/images/31012025/01/01/image_31012025_01_01_45_9422.jpg
/home/pi/Desktop/images/31012025/01/01/image_31012025_01_02_05_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":["1333148758","1333148752","1333148761","1333149147","1333149023","1333148843"],"photo_ids_order":["1333148752","1333148758","1333148761","1333148843","1333149023","1333149147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4603f95dede400bc949e141d8a18c773.jpg","text":"TemporaryFile(/tmp/multipartBody434372859627635236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281813455,"filename":"image_31012025_01_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/1/31/e950a88a406b6ee92d151618e6bc35ed.jpg","text":"TemporaryFile(/tmp/multipartBody1493466540248012973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281813455,"filename":"image_31012025_00_59_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/1/31/86ce6cbc2e93bdfa2c7c54e34f6a7000.jpg","text":"TemporaryFile(/tmp/multipartBody5401048394537611017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281813455,"filename":"image_31012025_01_01_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/1/31/c8e629a89d25075b201665376832ab85.jpg","text":"TemporaryFile(/tmp/multipartBody4458622564311634403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281813455,"filename":"image_31012025_01_02_05_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/66a38883f1fb5a2a52b206c293ac4579.jpg","text":"TemporaryFile(/tmp/multipartBody1099319494219324282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281813455,"filename":"image_31012025_01_01_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/1/31/6d2de24160cf2514d01c27c64a5a7f89.jpg","text":"TemporaryFile(/tmp/multipartBody4785977707293314395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281813455,"filename":"image_31012025_01_01_36_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333148761","file1":"1333148758","file0":"1333148752","file4":"1333149023","file5":"1333149147","file3":"1333148843"},"map_files_photo_id_array":[{"photo_id":"1333149147","filename":"file5"},{"photo_id":"1333148761","filename":"file2"},{"photo_id":"1333149023","filename":"file4"},{"photo_id":"1333148758","filename":"file1"},{"photo_id":"1333148752","filename":"file0"},{"photo_id":"1333148843","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333148758":["hashtag1","hashtag2"]},{"1333148752":["hashtag1","hashtag2"]},{"1333148761":["hashtag1","hashtag2"]},{"1333149147":["hashtag1","hashtag2"]},{"1333149023":["hashtag1","hashtag2"]},{"1333148843":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333148758, 1333148752, 1333148761, 1333149147, 1333149023, 1333148843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.88127565383911 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:03:32.814372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/02/image_31012025_01_02_15_10347.jpg', '/home/pi/Desktop/images/31012025/01/02/image_31012025_01_02_26_10368.jpg', '/home/pi/Desktop/images/31012025/01/02/image_31012025_01_02_35_9429.jpg', '/home/pi/Desktop/images/31012025/01/02/image_31012025_01_03_05_10426.jpg', '/home/pi/Desktop/images/31012025/01/03/image_31012025_01_03_25_9443.jpg', '/home/pi/Desktop/images/31012025/01/03/image_31012025_01_03_35_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/02/image_31012025_01_02_15_10347.jpg
/home/pi/Desktop/images/31012025/01/02/image_31012025_01_02_26_10368.jpg
/home/pi/Desktop/images/31012025/01/02/image_31012025_01_02_35_9429.jpg
/home/pi/Desktop/images/31012025/01/02/image_31012025_01_03_05_10426.jpg
/home/pi/Desktop/images/31012025/01/03/image_31012025_01_03_25_9443.jpg
/home/pi/Desktop/images/31012025/01/03/image_31012025_01_03_35_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":["1333149975","1333149972","1333149969","1333149968","1333149965","1333149967"],"photo_ids_order":["1333149965","1333149967","1333149968","1333149969","1333149972","1333149975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/36e10a283d41283a2867b5d707754c6b.jpg","text":"TemporaryFile(/tmp/multipartBody6513851064422992720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281873743,"filename":"image_31012025_01_03_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/1/31/356f93750bb45d34976ad2f70bec014e.jpg","text":"TemporaryFile(/tmp/multipartBody1506848319799636766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281873743,"filename":"image_31012025_01_03_25_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8ea67c10263b47f03697f7513c9eadfa.jpg","text":"TemporaryFile(/tmp/multipartBody6749324771725789695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281873743,"filename":"image_31012025_01_03_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/1/31/f81a78c997c794b9a0308b1ac0ea2d43.jpg","text":"TemporaryFile(/tmp/multipartBody3700338263530124824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281873743,"filename":"image_31012025_01_02_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/1/31/9f1f6c891f92d17d543780a3e6767aed.jpg","text":"TemporaryFile(/tmp/multipartBody7380784667318269878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281873743,"filename":"image_31012025_01_02_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/1/31/c6399be5ec7325fd8f8729c185ee21d4.jpg","text":"TemporaryFile(/tmp/multipartBody64999284226329484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281873743,"filename":"image_31012025_01_02_26_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333149968","file1":"1333149967","file0":"1333149965","file4":"1333149972","file5":"1333149975","file3":"1333149969"},"map_files_photo_id_array":[{"photo_id":"1333149975","filename":"file5"},{"photo_id":"1333149968","filename":"file2"},{"photo_id":"1333149972","filename":"file4"},{"photo_id":"1333149967","filename":"file1"},{"photo_id":"1333149965","filename":"file0"},{"photo_id":"1333149969","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333149975":["hashtag1","hashtag2"]},{"1333149972":["hashtag1","hashtag2"]},{"1333149969":["hashtag1","hashtag2"]},{"1333149968":["hashtag1","hashtag2"]},{"1333149965":["hashtag1","hashtag2"]},{"1333149967":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333149975, 1333149972, 1333149969, 1333149968, 1333149965, 1333149967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4812068939209 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:04:33.065622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/03/image_31012025_01_03_46_10359.jpg', '/home/pi/Desktop/images/31012025/01/03/image_31012025_01_03_55_9435.jpg', '/home/pi/Desktop/images/31012025/01/03/image_31012025_01_04_05_10369.jpg', '/home/pi/Desktop/images/31012025/01/04/image_31012025_01_04_15_9429.jpg', '/home/pi/Desktop/images/31012025/01/04/image_31012025_01_04_45_9370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/03/image_31012025_01_03_46_10359.jpg
/home/pi/Desktop/images/31012025/01/03/image_31012025_01_03_55_9435.jpg
/home/pi/Desktop/images/31012025/01/03/image_31012025_01_04_05_10369.jpg
/home/pi/Desktop/images/31012025/01/04/image_31012025_01_04_15_9429.jpg
/home/pi/Desktop/images/31012025/01/04/image_31012025_01_04_45_9370.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5200986862182617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 01:04:43.002199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/03/image_31012025_01_03_46_10359.jpg', '/home/pi/Desktop/images/31012025/01/03/image_31012025_01_03_55_9435.jpg', '/home/pi/Desktop/images/31012025/01/03/image_31012025_01_04_05_10369.jpg', '/home/pi/Desktop/images/31012025/01/04/image_31012025_01_04_15_9429.jpg', '/home/pi/Desktop/images/31012025/01/04/image_31012025_01_04_45_9370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/03/image_31012025_01_03_46_10359.jpg
/home/pi/Desktop/images/31012025/01/03/image_31012025_01_03_55_9435.jpg
/home/pi/Desktop/images/31012025/01/03/image_31012025_01_04_05_10369.jpg
/home/pi/Desktop/images/31012025/01/04/image_31012025_01_04_15_9429.jpg
/home/pi/Desktop/images/31012025/01/04/image_31012025_01_04_45_9370.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":["1333151212","1333151014","1333150948","1333150920","1333150818"],"photo_ids_order":["1333150818","1333150920","1333150948","1333151014","1333151212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9ef29ea986dec096cf7b8c2560ff4eaf.jpg","text":"TemporaryFile(/tmp/multipartBody5490003744027166532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281943916,"filename":"image_31012025_01_04_45_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/41d3ae9d1ac48471487644b7f6e40b2f.jpg","text":"TemporaryFile(/tmp/multipartBody6759021827335613077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281943916,"filename":"image_31012025_01_04_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/1/31/abacab219235f88004cfff828b3ba48f.jpg","text":"TemporaryFile(/tmp/multipartBody6055662931386725856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281943916,"filename":"image_31012025_01_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/1/31/8454318b6f4e93c42a3e73450ee9c196.jpg","text":"TemporaryFile(/tmp/multipartBody7876524150007020936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281943916,"filename":"image_31012025_01_03_55_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2826886c2f7edbfc32b9119650eac583.jpg","text":"TemporaryFile(/tmp/multipartBody70082814948436601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281943916,"filename":"image_31012025_01_03_46_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333150948","file1":"1333150920","file0":"1333150818","file4":"1333151212","file3":"1333151014"},"map_files_photo_id_array":[{"photo_id":"1333150948","filename":"file2"},{"photo_id":"1333151212","filename":"file4"},{"photo_id":"1333150920","filename":"file1"},{"photo_id":"1333150818","filename":"file0"},{"photo_id":"1333151014","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333151212":["hashtag1","hashtag2"]},{"1333151014":["hashtag1","hashtag2"]},{"1333150948":["hashtag1","hashtag2"]},{"1333150920":["hashtag1","hashtag2"]},{"1333150818":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333151212, 1333151014, 1333150948, 1333150920, 1333150818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.59984493255615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:05:32.296904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/04/image_31012025_01_04_55_10348.jpg', '/home/pi/Desktop/images/31012025/01/04/image_31012025_01_05_05_9430.jpg', '/home/pi/Desktop/images/31012025/01/05/image_31012025_01_05_35_9350.jpg', '/home/pi/Desktop/images/31012025/01/05/image_31012025_01_05_45_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/04/image_31012025_01_04_55_10348.jpg
/home/pi/Desktop/images/31012025/01/04/image_31012025_01_05_05_9430.jpg
/home/pi/Desktop/images/31012025/01/05/image_31012025_01_05_35_9350.jpg
/home/pi/Desktop/images/31012025/01/05/image_31012025_01_05_45_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":["1333151985","1333151970","1333151988","1333152225"],"photo_ids_order":["1333151970","1333151985","1333151988","1333152225"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/18378d4a1afac6729670a4b6607b5c0c.jpg","text":"TemporaryFile(/tmp/multipartBody6692749665178602475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281993188,"filename":"image_31012025_01_05_05_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/02a572a7b1e6abda51c3b24a072e225f.jpg","text":"TemporaryFile(/tmp/multipartBody1688308203268462752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281993188,"filename":"image_31012025_01_04_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/1/31/96a7dd57decf3f04cb025ac076baf22f.jpg","text":"TemporaryFile(/tmp/multipartBody1440726110512854652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281993188,"filename":"image_31012025_01_05_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/1/31/3dcdcf97cfb9ea6649c0a859c70721cb.jpg","text":"TemporaryFile(/tmp/multipartBody4507880823522356041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738281993188,"filename":"image_31012025_01_05_45_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333151988","file1":"1333151985","file0":"1333151970","file3":"1333152225"},"map_files_photo_id_array":[{"photo_id":"1333151988","filename":"file2"},{"photo_id":"1333151985","filename":"file1"},{"photo_id":"1333151970","filename":"file0"},{"photo_id":"1333152225","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333151985":["hashtag1","hashtag2"]},{"1333151970":["hashtag1","hashtag2"]},{"1333151988":["hashtag1","hashtag2"]},{"1333152225":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333151985, 1333151970, 1333151988, 1333152225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.200239658355713 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:06:32.459711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/05/image_31012025_01_05_55_9360.jpg', '/home/pi/Desktop/images/31012025/01/05/image_31012025_01_06_05_10471.jpg', '/home/pi/Desktop/images/31012025/01/06/image_31012025_01_06_16_10353.jpg', '/home/pi/Desktop/images/31012025/01/06/image_31012025_01_06_25_9380.jpg', '/home/pi/Desktop/images/31012025/01/06/image_31012025_01_06_35_10360.jpg', '/home/pi/Desktop/images/31012025/01/06/image_31012025_01_06_46_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/05/image_31012025_01_05_55_9360.jpg
/home/pi/Desktop/images/31012025/01/05/image_31012025_01_06_05_10471.jpg
/home/pi/Desktop/images/31012025/01/06/image_31012025_01_06_16_10353.jpg
/home/pi/Desktop/images/31012025/01/06/image_31012025_01_06_25_9380.jpg
/home/pi/Desktop/images/31012025/01/06/image_31012025_01_06_35_10360.jpg
/home/pi/Desktop/images/31012025/01/06/image_31012025_01_06_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":["1333152438","1333152429","1333152408","1333152419","1333152404","1333152424"],"photo_ids_order":["1333152404","1333152408","1333152419","1333152424","1333152429","1333152438"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7540a62ea814a16f2f12d82bb60a70c2.jpg","text":"TemporaryFile(/tmp/multipartBody1175970468406024336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282053375,"filename":"image_31012025_01_06_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/1/31/3543f1e2487893d7925428e0d3a4acb1.jpg","text":"TemporaryFile(/tmp/multipartBody7013725742904914935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282053375,"filename":"image_31012025_01_06_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/1/31/f73caf5c3c16a6797461316cbe49c623.jpg","text":"TemporaryFile(/tmp/multipartBody6038320547558293288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282053375,"filename":"image_31012025_01_06_05_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5d834969c3d98842e05caf4127f3134d.jpg","text":"TemporaryFile(/tmp/multipartBody8024916380434550008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282053375,"filename":"image_31012025_01_06_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/1/31/81c697fe1acc3e930fd32754b0358a60.jpg","text":"TemporaryFile(/tmp/multipartBody8371415073972324518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282053375,"filename":"image_31012025_01_05_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/1/31/fecc73e16b7e7dbdb19cd37f37bdacaa.jpg","text":"TemporaryFile(/tmp/multipartBody6158836662328874862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282053375,"filename":"image_31012025_01_06_25_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333152419","file1":"1333152408","file0":"1333152404","file4":"1333152429","file5":"1333152438","file3":"1333152424"},"map_files_photo_id_array":[{"photo_id":"1333152438","filename":"file5"},{"photo_id":"1333152419","filename":"file2"},{"photo_id":"1333152429","filename":"file4"},{"photo_id":"1333152408","filename":"file1"},{"photo_id":"1333152404","filename":"file0"},{"photo_id":"1333152424","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333152438":["hashtag1","hashtag2"]},{"1333152429":["hashtag1","hashtag2"]},{"1333152408":["hashtag1","hashtag2"]},{"1333152419":["hashtag1","hashtag2"]},{"1333152404":["hashtag1","hashtag2"]},{"1333152424":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333152438, 1333152429, 1333152408, 1333152419, 1333152404, 1333152424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.68700838088989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:07:32.628005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/06/image_31012025_01_06_55_9362.jpg', '/home/pi/Desktop/images/31012025/01/06/image_31012025_01_07_05_10357.jpg', '/home/pi/Desktop/images/31012025/01/07/image_31012025_01_07_15_9370.jpg', '/home/pi/Desktop/images/31012025/01/07/image_31012025_01_07_25_10364.jpg', '/home/pi/Desktop/images/31012025/01/07/image_31012025_01_07_35_10371.jpg', '/home/pi/Desktop/images/31012025/01/07/image_31012025_01_07_45_9516.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/06/image_31012025_01_06_55_9362.jpg
/home/pi/Desktop/images/31012025/01/06/image_31012025_01_07_05_10357.jpg
/home/pi/Desktop/images/31012025/01/07/image_31012025_01_07_15_9370.jpg
/home/pi/Desktop/images/31012025/01/07/image_31012025_01_07_25_10364.jpg
/home/pi/Desktop/images/31012025/01/07/image_31012025_01_07_35_10371.jpg
/home/pi/Desktop/images/31012025/01/07/image_31012025_01_07_45_9516.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333152648","1333152636","1333152645","1333152641","1333152652","1333152631"],"photo_ids_order":["1333152631","1333152636","1333152641","1333152645","1333152648","1333152652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/34f1c1a96ee8366366b088781f263c51.jpg","text":"TemporaryFile(/tmp/multipartBody6690571690597225594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282113536,"filename":"image_31012025_01_07_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/1/31/048b742ee9309ae221d8f96641a9d1f3.jpg","text":"TemporaryFile(/tmp/multipartBody4669925292603518590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282113536,"filename":"image_31012025_01_07_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/1/31/a22131850d00144638db24085ec2d7d8.jpg","text":"TemporaryFile(/tmp/multipartBody6324664996586917797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282113536,"filename":"image_31012025_01_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/1/31/8aea1592548cee49bdeee13c4ffd91a9.jpg","text":"TemporaryFile(/tmp/multipartBody7570184169628265834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282113536,"filename":"image_31012025_01_07_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/1/31/6327018eb2d88feb382c250bb0bd29b3.jpg","text":"TemporaryFile(/tmp/multipartBody914004269589878830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282113536,"filename":"image_31012025_01_07_45_9516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/90a9a8240ffd1beffe9ef76ca995f9fa.jpg","text":"TemporaryFile(/tmp/multipartBody5050464036656762771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282113536,"filename":"image_31012025_01_06_55_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333152641","file1":"1333152636","file0":"1333152631","file4":"1333152648","file5":"1333152652","file3":"1333152645"},"map_files_photo_id_array":[{"photo_id":"1333152652","filename":"file5"},{"photo_id":"1333152641","filename":"file2"},{"photo_id":"1333152648","filename":"file4"},{"photo_id":"1333152636","filename":"file1"},{"photo_id":"1333152631","filename":"file0"},{"photo_id":"1333152645","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333152648":["hashtag1","hashtag2"]},{"1333152636":["hashtag1","hashtag2"]},{"1333152645":["hashtag1","hashtag2"]},{"1333152641":["hashtag1","hashtag2"]},{"1333152652":["hashtag1","hashtag2"]},{"1333152631":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333152648, 1333152636, 1333152645, 1333152641, 1333152652, 1333152631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95748472213745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:08:32.862734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/07/image_31012025_01_07_55_10345.jpg', '/home/pi/Desktop/images/31012025/01/07/image_31012025_01_08_05_9354.jpg', '/home/pi/Desktop/images/31012025/01/08/image_31012025_01_08_15_10359.jpg', '/home/pi/Desktop/images/31012025/01/08/image_31012025_01_08_25_10370.jpg', '/home/pi/Desktop/images/31012025/01/08/image_31012025_01_08_35_9471.jpg', '/home/pi/Desktop/images/31012025/01/08/image_31012025_01_08_45_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/07/image_31012025_01_07_55_10345.jpg
/home/pi/Desktop/images/31012025/01/07/image_31012025_01_08_05_9354.jpg
/home/pi/Desktop/images/31012025/01/08/image_31012025_01_08_15_10359.jpg
/home/pi/Desktop/images/31012025/01/08/image_31012025_01_08_25_10370.jpg
/home/pi/Desktop/images/31012025/01/08/image_31012025_01_08_35_9471.jpg
/home/pi/Desktop/images/31012025/01/08/image_31012025_01_08_45_10373.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5190966129302979 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 01:08:42.881129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/07/image_31012025_01_07_55_10345.jpg', '/home/pi/Desktop/images/31012025/01/07/image_31012025_01_08_05_9354.jpg', '/home/pi/Desktop/images/31012025/01/08/image_31012025_01_08_15_10359.jpg', '/home/pi/Desktop/images/31012025/01/08/image_31012025_01_08_25_10370.jpg', '/home/pi/Desktop/images/31012025/01/08/image_31012025_01_08_35_9471.jpg', '/home/pi/Desktop/images/31012025/01/08/image_31012025_01_08_45_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/07/image_31012025_01_07_55_10345.jpg
/home/pi/Desktop/images/31012025/01/07/image_31012025_01_08_05_9354.jpg
/home/pi/Desktop/images/31012025/01/08/image_31012025_01_08_15_10359.jpg
/home/pi/Desktop/images/31012025/01/08/image_31012025_01_08_25_10370.jpg
/home/pi/Desktop/images/31012025/01/08/image_31012025_01_08_35_9471.jpg
/home/pi/Desktop/images/31012025/01/08/image_31012025_01_08_45_10373.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":["1333152807","1333152785","1333152740","1333152809","1333152803","1333152690"],"photo_ids_order":["1333152690","1333152740","1333152785","1333152803","1333152807","1333152809"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/daf1692f29d91952bb53dfe9109cab8c.jpg","text":"TemporaryFile(/tmp/multipartBody5052954462752613501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282183802,"filename":"image_31012025_01_08_35_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/02c0d1eaeaca5b08566320a3d2b50e49.jpg","text":"TemporaryFile(/tmp/multipartBody2760608016545742807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282183802,"filename":"image_31012025_01_08_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/1/31/9f54dc207ad6efe816eb2f323e8a9e18.jpg","text":"TemporaryFile(/tmp/multipartBody7529301260995364030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282183802,"filename":"image_31012025_01_08_05_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/db0967a61d1aa2fccff5dfc43e96ac16.jpg","text":"TemporaryFile(/tmp/multipartBody3034022922788412583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282183802,"filename":"image_31012025_01_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/1/31/c6a3c37f65076036b1dfa8990a65d7d6.jpg","text":"TemporaryFile(/tmp/multipartBody8884998748444800817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282183802,"filename":"image_31012025_01_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/1/31/60f4333093dea42b27afd59aed227297.jpg","text":"TemporaryFile(/tmp/multipartBody5090113135874116850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282183802,"filename":"image_31012025_01_07_55_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333152785","file1":"1333152740","file0":"1333152690","file4":"1333152807","file5":"1333152809","file3":"1333152803"},"map_files_photo_id_array":[{"photo_id":"1333152809","filename":"file5"},{"photo_id":"1333152785","filename":"file2"},{"photo_id":"1333152807","filename":"file4"},{"photo_id":"1333152740","filename":"file1"},{"photo_id":"1333152690","filename":"file0"},{"photo_id":"1333152803","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333152807":["hashtag1","hashtag2"]},{"1333152785":["hashtag1","hashtag2"]},{"1333152740":["hashtag1","hashtag2"]},{"1333152809":["hashtag1","hashtag2"]},{"1333152803":["hashtag1","hashtag2"]},{"1333152690":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333152807, 1333152785, 1333152740, 1333152809, 1333152803, 1333152690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.725319385528564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:09:32.270960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/08/image_31012025_01_08_56_10369.jpg', '/home/pi/Desktop/images/31012025/01/08/image_31012025_01_09_05_9436.jpg', '/home/pi/Desktop/images/31012025/01/09/image_31012025_01_09_15_10355.jpg', '/home/pi/Desktop/images/31012025/01/09/image_31012025_01_09_25_9413.jpg', '/home/pi/Desktop/images/31012025/01/09/image_31012025_01_09_35_10351.jpg', '/home/pi/Desktop/images/31012025/01/09/image_31012025_01_09_46_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/08/image_31012025_01_08_56_10369.jpg
/home/pi/Desktop/images/31012025/01/08/image_31012025_01_09_05_9436.jpg
/home/pi/Desktop/images/31012025/01/09/image_31012025_01_09_15_10355.jpg
/home/pi/Desktop/images/31012025/01/09/image_31012025_01_09_25_9413.jpg
/home/pi/Desktop/images/31012025/01/09/image_31012025_01_09_35_10351.jpg
/home/pi/Desktop/images/31012025/01/09/image_31012025_01_09_46_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":["1333152843","1333152848","1333152836","1333152853","1333152856","1333152826"],"photo_ids_order":["1333152826","1333152836","1333152843","1333152848","1333152853","1333152856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c09edd60e00f86318a13fd1ca3501fd1.jpg","text":"TemporaryFile(/tmp/multipartBody4424661186869417509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282233213,"filename":"image_31012025_01_09_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/1/31/e5c5114abe65db2031b84b6dc475d6f3.jpg","text":"TemporaryFile(/tmp/multipartBody8647826373590406540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282233213,"filename":"image_31012025_01_09_25_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7c48c14b0c630149ad7188919ab9edf2.jpg","text":"TemporaryFile(/tmp/multipartBody4661640242582877661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282233213,"filename":"image_31012025_01_09_05_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b65111df1e51076878069bddc3c7bc70.jpg","text":"TemporaryFile(/tmp/multipartBody2255788142040334913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282233213,"filename":"image_31012025_01_09_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/1/31/3e22f79ca12eca2e6f86e6852440d820.jpg","text":"TemporaryFile(/tmp/multipartBody7305001983531799055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282233213,"filename":"image_31012025_01_09_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/1/31/f212338c9a63c1122feb78361e4a6c9b.jpg","text":"TemporaryFile(/tmp/multipartBody4212519388446006828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282233213,"filename":"image_31012025_01_08_56_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333152843","file1":"1333152836","file0":"1333152826","file4":"1333152853","file5":"1333152856","file3":"1333152848"},"map_files_photo_id_array":[{"photo_id":"1333152856","filename":"file5"},{"photo_id":"1333152843","filename":"file2"},{"photo_id":"1333152853","filename":"file4"},{"photo_id":"1333152836","filename":"file1"},{"photo_id":"1333152826","filename":"file0"},{"photo_id":"1333152848","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333152843":["hashtag1","hashtag2"]},{"1333152848":["hashtag1","hashtag2"]},{"1333152836":["hashtag1","hashtag2"]},{"1333152853":["hashtag1","hashtag2"]},{"1333152856":["hashtag1","hashtag2"]},{"1333152826":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333152843, 1333152848, 1333152836, 1333152853, 1333152856, 1333152826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2474205493927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:10:32.636476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/09/image_31012025_01_09_55_9346.jpg', '/home/pi/Desktop/images/31012025/01/09/image_31012025_01_10_05_10364.jpg', '/home/pi/Desktop/images/31012025/01/10/image_31012025_01_10_16_10360.jpg', '/home/pi/Desktop/images/31012025/01/10/image_31012025_01_10_25_9433.jpg', '/home/pi/Desktop/images/31012025/01/10/image_31012025_01_10_35_10344.jpg', '/home/pi/Desktop/images/31012025/01/10/image_31012025_01_10_45_9470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/09/image_31012025_01_09_55_9346.jpg
/home/pi/Desktop/images/31012025/01/09/image_31012025_01_10_05_10364.jpg
/home/pi/Desktop/images/31012025/01/10/image_31012025_01_10_16_10360.jpg
/home/pi/Desktop/images/31012025/01/10/image_31012025_01_10_25_9433.jpg
/home/pi/Desktop/images/31012025/01/10/image_31012025_01_10_35_10344.jpg
/home/pi/Desktop/images/31012025/01/10/image_31012025_01_10_45_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":["1333152885","1333152894","1333152975","1333152890","1333153004","1333153018"],"photo_ids_order":["1333152885","1333152890","1333152894","1333152975","1333153004","1333153018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c3d2d0be0b95714b84bc8e7f6e713fe9.jpg","text":"TemporaryFile(/tmp/multipartBody5183747819706303699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282293563,"filename":"image_31012025_01_09_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/1/31/438584998cbf00f6708017dc77575ac8.jpg","text":"TemporaryFile(/tmp/multipartBody1173243966629018460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282293563,"filename":"image_31012025_01_10_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/1/31/dbe8d5b08a7e1792cbb07e6171f182f9.jpg","text":"TemporaryFile(/tmp/multipartBody5314966543669849521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282293563,"filename":"image_31012025_01_10_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/1/31/bf871273f0225195586359f2cf852916.jpg","text":"TemporaryFile(/tmp/multipartBody8898386455090128990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282293563,"filename":"image_31012025_01_10_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/1/31/98ccd50974aa9d3fab60de7f156b85af.jpg","text":"TemporaryFile(/tmp/multipartBody9086250142771537958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282293563,"filename":"image_31012025_01_10_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/1/31/cfc3df0391f9861a93d44ea06e12e793.jpg","text":"TemporaryFile(/tmp/multipartBody4849940937443778288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282293563,"filename":"image_31012025_01_10_45_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333152894","file1":"1333152890","file0":"1333152885","file4":"1333153004","file5":"1333153018","file3":"1333152975"},"map_files_photo_id_array":[{"photo_id":"1333153018","filename":"file5"},{"photo_id":"1333152894","filename":"file2"},{"photo_id":"1333153004","filename":"file4"},{"photo_id":"1333152890","filename":"file1"},{"photo_id":"1333152885","filename":"file0"},{"photo_id":"1333152975","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333152885":["hashtag1","hashtag2"]},{"1333152894":["hashtag1","hashtag2"]},{"1333152975":["hashtag1","hashtag2"]},{"1333152890":["hashtag1","hashtag2"]},{"1333153004":["hashtag1","hashtag2"]},{"1333153018":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333152885, 1333152894, 1333152975, 1333152890, 1333153004, 1333153018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73160743713379 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:11:32.817938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/10/image_31012025_01_10_55_10366.jpg', '/home/pi/Desktop/images/31012025/01/10/image_31012025_01_11_06_10349.jpg', '/home/pi/Desktop/images/31012025/01/11/image_31012025_01_11_15_9439.jpg', '/home/pi/Desktop/images/31012025/01/11/image_31012025_01_11_25_10374.jpg', '/home/pi/Desktop/images/31012025/01/11/image_31012025_01_11_35_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/10/image_31012025_01_10_55_10366.jpg
/home/pi/Desktop/images/31012025/01/10/image_31012025_01_11_06_10349.jpg
/home/pi/Desktop/images/31012025/01/11/image_31012025_01_11_15_9439.jpg
/home/pi/Desktop/images/31012025/01/11/image_31012025_01_11_25_10374.jpg
/home/pi/Desktop/images/31012025/01/11/image_31012025_01_11_35_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5141510963439941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 01:11:42.899540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/10/image_31012025_01_10_55_10366.jpg', '/home/pi/Desktop/images/31012025/01/10/image_31012025_01_11_06_10349.jpg', '/home/pi/Desktop/images/31012025/01/11/image_31012025_01_11_15_9439.jpg', '/home/pi/Desktop/images/31012025/01/11/image_31012025_01_11_25_10374.jpg', '/home/pi/Desktop/images/31012025/01/11/image_31012025_01_11_35_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/10/image_31012025_01_10_55_10366.jpg
/home/pi/Desktop/images/31012025/01/10/image_31012025_01_11_06_10349.jpg
/home/pi/Desktop/images/31012025/01/11/image_31012025_01_11_15_9439.jpg
/home/pi/Desktop/images/31012025/01/11/image_31012025_01_11_25_10374.jpg
/home/pi/Desktop/images/31012025/01/11/image_31012025_01_11_35_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":["1333153212","1333153451","1333153537","1333153438","1333153434"],"photo_ids_order":["1333153212","1333153434","1333153438","1333153451","1333153537"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/36c78af567a925a7b9be7da3fc92f497.jpg","text":"TemporaryFile(/tmp/multipartBody3531213031090454268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282363806,"filename":"image_31012025_01_10_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/1/31/2b8cf2317a17877669ad610869881eb7.jpg","text":"TemporaryFile(/tmp/multipartBody71171381568203884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282363806,"filename":"image_31012025_01_11_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/1/31/b7bcf059ab39480b0c1b1614f76bade6.jpg","text":"TemporaryFile(/tmp/multipartBody2073087622356581388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282363806,"filename":"image_31012025_01_11_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/1/31/6b4514bc076a57085aad5bf99caa6159.jpg","text":"TemporaryFile(/tmp/multipartBody7222394704638802992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282363806,"filename":"image_31012025_01_11_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/1/31/04d19fedc37977fa743ee2760cb5c8dd.jpg","text":"TemporaryFile(/tmp/multipartBody4208147935125978894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282363806,"filename":"image_31012025_01_11_06_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333153438","file1":"1333153434","file0":"1333153212","file4":"1333153537","file3":"1333153451"},"map_files_photo_id_array":[{"photo_id":"1333153438","filename":"file2"},{"photo_id":"1333153537","filename":"file4"},{"photo_id":"1333153434","filename":"file1"},{"photo_id":"1333153212","filename":"file0"},{"photo_id":"1333153451","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333153212":["hashtag1","hashtag2"]},{"1333153451":["hashtag1","hashtag2"]},{"1333153537":["hashtag1","hashtag2"]},{"1333153438":["hashtag1","hashtag2"]},{"1333153434":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333153212, 1333153451, 1333153537, 1333153438, 1333153434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.735962867736816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:12:33.009523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/11/image_31012025_01_11_45_10450.jpg', '/home/pi/Desktop/images/31012025/01/12/image_31012025_01_12_15_10443.jpg', '/home/pi/Desktop/images/31012025/01/12/image_31012025_01_12_25_9363.jpg', '/home/pi/Desktop/images/31012025/01/12/image_31012025_01_12_35_10458.jpg', '/home/pi/Desktop/images/31012025/01/12/image_31012025_01_12_46_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/11/image_31012025_01_11_45_10450.jpg
/home/pi/Desktop/images/31012025/01/12/image_31012025_01_12_15_10443.jpg
/home/pi/Desktop/images/31012025/01/12/image_31012025_01_12_25_9363.jpg
/home/pi/Desktop/images/31012025/01/12/image_31012025_01_12_35_10458.jpg
/home/pi/Desktop/images/31012025/01/12/image_31012025_01_12_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":["1333153716","1333153721","1333153709","1333153696","1333153659"],"photo_ids_order":["1333153659","1333153696","1333153709","1333153716","1333153721"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/55566acf004290eed7e166baa178c47d.jpg","text":"TemporaryFile(/tmp/multipartBody7619618347786947732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282413905,"filename":"image_31012025_01_12_35_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c5ad65318e6ec5ab0a603e84b9a5c5fc.jpg","text":"TemporaryFile(/tmp/multipartBody5615103931285997040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282413905,"filename":"image_31012025_01_12_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/1/31/0896be2c17f99a81006703c0a0fbadf4.jpg","text":"TemporaryFile(/tmp/multipartBody4045235389772231531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282413905,"filename":"image_31012025_01_12_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f103e218c6e961e52be63f1b53dd0ef9.jpg","text":"TemporaryFile(/tmp/multipartBody8082722301560981717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282413905,"filename":"image_31012025_01_12_15_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/69f4974935bd700f512cf3fb928dc0a8.jpg","text":"TemporaryFile(/tmp/multipartBody5474130836827115081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282413905,"filename":"image_31012025_01_11_45_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333153709","file1":"1333153696","file0":"1333153659","file4":"1333153721","file3":"1333153716"},"map_files_photo_id_array":[{"photo_id":"1333153709","filename":"file2"},{"photo_id":"1333153721","filename":"file4"},{"photo_id":"1333153696","filename":"file1"},{"photo_id":"1333153659","filename":"file0"},{"photo_id":"1333153716","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333153716":["hashtag1","hashtag2"]},{"1333153721":["hashtag1","hashtag2"]},{"1333153709":["hashtag1","hashtag2"]},{"1333153696":["hashtag1","hashtag2"]},{"1333153659":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333153716, 1333153721, 1333153709, 1333153696, 1333153659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.546027421951294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:13:32.223434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/12/image_31012025_01_12_55_9393.jpg', '/home/pi/Desktop/images/31012025/01/12/image_31012025_01_13_05_10345.jpg', '/home/pi/Desktop/images/31012025/01/13/image_31012025_01_13_15_9432.jpg', '/home/pi/Desktop/images/31012025/01/13/image_31012025_01_13_25_10370.jpg', '/home/pi/Desktop/images/31012025/01/13/image_31012025_01_13_35_10383.jpg', '/home/pi/Desktop/images/31012025/01/13/image_31012025_01_13_45_9404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/12/image_31012025_01_12_55_9393.jpg
/home/pi/Desktop/images/31012025/01/12/image_31012025_01_13_05_10345.jpg
/home/pi/Desktop/images/31012025/01/13/image_31012025_01_13_15_9432.jpg
/home/pi/Desktop/images/31012025/01/13/image_31012025_01_13_25_10370.jpg
/home/pi/Desktop/images/31012025/01/13/image_31012025_01_13_35_10383.jpg
/home/pi/Desktop/images/31012025/01/13/image_31012025_01_13_45_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":["1333153835","1333153876","1333153857","1333153872","1333153866","1333153851"],"photo_ids_order":["1333153835","1333153851","1333153857","1333153866","1333153872","1333153876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b97dda57db15077f09c63ae1f117dcf8.jpg","text":"TemporaryFile(/tmp/multipartBody8348295217691401501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282473145,"filename":"image_31012025_01_12_55_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e7bde776f8c38b747d00fb21fafddd44.jpg","text":"TemporaryFile(/tmp/multipartBody3840970622350995061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282473145,"filename":"image_31012025_01_13_45_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5deef26e03a092f74bf5cb4753daa531.jpg","text":"TemporaryFile(/tmp/multipartBody8627460543509695375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282473145,"filename":"image_31012025_01_13_15_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cd01d2bf3c6ab309159f366f60f45e97.jpg","text":"TemporaryFile(/tmp/multipartBody8293274874493386909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282473145,"filename":"image_31012025_01_13_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/1/31/f6684b59eaa5bbf003bcb67a7d1613e3.jpg","text":"TemporaryFile(/tmp/multipartBody6514765006989542003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282473145,"filename":"image_31012025_01_13_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/1/31/a5ba35c9b0b828c86def393ebd05dc92.jpg","text":"TemporaryFile(/tmp/multipartBody8655708224193596594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282473145,"filename":"image_31012025_01_13_05_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333153857","file1":"1333153851","file0":"1333153835","file4":"1333153872","file5":"1333153876","file3":"1333153866"},"map_files_photo_id_array":[{"photo_id":"1333153876","filename":"file5"},{"photo_id":"1333153857","filename":"file2"},{"photo_id":"1333153872","filename":"file4"},{"photo_id":"1333153851","filename":"file1"},{"photo_id":"1333153835","filename":"file0"},{"photo_id":"1333153866","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333153835":["hashtag1","hashtag2"]},{"1333153876":["hashtag1","hashtag2"]},{"1333153857":["hashtag1","hashtag2"]},{"1333153872":["hashtag1","hashtag2"]},{"1333153866":["hashtag1","hashtag2"]},{"1333153851":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333153835, 1333153876, 1333153857, 1333153872, 1333153866, 1333153851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.1604061126709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:14:32.510248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/13/image_31012025_01_13_55_10359.jpg', '/home/pi/Desktop/images/31012025/01/13/image_31012025_01_14_06_10366.jpg', '/home/pi/Desktop/images/31012025/01/14/image_31012025_01_14_15_9406.jpg', '/home/pi/Desktop/images/31012025/01/14/image_31012025_01_14_25_10456.jpg', '/home/pi/Desktop/images/31012025/01/14/image_31012025_01_14_35_9479.jpg', '/home/pi/Desktop/images/31012025/01/14/image_31012025_01_14_45_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/13/image_31012025_01_13_55_10359.jpg
/home/pi/Desktop/images/31012025/01/13/image_31012025_01_14_06_10366.jpg
/home/pi/Desktop/images/31012025/01/14/image_31012025_01_14_15_9406.jpg
/home/pi/Desktop/images/31012025/01/14/image_31012025_01_14_25_10456.jpg
/home/pi/Desktop/images/31012025/01/14/image_31012025_01_14_35_9479.jpg
/home/pi/Desktop/images/31012025/01/14/image_31012025_01_14_45_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333153902","1333154063","1333153910","1333154014","1333154055","1333153893"],"photo_ids_order":["1333153893","1333153902","1333153910","1333154014","1333154055","1333154063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4ec93bd94911f64b85b586407350b263.jpg","text":"TemporaryFile(/tmp/multipartBody5645161855360869153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282533440,"filename":"image_31012025_01_14_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/1/31/dfd2b3107a84692b188986a0c5a4f0b0.jpg","text":"TemporaryFile(/tmp/multipartBody7849185282655550505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282533440,"filename":"image_31012025_01_14_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/1/31/dad071a97e79a9fc11e258f8cf2d7ab4.jpg","text":"TemporaryFile(/tmp/multipartBody4750148789193950511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282533440,"filename":"image_31012025_01_14_15_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/15698aa2bd31554fb2b6e2a3b262ea16.jpg","text":"TemporaryFile(/tmp/multipartBody4281423375801966177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282533440,"filename":"image_31012025_01_14_25_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3d00cc672c86f172db9ad6025c7cb102.jpg","text":"TemporaryFile(/tmp/multipartBody5653947991793285460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282533440,"filename":"image_31012025_01_14_35_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/695b286854122b10c552610fa61c6222.jpg","text":"TemporaryFile(/tmp/multipartBody4399590987676669503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282533440,"filename":"image_31012025_01_13_55_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333153910","file1":"1333153902","file0":"1333153893","file4":"1333154055","file5":"1333154063","file3":"1333154014"},"map_files_photo_id_array":[{"photo_id":"1333154063","filename":"file5"},{"photo_id":"1333153910","filename":"file2"},{"photo_id":"1333154055","filename":"file4"},{"photo_id":"1333153902","filename":"file1"},{"photo_id":"1333153893","filename":"file0"},{"photo_id":"1333154014","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333153902":["hashtag1","hashtag2"]},{"1333154063":["hashtag1","hashtag2"]},{"1333153910":["hashtag1","hashtag2"]},{"1333154014":["hashtag1","hashtag2"]},{"1333154055":["hashtag1","hashtag2"]},{"1333153893":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333153902, 1333154063, 1333153910, 1333154014, 1333154055, 1333153893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73145270347595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:15:32.868676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/14/image_31012025_01_14_55_9351.jpg', '/home/pi/Desktop/images/31012025/01/14/image_31012025_01_15_05_10427.jpg', '/home/pi/Desktop/images/31012025/01/15/image_31012025_01_15_15_10353.jpg', '/home/pi/Desktop/images/31012025/01/15/image_31012025_01_15_35_10383.jpg', '/home/pi/Desktop/images/31012025/01/15/image_31012025_01_15_46_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/14/image_31012025_01_14_55_9351.jpg
/home/pi/Desktop/images/31012025/01/14/image_31012025_01_15_05_10427.jpg
/home/pi/Desktop/images/31012025/01/15/image_31012025_01_15_15_10353.jpg
/home/pi/Desktop/images/31012025/01/15/image_31012025_01_15_35_10383.jpg
/home/pi/Desktop/images/31012025/01/15/image_31012025_01_15_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":["1333154168","1333154162","1333154173","1333154215","1333154157"],"photo_ids_order":["1333154157","1333154162","1333154168","1333154173","1333154215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/923f5b1df75fb7571da8cf827049f659.jpg","text":"TemporaryFile(/tmp/multipartBody4476189555821637095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282593774,"filename":"image_31012025_01_15_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/1/31/bb87f5665056cbb5fcff9f11c4a567fa.jpg","text":"TemporaryFile(/tmp/multipartBody1802788936725676831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282593774,"filename":"image_31012025_01_15_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/1/31/454d9d791247114664f9a017bea2311e.jpg","text":"TemporaryFile(/tmp/multipartBody189337800464269923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282593774,"filename":"image_31012025_01_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/1/31/70688e4a422ab8d7f9e3462e61dfd7cb.jpg","text":"TemporaryFile(/tmp/multipartBody7242244434166569694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282593774,"filename":"image_31012025_01_15_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/1/31/3121f1880d4c644946f0317e8d56866f.jpg","text":"TemporaryFile(/tmp/multipartBody1483142314285133096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282593774,"filename":"image_31012025_01_14_55_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333154168","file1":"1333154162","file0":"1333154157","file4":"1333154215","file3":"1333154173"},"map_files_photo_id_array":[{"photo_id":"1333154168","filename":"file2"},{"photo_id":"1333154215","filename":"file4"},{"photo_id":"1333154162","filename":"file1"},{"photo_id":"1333154157","filename":"file0"},{"photo_id":"1333154173","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333154168":["hashtag1","hashtag2"]},{"1333154162":["hashtag1","hashtag2"]},{"1333154173":["hashtag1","hashtag2"]},{"1333154215":["hashtag1","hashtag2"]},{"1333154157":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333154168, 1333154162, 1333154173, 1333154215, 1333154157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 41.995060205459595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:16:32.908478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/15/image_31012025_01_15_55_9355.jpg', '/home/pi/Desktop/images/31012025/01/15/image_31012025_01_16_05_10344.jpg', '/home/pi/Desktop/images/31012025/01/16/image_31012025_01_16_25_10368.jpg', '/home/pi/Desktop/images/31012025/01/16/image_31012025_01_16_36_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/15/image_31012025_01_15_55_9355.jpg
/home/pi/Desktop/images/31012025/01/15/image_31012025_01_16_05_10344.jpg
/home/pi/Desktop/images/31012025/01/16/image_31012025_01_16_25_10368.jpg
/home/pi/Desktop/images/31012025/01/16/image_31012025_01_16_36_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":["1333154297","1333154291","1333154303","1333154283"],"photo_ids_order":["1333154283","1333154291","1333154297","1333154303"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d87b8220545a19165d21e272bac3771e.jpg","text":"TemporaryFile(/tmp/multipartBody2897478450179491330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282653786,"filename":"image_31012025_01_16_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/1/31/4c97aff2816183ec2dc693dd95fec304.jpg","text":"TemporaryFile(/tmp/multipartBody108171174941064116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282653786,"filename":"image_31012025_01_16_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/1/31/8d5a3d862081d8a100d3d13ef20b153a.jpg","text":"TemporaryFile(/tmp/multipartBody8409583115803562873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282653786,"filename":"image_31012025_01_16_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/1/31/0f98ed32ed950357587fb57727ffc74c.jpg","text":"TemporaryFile(/tmp/multipartBody8597375586255352973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282653786,"filename":"image_31012025_01_15_55_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333154297","file1":"1333154291","file0":"1333154283","file3":"1333154303"},"map_files_photo_id_array":[{"photo_id":"1333154297","filename":"file2"},{"photo_id":"1333154291","filename":"file1"},{"photo_id":"1333154283","filename":"file0"},{"photo_id":"1333154303","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333154297":["hashtag1","hashtag2"]},{"1333154291":["hashtag1","hashtag2"]},{"1333154303":["hashtag1","hashtag2"]},{"1333154283":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333154297, 1333154291, 1333154303, 1333154283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.629975080490112 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:17:32.340753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/16/image_31012025_01_16_45_9425.jpg', '/home/pi/Desktop/images/31012025/01/17/image_31012025_01_17_26_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/16/image_31012025_01_16_45_9425.jpg
/home/pi/Desktop/images/31012025/01/17/image_31012025_01_17_26_10350.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333154339","1333154331"],"photo_ids_order":["1333154331","1333154339"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e4654ac4eac4013faefb0152c68222c0.jpg","text":"TemporaryFile(/tmp/multipartBody6503570240494910070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282713189,"filename":"image_31012025_01_17_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/1/31/121e6911009715d53d5ccaecdd3526b6.jpg","text":"TemporaryFile(/tmp/multipartBody2339760046159040007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282713189,"filename":"image_31012025_01_16_45_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1333154339","file0":"1333154331"},"map_files_photo_id_array":[{"photo_id":"1333154339","filename":"file1"},{"photo_id":"1333154331","filename":"file0"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333154339":["hashtag1","hashtag2"]},{"1333154331":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333154339, 1333154331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.45918869972229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:17:52.305634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/21/55/image_28012025_21_55_15_10412.jpg', '/home/pi/Desktop/images/28012025/21/55/image_28012025_21_55_25_9366.jpg', '/home/pi/Desktop/images/28012025/21/55/image_28012025_21_55_35_10357.jpg', '/home/pi/Desktop/images/28012025/21/55/image_28012025_21_55_45_10429.jpg', '/home/pi/Desktop/images/28012025/21/55/image_28012025_21_55_55_9350.jpg', '/home/pi/Desktop/images/28012025/21/55/image_28012025_21_56_05_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/55/image_28012025_21_55_15_10412.jpg
/home/pi/Desktop/images/28012025/21/55/image_28012025_21_55_25_9366.jpg
/home/pi/Desktop/images/28012025/21/55/image_28012025_21_55_35_10357.jpg
/home/pi/Desktop/images/28012025/21/55/image_28012025_21_55_45_10429.jpg
/home/pi/Desktop/images/28012025/21/55/image_28012025_21_55_55_9350.jpg
/home/pi/Desktop/images/28012025/21/55/image_28012025_21_56_05_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":["1333154357","1333154522","1333154351","1333154893","1333154353","1333154728"],"photo_ids_order":["1333154351","1333154353","1333154357","1333154522","1333154728","1333154893"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a2f65a68bca1a9c003bb6aa0d3c79204.jpg","text":"TemporaryFile(/tmp/multipartBody3153044524999404091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282734680,"filename":"image_28012025_21_55_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/1/31/f99ce0e71fb055832d45dfc858737ccb.jpg","text":"TemporaryFile(/tmp/multipartBody8321971249498975028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282734680,"filename":"image_28012025_21_55_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/1/31/99d226ff7cc8395656b3b5b3995ffb5c.jpg","text":"TemporaryFile(/tmp/multipartBody5159980172097041469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282734680,"filename":"image_28012025_21_55_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/1/31/da41173d6f7c93c01ae60b6f0271046d.jpg","text":"TemporaryFile(/tmp/multipartBody6559907270129990778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282734680,"filename":"image_28012025_21_56_05_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2407ca3e5382ffec20531c14225c2770.jpg","text":"TemporaryFile(/tmp/multipartBody3095906895820659137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282734680,"filename":"image_28012025_21_55_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/1/31/c2fe2160aa0ec4205069ad8186d0a762.jpg","text":"TemporaryFile(/tmp/multipartBody8527766088763297585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282734680,"filename":"image_28012025_21_55_55_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333154357","file1":"1333154353","file0":"1333154351","file4":"1333154728","file5":"1333154893","file3":"1333154522"},"map_files_photo_id_array":[{"photo_id":"1333154893","filename":"file5"},{"photo_id":"1333154357","filename":"file2"},{"photo_id":"1333154728","filename":"file4"},{"photo_id":"1333154353","filename":"file1"},{"photo_id":"1333154351","filename":"file0"},{"photo_id":"1333154522","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333154357":["hashtag1","hashtag2"]},{"1333154522":["hashtag1","hashtag2"]},{"1333154351":["hashtag1","hashtag2"]},{"1333154893":["hashtag1","hashtag2"]},{"1333154353":["hashtag1","hashtag2"]},{"1333154728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333154357, 1333154522, 1333154351, 1333154893, 1333154353, 1333154728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.977593183517456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 01:18:42.572759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/17/image_31012025_01_17_35_9409.jpg', '/home/pi/Desktop/images/31012025/01/17/image_31012025_01_18_05_9437.jpg', '/home/pi/Desktop/images/31012025/01/18/image_31012025_01_18_15_10339.jpg', '/home/pi/Desktop/images/31012025/01/18/image_31012025_01_18_25_9409.jpg', '/home/pi/Desktop/images/31012025/01/18/image_31012025_01_18_35_10409.jpg', '/home/pi/Desktop/images/31012025/01/18/image_31012025_01_18_46_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/17/image_31012025_01_17_35_9409.jpg
/home/pi/Desktop/images/31012025/01/17/image_31012025_01_18_05_9437.jpg
/home/pi/Desktop/images/31012025/01/18/image_31012025_01_18_15_10339.jpg
/home/pi/Desktop/images/31012025/01/18/image_31012025_01_18_25_9409.jpg
/home/pi/Desktop/images/31012025/01/18/image_31012025_01_18_35_10409.jpg
/home/pi/Desktop/images/31012025/01/18/image_31012025_01_18_46_10362.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":["1333155047","1333155079","1333155192","1333155051","1333155075","1333155056"],"photo_ids_order":["1333155047","1333155051","1333155056","1333155075","1333155079","1333155192"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c92ff2e22f987566b47e7ecdf9037559.jpg","text":"TemporaryFile(/tmp/multipartBody139491613137594210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282783499,"filename":"image_31012025_01_17_35_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3afbaf28bb2ba376f294ecd2a4535132.jpg","text":"TemporaryFile(/tmp/multipartBody4170332404725978128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282783499,"filename":"image_31012025_01_18_35_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/17c196da0e557cf147310ab307d2a9a2.jpg","text":"TemporaryFile(/tmp/multipartBody4295538120524356743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282783499,"filename":"image_31012025_01_18_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/1/31/03baf1cb2bb6c9b60e281e6f15167d17.jpg","text":"TemporaryFile(/tmp/multipartBody100015114724628912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282783499,"filename":"image_31012025_01_18_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/1/31/5a2230158bd653ac14f33c7884d4569f.jpg","text":"TemporaryFile(/tmp/multipartBody8586657572862926525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282783499,"filename":"image_31012025_01_18_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/1/31/5e306ad3f60c30bdf0e0ac476b947a9a.jpg","text":"TemporaryFile(/tmp/multipartBody6544700405134153313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282783499,"filename":"image_31012025_01_18_15_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333155056","file1":"1333155051","file0":"1333155047","file4":"1333155079","file5":"1333155192","file3":"1333155075"},"map_files_photo_id_array":[{"photo_id":"1333155192","filename":"file5"},{"photo_id":"1333155056","filename":"file2"},{"photo_id":"1333155079","filename":"file4"},{"photo_id":"1333155051","filename":"file1"},{"photo_id":"1333155047","filename":"file0"},{"photo_id":"1333155075","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333155047":["hashtag1","hashtag2"]},{"1333155079":["hashtag1","hashtag2"]},{"1333155192":["hashtag1","hashtag2"]},{"1333155051":["hashtag1","hashtag2"]},{"1333155075":["hashtag1","hashtag2"]},{"1333155056":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333155047, 1333155079, 1333155192, 1333155051, 1333155075, 1333155056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85280394554138 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:19:32.632412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/18/image_31012025_01_18_55_9335.jpg', '/home/pi/Desktop/images/31012025/01/18/image_31012025_01_19_05_10341.jpg', '/home/pi/Desktop/images/31012025/01/19/image_31012025_01_19_25_9343.jpg', '/home/pi/Desktop/images/31012025/01/19/image_31012025_01_19_35_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/18/image_31012025_01_18_55_9335.jpg
/home/pi/Desktop/images/31012025/01/18/image_31012025_01_19_05_10341.jpg
/home/pi/Desktop/images/31012025/01/19/image_31012025_01_19_25_9343.jpg
/home/pi/Desktop/images/31012025/01/19/image_31012025_01_19_35_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":["1333155463","1333155456","1333155470","1333155467"],"photo_ids_order":["1333155456","1333155463","1333155467","1333155470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3f797ef15aa57017dca052a249a927f6.jpg","text":"TemporaryFile(/tmp/multipartBody5491167648563912129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282833513,"filename":"image_31012025_01_19_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/1/31/8d3ee1540952a0e785aab1142bf2361c.jpg","text":"TemporaryFile(/tmp/multipartBody8072857936995673229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282833513,"filename":"image_31012025_01_18_55_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5f9d44a3849e67e5fb2b5282a499fa76.jpg","text":"TemporaryFile(/tmp/multipartBody3766327551022745470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282833513,"filename":"image_31012025_01_19_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/1/31/9573a4e0cf5df23daf8aa4f22a5a7fc7.jpg","text":"TemporaryFile(/tmp/multipartBody2318170501345619105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282833513,"filename":"image_31012025_01_19_25_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333155467","file1":"1333155463","file0":"1333155456","file3":"1333155470"},"map_files_photo_id_array":[{"photo_id":"1333155467","filename":"file2"},{"photo_id":"1333155463","filename":"file1"},{"photo_id":"1333155456","filename":"file0"},{"photo_id":"1333155470","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333155463":["hashtag1","hashtag2"]},{"1333155456":["hashtag1","hashtag2"]},{"1333155470":["hashtag1","hashtag2"]},{"1333155467":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333155463, 1333155456, 1333155470, 1333155467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.093950510025024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 01:20:03.693474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/21/56/image_28012025_21_56_15_9402.jpg', '/home/pi/Desktop/images/28012025/21/56/image_28012025_21_56_25_10406.jpg', '/home/pi/Desktop/images/28012025/21/56/image_28012025_21_56_55_10420.jpg', '/home/pi/Desktop/images/28012025/21/56/image_28012025_21_57_06_10336.jpg', '/home/pi/Desktop/images/28012025/21/57/image_28012025_21_57_15_9333.jpg', '/home/pi/Desktop/images/28012025/21/57/image_28012025_21_57_25_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/56/image_28012025_21_56_15_9402.jpg
/home/pi/Desktop/images/28012025/21/56/image_28012025_21_56_25_10406.jpg
/home/pi/Desktop/images/28012025/21/56/image_28012025_21_56_55_10420.jpg
/home/pi/Desktop/images/28012025/21/56/image_28012025_21_57_06_10336.jpg
/home/pi/Desktop/images/28012025/21/57/image_28012025_21_57_15_9333.jpg
/home/pi/Desktop/images/28012025/21/57/image_28012025_21_57_25_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.1960041522979736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:20:32.904865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/19/image_31012025_01_19_55_10384.jpg', '/home/pi/Desktop/images/31012025/01/19/image_31012025_01_20_06_10353.jpg', '/home/pi/Desktop/images/31012025/01/20/image_31012025_01_20_15_9336.jpg', '/home/pi/Desktop/images/31012025/01/20/image_31012025_01_20_25_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/19/image_31012025_01_19_55_10384.jpg
/home/pi/Desktop/images/31012025/01/19/image_31012025_01_20_06_10353.jpg
/home/pi/Desktop/images/31012025/01/20/image_31012025_01_20_15_9336.jpg
/home/pi/Desktop/images/31012025/01/20/image_31012025_01_20_25_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":["1333155512","1333155502","1333155510","1333155507"],"photo_ids_order":["1333155502","1333155507","1333155510","1333155512"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/930046f6e68255c1547b6942f40e1f5c.jpg","text":"TemporaryFile(/tmp/multipartBody7406202295795191288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282893782,"filename":"image_31012025_01_20_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/1/31/8ecdda49d6005dc152a0135561fe037c.jpg","text":"TemporaryFile(/tmp/multipartBody9033668570506609472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282893782,"filename":"image_31012025_01_19_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/1/31/3ebd8718f31d33a0a75f5cfe3ffb35ec.jpg","text":"TemporaryFile(/tmp/multipartBody117815048995272194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282893782,"filename":"image_31012025_01_20_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/1/31/74286dfe881989c28f55a26aac6a1a74.jpg","text":"TemporaryFile(/tmp/multipartBody3944857783621610480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282893782,"filename":"image_31012025_01_20_06_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333155510","file1":"1333155507","file0":"1333155502","file3":"1333155512"},"map_files_photo_id_array":[{"photo_id":"1333155510","filename":"file2"},{"photo_id":"1333155507","filename":"file1"},{"photo_id":"1333155502","filename":"file0"},{"photo_id":"1333155512","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333155512":["hashtag1","hashtag2"]},{"1333155502":["hashtag1","hashtag2"]},{"1333155510":["hashtag1","hashtag2"]},{"1333155507":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333155512, 1333155502, 1333155510, 1333155507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.829436779022217 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 01:21:03.551467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/21/56/image_28012025_21_56_15_9402.jpg', '/home/pi/Desktop/images/28012025/21/56/image_28012025_21_56_25_10406.jpg', '/home/pi/Desktop/images/28012025/21/56/image_28012025_21_56_55_10420.jpg', '/home/pi/Desktop/images/28012025/21/56/image_28012025_21_57_06_10336.jpg', '/home/pi/Desktop/images/28012025/21/57/image_28012025_21_57_15_9333.jpg', '/home/pi/Desktop/images/28012025/21/57/image_28012025_21_57_25_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/56/image_28012025_21_56_15_9402.jpg
/home/pi/Desktop/images/28012025/21/56/image_28012025_21_56_25_10406.jpg
/home/pi/Desktop/images/28012025/21/56/image_28012025_21_56_55_10420.jpg
/home/pi/Desktop/images/28012025/21/56/image_28012025_21_57_06_10336.jpg
/home/pi/Desktop/images/28012025/21/57/image_28012025_21_57_15_9333.jpg
/home/pi/Desktop/images/28012025/21/57/image_28012025_21_57_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":["1333155538","1333155520","1333155552","1333155525","1333155545","1333155533"],"photo_ids_order":["1333155520","1333155525","1333155533","1333155538","1333155545","1333155552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bbacbd79433cc4e56fe2a1a427d3c0ce.jpg","text":"TemporaryFile(/tmp/multipartBody6891490374174480519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282925308,"filename":"image_28012025_21_57_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/1/31/1b539bdf34e49d040976abc2b7ae4f14.jpg","text":"TemporaryFile(/tmp/multipartBody5059511122581707252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282925308,"filename":"image_28012025_21_56_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/1/31/7415dd760a05dc9ac8cb78464ce49851.jpg","text":"TemporaryFile(/tmp/multipartBody4661131811218665461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282925308,"filename":"image_28012025_21_57_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/1/31/f558693404c7d76aefbae43e575215e8.jpg","text":"TemporaryFile(/tmp/multipartBody637960027402406525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282925308,"filename":"image_28012025_21_56_25_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/672ca44fc38fec2fd29a84ad26b6a988.jpg","text":"TemporaryFile(/tmp/multipartBody719015013284641155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282925308,"filename":"image_28012025_21_57_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/1/31/d0e3537c6e97d91d2297a49ef02f942b.jpg","text":"TemporaryFile(/tmp/multipartBody1843393462908220707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282925308,"filename":"image_28012025_21_56_55_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333155533","file1":"1333155525","file0":"1333155520","file4":"1333155545","file5":"1333155552","file3":"1333155538"},"map_files_photo_id_array":[{"photo_id":"1333155552","filename":"file5"},{"photo_id":"1333155533","filename":"file2"},{"photo_id":"1333155545","filename":"file4"},{"photo_id":"1333155525","filename":"file1"},{"photo_id":"1333155520","filename":"file0"},{"photo_id":"1333155538","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333155538":["hashtag1","hashtag2"]},{"1333155520":["hashtag1","hashtag2"]},{"1333155552":["hashtag1","hashtag2"]},{"1333155525":["hashtag1","hashtag2"]},{"1333155545":["hashtag1","hashtag2"]},{"1333155533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333155538, 1333155520, 1333155552, 1333155525, 1333155545, 1333155533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.09125590324402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:21:52.180018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/20/image_31012025_01_20_45_9334.jpg', '/home/pi/Desktop/images/31012025/01/20/image_31012025_01_21_05_9493.jpg', '/home/pi/Desktop/images/31012025/01/21/image_31012025_01_21_45_10470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/20/image_31012025_01_20_45_9334.jpg
/home/pi/Desktop/images/31012025/01/20/image_31012025_01_21_05_9493.jpg
/home/pi/Desktop/images/31012025/01/21/image_31012025_01_21_45_10470.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333155564","1333155572","1333155569"],"photo_ids_order":["1333155564","1333155569","1333155572"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0d80786d9486048e04f97025188f93bb.jpg","text":"TemporaryFile(/tmp/multipartBody3339302956560002346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282973051,"filename":"image_31012025_01_20_45_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/33780642dba664953c854e6b64bef086.jpg","text":"TemporaryFile(/tmp/multipartBody5923220801691236242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282973051,"filename":"image_31012025_01_21_45_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/626cafddc71af9498b8aa224bd8a4d34.jpg","text":"TemporaryFile(/tmp/multipartBody39685014626576387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738282973051,"filename":"image_31012025_01_21_05_9493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333155572","file1":"1333155569","file0":"1333155564"},"map_files_photo_id_array":[{"photo_id":"1333155572","filename":"file2"},{"photo_id":"1333155569","filename":"file1"},{"photo_id":"1333155564","filename":"file0"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333155564":["hashtag1","hashtag2"]},{"1333155572":["hashtag1","hashtag2"]},{"1333155569":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333155564, 1333155572, 1333155569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.669997930526733 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:22:32.465413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/21/image_31012025_01_21_55_9424.jpg', '/home/pi/Desktop/images/31012025/01/21/image_31012025_01_22_05_10403.jpg', '/home/pi/Desktop/images/31012025/01/22/image_31012025_01_22_16_10378.jpg', '/home/pi/Desktop/images/31012025/01/22/image_31012025_01_22_25_9414.jpg', '/home/pi/Desktop/images/31012025/01/22/image_31012025_01_22_45_9479.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/21/image_31012025_01_21_55_9424.jpg
/home/pi/Desktop/images/31012025/01/21/image_31012025_01_22_05_10403.jpg
/home/pi/Desktop/images/31012025/01/22/image_31012025_01_22_16_10378.jpg
/home/pi/Desktop/images/31012025/01/22/image_31012025_01_22_25_9414.jpg
/home/pi/Desktop/images/31012025/01/22/image_31012025_01_22_45_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5117030143737793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 01:22:42.425985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/21/image_31012025_01_21_55_9424.jpg', '/home/pi/Desktop/images/31012025/01/21/image_31012025_01_22_05_10403.jpg', '/home/pi/Desktop/images/31012025/01/22/image_31012025_01_22_16_10378.jpg', '/home/pi/Desktop/images/31012025/01/22/image_31012025_01_22_25_9414.jpg', '/home/pi/Desktop/images/31012025/01/22/image_31012025_01_22_45_9479.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/21/image_31012025_01_21_55_9424.jpg
/home/pi/Desktop/images/31012025/01/21/image_31012025_01_22_05_10403.jpg
/home/pi/Desktop/images/31012025/01/22/image_31012025_01_22_16_10378.jpg
/home/pi/Desktop/images/31012025/01/22/image_31012025_01_22_25_9414.jpg
/home/pi/Desktop/images/31012025/01/22/image_31012025_01_22_45_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":["1333155616","1333155618","1333155612","1333155606","1333155677"],"photo_ids_order":["1333155606","1333155612","1333155616","1333155618","1333155677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/40f49455bb9fab25f5c4f3ee22f14557.jpg","text":"TemporaryFile(/tmp/multipartBody7434134967628779870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283023330,"filename":"image_31012025_01_22_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/1/31/2abedf560c8c5c08427e92d73189febb.jpg","text":"TemporaryFile(/tmp/multipartBody68978793350490261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283023330,"filename":"image_31012025_01_22_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/1/31/2069266610ed47bb13aefa19d776b26f.jpg","text":"TemporaryFile(/tmp/multipartBody2476296900410527816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283023330,"filename":"image_31012025_01_22_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/1/31/1af7a7d7715ebd6795a3d1b03b7000ce.jpg","text":"TemporaryFile(/tmp/multipartBody3537922014962562650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283023330,"filename":"image_31012025_01_21_55_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7143424c674a4b8270d7c5e9ac9b39c5.jpg","text":"TemporaryFile(/tmp/multipartBody6946839900090765212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283023330,"filename":"image_31012025_01_22_45_9479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333155616","file1":"1333155612","file0":"1333155606","file4":"1333155677","file3":"1333155618"},"map_files_photo_id_array":[{"photo_id":"1333155616","filename":"file2"},{"photo_id":"1333155677","filename":"file4"},{"photo_id":"1333155612","filename":"file1"},{"photo_id":"1333155606","filename":"file0"},{"photo_id":"1333155618","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333155616":["hashtag1","hashtag2"]},{"1333155618":["hashtag1","hashtag2"]},{"1333155612":["hashtag1","hashtag2"]},{"1333155606":["hashtag1","hashtag2"]},{"1333155677":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333155616, 1333155618, 1333155612, 1333155606, 1333155677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.86841416358948 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:23:32.613883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/22/image_31012025_01_22_55_10338.jpg', '/home/pi/Desktop/images/31012025/01/22/image_31012025_01_23_06_10335.jpg', '/home/pi/Desktop/images/31012025/01/23/image_31012025_01_23_15_9353.jpg', '/home/pi/Desktop/images/31012025/01/23/image_31012025_01_23_25_10367.jpg', '/home/pi/Desktop/images/31012025/01/23/image_31012025_01_23_35_9368.jpg', '/home/pi/Desktop/images/31012025/01/23/image_31012025_01_23_45_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/22/image_31012025_01_22_55_10338.jpg
/home/pi/Desktop/images/31012025/01/22/image_31012025_01_23_06_10335.jpg
/home/pi/Desktop/images/31012025/01/23/image_31012025_01_23_15_9353.jpg
/home/pi/Desktop/images/31012025/01/23/image_31012025_01_23_25_10367.jpg
/home/pi/Desktop/images/31012025/01/23/image_31012025_01_23_35_9368.jpg
/home/pi/Desktop/images/31012025/01/23/image_31012025_01_23_45_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333156273","1333156432","1333156141","1333156347","1333156617","1333156209"],"photo_ids_order":["1333156141","1333156209","1333156273","1333156347","1333156432","1333156617"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9f708aa33d2d2e8b5bc50088a24c5f51.jpg","text":"TemporaryFile(/tmp/multipartBody7511376766269907345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283073569,"filename":"image_31012025_01_23_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/1/31/099620073f20d2b3e67dcb1264a912f2.jpg","text":"TemporaryFile(/tmp/multipartBody4228422694111406706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283073569,"filename":"image_31012025_01_23_35_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5cd63276375c57b1bc0a5874a1d188ad.jpg","text":"TemporaryFile(/tmp/multipartBody6731754911351762949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283073569,"filename":"image_31012025_01_22_55_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/76ad678bffad4d4accd283a84b0276dd.jpg","text":"TemporaryFile(/tmp/multipartBody8264849633291163246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283073569,"filename":"image_31012025_01_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/1/31/19e6254adcccdc769d97ffe1857c56ed.jpg","text":"TemporaryFile(/tmp/multipartBody4418791973989277595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283073569,"filename":"image_31012025_01_23_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/1/31/eb9a46f88d779e02f9b3571bae6c1411.jpg","text":"TemporaryFile(/tmp/multipartBody7759260128403534219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283073569,"filename":"image_31012025_01_23_06_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333156273","file1":"1333156209","file0":"1333156141","file4":"1333156432","file5":"1333156617","file3":"1333156347"},"map_files_photo_id_array":[{"photo_id":"1333156617","filename":"file5"},{"photo_id":"1333156273","filename":"file2"},{"photo_id":"1333156432","filename":"file4"},{"photo_id":"1333156209","filename":"file1"},{"photo_id":"1333156141","filename":"file0"},{"photo_id":"1333156347","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333156273":["hashtag1","hashtag2"]},{"1333156432":["hashtag1","hashtag2"]},{"1333156141":["hashtag1","hashtag2"]},{"1333156347":["hashtag1","hashtag2"]},{"1333156617":["hashtag1","hashtag2"]},{"1333156209":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333156273, 1333156432, 1333156141, 1333156347, 1333156617, 1333156209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.694859981536865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:24:33.110277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/23/image_31012025_01_23_55_10345.jpg', '/home/pi/Desktop/images/31012025/01/23/image_31012025_01_24_05_9410.jpg', '/home/pi/Desktop/images/31012025/01/24/image_31012025_01_24_15_10403.jpg', '/home/pi/Desktop/images/31012025/01/24/image_31012025_01_24_26_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/23/image_31012025_01_23_55_10345.jpg
/home/pi/Desktop/images/31012025/01/23/image_31012025_01_24_05_9410.jpg
/home/pi/Desktop/images/31012025/01/24/image_31012025_01_24_15_10403.jpg
/home/pi/Desktop/images/31012025/01/24/image_31012025_01_24_26_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":["1333157088","1333157118","1333157106","1333157057"],"photo_ids_order":["1333157057","1333157088","1333157106","1333157118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/eaeae3e39cf17c8e7d44997f518e63fe.jpg","text":"TemporaryFile(/tmp/multipartBody5462151577801804126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283134003,"filename":"image_31012025_01_24_05_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/22e19e6125598e0fef016f91b910d81e.jpg","text":"TemporaryFile(/tmp/multipartBody1226701688762204206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283134003,"filename":"image_31012025_01_24_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/1/31/b9a14d9f6031ed6ab783eec338b49f26.jpg","text":"TemporaryFile(/tmp/multipartBody7258890800537288665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283134003,"filename":"image_31012025_01_24_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/1/31/894b494d9b9383026ecd8f64a412a23f.jpg","text":"TemporaryFile(/tmp/multipartBody2807436766474135597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283134003,"filename":"image_31012025_01_23_55_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333157106","file1":"1333157088","file0":"1333157057","file3":"1333157118"},"map_files_photo_id_array":[{"photo_id":"1333157106","filename":"file2"},{"photo_id":"1333157088","filename":"file1"},{"photo_id":"1333157057","filename":"file0"},{"photo_id":"1333157118","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333157088":["hashtag1","hashtag2"]},{"1333157118":["hashtag1","hashtag2"]},{"1333157106":["hashtag1","hashtag2"]},{"1333157057":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333157088, 1333157118, 1333157106, 1333157057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.98002815246582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:25:32.369524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/24/image_31012025_01_24_35_9351.jpg', '/home/pi/Desktop/images/31012025/01/24/image_31012025_01_25_05_10423.jpg', '/home/pi/Desktop/images/31012025/01/25/image_31012025_01_25_15_10345.jpg', '/home/pi/Desktop/images/31012025/01/25/image_31012025_01_25_35_10387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/24/image_31012025_01_24_35_9351.jpg
/home/pi/Desktop/images/31012025/01/24/image_31012025_01_25_05_10423.jpg
/home/pi/Desktop/images/31012025/01/25/image_31012025_01_25_15_10345.jpg
/home/pi/Desktop/images/31012025/01/25/image_31012025_01_25_35_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":["1333157187","1333157181","1333157231","1333157173"],"photo_ids_order":["1333157173","1333157181","1333157187","1333157231"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4f5953b0cddc1bdc64e9d7594e622dc1.jpg","text":"TemporaryFile(/tmp/multipartBody4865776976576522573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283193255,"filename":"image_31012025_01_25_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/1/31/1e59d30057109ddae937affa2a7ecb76.jpg","text":"TemporaryFile(/tmp/multipartBody8488245670484597164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283193255,"filename":"image_31012025_01_25_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/1/31/f3a9dfb088574278bec0faa95bef2fde.jpg","text":"TemporaryFile(/tmp/multipartBody4364605648844541258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283193255,"filename":"image_31012025_01_25_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/1/31/5fbac107689557626ac2877efddde2f7.jpg","text":"TemporaryFile(/tmp/multipartBody4196600801307271978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283193255,"filename":"image_31012025_01_24_35_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333157187","file1":"1333157181","file0":"1333157173","file3":"1333157231"},"map_files_photo_id_array":[{"photo_id":"1333157187","filename":"file2"},{"photo_id":"1333157181","filename":"file1"},{"photo_id":"1333157173","filename":"file0"},{"photo_id":"1333157231","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333157187":["hashtag1","hashtag2"]},{"1333157181":["hashtag1","hashtag2"]},{"1333157231":["hashtag1","hashtag2"]},{"1333157173":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333157187, 1333157181, 1333157231, 1333157173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.636731147766113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 01:26:03.435284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/21/57/image_28012025_21_57_45_10539.jpg', '/home/pi/Desktop/images/28012025/21/57/image_28012025_21_57_55_9425.jpg', '/home/pi/Desktop/images/28012025/21/57/image_28012025_21_58_05_10351.jpg', '/home/pi/Desktop/images/28012025/21/58/image_28012025_21_58_15_10329.jpg', '/home/pi/Desktop/images/28012025/21/58/image_28012025_21_58_25_9355.jpg', '/home/pi/Desktop/images/28012025/21/58/image_28012025_21_58_46_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/57/image_28012025_21_57_45_10539.jpg
/home/pi/Desktop/images/28012025/21/57/image_28012025_21_57_55_9425.jpg
/home/pi/Desktop/images/28012025/21/57/image_28012025_21_58_05_10351.jpg
/home/pi/Desktop/images/28012025/21/58/image_28012025_21_58_15_10329.jpg
/home/pi/Desktop/images/28012025/21/58/image_28012025_21_58_25_9355.jpg
/home/pi/Desktop/images/28012025/21/58/image_28012025_21_58_46_10418.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":["1333157379","1333157370","1333157384","1333157324","1333157318","1333157329"],"photo_ids_order":["1333157318","1333157324","1333157329","1333157370","1333157379","1333157384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0f7c59c389c9c07c634a31a4c66380a7.jpg","text":"TemporaryFile(/tmp/multipartBody6490462345658545251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283225076,"filename":"image_28012025_21_58_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/1/31/c17e5a5fd7fd5f9991cc6ad36a1703aa.jpg","text":"TemporaryFile(/tmp/multipartBody6676357398809666912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283225076,"filename":"image_28012025_21_58_15_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a781f1ae937d8f944b2ccde2c3da4ac1.jpg","text":"TemporaryFile(/tmp/multipartBody5742278409893293076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283225076,"filename":"image_28012025_21_58_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/1/31/24e4b06e34ec0a58b76e974435ac41f6.jpg","text":"TemporaryFile(/tmp/multipartBody4403711067696288726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283225076,"filename":"image_28012025_21_57_55_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/900a952ca04ceaf50df3b4661fde6455.jpg","text":"TemporaryFile(/tmp/multipartBody7772759500960572399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283225076,"filename":"image_28012025_21_57_45_10539.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f20913a96a750978ae97c8a8a2f18ad9.jpg","text":"TemporaryFile(/tmp/multipartBody4863098333352310014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283225076,"filename":"image_28012025_21_58_05_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333157329","file1":"1333157324","file0":"1333157318","file4":"1333157379","file5":"1333157384","file3":"1333157370"},"map_files_photo_id_array":[{"photo_id":"1333157384","filename":"file5"},{"photo_id":"1333157329","filename":"file2"},{"photo_id":"1333157379","filename":"file4"},{"photo_id":"1333157324","filename":"file1"},{"photo_id":"1333157318","filename":"file0"},{"photo_id":"1333157370","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333157379":["hashtag1","hashtag2"]},{"1333157370":["hashtag1","hashtag2"]},{"1333157384":["hashtag1","hashtag2"]},{"1333157324":["hashtag1","hashtag2"]},{"1333157318":["hashtag1","hashtag2"]},{"1333157329":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333157379, 1333157370, 1333157384, 1333157324, 1333157318, 1333157329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.31612801551819 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:26:52.611551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/25/image_31012025_01_25_55_9490.jpg', '/home/pi/Desktop/images/31012025/01/25/image_31012025_01_26_05_10374.jpg', '/home/pi/Desktop/images/31012025/01/26/image_31012025_01_26_15_9366.jpg', '/home/pi/Desktop/images/31012025/01/26/image_31012025_01_26_25_10354.jpg', '/home/pi/Desktop/images/31012025/01/26/image_31012025_01_26_36_10362.jpg', '/home/pi/Desktop/images/31012025/01/26/image_31012025_01_26_45_9387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/25/image_31012025_01_25_55_9490.jpg
/home/pi/Desktop/images/31012025/01/25/image_31012025_01_26_05_10374.jpg
/home/pi/Desktop/images/31012025/01/26/image_31012025_01_26_15_9366.jpg
/home/pi/Desktop/images/31012025/01/26/image_31012025_01_26_25_10354.jpg
/home/pi/Desktop/images/31012025/01/26/image_31012025_01_26_36_10362.jpg
/home/pi/Desktop/images/31012025/01/26/image_31012025_01_26_45_9387.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333157422","1333157425","1333157442","1333157438","1333157446","1333157434"],"photo_ids_order":["1333157422","1333157425","1333157434","1333157438","1333157442","1333157446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4a536f224c43da81ee3f830e100620ee.jpg","text":"TemporaryFile(/tmp/multipartBody6548152157561004854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283273525,"filename":"image_31012025_01_25_55_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e1f16f7e033c3d7937f33f3a443dce9c.jpg","text":"TemporaryFile(/tmp/multipartBody1772966972723338176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283273525,"filename":"image_31012025_01_26_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/1/31/f94dc2cd663431744a7203cf55b5c4fc.jpg","text":"TemporaryFile(/tmp/multipartBody557868695970566999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283273525,"filename":"image_31012025_01_26_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/1/31/18c97e988039be3035d4d36b626e0d50.jpg","text":"TemporaryFile(/tmp/multipartBody8972982212066846866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283273525,"filename":"image_31012025_01_26_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/1/31/51ccca8f050be8b30b92bb6a7a6318da.jpg","text":"TemporaryFile(/tmp/multipartBody6541585077670861611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283273525,"filename":"image_31012025_01_26_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/1/31/319858602a05dd7200cba96a17afc353.jpg","text":"TemporaryFile(/tmp/multipartBody1955303299524785877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283273525,"filename":"image_31012025_01_26_15_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333157434","file1":"1333157425","file0":"1333157422","file4":"1333157442","file5":"1333157446","file3":"1333157438"},"map_files_photo_id_array":[{"photo_id":"1333157446","filename":"file5"},{"photo_id":"1333157434","filename":"file2"},{"photo_id":"1333157442","filename":"file4"},{"photo_id":"1333157425","filename":"file1"},{"photo_id":"1333157422","filename":"file0"},{"photo_id":"1333157438","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333157422":["hashtag1","hashtag2"]},{"1333157425":["hashtag1","hashtag2"]},{"1333157442":["hashtag1","hashtag2"]},{"1333157438":["hashtag1","hashtag2"]},{"1333157446":["hashtag1","hashtag2"]},{"1333157434":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333157422, 1333157425, 1333157442, 1333157438, 1333157446, 1333157434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91553354263306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:27:32.803395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/26/image_31012025_01_26_55_10354.jpg', '/home/pi/Desktop/images/31012025/01/26/image_31012025_01_27_06_10346.jpg', '/home/pi/Desktop/images/31012025/01/27/image_31012025_01_27_15_9339.jpg', '/home/pi/Desktop/images/31012025/01/27/image_31012025_01_27_25_10361.jpg', '/home/pi/Desktop/images/31012025/01/27/image_31012025_01_27_35_9427.jpg', '/home/pi/Desktop/images/31012025/01/27/image_31012025_01_27_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/26/image_31012025_01_26_55_10354.jpg
/home/pi/Desktop/images/31012025/01/26/image_31012025_01_27_06_10346.jpg
/home/pi/Desktop/images/31012025/01/27/image_31012025_01_27_15_9339.jpg
/home/pi/Desktop/images/31012025/01/27/image_31012025_01_27_25_10361.jpg
/home/pi/Desktop/images/31012025/01/27/image_31012025_01_27_35_9427.jpg
/home/pi/Desktop/images/31012025/01/27/image_31012025_01_27_45_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":["1333157475","1333157478","1333157466","1333157471","1333157477","1333157461"],"photo_ids_order":["1333157461","1333157466","1333157471","1333157475","1333157477","1333157478"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/40ac1e4a025337383fd495f6e8bf2f75.jpg","text":"TemporaryFile(/tmp/multipartBody314467473027260096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283313733,"filename":"image_31012025_01_27_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/1/31/0dab30f6d3480a153dc44342710b1a69.jpg","text":"TemporaryFile(/tmp/multipartBody84624993477083342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283313733,"filename":"image_31012025_01_27_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/1/31/81cfdad6e86842c4e86ca753fa03e1e0.jpg","text":"TemporaryFile(/tmp/multipartBody8928652633691197537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283313733,"filename":"image_31012025_01_27_06_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/efee1b02fb03ce06fb7dce742e304709.jpg","text":"TemporaryFile(/tmp/multipartBody2014972301030114860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283313733,"filename":"image_31012025_01_27_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/1/31/abf3d0f7e820b37eb6df8640dddcc56e.jpg","text":"TemporaryFile(/tmp/multipartBody4691328385585565760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283313733,"filename":"image_31012025_01_27_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/1/31/bb19b75f7237019b4f4ead8ff7344834.jpg","text":"TemporaryFile(/tmp/multipartBody8520688355308642999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283313733,"filename":"image_31012025_01_26_55_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333157471","file1":"1333157466","file0":"1333157461","file4":"1333157477","file5":"1333157478","file3":"1333157475"},"map_files_photo_id_array":[{"photo_id":"1333157478","filename":"file5"},{"photo_id":"1333157471","filename":"file2"},{"photo_id":"1333157477","filename":"file4"},{"photo_id":"1333157466","filename":"file1"},{"photo_id":"1333157461","filename":"file0"},{"photo_id":"1333157475","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333157475":["hashtag1","hashtag2"]},{"1333157478":["hashtag1","hashtag2"]},{"1333157466":["hashtag1","hashtag2"]},{"1333157471":["hashtag1","hashtag2"]},{"1333157477":["hashtag1","hashtag2"]},{"1333157461":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333157475, 1333157478, 1333157466, 1333157471, 1333157477, 1333157461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.88672709465027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:28:33.027764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/27/image_31012025_01_27_55_10333.jpg', '/home/pi/Desktop/images/31012025/01/27/image_31012025_01_28_05_9507.jpg', '/home/pi/Desktop/images/31012025/01/28/image_31012025_01_28_15_10430.jpg', '/home/pi/Desktop/images/31012025/01/28/image_31012025_01_28_25_9427.jpg', '/home/pi/Desktop/images/31012025/01/28/image_31012025_01_28_35_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/27/image_31012025_01_27_55_10333.jpg
/home/pi/Desktop/images/31012025/01/27/image_31012025_01_28_05_9507.jpg
/home/pi/Desktop/images/31012025/01/28/image_31012025_01_28_15_10430.jpg
/home/pi/Desktop/images/31012025/01/28/image_31012025_01_28_25_9427.jpg
/home/pi/Desktop/images/31012025/01/28/image_31012025_01_28_35_10346.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5056846141815186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 01:28:43.007057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/27/image_31012025_01_27_55_10333.jpg', '/home/pi/Desktop/images/31012025/01/27/image_31012025_01_28_05_9507.jpg', '/home/pi/Desktop/images/31012025/01/28/image_31012025_01_28_15_10430.jpg', '/home/pi/Desktop/images/31012025/01/28/image_31012025_01_28_25_9427.jpg', '/home/pi/Desktop/images/31012025/01/28/image_31012025_01_28_35_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/27/image_31012025_01_27_55_10333.jpg
/home/pi/Desktop/images/31012025/01/27/image_31012025_01_28_05_9507.jpg
/home/pi/Desktop/images/31012025/01/28/image_31012025_01_28_15_10430.jpg
/home/pi/Desktop/images/31012025/01/28/image_31012025_01_28_25_9427.jpg
/home/pi/Desktop/images/31012025/01/28/image_31012025_01_28_35_10346.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":["1333157521","1333157524","1333157514","1333157519","1333157510"],"photo_ids_order":["1333157510","1333157514","1333157519","1333157521","1333157524"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/353c54b8132b9684e065c5c5c679d71a.jpg","text":"TemporaryFile(/tmp/multipartBody2651998258237880579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283383912,"filename":"image_31012025_01_28_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/1/31/2315a4bad7f4e6421ecd482f578a5e70.jpg","text":"TemporaryFile(/tmp/multipartBody6272156107092277071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283383912,"filename":"image_31012025_01_28_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/1/31/fbd67bb1b8db587db867f7a3d0688f2f.jpg","text":"TemporaryFile(/tmp/multipartBody2816128710901333882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283383912,"filename":"image_31012025_01_28_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/1/31/39b05e81c4f0e4c1feead7ab565c0f4c.jpg","text":"TemporaryFile(/tmp/multipartBody1599128391308104064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283383912,"filename":"image_31012025_01_28_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/1/31/4d9f1fdb361f64c3ac458f941162115c.jpg","text":"TemporaryFile(/tmp/multipartBody8469922449558885833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283383912,"filename":"image_31012025_01_27_55_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333157519","file1":"1333157514","file0":"1333157510","file4":"1333157524","file3":"1333157521"},"map_files_photo_id_array":[{"photo_id":"1333157519","filename":"file2"},{"photo_id":"1333157524","filename":"file4"},{"photo_id":"1333157514","filename":"file1"},{"photo_id":"1333157510","filename":"file0"},{"photo_id":"1333157521","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333157521":["hashtag1","hashtag2"]},{"1333157524":["hashtag1","hashtag2"]},{"1333157514":["hashtag1","hashtag2"]},{"1333157519":["hashtag1","hashtag2"]},{"1333157510":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333157521, 1333157524, 1333157514, 1333157519, 1333157510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.2529091835022 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:29:32.411061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/28/image_31012025_01_28_55_9369.jpg', '/home/pi/Desktop/images/31012025/01/28/image_31012025_01_29_05_10347.jpg', '/home/pi/Desktop/images/31012025/01/29/image_31012025_01_29_16_10344.jpg', '/home/pi/Desktop/images/31012025/01/29/image_31012025_01_29_35_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/28/image_31012025_01_28_55_9369.jpg
/home/pi/Desktop/images/31012025/01/28/image_31012025_01_29_05_10347.jpg
/home/pi/Desktop/images/31012025/01/29/image_31012025_01_29_16_10344.jpg
/home/pi/Desktop/images/31012025/01/29/image_31012025_01_29_35_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":["1333157557","1333157553","1333157547","1333157555"],"photo_ids_order":["1333157547","1333157553","1333157555","1333157557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a0eca82ffce3a4e699a59cefe5719463.jpg","text":"TemporaryFile(/tmp/multipartBody6528890674398467608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283433300,"filename":"image_31012025_01_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/1/31/81e9365eb8988e47b3234f37c0f9e984.jpg","text":"TemporaryFile(/tmp/multipartBody3283545944305515436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283433300,"filename":"image_31012025_01_29_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/1/31/641a4be422cd192ccbccdeb9c9199ea7.jpg","text":"TemporaryFile(/tmp/multipartBody2876994194513103083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283433300,"filename":"image_31012025_01_28_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/1/31/ca3d34db81bca20cd47df49cbce0073e.jpg","text":"TemporaryFile(/tmp/multipartBody1431513280863637005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283433300,"filename":"image_31012025_01_29_16_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333157555","file1":"1333157553","file0":"1333157547","file3":"1333157557"},"map_files_photo_id_array":[{"photo_id":"1333157555","filename":"file2"},{"photo_id":"1333157553","filename":"file1"},{"photo_id":"1333157547","filename":"file0"},{"photo_id":"1333157557","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333157557":["hashtag1","hashtag2"]},{"1333157553":["hashtag1","hashtag2"]},{"1333157547":["hashtag1","hashtag2"]},{"1333157555":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333157557, 1333157553, 1333157547, 1333157555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13685393333435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:30:32.559182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/29/image_31012025_01_29_55_10379.jpg', '/home/pi/Desktop/images/31012025/01/30/image_31012025_01_30_15_9418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/29/image_31012025_01_29_55_10379.jpg
/home/pi/Desktop/images/31012025/01/30/image_31012025_01_30_15_9418.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333157586","1333157577"],"photo_ids_order":["1333157577","1333157586"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9f438beb0d3797bccc1e4bd44b1a59b9.jpg","text":"TemporaryFile(/tmp/multipartBody1869545272576548416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283493407,"filename":"image_31012025_01_30_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/1/31/c074af005578ff248e95e75879a9dc96.jpg","text":"TemporaryFile(/tmp/multipartBody7471356071660895675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283493407,"filename":"image_31012025_01_29_55_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1333157586","file0":"1333157577"},"map_files_photo_id_array":[{"photo_id":"1333157586","filename":"file1"},{"photo_id":"1333157577","filename":"file0"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333157586":["hashtag1","hashtag2"]},{"1333157577":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333157586, 1333157577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.798590898513794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:30:52.682580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/21/58/image_28012025_21_58_55_9405.jpg', '/home/pi/Desktop/images/28012025/21/58/image_28012025_21_59_05_10449.jpg', '/home/pi/Desktop/images/28012025/21/59/image_28012025_21_59_25_10459.jpg', '/home/pi/Desktop/images/28012025/21/59/image_28012025_21_59_36_10374.jpg', '/home/pi/Desktop/images/28012025/21/59/image_28012025_21_59_45_9422.jpg', '/home/pi/Desktop/images/28012025/21/59/image_28012025_21_59_55_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/21/58/image_28012025_21_58_55_9405.jpg
/home/pi/Desktop/images/28012025/21/58/image_28012025_21_59_05_10449.jpg
/home/pi/Desktop/images/28012025/21/59/image_28012025_21_59_25_10459.jpg
/home/pi/Desktop/images/28012025/21/59/image_28012025_21_59_36_10374.jpg
/home/pi/Desktop/images/28012025/21/59/image_28012025_21_59_45_9422.jpg
/home/pi/Desktop/images/28012025/21/59/image_28012025_21_59_55_10416.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":["1333157629","1333157620","1333157633","1333157630","1333157624","1333157627"],"photo_ids_order":["1333157620","1333157624","1333157627","1333157629","1333157630","1333157633"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b792b741209f85fa2987f7a4c6c42044.jpg","text":"TemporaryFile(/tmp/multipartBody1456356706366223811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283515049,"filename":"image_28012025_21_59_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/1/31/96550099136c5dba8c896f79640ffa4b.jpg","text":"TemporaryFile(/tmp/multipartBody1968151929344099367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283515049,"filename":"image_28012025_21_58_55_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/313bd54fca5d95635de5775492a498b0.jpg","text":"TemporaryFile(/tmp/multipartBody6038003280488835609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283515049,"filename":"image_28012025_21_59_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/1/31/a26fab928d06670c55e00f48cc9e649c.jpg","text":"TemporaryFile(/tmp/multipartBody3979299803457716769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283515049,"filename":"image_28012025_21_59_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/1/31/120a3cf6f54b58590cf721a436b52e4e.jpg","text":"TemporaryFile(/tmp/multipartBody2972616801264856011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283515049,"filename":"image_28012025_21_59_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/1/31/d9bc2f3ea52985bab9686d8436f09c50.jpg","text":"TemporaryFile(/tmp/multipartBody6028733742365117559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283515049,"filename":"image_28012025_21_59_25_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333157627","file1":"1333157624","file0":"1333157620","file4":"1333157630","file5":"1333157633","file3":"1333157629"},"map_files_photo_id_array":[{"photo_id":"1333157633","filename":"file5"},{"photo_id":"1333157627","filename":"file2"},{"photo_id":"1333157630","filename":"file4"},{"photo_id":"1333157624","filename":"file1"},{"photo_id":"1333157620","filename":"file0"},{"photo_id":"1333157629","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333157629":["hashtag1","hashtag2"]},{"1333157620":["hashtag1","hashtag2"]},{"1333157633":["hashtag1","hashtag2"]},{"1333157630":["hashtag1","hashtag2"]},{"1333157624":["hashtag1","hashtag2"]},{"1333157627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333157629, 1333157620, 1333157633, 1333157630, 1333157624, 1333157627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.23348927497864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 01:31:42.933835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/30/image_31012025_01_30_55_10390.jpg', '/home/pi/Desktop/images/31012025/01/31/image_31012025_01_31_26_10354.jpg', '/home/pi/Desktop/images/31012025/01/31/image_31012025_01_31_35_9437.jpg', '/home/pi/Desktop/images/31012025/01/31/image_31012025_01_31_45_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/30/image_31012025_01_30_55_10390.jpg
/home/pi/Desktop/images/31012025/01/31/image_31012025_01_31_26_10354.jpg
/home/pi/Desktop/images/31012025/01/31/image_31012025_01_31_35_9437.jpg
/home/pi/Desktop/images/31012025/01/31/image_31012025_01_31_45_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":["1333157718","1333157709","1333157654","1333157650"],"photo_ids_order":["1333157650","1333157654","1333157709","1333157718"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/38c69ea3f169fb551e50575e704655cf.jpg","text":"TemporaryFile(/tmp/multipartBody7693651452230182888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283563821,"filename":"image_31012025_01_31_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/1/31/6c37acc8426023e772d91a2700f94e81.jpg","text":"TemporaryFile(/tmp/multipartBody7930486360886818550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283563821,"filename":"image_31012025_01_31_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/1/31/63f51e42dc10abd66b1926fc35d4e57f.jpg","text":"TemporaryFile(/tmp/multipartBody7135938882833047024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283563821,"filename":"image_31012025_01_31_26_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e2a6ce9138e43f28a7f3cfb0a92cff0e.jpg","text":"TemporaryFile(/tmp/multipartBody360327720347363237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283563821,"filename":"image_31012025_01_30_55_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333157709","file1":"1333157654","file0":"1333157650","file3":"1333157718"},"map_files_photo_id_array":[{"photo_id":"1333157709","filename":"file2"},{"photo_id":"1333157654","filename":"file1"},{"photo_id":"1333157650","filename":"file0"},{"photo_id":"1333157718","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333157718":["hashtag1","hashtag2"]},{"1333157709":["hashtag1","hashtag2"]},{"1333157654":["hashtag1","hashtag2"]},{"1333157650":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333157718, 1333157709, 1333157654, 1333157650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.27286195755005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:32:32.185403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/31/image_31012025_01_31_55_9344.jpg', '/home/pi/Desktop/images/31012025/01/31/image_31012025_01_32_05_10369.jpg', '/home/pi/Desktop/images/31012025/01/32/image_31012025_01_32_15_10343.jpg', '/home/pi/Desktop/images/31012025/01/32/image_31012025_01_32_25_9430.jpg', '/home/pi/Desktop/images/31012025/01/32/image_31012025_01_32_35_10365.jpg', '/home/pi/Desktop/images/31012025/01/32/image_31012025_01_32_46_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/31/image_31012025_01_31_55_9344.jpg
/home/pi/Desktop/images/31012025/01/31/image_31012025_01_32_05_10369.jpg
/home/pi/Desktop/images/31012025/01/32/image_31012025_01_32_15_10343.jpg
/home/pi/Desktop/images/31012025/01/32/image_31012025_01_32_25_9430.jpg
/home/pi/Desktop/images/31012025/01/32/image_31012025_01_32_35_10365.jpg
/home/pi/Desktop/images/31012025/01/32/image_31012025_01_32_46_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":["1333157749","1333157757","1333157742","1333157745","1333157753","1333157776"],"photo_ids_order":["1333157742","1333157745","1333157749","1333157753","1333157757","1333157776"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9e6eee60091f9b3da0cbfb087e3dcca0.jpg","text":"TemporaryFile(/tmp/multipartBody3422297227855796591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283613116,"filename":"image_31012025_01_32_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/1/31/5c2921e94ac502ceb74073c64deb5868.jpg","text":"TemporaryFile(/tmp/multipartBody2876230921779548032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283613116,"filename":"image_31012025_01_32_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/1/31/87577a12a11a515c7e92bae833e3c2d9.jpg","text":"TemporaryFile(/tmp/multipartBody2240433824632094424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283613116,"filename":"image_31012025_01_31_55_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9d5df358156f4ad96bd2204fe505d8ac.jpg","text":"TemporaryFile(/tmp/multipartBody7184107944141838366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283613116,"filename":"image_31012025_01_32_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/1/31/e7cf83c4579558f5aac4604fd39b5b81.jpg","text":"TemporaryFile(/tmp/multipartBody535816666619757146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283613116,"filename":"image_31012025_01_32_25_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0b8eb378d22d1453398a8030bb337269.jpg","text":"TemporaryFile(/tmp/multipartBody7897836445224220532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283613116,"filename":"image_31012025_01_32_46_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333157749","file1":"1333157745","file0":"1333157742","file4":"1333157757","file5":"1333157776","file3":"1333157753"},"map_files_photo_id_array":[{"photo_id":"1333157776","filename":"file5"},{"photo_id":"1333157749","filename":"file2"},{"photo_id":"1333157757","filename":"file4"},{"photo_id":"1333157745","filename":"file1"},{"photo_id":"1333157742","filename":"file0"},{"photo_id":"1333157753","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333157749":["hashtag1","hashtag2"]},{"1333157757":["hashtag1","hashtag2"]},{"1333157742":["hashtag1","hashtag2"]},{"1333157745":["hashtag1","hashtag2"]},{"1333157753":["hashtag1","hashtag2"]},{"1333157776":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333157749, 1333157757, 1333157742, 1333157745, 1333157753, 1333157776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.31606125831604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:33:32.418899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/32/image_31012025_01_32_55_9382.jpg', '/home/pi/Desktop/images/31012025/01/32/image_31012025_01_33_05_10356.jpg', '/home/pi/Desktop/images/31012025/01/33/image_31012025_01_33_15_9355.jpg', '/home/pi/Desktop/images/31012025/01/33/image_31012025_01_33_25_10411.jpg', '/home/pi/Desktop/images/31012025/01/33/image_31012025_01_33_35_10361.jpg', '/home/pi/Desktop/images/31012025/01/33/image_31012025_01_33_45_9439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/32/image_31012025_01_32_55_9382.jpg
/home/pi/Desktop/images/31012025/01/32/image_31012025_01_33_05_10356.jpg
/home/pi/Desktop/images/31012025/01/33/image_31012025_01_33_15_9355.jpg
/home/pi/Desktop/images/31012025/01/33/image_31012025_01_33_25_10411.jpg
/home/pi/Desktop/images/31012025/01/33/image_31012025_01_33_35_10361.jpg
/home/pi/Desktop/images/31012025/01/33/image_31012025_01_33_45_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":["1333158048","1333158036","1333158030","1333158049","1333158040","1333158046"],"photo_ids_order":["1333158030","1333158036","1333158040","1333158046","1333158048","1333158049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6197aeeb105e33b7cc57188541b9d901.jpg","text":"TemporaryFile(/tmp/multipartBody436896434942620311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283673354,"filename":"image_31012025_01_33_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/1/31/1b787da09d9957a290eb730165e01e8d.jpg","text":"TemporaryFile(/tmp/multipartBody7114658512885083612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283673354,"filename":"image_31012025_01_33_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/1/31/a630465facec3ab84bf46ce9af464934.jpg","text":"TemporaryFile(/tmp/multipartBody2510067178525351108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283673354,"filename":"image_31012025_01_32_55_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2fcc61dd1593af03908cc2089ea61c73.jpg","text":"TemporaryFile(/tmp/multipartBody7390411509330407480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283673354,"filename":"image_31012025_01_33_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/1/31/c032156464466621c9cf2e74db0402a0.jpg","text":"TemporaryFile(/tmp/multipartBody4294856313637770630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283673354,"filename":"image_31012025_01_33_15_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9e1c4869c6038dcca53c9f612d313bc7.jpg","text":"TemporaryFile(/tmp/multipartBody2588841890964188287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283673354,"filename":"image_31012025_01_33_25_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333158040","file1":"1333158036","file0":"1333158030","file4":"1333158048","file5":"1333158049","file3":"1333158046"},"map_files_photo_id_array":[{"photo_id":"1333158049","filename":"file5"},{"photo_id":"1333158040","filename":"file2"},{"photo_id":"1333158048","filename":"file4"},{"photo_id":"1333158036","filename":"file1"},{"photo_id":"1333158030","filename":"file0"},{"photo_id":"1333158046","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333158048":["hashtag1","hashtag2"]},{"1333158036":["hashtag1","hashtag2"]},{"1333158030":["hashtag1","hashtag2"]},{"1333158049":["hashtag1","hashtag2"]},{"1333158040":["hashtag1","hashtag2"]},{"1333158046":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333158048, 1333158036, 1333158030, 1333158049, 1333158040, 1333158046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.775566816329956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:34:32.564654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/33/image_31012025_01_33_55_10361.jpg', '/home/pi/Desktop/images/31012025/01/33/image_31012025_01_34_06_10350.jpg', '/home/pi/Desktop/images/31012025/01/34/image_31012025_01_34_25_10437.jpg', '/home/pi/Desktop/images/31012025/01/34/image_31012025_01_34_35_9404.jpg', '/home/pi/Desktop/images/31012025/01/34/image_31012025_01_34_45_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/33/image_31012025_01_33_55_10361.jpg
/home/pi/Desktop/images/31012025/01/33/image_31012025_01_34_06_10350.jpg
/home/pi/Desktop/images/31012025/01/34/image_31012025_01_34_25_10437.jpg
/home/pi/Desktop/images/31012025/01/34/image_31012025_01_34_35_9404.jpg
/home/pi/Desktop/images/31012025/01/34/image_31012025_01_34_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":["1333158179","1333158190","1333158184","1333158187","1333158169"],"photo_ids_order":["1333158169","1333158179","1333158184","1333158187","1333158190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0bc60836886774745078ddb71fb0b3a8.jpg","text":"TemporaryFile(/tmp/multipartBody3016755880459756529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283733483,"filename":"image_31012025_01_34_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/1/31/a29ec96981d433f9b8c09ca890041798.jpg","text":"TemporaryFile(/tmp/multipartBody735255123249939876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283733483,"filename":"image_31012025_01_34_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/1/31/b7281d3e4e886339e216a5bb192a2d7e.jpg","text":"TemporaryFile(/tmp/multipartBody845098875273773681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283733483,"filename":"image_31012025_01_34_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/1/31/c19190f5f900993570d84a27c4df052f.jpg","text":"TemporaryFile(/tmp/multipartBody8465956104659592285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283733483,"filename":"image_31012025_01_34_35_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/124a14de9fb94f463ac9edc95ff7e4d2.jpg","text":"TemporaryFile(/tmp/multipartBody3287628207842717200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283733483,"filename":"image_31012025_01_33_55_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333158184","file1":"1333158179","file0":"1333158169","file4":"1333158190","file3":"1333158187"},"map_files_photo_id_array":[{"photo_id":"1333158184","filename":"file2"},{"photo_id":"1333158190","filename":"file4"},{"photo_id":"1333158179","filename":"file1"},{"photo_id":"1333158169","filename":"file0"},{"photo_id":"1333158187","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333158179":["hashtag1","hashtag2"]},{"1333158190":["hashtag1","hashtag2"]},{"1333158184":["hashtag1","hashtag2"]},{"1333158187":["hashtag1","hashtag2"]},{"1333158169":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333158179, 1333158190, 1333158184, 1333158187, 1333158169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.672098875045776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:35:32.736574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/34/image_31012025_01_34_56_10359.jpg', '/home/pi/Desktop/images/31012025/01/34/image_31012025_01_35_05_9416.jpg', '/home/pi/Desktop/images/31012025/01/35/image_31012025_01_35_15_10336.jpg', '/home/pi/Desktop/images/31012025/01/35/image_31012025_01_35_25_9361.jpg', '/home/pi/Desktop/images/31012025/01/35/image_31012025_01_35_35_10481.jpg', '/home/pi/Desktop/images/31012025/01/35/image_31012025_01_35_46_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/34/image_31012025_01_34_56_10359.jpg
/home/pi/Desktop/images/31012025/01/34/image_31012025_01_35_05_9416.jpg
/home/pi/Desktop/images/31012025/01/35/image_31012025_01_35_15_10336.jpg
/home/pi/Desktop/images/31012025/01/35/image_31012025_01_35_25_9361.jpg
/home/pi/Desktop/images/31012025/01/35/image_31012025_01_35_35_10481.jpg
/home/pi/Desktop/images/31012025/01/35/image_31012025_01_35_46_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":["1333158234","1333158222","1333158230","1333158227","1333158215","1333158235"],"photo_ids_order":["1333158215","1333158222","1333158227","1333158230","1333158234","1333158235"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/25f237df99866ee895184cb007b92799.jpg","text":"TemporaryFile(/tmp/multipartBody7872353872116247528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283793675,"filename":"image_31012025_01_35_35_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/759f30bbd98dd91c45d10edac9efd441.jpg","text":"TemporaryFile(/tmp/multipartBody6083261648182224707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283793675,"filename":"image_31012025_01_35_05_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/135fe056485347ef8c5808c89a696201.jpg","text":"TemporaryFile(/tmp/multipartBody5923949368661457397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283793675,"filename":"image_31012025_01_35_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/1/31/124b1e26f8ee8860b485939f4dfc6101.jpg","text":"TemporaryFile(/tmp/multipartBody4746126472968371502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283793675,"filename":"image_31012025_01_35_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4660f5fb1c51320fcee32c4389f2aedc.jpg","text":"TemporaryFile(/tmp/multipartBody8532329419496077005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283793675,"filename":"image_31012025_01_34_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/1/31/a4874f9c2d9dc18746e5c03c0491c0a1.jpg","text":"TemporaryFile(/tmp/multipartBody7314018091872047128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283793675,"filename":"image_31012025_01_35_46_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333158227","file1":"1333158222","file0":"1333158215","file4":"1333158234","file5":"1333158235","file3":"1333158230"},"map_files_photo_id_array":[{"photo_id":"1333158235","filename":"file5"},{"photo_id":"1333158227","filename":"file2"},{"photo_id":"1333158234","filename":"file4"},{"photo_id":"1333158222","filename":"file1"},{"photo_id":"1333158215","filename":"file0"},{"photo_id":"1333158230","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333158234":["hashtag1","hashtag2"]},{"1333158222":["hashtag1","hashtag2"]},{"1333158230":["hashtag1","hashtag2"]},{"1333158227":["hashtag1","hashtag2"]},{"1333158215":["hashtag1","hashtag2"]},{"1333158235":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333158234, 1333158222, 1333158230, 1333158227, 1333158215, 1333158235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.39321804046631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:36:33.064650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/35/image_31012025_01_35_55_9362.jpg', '/home/pi/Desktop/images/31012025/01/35/image_31012025_01_36_05_10349.jpg', '/home/pi/Desktop/images/31012025/01/36/image_31012025_01_36_16_10329.jpg', '/home/pi/Desktop/images/31012025/01/36/image_31012025_01_36_25_9415.jpg', '/home/pi/Desktop/images/31012025/01/36/image_31012025_01_36_35_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/35/image_31012025_01_35_55_9362.jpg
/home/pi/Desktop/images/31012025/01/35/image_31012025_01_36_05_10349.jpg
/home/pi/Desktop/images/31012025/01/36/image_31012025_01_36_16_10329.jpg
/home/pi/Desktop/images/31012025/01/36/image_31012025_01_36_25_9415.jpg
/home/pi/Desktop/images/31012025/01/36/image_31012025_01_36_35_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":["1333158266","1333158275","1333158277","1333158280","1333158273"],"photo_ids_order":["1333158266","1333158273","1333158275","1333158277","1333158280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/429de947dac24f0f5dd5ba7665666e61.jpg","text":"TemporaryFile(/tmp/multipartBody4471135781789714437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283853970,"filename":"image_31012025_01_35_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/1/31/5c9f83da39926776687ea8b447dea6ea.jpg","text":"TemporaryFile(/tmp/multipartBody673852107711089169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283853970,"filename":"image_31012025_01_36_16_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7af18c059816ef3bd91de04ec6dea976.jpg","text":"TemporaryFile(/tmp/multipartBody6876320739915705767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283853970,"filename":"image_31012025_01_36_25_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5f764da05bd27649e9503f917aaddafb.jpg","text":"TemporaryFile(/tmp/multipartBody2901144196365251840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283853970,"filename":"image_31012025_01_36_35_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b993feeedbc3547f3198b09b7067ede8.jpg","text":"TemporaryFile(/tmp/multipartBody8200808208287413841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283853970,"filename":"image_31012025_01_36_05_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333158275","file1":"1333158273","file0":"1333158266","file4":"1333158280","file3":"1333158277"},"map_files_photo_id_array":[{"photo_id":"1333158275","filename":"file2"},{"photo_id":"1333158280","filename":"file4"},{"photo_id":"1333158273","filename":"file1"},{"photo_id":"1333158266","filename":"file0"},{"photo_id":"1333158277","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333158266":["hashtag1","hashtag2"]},{"1333158275":["hashtag1","hashtag2"]},{"1333158277":["hashtag1","hashtag2"]},{"1333158280":["hashtag1","hashtag2"]},{"1333158273":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333158266, 1333158275, 1333158277, 1333158280, 1333158273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.5335488319397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:37:32.321573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/36/image_31012025_01_36_45_9393.jpg', '/home/pi/Desktop/images/31012025/01/36/image_31012025_01_37_05_10350.jpg', '/home/pi/Desktop/images/31012025/01/37/image_31012025_01_37_25_10466.jpg', '/home/pi/Desktop/images/31012025/01/37/image_31012025_01_37_35_9424.jpg', '/home/pi/Desktop/images/31012025/01/37/image_31012025_01_37_45_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/36/image_31012025_01_36_45_9393.jpg
/home/pi/Desktop/images/31012025/01/36/image_31012025_01_37_05_10350.jpg
/home/pi/Desktop/images/31012025/01/37/image_31012025_01_37_25_10466.jpg
/home/pi/Desktop/images/31012025/01/37/image_31012025_01_37_35_9424.jpg
/home/pi/Desktop/images/31012025/01/37/image_31012025_01_37_45_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":["1333158332","1333158314","1333158328","1333158337","1333158322"],"photo_ids_order":["1333158314","1333158322","1333158328","1333158332","1333158337"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b851b2dba0710447ff19eac8099fc550.jpg","text":"TemporaryFile(/tmp/multipartBody670147654432036874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283913230,"filename":"image_31012025_01_37_35_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c29481dd8fbd94603751b44d95926adb.jpg","text":"TemporaryFile(/tmp/multipartBody4537994229887859079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283913230,"filename":"image_31012025_01_36_45_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d2c28a26cc6af6ad57031ced42d5e191.jpg","text":"TemporaryFile(/tmp/multipartBody2958754474156010786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283913230,"filename":"image_31012025_01_37_25_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/237f5b3a012ab981644e576b37a5a9be.jpg","text":"TemporaryFile(/tmp/multipartBody2344620463501654248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283913230,"filename":"image_31012025_01_37_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/1/31/07e803e5c9bcae8e5742160d923e045a.jpg","text":"TemporaryFile(/tmp/multipartBody7410407312203604664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283913230,"filename":"image_31012025_01_37_05_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333158328","file1":"1333158322","file0":"1333158314","file4":"1333158337","file3":"1333158332"},"map_files_photo_id_array":[{"photo_id":"1333158328","filename":"file2"},{"photo_id":"1333158337","filename":"file4"},{"photo_id":"1333158322","filename":"file1"},{"photo_id":"1333158314","filename":"file0"},{"photo_id":"1333158332","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333158332":["hashtag1","hashtag2"]},{"1333158314":["hashtag1","hashtag2"]},{"1333158328":["hashtag1","hashtag2"]},{"1333158337":["hashtag1","hashtag2"]},{"1333158322":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333158332, 1333158314, 1333158328, 1333158337, 1333158322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.4449417591095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:38:32.444634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/37/image_31012025_01_37_56_10362.jpg', '/home/pi/Desktop/images/31012025/01/37/image_31012025_01_38_05_9423.jpg', '/home/pi/Desktop/images/31012025/01/38/image_31012025_01_38_15_10359.jpg', '/home/pi/Desktop/images/31012025/01/38/image_31012025_01_38_25_9491.jpg', '/home/pi/Desktop/images/31012025/01/38/image_31012025_01_38_35_10472.jpg', '/home/pi/Desktop/images/31012025/01/38/image_31012025_01_38_46_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/37/image_31012025_01_37_56_10362.jpg
/home/pi/Desktop/images/31012025/01/37/image_31012025_01_38_05_9423.jpg
/home/pi/Desktop/images/31012025/01/38/image_31012025_01_38_15_10359.jpg
/home/pi/Desktop/images/31012025/01/38/image_31012025_01_38_25_9491.jpg
/home/pi/Desktop/images/31012025/01/38/image_31012025_01_38_35_10472.jpg
/home/pi/Desktop/images/31012025/01/38/image_31012025_01_38_46_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":["1333158603","1333158606","1333158596","1333158600","1333158608","1333158591"],"photo_ids_order":["1333158591","1333158596","1333158600","1333158603","1333158606","1333158608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/72a7e421d020287e3e43a92e4b186b5a.jpg","text":"TemporaryFile(/tmp/multipartBody1248989730286389322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283973361,"filename":"image_31012025_01_38_25_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/25f057b3de633a09e22655b7e5e4494f.jpg","text":"TemporaryFile(/tmp/multipartBody7656610478469765773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283973361,"filename":"image_31012025_01_38_35_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/42e5c1511aba634ccbfc3968a036a8f8.jpg","text":"TemporaryFile(/tmp/multipartBody8014058239043945471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283973361,"filename":"image_31012025_01_38_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/1/31/d2354a1dc086d7747ccf6e3efdab219d.jpg","text":"TemporaryFile(/tmp/multipartBody341092405578474268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283973361,"filename":"image_31012025_01_38_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/1/31/1adefa6f179cbca8b3d76164b17f2806.jpg","text":"TemporaryFile(/tmp/multipartBody8869618474121985073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283973361,"filename":"image_31012025_01_38_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/1/31/6c0f5eec72145ec2a50dd861e90e8d9e.jpg","text":"TemporaryFile(/tmp/multipartBody5636836907859046006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738283973361,"filename":"image_31012025_01_37_56_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333158600","file1":"1333158596","file0":"1333158591","file4":"1333158606","file5":"1333158608","file3":"1333158603"},"map_files_photo_id_array":[{"photo_id":"1333158608","filename":"file5"},{"photo_id":"1333158600","filename":"file2"},{"photo_id":"1333158606","filename":"file4"},{"photo_id":"1333158596","filename":"file1"},{"photo_id":"1333158591","filename":"file0"},{"photo_id":"1333158603","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333158603":["hashtag1","hashtag2"]},{"1333158606":["hashtag1","hashtag2"]},{"1333158596":["hashtag1","hashtag2"]},{"1333158600":["hashtag1","hashtag2"]},{"1333158608":["hashtag1","hashtag2"]},{"1333158591":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333158603, 1333158606, 1333158596, 1333158600, 1333158608, 1333158591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44722008705139 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:39:32.628861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/38/image_31012025_01_38_55_9424.jpg', '/home/pi/Desktop/images/31012025/01/38/image_31012025_01_39_05_10355.jpg', '/home/pi/Desktop/images/31012025/01/39/image_31012025_01_39_15_9451.jpg', '/home/pi/Desktop/images/31012025/01/39/image_31012025_01_39_25_10362.jpg', '/home/pi/Desktop/images/31012025/01/39/image_31012025_01_39_36_10355.jpg', '/home/pi/Desktop/images/31012025/01/39/image_31012025_01_39_45_9430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/38/image_31012025_01_38_55_9424.jpg
/home/pi/Desktop/images/31012025/01/38/image_31012025_01_39_05_10355.jpg
/home/pi/Desktop/images/31012025/01/39/image_31012025_01_39_15_9451.jpg
/home/pi/Desktop/images/31012025/01/39/image_31012025_01_39_25_10362.jpg
/home/pi/Desktop/images/31012025/01/39/image_31012025_01_39_36_10355.jpg
/home/pi/Desktop/images/31012025/01/39/image_31012025_01_39_45_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":["1333158726","1333158683","1333158677","1333158686","1333158650","1333158730"],"photo_ids_order":["1333158650","1333158677","1333158683","1333158686","1333158726","1333158730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cd3ada5ccf8d0a53e00a601ef1c1887f.jpg","text":"TemporaryFile(/tmp/multipartBody5108454526822299478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284033541,"filename":"image_31012025_01_39_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/1/31/5cd5eae8b06ab532f8271aabeebfbbd8.jpg","text":"TemporaryFile(/tmp/multipartBody611882125493780827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284033541,"filename":"image_31012025_01_39_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/1/31/b0d3e3fbb3da3167166e7131f322cb85.jpg","text":"TemporaryFile(/tmp/multipartBody7749721948295938602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284033541,"filename":"image_31012025_01_39_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/1/31/ed8c3c50417639e32a29cce8a5649216.jpg","text":"TemporaryFile(/tmp/multipartBody6437918463468760939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284033541,"filename":"image_31012025_01_39_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/1/31/2cfc5f25fcebd548aafd94efa16f86e6.jpg","text":"TemporaryFile(/tmp/multipartBody3284861499209398954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284033541,"filename":"image_31012025_01_38_55_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/90d697f83e8e0190da7b55a4b1ba6813.jpg","text":"TemporaryFile(/tmp/multipartBody3518141976239550877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284033541,"filename":"image_31012025_01_39_45_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333158683","file1":"1333158677","file0":"1333158650","file4":"1333158726","file5":"1333158730","file3":"1333158686"},"map_files_photo_id_array":[{"photo_id":"1333158730","filename":"file5"},{"photo_id":"1333158683","filename":"file2"},{"photo_id":"1333158726","filename":"file4"},{"photo_id":"1333158677","filename":"file1"},{"photo_id":"1333158650","filename":"file0"},{"photo_id":"1333158686","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333158726":["hashtag1","hashtag2"]},{"1333158683":["hashtag1","hashtag2"]},{"1333158677":["hashtag1","hashtag2"]},{"1333158686":["hashtag1","hashtag2"]},{"1333158650":["hashtag1","hashtag2"]},{"1333158730":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333158726, 1333158683, 1333158677, 1333158686, 1333158650, 1333158730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29060459136963 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:40:32.783825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/39/image_31012025_01_39_55_10342.jpg', '/home/pi/Desktop/images/31012025/01/39/image_31012025_01_40_05_9434.jpg', '/home/pi/Desktop/images/31012025/01/40/image_31012025_01_40_15_10342.jpg', '/home/pi/Desktop/images/31012025/01/40/image_31012025_01_40_26_10445.jpg', '/home/pi/Desktop/images/31012025/01/40/image_31012025_01_40_35_9351.jpg', '/home/pi/Desktop/images/31012025/01/40/image_31012025_01_40_45_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/39/image_31012025_01_39_55_10342.jpg
/home/pi/Desktop/images/31012025/01/39/image_31012025_01_40_05_9434.jpg
/home/pi/Desktop/images/31012025/01/40/image_31012025_01_40_15_10342.jpg
/home/pi/Desktop/images/31012025/01/40/image_31012025_01_40_26_10445.jpg
/home/pi/Desktop/images/31012025/01/40/image_31012025_01_40_35_9351.jpg
/home/pi/Desktop/images/31012025/01/40/image_31012025_01_40_45_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":["1333159094","1333159064","1333159096","1333159090","1333159084","1333159080"],"photo_ids_order":["1333159064","1333159080","1333159084","1333159090","1333159094","1333159096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/372f87694b45b3c3dbd1350f76b5c9b2.jpg","text":"TemporaryFile(/tmp/multipartBody3340805701135052815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284093704,"filename":"image_31012025_01_40_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/1/31/d35d8f80261c27208360e94752a273e6.jpg","text":"TemporaryFile(/tmp/multipartBody2331861820668879820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284093704,"filename":"image_31012025_01_39_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/633be3765f5b14ad720be34452e0951e.jpg","text":"TemporaryFile(/tmp/multipartBody5623769536050775460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284093704,"filename":"image_31012025_01_40_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/1/31/467e548a6b44cbe29a849125befae82c.jpg","text":"TemporaryFile(/tmp/multipartBody8992543451913140389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284093704,"filename":"image_31012025_01_40_26_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e6d882e6882a29285214d3d48d03cfd9.jpg","text":"TemporaryFile(/tmp/multipartBody3675061091724200227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284093704,"filename":"image_31012025_01_40_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/1/31/36d0afcf4ca8493c5efee44acddc2f27.jpg","text":"TemporaryFile(/tmp/multipartBody4423293198638988112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284093704,"filename":"image_31012025_01_40_05_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333159084","file1":"1333159080","file0":"1333159064","file4":"1333159094","file5":"1333159096","file3":"1333159090"},"map_files_photo_id_array":[{"photo_id":"1333159096","filename":"file5"},{"photo_id":"1333159084","filename":"file2"},{"photo_id":"1333159094","filename":"file4"},{"photo_id":"1333159080","filename":"file1"},{"photo_id":"1333159064","filename":"file0"},{"photo_id":"1333159090","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333159094":["hashtag1","hashtag2"]},{"1333159064":["hashtag1","hashtag2"]},{"1333159096":["hashtag1","hashtag2"]},{"1333159090":["hashtag1","hashtag2"]},{"1333159084":["hashtag1","hashtag2"]},{"1333159080":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333159094, 1333159064, 1333159096, 1333159090, 1333159084, 1333159080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.967111349105835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:41:33.116638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/40/image_31012025_01_40_55_9362.jpg', '/home/pi/Desktop/images/31012025/01/40/image_31012025_01_41_05_10361.jpg', '/home/pi/Desktop/images/31012025/01/41/image_31012025_01_41_15_10343.jpg', '/home/pi/Desktop/images/31012025/01/41/image_31012025_01_41_25_9444.jpg', '/home/pi/Desktop/images/31012025/01/41/image_31012025_01_41_35_10348.jpg', '/home/pi/Desktop/images/31012025/01/41/image_31012025_01_41_46_10440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/40/image_31012025_01_40_55_9362.jpg
/home/pi/Desktop/images/31012025/01/40/image_31012025_01_41_05_10361.jpg
/home/pi/Desktop/images/31012025/01/41/image_31012025_01_41_15_10343.jpg
/home/pi/Desktop/images/31012025/01/41/image_31012025_01_41_25_9444.jpg
/home/pi/Desktop/images/31012025/01/41/image_31012025_01_41_35_10348.jpg
/home/pi/Desktop/images/31012025/01/41/image_31012025_01_41_46_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":["1333159134","1333159142","1333159136","1333159139","1333159132","1333159126"],"photo_ids_order":["1333159126","1333159132","1333159134","1333159136","1333159139","1333159142"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/be046c4b9a377e4a7601030bf7a17a97.jpg","text":"TemporaryFile(/tmp/multipartBody2881688371277717584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284154044,"filename":"image_31012025_01_41_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/1/31/3590696a2af2c643f120dd4adc196141.jpg","text":"TemporaryFile(/tmp/multipartBody3753667470388853681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284154044,"filename":"image_31012025_01_41_46_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f48b1ff41f9bd516818cef4ff37337fb.jpg","text":"TemporaryFile(/tmp/multipartBody1643094725470035703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284154044,"filename":"image_31012025_01_41_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/1/31/a0a8aaa4b47f6bf385a3cd6242e31dec.jpg","text":"TemporaryFile(/tmp/multipartBody2355913057899847207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284154044,"filename":"image_31012025_01_41_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/27e7ba14b1fc5ce8cea58c0856e3bd48.jpg","text":"TemporaryFile(/tmp/multipartBody7341051389889275138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284154044,"filename":"image_31012025_01_41_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/1/31/98b70e0ea97b554f4c3c54bdc66d2a61.jpg","text":"TemporaryFile(/tmp/multipartBody4432608627413823623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284154044,"filename":"image_31012025_01_40_55_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333159134","file1":"1333159132","file0":"1333159126","file4":"1333159139","file5":"1333159142","file3":"1333159136"},"map_files_photo_id_array":[{"photo_id":"1333159142","filename":"file5"},{"photo_id":"1333159134","filename":"file2"},{"photo_id":"1333159139","filename":"file4"},{"photo_id":"1333159132","filename":"file1"},{"photo_id":"1333159126","filename":"file0"},{"photo_id":"1333159136","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333159134":["hashtag1","hashtag2"]},{"1333159142":["hashtag1","hashtag2"]},{"1333159136":["hashtag1","hashtag2"]},{"1333159139":["hashtag1","hashtag2"]},{"1333159132":["hashtag1","hashtag2"]},{"1333159126":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333159134, 1333159142, 1333159136, 1333159139, 1333159132, 1333159126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00370717048645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:42:32.346056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/41/image_31012025_01_41_55_9388.jpg', '/home/pi/Desktop/images/31012025/01/41/image_31012025_01_42_05_10397.jpg', '/home/pi/Desktop/images/31012025/01/42/image_31012025_01_42_15_9534.jpg', '/home/pi/Desktop/images/31012025/01/42/image_31012025_01_42_25_10348.jpg', '/home/pi/Desktop/images/31012025/01/42/image_31012025_01_42_36_10370.jpg', '/home/pi/Desktop/images/31012025/01/42/image_31012025_01_42_45_9418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/41/image_31012025_01_41_55_9388.jpg
/home/pi/Desktop/images/31012025/01/41/image_31012025_01_42_05_10397.jpg
/home/pi/Desktop/images/31012025/01/42/image_31012025_01_42_15_9534.jpg
/home/pi/Desktop/images/31012025/01/42/image_31012025_01_42_25_10348.jpg
/home/pi/Desktop/images/31012025/01/42/image_31012025_01_42_36_10370.jpg
/home/pi/Desktop/images/31012025/01/42/image_31012025_01_42_45_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":["1333159178","1333159166","1333159243","1333159171","1333159225","1333159182"],"photo_ids_order":["1333159166","1333159171","1333159178","1333159182","1333159225","1333159243"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7b7ecec076c0579c0a17a251baa0ff1c.jpg","text":"TemporaryFile(/tmp/multipartBody7828898275565892759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284213263,"filename":"image_31012025_01_42_15_9534.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9d8a86198f9b13d766de15f071052dbc.jpg","text":"TemporaryFile(/tmp/multipartBody353774338929662761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284213263,"filename":"image_31012025_01_41_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/1/31/8ff42e598bfac2df89c0b74f35a3962f.jpg","text":"TemporaryFile(/tmp/multipartBody7009190026388815232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284213263,"filename":"image_31012025_01_42_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/1/31/dc4c5a54f2e54e34d1ef2a414dc49116.jpg","text":"TemporaryFile(/tmp/multipartBody2337451942211429386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284213263,"filename":"image_31012025_01_42_05_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1608b7f35559f1aca1854d84f6bb20d2.jpg","text":"TemporaryFile(/tmp/multipartBody7946010210853687123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284213263,"filename":"image_31012025_01_42_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/1/31/f5a4509b17240eb99f57070b543cd0dd.jpg","text":"TemporaryFile(/tmp/multipartBody4817888007505526066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284213263,"filename":"image_31012025_01_42_25_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333159178","file1":"1333159171","file0":"1333159166","file4":"1333159225","file5":"1333159243","file3":"1333159182"},"map_files_photo_id_array":[{"photo_id":"1333159243","filename":"file5"},{"photo_id":"1333159178","filename":"file2"},{"photo_id":"1333159225","filename":"file4"},{"photo_id":"1333159171","filename":"file1"},{"photo_id":"1333159166","filename":"file0"},{"photo_id":"1333159182","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333159178":["hashtag1","hashtag2"]},{"1333159166":["hashtag1","hashtag2"]},{"1333159243":["hashtag1","hashtag2"]},{"1333159171":["hashtag1","hashtag2"]},{"1333159225":["hashtag1","hashtag2"]},{"1333159182":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333159178, 1333159166, 1333159243, 1333159171, 1333159225, 1333159182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.68773698806763 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:43:32.611513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/42/image_31012025_01_42_55_10355.jpg', '/home/pi/Desktop/images/31012025/01/42/image_31012025_01_43_05_9438.jpg', '/home/pi/Desktop/images/31012025/01/43/image_31012025_01_43_15_10367.jpg', '/home/pi/Desktop/images/31012025/01/43/image_31012025_01_43_26_10424.jpg', '/home/pi/Desktop/images/31012025/01/43/image_31012025_01_43_35_9373.jpg', '/home/pi/Desktop/images/31012025/01/43/image_31012025_01_43_45_10387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/42/image_31012025_01_42_55_10355.jpg
/home/pi/Desktop/images/31012025/01/42/image_31012025_01_43_05_9438.jpg
/home/pi/Desktop/images/31012025/01/43/image_31012025_01_43_15_10367.jpg
/home/pi/Desktop/images/31012025/01/43/image_31012025_01_43_26_10424.jpg
/home/pi/Desktop/images/31012025/01/43/image_31012025_01_43_35_9373.jpg
/home/pi/Desktop/images/31012025/01/43/image_31012025_01_43_45_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":["1333159388","1333159391","1333159421","1333159417","1333159420","1333159383"],"photo_ids_order":["1333159383","1333159388","1333159391","1333159417","1333159420","1333159421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7a3dafe22f4361c4f904d10ac291efb2.jpg","text":"TemporaryFile(/tmp/multipartBody7772476108306418314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284273520,"filename":"image_31012025_01_43_05_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f9bc52f081055d333688b18f4749f34b.jpg","text":"TemporaryFile(/tmp/multipartBody6377641258788072969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284273520,"filename":"image_31012025_01_43_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/1/31/2f7aa96fd59d77157d75602058c24a34.jpg","text":"TemporaryFile(/tmp/multipartBody5682658202178073106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284273520,"filename":"image_31012025_01_43_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/1/31/1427d075855af9574faf139bdc20ba65.jpg","text":"TemporaryFile(/tmp/multipartBody5991275201281630361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284273520,"filename":"image_31012025_01_43_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/1/31/7cc75c61bb2383b371fcd2223ee01361.jpg","text":"TemporaryFile(/tmp/multipartBody196720483584885299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284273520,"filename":"image_31012025_01_43_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/1/31/67001335efbaa75283bb8aba5954846b.jpg","text":"TemporaryFile(/tmp/multipartBody1719864558049621180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284273520,"filename":"image_31012025_01_42_55_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333159391","file1":"1333159388","file0":"1333159383","file4":"1333159420","file5":"1333159421","file3":"1333159417"},"map_files_photo_id_array":[{"photo_id":"1333159421","filename":"file5"},{"photo_id":"1333159391","filename":"file2"},{"photo_id":"1333159420","filename":"file4"},{"photo_id":"1333159388","filename":"file1"},{"photo_id":"1333159383","filename":"file0"},{"photo_id":"1333159417","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333159388":["hashtag1","hashtag2"]},{"1333159391":["hashtag1","hashtag2"]},{"1333159421":["hashtag1","hashtag2"]},{"1333159417":["hashtag1","hashtag2"]},{"1333159420":["hashtag1","hashtag2"]},{"1333159383":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333159388, 1333159391, 1333159421, 1333159417, 1333159420, 1333159383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13510251045227 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:44:32.661758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/43/image_31012025_01_43_55_9445.jpg', '/home/pi/Desktop/images/31012025/01/43/image_31012025_01_44_05_10359.jpg', '/home/pi/Desktop/images/31012025/01/44/image_31012025_01_44_16_10361.jpg', '/home/pi/Desktop/images/31012025/01/44/image_31012025_01_44_25_9373.jpg', '/home/pi/Desktop/images/31012025/01/44/image_31012025_01_44_35_10363.jpg', '/home/pi/Desktop/images/31012025/01/44/image_31012025_01_44_45_9474.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/43/image_31012025_01_43_55_9445.jpg
/home/pi/Desktop/images/31012025/01/43/image_31012025_01_44_05_10359.jpg
/home/pi/Desktop/images/31012025/01/44/image_31012025_01_44_16_10361.jpg
/home/pi/Desktop/images/31012025/01/44/image_31012025_01_44_25_9373.jpg
/home/pi/Desktop/images/31012025/01/44/image_31012025_01_44_35_10363.jpg
/home/pi/Desktop/images/31012025/01/44/image_31012025_01_44_45_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":["1333159605","1333159601","1333159594","1333159660","1333159665","1333159668"],"photo_ids_order":["1333159594","1333159601","1333159605","1333159660","1333159665","1333159668"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d884c6478496dac3ea3b0e047e0b6818.jpg","text":"TemporaryFile(/tmp/multipartBody3375671223300694802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284333596,"filename":"image_31012025_01_44_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/1/31/610aec3e9da39444f8bf3d8405655a77.jpg","text":"TemporaryFile(/tmp/multipartBody7532589630374384792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284333596,"filename":"image_31012025_01_44_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/1/31/b844dbddf9bc4a7ed76d85c64115a00f.jpg","text":"TemporaryFile(/tmp/multipartBody8015027675276588051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284333596,"filename":"image_31012025_01_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/1/31/c2f50e58f0062ef89dcc88264da183c9.jpg","text":"TemporaryFile(/tmp/multipartBody9216582053484482050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284333596,"filename":"image_31012025_01_44_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/1/31/441205bb5fd7aa4c104d052103568a9c.jpg","text":"TemporaryFile(/tmp/multipartBody1846556897965002894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284333596,"filename":"image_31012025_01_44_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/1/31/8b51833acfea503919e358676967cd86.jpg","text":"TemporaryFile(/tmp/multipartBody476451476179481740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284333596,"filename":"image_31012025_01_44_45_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333159605","file1":"1333159601","file0":"1333159594","file4":"1333159665","file5":"1333159668","file3":"1333159660"},"map_files_photo_id_array":[{"photo_id":"1333159668","filename":"file5"},{"photo_id":"1333159605","filename":"file2"},{"photo_id":"1333159665","filename":"file4"},{"photo_id":"1333159601","filename":"file1"},{"photo_id":"1333159594","filename":"file0"},{"photo_id":"1333159660","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333159605":["hashtag1","hashtag2"]},{"1333159601":["hashtag1","hashtag2"]},{"1333159594":["hashtag1","hashtag2"]},{"1333159660":["hashtag1","hashtag2"]},{"1333159665":["hashtag1","hashtag2"]},{"1333159668":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333159605, 1333159601, 1333159594, 1333159660, 1333159665, 1333159668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.32805418968201 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:45:33.122835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/44/image_31012025_01_44_55_10361.jpg', '/home/pi/Desktop/images/31012025/01/44/image_31012025_01_45_06_10412.jpg', '/home/pi/Desktop/images/31012025/01/45/image_31012025_01_45_15_9328.jpg', '/home/pi/Desktop/images/31012025/01/45/image_31012025_01_45_25_10372.jpg', '/home/pi/Desktop/images/31012025/01/45/image_31012025_01_45_36_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/44/image_31012025_01_44_55_10361.jpg
/home/pi/Desktop/images/31012025/01/44/image_31012025_01_45_06_10412.jpg
/home/pi/Desktop/images/31012025/01/45/image_31012025_01_45_15_9328.jpg
/home/pi/Desktop/images/31012025/01/45/image_31012025_01_45_25_10372.jpg
/home/pi/Desktop/images/31012025/01/45/image_31012025_01_45_36_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":["1333159766","1333159775","1333159760","1333159771","1333159753"],"photo_ids_order":["1333159753","1333159760","1333159766","1333159771","1333159775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/34b5d592bf0338faa5ed3705faf988ec.jpg","text":"TemporaryFile(/tmp/multipartBody8742282098734633347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284394035,"filename":"image_31012025_01_45_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/1/31/fa6c223138e7e85699a761b80a301835.jpg","text":"TemporaryFile(/tmp/multipartBody4781943726834823018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284394035,"filename":"image_31012025_01_45_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/1/31/ff1ffef4f2f072e2bf52e3942d37cdbe.jpg","text":"TemporaryFile(/tmp/multipartBody7113710536978388689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284394035,"filename":"image_31012025_01_45_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/1/31/6314944204010d8b1edc01eb1f5540bd.jpg","text":"TemporaryFile(/tmp/multipartBody7235623241649481674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284394035,"filename":"image_31012025_01_45_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/1/31/86175af57ca2e1b00da04232013bfbbd.jpg","text":"TemporaryFile(/tmp/multipartBody8353612055818864278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284394035,"filename":"image_31012025_01_44_55_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333159766","file1":"1333159760","file0":"1333159753","file4":"1333159775","file3":"1333159771"},"map_files_photo_id_array":[{"photo_id":"1333159766","filename":"file2"},{"photo_id":"1333159775","filename":"file4"},{"photo_id":"1333159760","filename":"file1"},{"photo_id":"1333159753","filename":"file0"},{"photo_id":"1333159771","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333159766":["hashtag1","hashtag2"]},{"1333159775":["hashtag1","hashtag2"]},{"1333159760":["hashtag1","hashtag2"]},{"1333159771":["hashtag1","hashtag2"]},{"1333159753":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333159766, 1333159775, 1333159760, 1333159771, 1333159753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.60493755340576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:46:33.083367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/45/image_31012025_01_45_45_9342.jpg', '/home/pi/Desktop/images/31012025/01/45/image_31012025_01_46_06_10206.jpg', '/home/pi/Desktop/images/31012025/01/46/image_31012025_01_46_15_9319.jpg', '/home/pi/Desktop/images/31012025/01/46/image_31012025_01_46_25_10342.jpg', '/home/pi/Desktop/images/31012025/01/46/image_31012025_01_46_36_10420.jpg', '/home/pi/Desktop/images/31012025/01/46/image_31012025_01_46_45_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/45/image_31012025_01_45_45_9342.jpg
/home/pi/Desktop/images/31012025/01/45/image_31012025_01_46_06_10206.jpg
/home/pi/Desktop/images/31012025/01/46/image_31012025_01_46_15_9319.jpg
/home/pi/Desktop/images/31012025/01/46/image_31012025_01_46_25_10342.jpg
/home/pi/Desktop/images/31012025/01/46/image_31012025_01_46_36_10420.jpg
/home/pi/Desktop/images/31012025/01/46/image_31012025_01_46_45_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.522932767868042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 01:46:43.249059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/45/image_31012025_01_45_45_9342.jpg', '/home/pi/Desktop/images/31012025/01/45/image_31012025_01_46_06_10206.jpg', '/home/pi/Desktop/images/31012025/01/46/image_31012025_01_46_15_9319.jpg', '/home/pi/Desktop/images/31012025/01/46/image_31012025_01_46_25_10342.jpg', '/home/pi/Desktop/images/31012025/01/46/image_31012025_01_46_36_10420.jpg', '/home/pi/Desktop/images/31012025/01/46/image_31012025_01_46_45_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/45/image_31012025_01_45_45_9342.jpg
/home/pi/Desktop/images/31012025/01/45/image_31012025_01_46_06_10206.jpg
/home/pi/Desktop/images/31012025/01/46/image_31012025_01_46_15_9319.jpg
/home/pi/Desktop/images/31012025/01/46/image_31012025_01_46_25_10342.jpg
/home/pi/Desktop/images/31012025/01/46/image_31012025_01_46_36_10420.jpg
/home/pi/Desktop/images/31012025/01/46/image_31012025_01_46_45_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":["1333159920","1333159908","1333159913","1333159963","1333159924","1333159968"],"photo_ids_order":["1333159908","1333159913","1333159920","1333159924","1333159963","1333159968"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2a583d8598a88b8028336595fa413e94.jpg","text":"TemporaryFile(/tmp/multipartBody4354492320533026662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284464188,"filename":"image_31012025_01_46_15_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fb7fc8dce4137f67e32ce16fb692419c.jpg","text":"TemporaryFile(/tmp/multipartBody7823635308417186839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284464188,"filename":"image_31012025_01_45_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/1/31/09c8b82309e0ce99ec0f98caa6f63156.jpg","text":"TemporaryFile(/tmp/multipartBody409738274433092856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284464188,"filename":"image_31012025_01_46_06_10206.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/479bef230ffcefbe992d4ff4efa6d759.jpg","text":"TemporaryFile(/tmp/multipartBody1782775191464476261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284464188,"filename":"image_31012025_01_46_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/1/31/eddd142d5f70df56cb6c518609d521c7.jpg","text":"TemporaryFile(/tmp/multipartBody8547815328978215671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284464188,"filename":"image_31012025_01_46_25_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9383a0e87137f350998afaf5d56ad954.jpg","text":"TemporaryFile(/tmp/multipartBody4201206061643236356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284464188,"filename":"image_31012025_01_46_45_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333159920","file1":"1333159913","file0":"1333159908","file4":"1333159963","file5":"1333159968","file3":"1333159924"},"map_files_photo_id_array":[{"photo_id":"1333159968","filename":"file5"},{"photo_id":"1333159920","filename":"file2"},{"photo_id":"1333159963","filename":"file4"},{"photo_id":"1333159913","filename":"file1"},{"photo_id":"1333159908","filename":"file0"},{"photo_id":"1333159924","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333159920":["hashtag1","hashtag2"]},{"1333159908":["hashtag1","hashtag2"]},{"1333159913":["hashtag1","hashtag2"]},{"1333159963":["hashtag1","hashtag2"]},{"1333159924":["hashtag1","hashtag2"]},{"1333159968":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333159920, 1333159908, 1333159913, 1333159963, 1333159924, 1333159968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74459433555603 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:47:32.336634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/46/image_31012025_01_46_55_10406.jpg', '/home/pi/Desktop/images/31012025/01/46/image_31012025_01_47_05_9468.jpg', '/home/pi/Desktop/images/31012025/01/47/image_31012025_01_47_15_10358.jpg', '/home/pi/Desktop/images/31012025/01/47/image_31012025_01_47_26_10341.jpg', '/home/pi/Desktop/images/31012025/01/47/image_31012025_01_47_35_9446.jpg', '/home/pi/Desktop/images/31012025/01/47/image_31012025_01_47_45_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/46/image_31012025_01_46_55_10406.jpg
/home/pi/Desktop/images/31012025/01/46/image_31012025_01_47_05_9468.jpg
/home/pi/Desktop/images/31012025/01/47/image_31012025_01_47_15_10358.jpg
/home/pi/Desktop/images/31012025/01/47/image_31012025_01_47_26_10341.jpg
/home/pi/Desktop/images/31012025/01/47/image_31012025_01_47_35_9446.jpg
/home/pi/Desktop/images/31012025/01/47/image_31012025_01_47_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":["1333160031","1333160025","1333159999","1333160006","1333159992","1333160011"],"photo_ids_order":["1333159992","1333159999","1333160006","1333160011","1333160025","1333160031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/14b67a8d9bfeda4a7ce6212b560ff2d1.jpg","text":"TemporaryFile(/tmp/multipartBody6672227704476661335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284513267,"filename":"image_31012025_01_47_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/1/31/ca5720610118a482802e0364a742a5e9.jpg","text":"TemporaryFile(/tmp/multipartBody702664601602300021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284513267,"filename":"image_31012025_01_47_35_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/de1ba68b24c2730b5672e615ce0868e0.jpg","text":"TemporaryFile(/tmp/multipartBody7650097828148744439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284513267,"filename":"image_31012025_01_47_05_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/44998e8afc8d05e737df9bfb0779e7f2.jpg","text":"TemporaryFile(/tmp/multipartBody471875622749242976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284513267,"filename":"image_31012025_01_47_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/1/31/da8728e70bb92e856729c228ccdd2839.jpg","text":"TemporaryFile(/tmp/multipartBody7102301051041141082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284513267,"filename":"image_31012025_01_46_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/1/31/a7602fb59279c3ea6f19f4030afb3e16.jpg","text":"TemporaryFile(/tmp/multipartBody7024051688688526043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284513267,"filename":"image_31012025_01_47_26_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333160006","file1":"1333159999","file0":"1333159992","file4":"1333160025","file5":"1333160031","file3":"1333160011"},"map_files_photo_id_array":[{"photo_id":"1333160031","filename":"file5"},{"photo_id":"1333160006","filename":"file2"},{"photo_id":"1333160025","filename":"file4"},{"photo_id":"1333159999","filename":"file1"},{"photo_id":"1333159992","filename":"file0"},{"photo_id":"1333160011","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333160031":["hashtag1","hashtag2"]},{"1333160025":["hashtag1","hashtag2"]},{"1333159999":["hashtag1","hashtag2"]},{"1333160006":["hashtag1","hashtag2"]},{"1333159992":["hashtag1","hashtag2"]},{"1333160011":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333160031, 1333160025, 1333159999, 1333160006, 1333159992, 1333160011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65064716339111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:48:32.567003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/47/image_31012025_01_47_55_9422.jpg', '/home/pi/Desktop/images/31012025/01/47/image_31012025_01_48_05_10364.jpg', '/home/pi/Desktop/images/31012025/01/48/image_31012025_01_48_16_10441.jpg', '/home/pi/Desktop/images/31012025/01/48/image_31012025_01_48_25_9439.jpg', '/home/pi/Desktop/images/31012025/01/48/image_31012025_01_48_45_9487.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/47/image_31012025_01_47_55_9422.jpg
/home/pi/Desktop/images/31012025/01/47/image_31012025_01_48_05_10364.jpg
/home/pi/Desktop/images/31012025/01/48/image_31012025_01_48_16_10441.jpg
/home/pi/Desktop/images/31012025/01/48/image_31012025_01_48_25_9439.jpg
/home/pi/Desktop/images/31012025/01/48/image_31012025_01_48_45_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":["1333160778","1333160198","1333160581","1333160392","1333160938"],"photo_ids_order":["1333160198","1333160392","1333160581","1333160778","1333160938"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a56b33188c9fbe1fe1d05756a9e46198.jpg","text":"TemporaryFile(/tmp/multipartBody3370936806804249655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284573465,"filename":"image_31012025_01_48_25_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aff2c403d1790847527bb623571883f4.jpg","text":"TemporaryFile(/tmp/multipartBody6517101787690421804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284573465,"filename":"image_31012025_01_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/1/31/2d0d6b2c9fac0201061ea71b58c0d802.jpg","text":"TemporaryFile(/tmp/multipartBody7136433982024788995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284573465,"filename":"image_31012025_01_48_16_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/922eb46c922c6abfea1c13c05db9e70c.jpg","text":"TemporaryFile(/tmp/multipartBody2154683932614443715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284573465,"filename":"image_31012025_01_48_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/1/31/08254abadb3949708a29b490e50789a3.jpg","text":"TemporaryFile(/tmp/multipartBody6213830220063786156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284573465,"filename":"image_31012025_01_48_45_9487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333160581","file1":"1333160392","file0":"1333160198","file4":"1333160938","file3":"1333160778"},"map_files_photo_id_array":[{"photo_id":"1333160581","filename":"file2"},{"photo_id":"1333160938","filename":"file4"},{"photo_id":"1333160392","filename":"file1"},{"photo_id":"1333160198","filename":"file0"},{"photo_id":"1333160778","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333160778":["hashtag1","hashtag2"]},{"1333160198":["hashtag1","hashtag2"]},{"1333160581":["hashtag1","hashtag2"]},{"1333160392":["hashtag1","hashtag2"]},{"1333160938":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333160778, 1333160198, 1333160581, 1333160392, 1333160938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.66287684440613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:49:32.819611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/48/image_31012025_01_48_55_10357.jpg', '/home/pi/Desktop/images/31012025/01/49/image_31012025_01_49_15_9425.jpg', '/home/pi/Desktop/images/31012025/01/49/image_31012025_01_49_25_10357.jpg', '/home/pi/Desktop/images/31012025/01/49/image_31012025_01_49_35_9410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/48/image_31012025_01_48_55_10357.jpg
/home/pi/Desktop/images/31012025/01/49/image_31012025_01_49_15_9425.jpg
/home/pi/Desktop/images/31012025/01/49/image_31012025_01_49_25_10357.jpg
/home/pi/Desktop/images/31012025/01/49/image_31012025_01_49_35_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":["1333162193","1333161775","1333162102","1333161943"],"photo_ids_order":["1333161775","1333161943","1333162102","1333162193"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/63b8c9375049601a1151f945b435ec22.jpg","text":"TemporaryFile(/tmp/multipartBody7134547477950695028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284633697,"filename":"image_31012025_01_49_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/1/31/3d81cff31719d48f2639296a14027446.jpg","text":"TemporaryFile(/tmp/multipartBody233943222075180494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284633697,"filename":"image_31012025_01_48_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/1/31/2919da6363c94debd943b23972633ccb.jpg","text":"TemporaryFile(/tmp/multipartBody1607776471703945363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284633697,"filename":"image_31012025_01_49_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/1/31/e7cb7baadc5e9f6a850b672b093f67a4.jpg","text":"TemporaryFile(/tmp/multipartBody542450592019378497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284633697,"filename":"image_31012025_01_49_15_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333162102","file1":"1333161943","file0":"1333161775","file3":"1333162193"},"map_files_photo_id_array":[{"photo_id":"1333162102","filename":"file2"},{"photo_id":"1333161943","filename":"file1"},{"photo_id":"1333161775","filename":"file0"},{"photo_id":"1333162193","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333162193":["hashtag1","hashtag2"]},{"1333161775":["hashtag1","hashtag2"]},{"1333162102":["hashtag1","hashtag2"]},{"1333161943":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333162193, 1333161775, 1333162102, 1333161943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.090875387191772 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:50:32.967403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/49/image_31012025_01_49_56_10356.jpg', '/home/pi/Desktop/images/31012025/01/49/image_31012025_01_50_05_9349.jpg', '/home/pi/Desktop/images/31012025/01/50/image_31012025_01_50_15_10340.jpg', '/home/pi/Desktop/images/31012025/01/50/image_31012025_01_50_26_10366.jpg', '/home/pi/Desktop/images/31012025/01/50/image_31012025_01_50_35_9425.jpg', '/home/pi/Desktop/images/31012025/01/50/image_31012025_01_50_45_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/49/image_31012025_01_49_56_10356.jpg
/home/pi/Desktop/images/31012025/01/49/image_31012025_01_50_05_9349.jpg
/home/pi/Desktop/images/31012025/01/50/image_31012025_01_50_15_10340.jpg
/home/pi/Desktop/images/31012025/01/50/image_31012025_01_50_26_10366.jpg
/home/pi/Desktop/images/31012025/01/50/image_31012025_01_50_35_9425.jpg
/home/pi/Desktop/images/31012025/01/50/image_31012025_01_50_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":["1333162490","1333162610","1333162448","1333162444","1333162887","1333162394"],"photo_ids_order":["1333162394","1333162444","1333162448","1333162490","1333162610","1333162887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7be472fc70d25f0fd85a016afbf50bf1.jpg","text":"TemporaryFile(/tmp/multipartBody781008713851554078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284693886,"filename":"image_31012025_01_50_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/1/31/ed75699a933939ef1b12939d3c0eb85e.jpg","text":"TemporaryFile(/tmp/multipartBody2780462246407141965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284693886,"filename":"image_31012025_01_50_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/1/31/5568a554227b4b1fb1c20ee4cd700d2c.jpg","text":"TemporaryFile(/tmp/multipartBody4415690758858340966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284693886,"filename":"image_31012025_01_50_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/1/31/9ff189fbcf27ea1134b9f4abb5594be7.jpg","text":"TemporaryFile(/tmp/multipartBody8157131068128795324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284693886,"filename":"image_31012025_01_50_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/1/31/20e57d418ee55e5b1309104d951c16b0.jpg","text":"TemporaryFile(/tmp/multipartBody2590581922290408845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284693886,"filename":"image_31012025_01_50_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/1/31/5da82ae62d7b86a4e7b8fcb789f80b43.jpg","text":"TemporaryFile(/tmp/multipartBody565463807676225955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284693886,"filename":"image_31012025_01_49_56_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333162448","file1":"1333162444","file0":"1333162394","file4":"1333162610","file5":"1333162887","file3":"1333162490"},"map_files_photo_id_array":[{"photo_id":"1333162887","filename":"file5"},{"photo_id":"1333162448","filename":"file2"},{"photo_id":"1333162610","filename":"file4"},{"photo_id":"1333162444","filename":"file1"},{"photo_id":"1333162394","filename":"file0"},{"photo_id":"1333162490","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333162490":["hashtag1","hashtag2"]},{"1333162610":["hashtag1","hashtag2"]},{"1333162448":["hashtag1","hashtag2"]},{"1333162444":["hashtag1","hashtag2"]},{"1333162887":["hashtag1","hashtag2"]},{"1333162394":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333162490, 1333162610, 1333162448, 1333162444, 1333162887, 1333162394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53807187080383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:51:32.450302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/50/image_31012025_01_50_55_9456.jpg', '/home/pi/Desktop/images/31012025/01/50/image_31012025_01_51_05_10363.jpg', '/home/pi/Desktop/images/31012025/01/51/image_31012025_01_51_16_10345.jpg', '/home/pi/Desktop/images/31012025/01/51/image_31012025_01_51_25_9426.jpg', '/home/pi/Desktop/images/31012025/01/51/image_31012025_01_51_35_10342.jpg', '/home/pi/Desktop/images/31012025/01/51/image_31012025_01_51_45_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/50/image_31012025_01_50_55_9456.jpg
/home/pi/Desktop/images/31012025/01/50/image_31012025_01_51_05_10363.jpg
/home/pi/Desktop/images/31012025/01/51/image_31012025_01_51_16_10345.jpg
/home/pi/Desktop/images/31012025/01/51/image_31012025_01_51_25_9426.jpg
/home/pi/Desktop/images/31012025/01/51/image_31012025_01_51_35_10342.jpg
/home/pi/Desktop/images/31012025/01/51/image_31012025_01_51_45_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":["1333162988","1333163070","1333163073","1333163043","1333163075","1333162982"],"photo_ids_order":["1333162982","1333162988","1333163043","1333163070","1333163073","1333163075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5e3af74f2eb541f54c26aff0b9c0c35b.jpg","text":"TemporaryFile(/tmp/multipartBody56621590044896881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284753365,"filename":"image_31012025_01_51_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/1/31/2bfff75b2fb9126ae2acff53d915d5ff.jpg","text":"TemporaryFile(/tmp/multipartBody5405380209418006256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284753365,"filename":"image_31012025_01_51_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/1/31/7d8c3bb95b7f6dbd57eda7757fa64662.jpg","text":"TemporaryFile(/tmp/multipartBody4713833541404079380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284753365,"filename":"image_31012025_01_51_35_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bc78aa21993a399e1cfcb40fea4077cd.jpg","text":"TemporaryFile(/tmp/multipartBody4263028638031758613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284753365,"filename":"image_31012025_01_51_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/1/31/aa82bae1dd389d411c18a9da3ea21ac7.jpg","text":"TemporaryFile(/tmp/multipartBody6299069324858299080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284753365,"filename":"image_31012025_01_51_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/1/31/7fddfc6e8759a59be98e55b00de30271.jpg","text":"TemporaryFile(/tmp/multipartBody5574809383819055240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284753365,"filename":"image_31012025_01_50_55_9456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333163043","file1":"1333162988","file0":"1333162982","file4":"1333163073","file5":"1333163075","file3":"1333163070"},"map_files_photo_id_array":[{"photo_id":"1333163075","filename":"file5"},{"photo_id":"1333163043","filename":"file2"},{"photo_id":"1333163073","filename":"file4"},{"photo_id":"1333162988","filename":"file1"},{"photo_id":"1333162982","filename":"file0"},{"photo_id":"1333163070","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333162988":["hashtag1","hashtag2"]},{"1333163070":["hashtag1","hashtag2"]},{"1333163073":["hashtag1","hashtag2"]},{"1333163043":["hashtag1","hashtag2"]},{"1333163075":["hashtag1","hashtag2"]},{"1333162982":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333162988, 1333163070, 1333163073, 1333163043, 1333163075, 1333162982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.72347545623779 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:52:32.675377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/51/image_31012025_01_51_55_10441.jpg', '/home/pi/Desktop/images/31012025/01/52/image_31012025_01_52_15_9406.jpg', '/home/pi/Desktop/images/31012025/01/52/image_31012025_01_52_25_10369.jpg', '/home/pi/Desktop/images/31012025/01/52/image_31012025_01_52_36_10339.jpg', '/home/pi/Desktop/images/31012025/01/52/image_31012025_01_52_45_9440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/51/image_31012025_01_51_55_10441.jpg
/home/pi/Desktop/images/31012025/01/52/image_31012025_01_52_15_9406.jpg
/home/pi/Desktop/images/31012025/01/52/image_31012025_01_52_25_10369.jpg
/home/pi/Desktop/images/31012025/01/52/image_31012025_01_52_36_10339.jpg
/home/pi/Desktop/images/31012025/01/52/image_31012025_01_52_45_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":["1333163392","1333163388","1333163397","1333163403","1333163297"],"photo_ids_order":["1333163297","1333163388","1333163392","1333163397","1333163403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/da5bae2df9efbce622a23fec3c68622c.jpg","text":"TemporaryFile(/tmp/multipartBody4199965839529460700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284813596,"filename":"image_31012025_01_52_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/1/31/c1e6f665a702b055cbbafc97654afdf5.jpg","text":"TemporaryFile(/tmp/multipartBody2804612024086998438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284813596,"filename":"image_31012025_01_52_15_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2d1ffeb7abfbe54c354969a0ceada63a.jpg","text":"TemporaryFile(/tmp/multipartBody4576222940949681873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284813596,"filename":"image_31012025_01_52_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/1/31/5e81a2a0b6996674890c074a0723fdfb.jpg","text":"TemporaryFile(/tmp/multipartBody6361404007606518631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284813596,"filename":"image_31012025_01_52_45_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a4eefcf3a4f0ae5180684953f8f94f05.jpg","text":"TemporaryFile(/tmp/multipartBody97041739969403542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284813596,"filename":"image_31012025_01_51_55_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333163392","file1":"1333163388","file0":"1333163297","file4":"1333163403","file3":"1333163397"},"map_files_photo_id_array":[{"photo_id":"1333163392","filename":"file2"},{"photo_id":"1333163403","filename":"file4"},{"photo_id":"1333163388","filename":"file1"},{"photo_id":"1333163297","filename":"file0"},{"photo_id":"1333163397","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333163392":["hashtag1","hashtag2"]},{"1333163388":["hashtag1","hashtag2"]},{"1333163397":["hashtag1","hashtag2"]},{"1333163403":["hashtag1","hashtag2"]},{"1333163297":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333163392, 1333163388, 1333163397, 1333163403, 1333163297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.52269959449768 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:53:32.918980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/52/image_31012025_01_52_55_10345.jpg', '/home/pi/Desktop/images/31012025/01/52/image_31012025_01_53_05_9467.jpg', '/home/pi/Desktop/images/31012025/01/53/image_31012025_01_53_26_10375.jpg', '/home/pi/Desktop/images/31012025/01/53/image_31012025_01_53_35_9396.jpg', '/home/pi/Desktop/images/31012025/01/53/image_31012025_01_53_45_10386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/52/image_31012025_01_52_55_10345.jpg
/home/pi/Desktop/images/31012025/01/52/image_31012025_01_53_05_9467.jpg
/home/pi/Desktop/images/31012025/01/53/image_31012025_01_53_26_10375.jpg
/home/pi/Desktop/images/31012025/01/53/image_31012025_01_53_35_9396.jpg
/home/pi/Desktop/images/31012025/01/53/image_31012025_01_53_45_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":["1333163530","1333163509","1333163577","1333163538","1333163468"],"photo_ids_order":["1333163468","1333163509","1333163530","1333163538","1333163577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/29175e3d4b2cbcaef9b10fe6773ee300.jpg","text":"TemporaryFile(/tmp/multipartBody2949983780635710515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284873818,"filename":"image_31012025_01_53_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/1/31/083b157f9491ec9cec20478d8973950e.jpg","text":"TemporaryFile(/tmp/multipartBody4589623485671166594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284873818,"filename":"image_31012025_01_53_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/1/31/a88e2d6d79798d2accb17defaf8c8707.jpg","text":"TemporaryFile(/tmp/multipartBody7650723557538246927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284873818,"filename":"image_31012025_01_53_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/1/31/640641f851856d6bbac9e6864cb1df09.jpg","text":"TemporaryFile(/tmp/multipartBody1551311183776057409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284873818,"filename":"image_31012025_01_53_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/1/31/353aa2ee12f43bac1c54757ff95eaabc.jpg","text":"TemporaryFile(/tmp/multipartBody6803865562218541244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284873818,"filename":"image_31012025_01_52_55_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333163530","file1":"1333163509","file0":"1333163468","file4":"1333163577","file3":"1333163538"},"map_files_photo_id_array":[{"photo_id":"1333163530","filename":"file2"},{"photo_id":"1333163577","filename":"file4"},{"photo_id":"1333163509","filename":"file1"},{"photo_id":"1333163468","filename":"file0"},{"photo_id":"1333163538","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333163530":["hashtag1","hashtag2"]},{"1333163509":["hashtag1","hashtag2"]},{"1333163577":["hashtag1","hashtag2"]},{"1333163538":["hashtag1","hashtag2"]},{"1333163468":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333163530, 1333163509, 1333163577, 1333163538, 1333163468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.80388689041138 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:54:32.913874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/53/image_31012025_01_53_55_9433.jpg', '/home/pi/Desktop/images/31012025/01/53/image_31012025_01_54_05_10359.jpg', '/home/pi/Desktop/images/31012025/01/54/image_31012025_01_54_16_10360.jpg', '/home/pi/Desktop/images/31012025/01/54/image_31012025_01_54_25_9411.jpg', '/home/pi/Desktop/images/31012025/01/54/image_31012025_01_54_45_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/53/image_31012025_01_53_55_9433.jpg
/home/pi/Desktop/images/31012025/01/53/image_31012025_01_54_05_10359.jpg
/home/pi/Desktop/images/31012025/01/54/image_31012025_01_54_16_10360.jpg
/home/pi/Desktop/images/31012025/01/54/image_31012025_01_54_25_9411.jpg
/home/pi/Desktop/images/31012025/01/54/image_31012025_01_54_45_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":["1333163626","1333163641","1333163629","1333163628","1333163627"],"photo_ids_order":["1333163626","1333163627","1333163628","1333163629","1333163641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0343880c5cd014ff979b66203d964b50.jpg","text":"TemporaryFile(/tmp/multipartBody164345417766033108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284933825,"filename":"image_31012025_01_53_55_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d3453f07df5b57bbd138147bb94ba943.jpg","text":"TemporaryFile(/tmp/multipartBody7218377075873141922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284933825,"filename":"image_31012025_01_54_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/1/31/875765be8145e146a4813d2568dbc688.jpg","text":"TemporaryFile(/tmp/multipartBody7274544566041689588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284933825,"filename":"image_31012025_01_54_25_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a93b6c359e4626681acddfd46ff8686d.jpg","text":"TemporaryFile(/tmp/multipartBody4505799527936965427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284933825,"filename":"image_31012025_01_54_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/1/31/c138386e1534c53d86fc2f0c579321bc.jpg","text":"TemporaryFile(/tmp/multipartBody3347362777472020792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284933825,"filename":"image_31012025_01_54_05_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333163628","file1":"1333163627","file0":"1333163626","file4":"1333163641","file3":"1333163629"},"map_files_photo_id_array":[{"photo_id":"1333163628","filename":"file2"},{"photo_id":"1333163641","filename":"file4"},{"photo_id":"1333163627","filename":"file1"},{"photo_id":"1333163626","filename":"file0"},{"photo_id":"1333163629","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333163626":["hashtag1","hashtag2"]},{"1333163641":["hashtag1","hashtag2"]},{"1333163629":["hashtag1","hashtag2"]},{"1333163628":["hashtag1","hashtag2"]},{"1333163627":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333163626, 1333163641, 1333163629, 1333163628, 1333163627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.24904203414917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:55:32.350510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/54/image_31012025_01_54_55_10358.jpg', '/home/pi/Desktop/images/31012025/01/54/image_31012025_01_55_05_10374.jpg', '/home/pi/Desktop/images/31012025/01/55/image_31012025_01_55_15_9410.jpg', '/home/pi/Desktop/images/31012025/01/55/image_31012025_01_55_25_10359.jpg', '/home/pi/Desktop/images/31012025/01/55/image_31012025_01_55_36_10353.jpg', '/home/pi/Desktop/images/31012025/01/55/image_31012025_01_55_45_9420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/54/image_31012025_01_54_55_10358.jpg
/home/pi/Desktop/images/31012025/01/54/image_31012025_01_55_05_10374.jpg
/home/pi/Desktop/images/31012025/01/55/image_31012025_01_55_15_9410.jpg
/home/pi/Desktop/images/31012025/01/55/image_31012025_01_55_25_10359.jpg
/home/pi/Desktop/images/31012025/01/55/image_31012025_01_55_36_10353.jpg
/home/pi/Desktop/images/31012025/01/55/image_31012025_01_55_45_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":["1333163982","1333164027","1333163985","1333163979","1333163958","1333163988"],"photo_ids_order":["1333163958","1333163979","1333163982","1333163985","1333163988","1333164027"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c424cc7389447f8d843f8636d5590b44.jpg","text":"TemporaryFile(/tmp/multipartBody2354311547030057791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284993266,"filename":"image_31012025_01_55_15_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f9b619c43c405644e956b839cee2b81f.jpg","text":"TemporaryFile(/tmp/multipartBody6166247336295447152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284993266,"filename":"image_31012025_01_55_45_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/19d350a6e20070b3d99b75ba049be5ff.jpg","text":"TemporaryFile(/tmp/multipartBody1727622515110638955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284993266,"filename":"image_31012025_01_55_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/1/31/3343ce16d6dd0a594221a72583d97255.jpg","text":"TemporaryFile(/tmp/multipartBody8470117351657740380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284993266,"filename":"image_31012025_01_55_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/1/31/df132fd84c4b6cfa877492c9cf52e141.jpg","text":"TemporaryFile(/tmp/multipartBody5654224973861474253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284993266,"filename":"image_31012025_01_54_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/1/31/016751d35bdc556cbae5b058010beb1b.jpg","text":"TemporaryFile(/tmp/multipartBody59853924762739096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738284993266,"filename":"image_31012025_01_55_36_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333163982","file1":"1333163979","file0":"1333163958","file4":"1333163988","file5":"1333164027","file3":"1333163985"},"map_files_photo_id_array":[{"photo_id":"1333164027","filename":"file5"},{"photo_id":"1333163982","filename":"file2"},{"photo_id":"1333163988","filename":"file4"},{"photo_id":"1333163979","filename":"file1"},{"photo_id":"1333163958","filename":"file0"},{"photo_id":"1333163985","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333163982":["hashtag1","hashtag2"]},{"1333164027":["hashtag1","hashtag2"]},{"1333163985":["hashtag1","hashtag2"]},{"1333163979":["hashtag1","hashtag2"]},{"1333163958":["hashtag1","hashtag2"]},{"1333163988":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333163982, 1333164027, 1333163985, 1333163979, 1333163958, 1333163988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5593695640564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:56:32.609399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/55/image_31012025_01_55_55_10338.jpg', '/home/pi/Desktop/images/31012025/01/55/image_31012025_01_56_05_9431.jpg', '/home/pi/Desktop/images/31012025/01/56/image_31012025_01_56_15_10373.jpg', '/home/pi/Desktop/images/31012025/01/56/image_31012025_01_56_25_10350.jpg', '/home/pi/Desktop/images/31012025/01/56/image_31012025_01_56_35_9472.jpg', '/home/pi/Desktop/images/31012025/01/56/image_31012025_01_56_45_10451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/55/image_31012025_01_55_55_10338.jpg
/home/pi/Desktop/images/31012025/01/55/image_31012025_01_56_05_9431.jpg
/home/pi/Desktop/images/31012025/01/56/image_31012025_01_56_15_10373.jpg
/home/pi/Desktop/images/31012025/01/56/image_31012025_01_56_25_10350.jpg
/home/pi/Desktop/images/31012025/01/56/image_31012025_01_56_35_9472.jpg
/home/pi/Desktop/images/31012025/01/56/image_31012025_01_56_45_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":["1333164153","1333164147","1333164132","1333164161","1333164140","1333164143"],"photo_ids_order":["1333164132","1333164140","1333164143","1333164147","1333164153","1333164161"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a3610d49bc48fd49ed2e326bc904155f.jpg","text":"TemporaryFile(/tmp/multipartBody7368113212116408120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285053519,"filename":"image_31012025_01_56_35_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4d4d60d83b92be1f72a694bd49dbf681.jpg","text":"TemporaryFile(/tmp/multipartBody4551646752279489315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285053519,"filename":"image_31012025_01_56_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/1/31/8230ddc1d2fa2847c486496acc461385.jpg","text":"TemporaryFile(/tmp/multipartBody1166446046256586338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285053519,"filename":"image_31012025_01_55_55_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c2236ec1860d7c282c2cc043974fa993.jpg","text":"TemporaryFile(/tmp/multipartBody973084559972222715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285053519,"filename":"image_31012025_01_56_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/1/31/0d8899298bbbf311e2fa005cae38eba0.jpg","text":"TemporaryFile(/tmp/multipartBody6493170195886729172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285053519,"filename":"image_31012025_01_56_05_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/721448e32f72ed55fe3b423f50e3a30a.jpg","text":"TemporaryFile(/tmp/multipartBody129413530745835305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285053519,"filename":"image_31012025_01_56_15_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333164143","file1":"1333164140","file0":"1333164132","file4":"1333164153","file5":"1333164161","file3":"1333164147"},"map_files_photo_id_array":[{"photo_id":"1333164161","filename":"file5"},{"photo_id":"1333164143","filename":"file2"},{"photo_id":"1333164153","filename":"file4"},{"photo_id":"1333164140","filename":"file1"},{"photo_id":"1333164132","filename":"file0"},{"photo_id":"1333164147","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333164153":["hashtag1","hashtag2"]},{"1333164147":["hashtag1","hashtag2"]},{"1333164132":["hashtag1","hashtag2"]},{"1333164161":["hashtag1","hashtag2"]},{"1333164140":["hashtag1","hashtag2"]},{"1333164143":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333164153, 1333164147, 1333164132, 1333164161, 1333164140, 1333164143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09583759307861 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:57:32.796660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/56/image_31012025_01_56_55_9482.jpg', '/home/pi/Desktop/images/31012025/01/56/image_31012025_01_57_05_10385.jpg', '/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_16_10353.jpg', '/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_25_9413.jpg', '/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_35_10367.jpg', '/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_45_9429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/56/image_31012025_01_56_55_9482.jpg
/home/pi/Desktop/images/31012025/01/56/image_31012025_01_57_05_10385.jpg
/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_16_10353.jpg
/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_25_9413.jpg
/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_35_10367.jpg
/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_45_9429.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5297870635986328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 01:57:42.894095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/56/image_31012025_01_56_55_9482.jpg', '/home/pi/Desktop/images/31012025/01/56/image_31012025_01_57_05_10385.jpg', '/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_16_10353.jpg', '/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_25_9413.jpg', '/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_35_10367.jpg', '/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_45_9429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/56/image_31012025_01_56_55_9482.jpg
/home/pi/Desktop/images/31012025/01/56/image_31012025_01_57_05_10385.jpg
/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_16_10353.jpg
/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_25_9413.jpg
/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_35_10367.jpg
/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_45_9429.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 01:59:03.801858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/56/image_31012025_01_56_55_9482.jpg', '/home/pi/Desktop/images/31012025/01/56/image_31012025_01_57_05_10385.jpg', '/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_16_10353.jpg', '/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_25_9413.jpg', '/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_35_10367.jpg', '/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_45_9429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/56/image_31012025_01_56_55_9482.jpg
/home/pi/Desktop/images/31012025/01/56/image_31012025_01_57_05_10385.jpg
/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_16_10353.jpg
/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_25_9413.jpg
/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_35_10367.jpg
/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_45_9429.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":["1333164274","1333164268","1333164253","1333164247","1333164261","1333164239"],"photo_ids_order":["1333164239","1333164247","1333164253","1333164261","1333164268","1333164274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/82563188e359f1e9ee8b371fbec9328d.jpg","text":"TemporaryFile(/tmp/multipartBody1830541582836849400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285204809,"filename":"image_31012025_01_57_45_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8a3d7ebf5a140607af0a325f92b4477d.jpg","text":"TemporaryFile(/tmp/multipartBody5094766573619263180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285204809,"filename":"image_31012025_01_57_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/1/31/d450974bda3eb66081670c76523308e3.jpg","text":"TemporaryFile(/tmp/multipartBody2296078908080053613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285204809,"filename":"image_31012025_01_57_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/1/31/d7b606aa8ec9692e9545f81c5ce69fd0.jpg","text":"TemporaryFile(/tmp/multipartBody2519298433606658573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285204809,"filename":"image_31012025_01_57_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/1/31/45a8fc54ece546aeea8d4ff0b5745340.jpg","text":"TemporaryFile(/tmp/multipartBody694092581755936252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285204809,"filename":"image_31012025_01_57_25_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5dcaa3b4af83a8253371abb1e21280d0.jpg","text":"TemporaryFile(/tmp/multipartBody5609778056018788185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285204809,"filename":"image_31012025_01_56_55_9482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333164253","file1":"1333164247","file0":"1333164239","file4":"1333164268","file5":"1333164274","file3":"1333164261"},"map_files_photo_id_array":[{"photo_id":"1333164274","filename":"file5"},{"photo_id":"1333164253","filename":"file2"},{"photo_id":"1333164268","filename":"file4"},{"photo_id":"1333164247","filename":"file1"},{"photo_id":"1333164239","filename":"file0"},{"photo_id":"1333164261","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333164274":["hashtag1","hashtag2"]},{"1333164268":["hashtag1","hashtag2"]},{"1333164253":["hashtag1","hashtag2"]},{"1333164247":["hashtag1","hashtag2"]},{"1333164261":["hashtag1","hashtag2"]},{"1333164239":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333164274, 1333164268, 1333164253, 1333164247, 1333164261, 1333164239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.26381039619446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 01:59:52.534561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_55_10370.jpg', '/home/pi/Desktop/images/31012025/01/57/image_31012025_01_58_06_10354.jpg', '/home/pi/Desktop/images/31012025/01/58/image_31012025_01_58_15_9402.jpg', '/home/pi/Desktop/images/31012025/01/58/image_31012025_01_58_25_10362.jpg', '/home/pi/Desktop/images/31012025/01/58/image_31012025_01_58_36_10372.jpg', '/home/pi/Desktop/images/31012025/01/58/image_31012025_01_58_45_9416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/57/image_31012025_01_57_55_10370.jpg
/home/pi/Desktop/images/31012025/01/57/image_31012025_01_58_06_10354.jpg
/home/pi/Desktop/images/31012025/01/58/image_31012025_01_58_15_9402.jpg
/home/pi/Desktop/images/31012025/01/58/image_31012025_01_58_25_10362.jpg
/home/pi/Desktop/images/31012025/01/58/image_31012025_01_58_36_10372.jpg
/home/pi/Desktop/images/31012025/01/58/image_31012025_01_58_45_9416.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333164292","1333164297","1333164306","1333164287","1333164302","1333164283"],"photo_ids_order":["1333164283","1333164287","1333164292","1333164297","1333164302","1333164306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7d0e3ef67970c8ecf1b6079735d28438.jpg","text":"TemporaryFile(/tmp/multipartBody1048198553775965882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285253443,"filename":"image_31012025_01_58_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/1/31/777cd7c26e10b9611df361463b2568f4.jpg","text":"TemporaryFile(/tmp/multipartBody7404612968593844258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285253443,"filename":"image_31012025_01_58_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/1/31/7b9ef4689d76456ff3430db051782e74.jpg","text":"TemporaryFile(/tmp/multipartBody7272194141102023778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285253443,"filename":"image_31012025_01_58_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/1/31/a42ee4d9b4b87ec2ef09d9fed04edb87.jpg","text":"TemporaryFile(/tmp/multipartBody2356102438223541356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285253443,"filename":"image_31012025_01_58_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/1/31/8ac4df95618af0f4366dd3d5063b3b45.jpg","text":"TemporaryFile(/tmp/multipartBody4903916975308169452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285253443,"filename":"image_31012025_01_58_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/1/31/7a118a59c84612526d7ca99a9c93e953.jpg","text":"TemporaryFile(/tmp/multipartBody3839071504304244435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285253443,"filename":"image_31012025_01_57_55_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333164292","file1":"1333164287","file0":"1333164283","file4":"1333164302","file5":"1333164306","file3":"1333164297"},"map_files_photo_id_array":[{"photo_id":"1333164306","filename":"file5"},{"photo_id":"1333164292","filename":"file2"},{"photo_id":"1333164302","filename":"file4"},{"photo_id":"1333164287","filename":"file1"},{"photo_id":"1333164283","filename":"file0"},{"photo_id":"1333164297","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333164292":["hashtag1","hashtag2"]},{"1333164297":["hashtag1","hashtag2"]},{"1333164306":["hashtag1","hashtag2"]},{"1333164287":["hashtag1","hashtag2"]},{"1333164302":["hashtag1","hashtag2"]},{"1333164283":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333164292, 1333164297, 1333164306, 1333164287, 1333164302, 1333164283)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.25466847419739 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 02:00:42.887436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/58/image_31012025_01_58_55_10339.jpg', '/home/pi/Desktop/images/31012025/01/58/image_31012025_01_59_05_9431.jpg', '/home/pi/Desktop/images/31012025/01/59/image_31012025_01_59_15_10358.jpg', '/home/pi/Desktop/images/31012025/01/59/image_31012025_01_59_26_10437.jpg', '/home/pi/Desktop/images/31012025/01/59/image_31012025_01_59_35_9420.jpg', '/home/pi/Desktop/images/31012025/01/59/image_31012025_01_59_46_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/58/image_31012025_01_58_55_10339.jpg
/home/pi/Desktop/images/31012025/01/58/image_31012025_01_59_05_9431.jpg
/home/pi/Desktop/images/31012025/01/59/image_31012025_01_59_15_10358.jpg
/home/pi/Desktop/images/31012025/01/59/image_31012025_01_59_26_10437.jpg
/home/pi/Desktop/images/31012025/01/59/image_31012025_01_59_35_9420.jpg
/home/pi/Desktop/images/31012025/01/59/image_31012025_01_59_46_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":["1333164372","1333164375","1333164378","1333164383","1333164353","1333164388"],"photo_ids_order":["1333164353","1333164372","1333164375","1333164378","1333164383","1333164388"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a11ae22c022e457c82916cf547bac8e3.jpg","text":"TemporaryFile(/tmp/multipartBody8545314472228941480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285303816,"filename":"image_31012025_01_59_05_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3c9540a65e6f4888b882f40fcbb73798.jpg","text":"TemporaryFile(/tmp/multipartBody170854063881495059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285303816,"filename":"image_31012025_01_59_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/1/31/34fb940e49188e9ec017cbbcf4b6c8fe.jpg","text":"TemporaryFile(/tmp/multipartBody3939612568705615136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285303816,"filename":"image_31012025_01_59_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/1/31/55f7e7491ca7139c287c1aac675e9462.jpg","text":"TemporaryFile(/tmp/multipartBody4997158313255399849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285303816,"filename":"image_31012025_01_59_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/1/31/f147f5eeef28d1e04a59633ba216ae06.jpg","text":"TemporaryFile(/tmp/multipartBody4776190680451490399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285303816,"filename":"image_31012025_01_58_55_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dbd5ddb269c150a4c50fa6ecf64d9eb1.jpg","text":"TemporaryFile(/tmp/multipartBody3194334591086070039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285303816,"filename":"image_31012025_01_59_46_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333164375","file1":"1333164372","file0":"1333164353","file4":"1333164383","file5":"1333164388","file3":"1333164378"},"map_files_photo_id_array":[{"photo_id":"1333164388","filename":"file5"},{"photo_id":"1333164375","filename":"file2"},{"photo_id":"1333164383","filename":"file4"},{"photo_id":"1333164372","filename":"file1"},{"photo_id":"1333164353","filename":"file0"},{"photo_id":"1333164378","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333164372":["hashtag1","hashtag2"]},{"1333164375":["hashtag1","hashtag2"]},{"1333164378":["hashtag1","hashtag2"]},{"1333164383":["hashtag1","hashtag2"]},{"1333164353":["hashtag1","hashtag2"]},{"1333164388":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333164372, 1333164375, 1333164378, 1333164383, 1333164353, 1333164388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.723347187042236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:01:33.018018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/01/59/image_31012025_01_59_55_9362.jpg', '/home/pi/Desktop/images/31012025/02/01/image_31012025_02_01_14_10078.jpg', '/home/pi/Desktop/images/31012025/02/01/image_31012025_02_01_25_10459.jpg', '/home/pi/Desktop/images/31012025/02/01/image_31012025_02_01_35_10443.jpg', '/home/pi/Desktop/images/31012025/02/01/image_31012025_02_01_45_9457.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/01/59/image_31012025_01_59_55_9362.jpg
/home/pi/Desktop/images/31012025/02/01/image_31012025_02_01_14_10078.jpg
/home/pi/Desktop/images/31012025/02/01/image_31012025_02_01_25_10459.jpg
/home/pi/Desktop/images/31012025/02/01/image_31012025_02_01_35_10443.jpg
/home/pi/Desktop/images/31012025/02/01/image_31012025_02_01_45_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":["1333164494","1333164488","1333164473","1333164500","1333164481"],"photo_ids_order":["1333164473","1333164481","1333164488","1333164494","1333164500"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/79792935bea9de3006b4458b5901b1d5.jpg","text":"TemporaryFile(/tmp/multipartBody4860366011269235459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285353916,"filename":"image_31012025_02_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/1/31/93b3553fef3f598766114dee413858fa.jpg","text":"TemporaryFile(/tmp/multipartBody3103291583122555575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285353916,"filename":"image_31012025_02_01_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/1/31/663581f5a5bf85d944af97a3d6d2edaa.jpg","text":"TemporaryFile(/tmp/multipartBody2859415009842018891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285353916,"filename":"image_31012025_01_59_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/1/31/2aa25f365cdb4ad7d86d060aa56105b8.jpg","text":"TemporaryFile(/tmp/multipartBody2208712066482903697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285353916,"filename":"image_31012025_02_01_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/1/31/269f228fe4f88321e9dbd8e61c98883a.jpg","text":"TemporaryFile(/tmp/multipartBody7433000206679461779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285353916,"filename":"image_31012025_02_01_14_10078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333164488","file1":"1333164481","file0":"1333164473","file4":"1333164500","file3":"1333164494"},"map_files_photo_id_array":[{"photo_id":"1333164488","filename":"file2"},{"photo_id":"1333164500","filename":"file4"},{"photo_id":"1333164481","filename":"file1"},{"photo_id":"1333164473","filename":"file0"},{"photo_id":"1333164494","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333164494":["hashtag1","hashtag2"]},{"1333164488":["hashtag1","hashtag2"]},{"1333164473":["hashtag1","hashtag2"]},{"1333164500":["hashtag1","hashtag2"]},{"1333164481":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333164494, 1333164488, 1333164473, 1333164500, 1333164481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.214205741882324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:02:32.421363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/01/image_31012025_02_01_55_10350.jpg', '/home/pi/Desktop/images/31012025/02/01/image_31012025_02_02_05_9351.jpg', '/home/pi/Desktop/images/31012025/02/02/image_31012025_02_02_15_10441.jpg', '/home/pi/Desktop/images/31012025/02/02/image_31012025_02_02_25_10361.jpg', '/home/pi/Desktop/images/31012025/02/02/image_31012025_02_02_35_9362.jpg', '/home/pi/Desktop/images/31012025/02/02/image_31012025_02_02_45_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/01/image_31012025_02_01_55_10350.jpg
/home/pi/Desktop/images/31012025/02/01/image_31012025_02_02_05_9351.jpg
/home/pi/Desktop/images/31012025/02/02/image_31012025_02_02_15_10441.jpg
/home/pi/Desktop/images/31012025/02/02/image_31012025_02_02_25_10361.jpg
/home/pi/Desktop/images/31012025/02/02/image_31012025_02_02_35_9362.jpg
/home/pi/Desktop/images/31012025/02/02/image_31012025_02_02_45_10362.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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333164538","1333164547","1333164531","1333164662","1333164629","1333164524"],"photo_ids_order":["1333164524","1333164531","1333164538","1333164547","1333164629","1333164662"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/04271cddef56dd19af9d32a82781f0c0.jpg","text":"TemporaryFile(/tmp/multipartBody7468803389929071056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285413368,"filename":"image_31012025_02_02_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/1/31/2db10c798116b854b3da64e2bcbc1d46.jpg","text":"TemporaryFile(/tmp/multipartBody3764537102403488478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285413368,"filename":"image_31012025_02_02_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/1/31/bf7e4da2121161b78f67c6c8de8a00e4.jpg","text":"TemporaryFile(/tmp/multipartBody8978950155800351662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285413368,"filename":"image_31012025_02_02_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/1/31/d7f5216fcf89f9b2e15e08ba04c65336.jpg","text":"TemporaryFile(/tmp/multipartBody9116915090872271290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285413368,"filename":"image_31012025_02_02_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/1/31/1229ae13d7e5cca486dee9c7dc0cf134.jpg","text":"TemporaryFile(/tmp/multipartBody2217126822275098502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285413368,"filename":"image_31012025_02_02_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/1/31/5e823c2080605ff872b6093b44b378a5.jpg","text":"TemporaryFile(/tmp/multipartBody1587677213841921684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285413368,"filename":"image_31012025_02_01_55_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333164538","file1":"1333164531","file0":"1333164524","file4":"1333164629","file5":"1333164662","file3":"1333164547"},"map_files_photo_id_array":[{"photo_id":"1333164662","filename":"file5"},{"photo_id":"1333164538","filename":"file2"},{"photo_id":"1333164629","filename":"file4"},{"photo_id":"1333164531","filename":"file1"},{"photo_id":"1333164524","filename":"file0"},{"photo_id":"1333164547","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333164538":["hashtag1","hashtag2"]},{"1333164547":["hashtag1","hashtag2"]},{"1333164531":["hashtag1","hashtag2"]},{"1333164662":["hashtag1","hashtag2"]},{"1333164629":["hashtag1","hashtag2"]},{"1333164524":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333164538, 1333164547, 1333164531, 1333164662, 1333164629, 1333164524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.3122034072876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 02:04:03.535389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/02/image_31012025_02_02_54_9345.jpg', '/home/pi/Desktop/images/31012025/02/02/image_31012025_02_03_05_10419.jpg', '/home/pi/Desktop/images/31012025/02/03/image_31012025_02_03_15_10349.jpg', '/home/pi/Desktop/images/31012025/02/03/image_31012025_02_03_25_9360.jpg', '/home/pi/Desktop/images/31012025/02/03/image_31012025_02_03_35_10433.jpg', '/home/pi/Desktop/images/31012025/02/03/image_31012025_02_03_45_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/02/image_31012025_02_02_54_9345.jpg
/home/pi/Desktop/images/31012025/02/02/image_31012025_02_03_05_10419.jpg
/home/pi/Desktop/images/31012025/02/03/image_31012025_02_03_15_10349.jpg
/home/pi/Desktop/images/31012025/02/03/image_31012025_02_03_25_9360.jpg
/home/pi/Desktop/images/31012025/02/03/image_31012025_02_03_35_10433.jpg
/home/pi/Desktop/images/31012025/02/03/image_31012025_02_03_45_10373.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":["1333164781","1333164792","1333164771","1333164737","1333164787","1333164751"],"photo_ids_order":["1333164737","1333164751","1333164771","1333164781","1333164787","1333164792"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/26a4a416c91674209c81e36b7a51210c.jpg","text":"TemporaryFile(/tmp/multipartBody3378689480991744571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285504485,"filename":"image_31012025_02_03_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/1/31/baea7ed8be0f075950dda523a3873139.jpg","text":"TemporaryFile(/tmp/multipartBody3358913985662743118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285504485,"filename":"image_31012025_02_03_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/1/31/5d09ff76d72a1f901845db2c734ff429.jpg","text":"TemporaryFile(/tmp/multipartBody2680503006949894972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285504485,"filename":"image_31012025_02_03_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/1/31/974976f9f3272400ae1c04bdc6bf97ef.jpg","text":"TemporaryFile(/tmp/multipartBody5523678681096884669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285504485,"filename":"image_31012025_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/1/31/2f49d950e8b5a9a48d54942f69b24902.jpg","text":"TemporaryFile(/tmp/multipartBody5498117154111105636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285504485,"filename":"image_31012025_02_03_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/1/31/98466b345fd888b298f47de04869ce97.jpg","text":"TemporaryFile(/tmp/multipartBody7175244890328827503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285504485,"filename":"image_31012025_02_03_05_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333164771","file1":"1333164751","file0":"1333164737","file4":"1333164787","file5":"1333164792","file3":"1333164781"},"map_files_photo_id_array":[{"photo_id":"1333164792","filename":"file5"},{"photo_id":"1333164771","filename":"file2"},{"photo_id":"1333164787","filename":"file4"},{"photo_id":"1333164751","filename":"file1"},{"photo_id":"1333164737","filename":"file0"},{"photo_id":"1333164781","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333164781":["hashtag1","hashtag2"]},{"1333164792":["hashtag1","hashtag2"]},{"1333164771":["hashtag1","hashtag2"]},{"1333164737":["hashtag1","hashtag2"]},{"1333164787":["hashtag1","hashtag2"]},{"1333164751":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333164781, 1333164792, 1333164771, 1333164737, 1333164787, 1333164751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.96813416481018 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:04:52.892230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/03/image_31012025_02_03_55_9466.jpg', '/home/pi/Desktop/images/31012025/02/03/image_31012025_02_04_05_10354.jpg', '/home/pi/Desktop/images/31012025/02/04/image_31012025_02_04_15_9335.jpg', '/home/pi/Desktop/images/31012025/02/04/image_31012025_02_04_25_10365.jpg', '/home/pi/Desktop/images/31012025/02/04/image_31012025_02_04_35_10449.jpg', '/home/pi/Desktop/images/31012025/02/04/image_31012025_02_04_45_9379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/03/image_31012025_02_03_55_9466.jpg
/home/pi/Desktop/images/31012025/02/03/image_31012025_02_04_05_10354.jpg
/home/pi/Desktop/images/31012025/02/04/image_31012025_02_04_15_9335.jpg
/home/pi/Desktop/images/31012025/02/04/image_31012025_02_04_25_10365.jpg
/home/pi/Desktop/images/31012025/02/04/image_31012025_02_04_35_10449.jpg
/home/pi/Desktop/images/31012025/02/04/image_31012025_02_04_45_9379.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5301513671875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 02:05:04.433876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/03/image_31012025_02_03_55_9466.jpg', '/home/pi/Desktop/images/31012025/02/03/image_31012025_02_04_05_10354.jpg', '/home/pi/Desktop/images/31012025/02/04/image_31012025_02_04_15_9335.jpg', '/home/pi/Desktop/images/31012025/02/04/image_31012025_02_04_25_10365.jpg', '/home/pi/Desktop/images/31012025/02/04/image_31012025_02_04_35_10449.jpg', '/home/pi/Desktop/images/31012025/02/04/image_31012025_02_04_45_9379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/03/image_31012025_02_03_55_9466.jpg
/home/pi/Desktop/images/31012025/02/03/image_31012025_02_04_05_10354.jpg
/home/pi/Desktop/images/31012025/02/04/image_31012025_02_04_15_9335.jpg
/home/pi/Desktop/images/31012025/02/04/image_31012025_02_04_25_10365.jpg
/home/pi/Desktop/images/31012025/02/04/image_31012025_02_04_35_10449.jpg
/home/pi/Desktop/images/31012025/02/04/image_31012025_02_04_45_9379.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":["1333164910","1333164907","1333164978","1333164921","1333164915","1333164970"],"photo_ids_order":["1333164907","1333164910","1333164915","1333164921","1333164970","1333164978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4732bac59ea6b0114b6dda7742271dd0.jpg","text":"TemporaryFile(/tmp/multipartBody3591391048434804742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285565498,"filename":"image_31012025_02_04_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/1/31/da1194124aea0b65a7f4519953db26d9.jpg","text":"TemporaryFile(/tmp/multipartBody3738985511198433070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285565498,"filename":"image_31012025_02_03_55_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fa0ee4f04a28c0195f55eb4c2a8214ae.jpg","text":"TemporaryFile(/tmp/multipartBody4053906445713529548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285565498,"filename":"image_31012025_02_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/1/31/9126ba23cc8cfe4589ef4f0598030338.jpg","text":"TemporaryFile(/tmp/multipartBody191475588743868723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285565498,"filename":"image_31012025_02_04_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/1/31/eb9103be3ff79df6c7a32ac68a2271a5.jpg","text":"TemporaryFile(/tmp/multipartBody9008525395969109619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285565498,"filename":"image_31012025_02_04_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/1/31/9cabbbba3f33b75c34a748db90c4aab5.jpg","text":"TemporaryFile(/tmp/multipartBody593598654784259016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285565498,"filename":"image_31012025_02_04_35_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333164915","file1":"1333164910","file0":"1333164907","file4":"1333164970","file5":"1333164978","file3":"1333164921"},"map_files_photo_id_array":[{"photo_id":"1333164978","filename":"file5"},{"photo_id":"1333164915","filename":"file2"},{"photo_id":"1333164970","filename":"file4"},{"photo_id":"1333164910","filename":"file1"},{"photo_id":"1333164907","filename":"file0"},{"photo_id":"1333164921","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333164910":["hashtag1","hashtag2"]},{"1333164907":["hashtag1","hashtag2"]},{"1333164978":["hashtag1","hashtag2"]},{"1333164921":["hashtag1","hashtag2"]},{"1333164915":["hashtag1","hashtag2"]},{"1333164970":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333164910, 1333164907, 1333164978, 1333164921, 1333164915, 1333164970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.89669632911682 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:05:53.304075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/04/image_31012025_02_04_55_10394.jpg', '/home/pi/Desktop/images/31012025/02/04/image_31012025_02_05_04_9356.jpg', '/home/pi/Desktop/images/31012025/02/05/image_31012025_02_05_15_10448.jpg', '/home/pi/Desktop/images/31012025/02/05/image_31012025_02_05_25_10373.jpg', '/home/pi/Desktop/images/31012025/02/05/image_31012025_02_05_35_9399.jpg', '/home/pi/Desktop/images/31012025/02/05/image_31012025_02_05_45_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/04/image_31012025_02_04_55_10394.jpg
/home/pi/Desktop/images/31012025/02/04/image_31012025_02_05_04_9356.jpg
/home/pi/Desktop/images/31012025/02/05/image_31012025_02_05_15_10448.jpg
/home/pi/Desktop/images/31012025/02/05/image_31012025_02_05_25_10373.jpg
/home/pi/Desktop/images/31012025/02/05/image_31012025_02_05_35_9399.jpg
/home/pi/Desktop/images/31012025/02/05/image_31012025_02_05_45_10429.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":["1333165890","1333165703","1333165526","1333165340","1333165897","1333165927"],"photo_ids_order":["1333165340","1333165526","1333165703","1333165890","1333165897","1333165927"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/64251949cb9b7681400a08d4239b644f.jpg","text":"TemporaryFile(/tmp/multipartBody1551259739901690829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285614221,"filename":"image_31012025_02_05_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/1/31/18cbd776ff0ea44bc5d3f3702e74df69.jpg","text":"TemporaryFile(/tmp/multipartBody7114218921453550658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285614221,"filename":"image_31012025_02_05_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/1/31/5349c22bbbf574dbf893271a97e482a2.jpg","text":"TemporaryFile(/tmp/multipartBody2640717979047595924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285614221,"filename":"image_31012025_02_05_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/1/31/d009d0f92533ae02492c137f07218551.jpg","text":"TemporaryFile(/tmp/multipartBody6422816710372135187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285614221,"filename":"image_31012025_02_04_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/1/31/887c917b2c6c4968e8681432e5df257c.jpg","text":"TemporaryFile(/tmp/multipartBody1177701113208852643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285614221,"filename":"image_31012025_02_05_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/1/31/4eaad839989323b736258c681134b516.jpg","text":"TemporaryFile(/tmp/multipartBody7675695773941500904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285614221,"filename":"image_31012025_02_05_45_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333165703","file1":"1333165526","file0":"1333165340","file4":"1333165897","file5":"1333165927","file3":"1333165890"},"map_files_photo_id_array":[{"photo_id":"1333165927","filename":"file5"},{"photo_id":"1333165703","filename":"file2"},{"photo_id":"1333165897","filename":"file4"},{"photo_id":"1333165526","filename":"file1"},{"photo_id":"1333165340","filename":"file0"},{"photo_id":"1333165890","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333165890":["hashtag1","hashtag2"]},{"1333165703":["hashtag1","hashtag2"]},{"1333165526":["hashtag1","hashtag2"]},{"1333165340":["hashtag1","hashtag2"]},{"1333165897":["hashtag1","hashtag2"]},{"1333165927":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333165890, 1333165703, 1333165526, 1333165340, 1333165897, 1333165927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82197070121765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 02:06:42.543543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/05/image_31012025_02_05_54_9348.jpg', '/home/pi/Desktop/images/31012025/02/05/image_31012025_02_06_05_10456.jpg', '/home/pi/Desktop/images/31012025/02/06/image_31012025_02_06_15_10397.jpg', '/home/pi/Desktop/images/31012025/02/06/image_31012025_02_06_25_9478.jpg', '/home/pi/Desktop/images/31012025/02/06/image_31012025_02_06_35_10419.jpg', '/home/pi/Desktop/images/31012025/02/06/image_31012025_02_06_45_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/05/image_31012025_02_05_54_9348.jpg
/home/pi/Desktop/images/31012025/02/05/image_31012025_02_06_05_10456.jpg
/home/pi/Desktop/images/31012025/02/06/image_31012025_02_06_15_10397.jpg
/home/pi/Desktop/images/31012025/02/06/image_31012025_02_06_25_9478.jpg
/home/pi/Desktop/images/31012025/02/06/image_31012025_02_06_35_10419.jpg
/home/pi/Desktop/images/31012025/02/06/image_31012025_02_06_45_9345.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":["1333167119","1333166573","1333166872","1333167025","1333166665","1333166440"],"photo_ids_order":["1333166440","1333166573","1333166665","1333166872","1333167025","1333167119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b1ab8f04ec30155a446aa22462278aee.jpg","text":"TemporaryFile(/tmp/multipartBody1920113080342624962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285663453,"filename":"image_31012025_02_06_45_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e123da8d09604f2fb9d18450e7024ede.jpg","text":"TemporaryFile(/tmp/multipartBody6603097199229585347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285663453,"filename":"image_31012025_02_06_05_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/069728a2ce762039e35885bd10c53e37.jpg","text":"TemporaryFile(/tmp/multipartBody5338350427766880473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285663453,"filename":"image_31012025_02_06_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/1/31/91076fe465f3e322dd853f01f8bf9d85.jpg","text":"TemporaryFile(/tmp/multipartBody3453702483049491751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285663453,"filename":"image_31012025_02_06_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/1/31/8d5d43aafa5bf81f26e0e3b621a36dd5.jpg","text":"TemporaryFile(/tmp/multipartBody8144983140060205449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285663453,"filename":"image_31012025_02_06_15_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/50ca40bfc6e4d458d69cb70a47ff09d5.jpg","text":"TemporaryFile(/tmp/multipartBody1403216613350348150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285663453,"filename":"image_31012025_02_05_54_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333166665","file1":"1333166573","file0":"1333166440","file4":"1333167025","file5":"1333167119","file3":"1333166872"},"map_files_photo_id_array":[{"photo_id":"1333167119","filename":"file5"},{"photo_id":"1333166665","filename":"file2"},{"photo_id":"1333167025","filename":"file4"},{"photo_id":"1333166573","filename":"file1"},{"photo_id":"1333166440","filename":"file0"},{"photo_id":"1333166872","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333167119":["hashtag1","hashtag2"]},{"1333166573":["hashtag1","hashtag2"]},{"1333166872":["hashtag1","hashtag2"]},{"1333167025":["hashtag1","hashtag2"]},{"1333166665":["hashtag1","hashtag2"]},{"1333166440":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333167119, 1333166573, 1333166872, 1333167025, 1333166665, 1333166440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.536834955215454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:07:32.708077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/06/image_31012025_02_06_55_10345.jpg', '/home/pi/Desktop/images/31012025/02/06/image_31012025_02_07_05_10434.jpg', '/home/pi/Desktop/images/31012025/02/07/image_31012025_02_07_15_9359.jpg', '/home/pi/Desktop/images/31012025/02/07/image_31012025_02_07_25_10364.jpg', '/home/pi/Desktop/images/31012025/02/07/image_31012025_02_07_35_10346.jpg', '/home/pi/Desktop/images/31012025/02/07/image_31012025_02_07_45_9497.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/06/image_31012025_02_06_55_10345.jpg
/home/pi/Desktop/images/31012025/02/06/image_31012025_02_07_05_10434.jpg
/home/pi/Desktop/images/31012025/02/07/image_31012025_02_07_15_9359.jpg
/home/pi/Desktop/images/31012025/02/07/image_31012025_02_07_25_10364.jpg
/home/pi/Desktop/images/31012025/02/07/image_31012025_02_07_35_10346.jpg
/home/pi/Desktop/images/31012025/02/07/image_31012025_02_07_45_9497.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333167327","1333167272","1333167329","1333167325","1333167322","1333167303"],"photo_ids_order":["1333167272","1333167303","1333167322","1333167325","1333167327","1333167329"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/12e56364b190cbff8974fcf357a3cd84.jpg","text":"TemporaryFile(/tmp/multipartBody8719538838224944396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285713616,"filename":"image_31012025_02_07_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/1/31/74ebfca3a4ad9b5389e4f0df35bded03.jpg","text":"TemporaryFile(/tmp/multipartBody2726542581922749449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285713616,"filename":"image_31012025_02_06_55_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2d812436b3d03df27630ec1e65f79adb.jpg","text":"TemporaryFile(/tmp/multipartBody8770149295365768764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285713616,"filename":"image_31012025_02_07_45_9497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/41d7c3930c4315f13ce5f26bc7b87969.jpg","text":"TemporaryFile(/tmp/multipartBody3595563677906773436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285713616,"filename":"image_31012025_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/1/31/67cdbf0e35172be2bba2a2c76f55694c.jpg","text":"TemporaryFile(/tmp/multipartBody2784997583573340171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285713616,"filename":"image_31012025_02_07_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/1/31/be18e433f358dfde6d96d722948d9b46.jpg","text":"TemporaryFile(/tmp/multipartBody6228744538411574206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285713616,"filename":"image_31012025_02_07_05_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333167322","file1":"1333167303","file0":"1333167272","file4":"1333167327","file5":"1333167329","file3":"1333167325"},"map_files_photo_id_array":[{"photo_id":"1333167329","filename":"file5"},{"photo_id":"1333167322","filename":"file2"},{"photo_id":"1333167327","filename":"file4"},{"photo_id":"1333167303","filename":"file1"},{"photo_id":"1333167272","filename":"file0"},{"photo_id":"1333167325","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333167327":["hashtag1","hashtag2"]},{"1333167272":["hashtag1","hashtag2"]},{"1333167329":["hashtag1","hashtag2"]},{"1333167325":["hashtag1","hashtag2"]},{"1333167322":["hashtag1","hashtag2"]},{"1333167303":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333167327, 1333167272, 1333167329, 1333167325, 1333167322, 1333167303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06162452697754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:08:32.999719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/07/image_31012025_02_07_55_10364.jpg', '/home/pi/Desktop/images/31012025/02/07/image_31012025_02_08_05_9368.jpg', '/home/pi/Desktop/images/31012025/02/08/image_31012025_02_08_15_10439.jpg', '/home/pi/Desktop/images/31012025/02/08/image_31012025_02_08_24_9379.jpg', '/home/pi/Desktop/images/31012025/02/08/image_31012025_02_08_35_10406.jpg', '/home/pi/Desktop/images/31012025/02/08/image_31012025_02_08_45_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/07/image_31012025_02_07_55_10364.jpg
/home/pi/Desktop/images/31012025/02/07/image_31012025_02_08_05_9368.jpg
/home/pi/Desktop/images/31012025/02/08/image_31012025_02_08_15_10439.jpg
/home/pi/Desktop/images/31012025/02/08/image_31012025_02_08_24_9379.jpg
/home/pi/Desktop/images/31012025/02/08/image_31012025_02_08_35_10406.jpg
/home/pi/Desktop/images/31012025/02/08/image_31012025_02_08_45_10373.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5156056880950928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 02:08:42.959609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/07/image_31012025_02_07_55_10364.jpg', '/home/pi/Desktop/images/31012025/02/07/image_31012025_02_08_05_9368.jpg', '/home/pi/Desktop/images/31012025/02/08/image_31012025_02_08_15_10439.jpg', '/home/pi/Desktop/images/31012025/02/08/image_31012025_02_08_24_9379.jpg', '/home/pi/Desktop/images/31012025/02/08/image_31012025_02_08_35_10406.jpg', '/home/pi/Desktop/images/31012025/02/08/image_31012025_02_08_45_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/07/image_31012025_02_07_55_10364.jpg
/home/pi/Desktop/images/31012025/02/07/image_31012025_02_08_05_9368.jpg
/home/pi/Desktop/images/31012025/02/08/image_31012025_02_08_15_10439.jpg
/home/pi/Desktop/images/31012025/02/08/image_31012025_02_08_24_9379.jpg
/home/pi/Desktop/images/31012025/02/08/image_31012025_02_08_35_10406.jpg
/home/pi/Desktop/images/31012025/02/08/image_31012025_02_08_45_10373.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":["1333167525","1333167674","1333167443","1333167691","1333167622","1333167448"],"photo_ids_order":["1333167443","1333167448","1333167525","1333167622","1333167674","1333167691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ed33bbe6a4bd2c402f7a0dd554d8e8fb.jpg","text":"TemporaryFile(/tmp/multipartBody2177069511755841858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285783865,"filename":"image_31012025_02_08_15_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d77d0c243f20a89c7a920d8fbb08429e.jpg","text":"TemporaryFile(/tmp/multipartBody290138886614526098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285783865,"filename":"image_31012025_02_08_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/1/31/da0e7a03fa26c87a5a5d7de9f7d1c145.jpg","text":"TemporaryFile(/tmp/multipartBody2378102361008526590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285783865,"filename":"image_31012025_02_07_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/1/31/5ba7da2324415a65cb1572e9045192bb.jpg","text":"TemporaryFile(/tmp/multipartBody7758810474757989189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285783865,"filename":"image_31012025_02_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/1/31/e9d391dae8f4eb92521964dc0e23270f.jpg","text":"TemporaryFile(/tmp/multipartBody5457693288056500761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285783865,"filename":"image_31012025_02_08_24_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f9c968851860953c21f44d7171b644b7.jpg","text":"TemporaryFile(/tmp/multipartBody8900740286000846394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285783865,"filename":"image_31012025_02_08_05_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333167525","file1":"1333167448","file0":"1333167443","file4":"1333167674","file5":"1333167691","file3":"1333167622"},"map_files_photo_id_array":[{"photo_id":"1333167691","filename":"file5"},{"photo_id":"1333167525","filename":"file2"},{"photo_id":"1333167674","filename":"file4"},{"photo_id":"1333167448","filename":"file1"},{"photo_id":"1333167443","filename":"file0"},{"photo_id":"1333167622","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333167525":["hashtag1","hashtag2"]},{"1333167674":["hashtag1","hashtag2"]},{"1333167443":["hashtag1","hashtag2"]},{"1333167691":["hashtag1","hashtag2"]},{"1333167622":["hashtag1","hashtag2"]},{"1333167448":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333167525, 1333167674, 1333167443, 1333167691, 1333167622, 1333167448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.88118100166321 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:09:32.416574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/08/image_31012025_02_08_55_9382.jpg', '/home/pi/Desktop/images/31012025/02/08/image_31012025_02_09_05_10354.jpg', '/home/pi/Desktop/images/31012025/02/09/image_31012025_02_09_15_10366.jpg', '/home/pi/Desktop/images/31012025/02/09/image_31012025_02_09_25_9358.jpg', '/home/pi/Desktop/images/31012025/02/09/image_31012025_02_09_35_10418.jpg', '/home/pi/Desktop/images/31012025/02/09/image_31012025_02_09_45_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/08/image_31012025_02_08_55_9382.jpg
/home/pi/Desktop/images/31012025/02/08/image_31012025_02_09_05_10354.jpg
/home/pi/Desktop/images/31012025/02/09/image_31012025_02_09_15_10366.jpg
/home/pi/Desktop/images/31012025/02/09/image_31012025_02_09_25_9358.jpg
/home/pi/Desktop/images/31012025/02/09/image_31012025_02_09_35_10418.jpg
/home/pi/Desktop/images/31012025/02/09/image_31012025_02_09_45_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":["1333167822","1333167816","1333167848","1333167851","1333167827","1333167829"],"photo_ids_order":["1333167816","1333167822","1333167827","1333167829","1333167848","1333167851"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6b0ccb3eea5bd86da36b4fd48683dfd9.jpg","text":"TemporaryFile(/tmp/multipartBody3782332696394347578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285833346,"filename":"image_31012025_02_09_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/1/31/345358f81a88fc248858d473cc17bd6d.jpg","text":"TemporaryFile(/tmp/multipartBody6323730761440691283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285833346,"filename":"image_31012025_02_08_55_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2f8e25343b69c41c640427109c310a43.jpg","text":"TemporaryFile(/tmp/multipartBody6218511628488313166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285833346,"filename":"image_31012025_02_09_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/1/31/3883f096c3c4dce9309215e947fc1093.jpg","text":"TemporaryFile(/tmp/multipartBody7743764005129761332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285833346,"filename":"image_31012025_02_09_45_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3cf9088f94de2bf1659da4cb90ee83eb.jpg","text":"TemporaryFile(/tmp/multipartBody878215507401967977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285833346,"filename":"image_31012025_02_09_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/1/31/9dc3e1ee5cb37e8d9ac40690ee1a8254.jpg","text":"TemporaryFile(/tmp/multipartBody5327903248127472458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285833346,"filename":"image_31012025_02_09_25_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333167827","file1":"1333167822","file0":"1333167816","file4":"1333167848","file5":"1333167851","file3":"1333167829"},"map_files_photo_id_array":[{"photo_id":"1333167851","filename":"file5"},{"photo_id":"1333167827","filename":"file2"},{"photo_id":"1333167848","filename":"file4"},{"photo_id":"1333167822","filename":"file1"},{"photo_id":"1333167816","filename":"file0"},{"photo_id":"1333167829","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333167822":["hashtag1","hashtag2"]},{"1333167816":["hashtag1","hashtag2"]},{"1333167848":["hashtag1","hashtag2"]},{"1333167851":["hashtag1","hashtag2"]},{"1333167827":["hashtag1","hashtag2"]},{"1333167829":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333167822, 1333167816, 1333167848, 1333167851, 1333167827, 1333167829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.224116563797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:10:32.550806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/09/image_31012025_02_09_55_10367.jpg', '/home/pi/Desktop/images/31012025/02/09/image_31012025_02_10_05_10365.jpg', '/home/pi/Desktop/images/31012025/02/10/image_31012025_02_10_15_9351.jpg', '/home/pi/Desktop/images/31012025/02/10/image_31012025_02_10_25_10436.jpg', '/home/pi/Desktop/images/31012025/02/10/image_31012025_02_10_45_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/09/image_31012025_02_09_55_10367.jpg
/home/pi/Desktop/images/31012025/02/09/image_31012025_02_10_05_10365.jpg
/home/pi/Desktop/images/31012025/02/10/image_31012025_02_10_15_9351.jpg
/home/pi/Desktop/images/31012025/02/10/image_31012025_02_10_25_10436.jpg
/home/pi/Desktop/images/31012025/02/10/image_31012025_02_10_45_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":["1333168028","1333167968","1333168031","1333168024","1333168032"],"photo_ids_order":["1333167968","1333168024","1333168028","1333168031","1333168032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e533853a72e76679b1c23813a9e51598.jpg","text":"TemporaryFile(/tmp/multipartBody472596104431781901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285893446,"filename":"image_31012025_02_10_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/1/31/a368896fbbc6b9cacf425e54e0ae9d58.jpg","text":"TemporaryFile(/tmp/multipartBody8787210335359249525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285893446,"filename":"image_31012025_02_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/1/31/e5d5c545e92a2cecc841ac03870ccacb.jpg","text":"TemporaryFile(/tmp/multipartBody3057833315571418346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285893446,"filename":"image_31012025_02_10_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/1/31/36424490787b18c92ce223dae8f01359.jpg","text":"TemporaryFile(/tmp/multipartBody3686987621449951185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285893446,"filename":"image_31012025_02_10_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/1/31/ab6708756382acb915c74f931e1402a5.jpg","text":"TemporaryFile(/tmp/multipartBody5395310780729913626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285893446,"filename":"image_31012025_02_10_45_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333168028","file1":"1333168024","file0":"1333167968","file4":"1333168032","file3":"1333168031"},"map_files_photo_id_array":[{"photo_id":"1333168028","filename":"file2"},{"photo_id":"1333168032","filename":"file4"},{"photo_id":"1333168024","filename":"file1"},{"photo_id":"1333167968","filename":"file0"},{"photo_id":"1333168031","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333168028":["hashtag1","hashtag2"]},{"1333167968":["hashtag1","hashtag2"]},{"1333168031":["hashtag1","hashtag2"]},{"1333168024":["hashtag1","hashtag2"]},{"1333168032":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333168028, 1333167968, 1333168031, 1333168024, 1333168032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.967490673065186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:11:32.743931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/10/image_31012025_02_10_55_10430.jpg', '/home/pi/Desktop/images/31012025/02/10/image_31012025_02_11_05_9339.jpg', '/home/pi/Desktop/images/31012025/02/11/image_31012025_02_11_15_10416.jpg', '/home/pi/Desktop/images/31012025/02/11/image_31012025_02_11_24_9365.jpg', '/home/pi/Desktop/images/31012025/02/11/image_31012025_02_11_35_10436.jpg', '/home/pi/Desktop/images/31012025/02/11/image_31012025_02_11_45_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/10/image_31012025_02_10_55_10430.jpg
/home/pi/Desktop/images/31012025/02/10/image_31012025_02_11_05_9339.jpg
/home/pi/Desktop/images/31012025/02/11/image_31012025_02_11_15_10416.jpg
/home/pi/Desktop/images/31012025/02/11/image_31012025_02_11_24_9365.jpg
/home/pi/Desktop/images/31012025/02/11/image_31012025_02_11_35_10436.jpg
/home/pi/Desktop/images/31012025/02/11/image_31012025_02_11_45_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":["1333168162","1333168156","1333168159","1333168147","1333168167","1333168152"],"photo_ids_order":["1333168147","1333168152","1333168156","1333168159","1333168162","1333168167"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0e036d87296d60fc1b76816d36da8138.jpg","text":"TemporaryFile(/tmp/multipartBody6870014373404798472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285953656,"filename":"image_31012025_02_11_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/1/31/4e96ae13c64d07d2b25c505ef7a507fa.jpg","text":"TemporaryFile(/tmp/multipartBody3738470113071516190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285953656,"filename":"image_31012025_02_11_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/1/31/50b318a19f1b225c02a9b698e7b01289.jpg","text":"TemporaryFile(/tmp/multipartBody5618862776603711129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285953656,"filename":"image_31012025_02_11_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/1/31/4e88b759696cc85f2ae6b3e6463d668e.jpg","text":"TemporaryFile(/tmp/multipartBody3417319047283560698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285953656,"filename":"image_31012025_02_10_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/1/31/ec9a24606425676c7aedc2130cddede3.jpg","text":"TemporaryFile(/tmp/multipartBody7186620778514562518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285953656,"filename":"image_31012025_02_11_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/1/31/bd7fb15d031372d5da32770a81159adf.jpg","text":"TemporaryFile(/tmp/multipartBody4558498316754064193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738285953656,"filename":"image_31012025_02_11_05_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333168156","file1":"1333168152","file0":"1333168147","file4":"1333168162","file5":"1333168167","file3":"1333168159"},"map_files_photo_id_array":[{"photo_id":"1333168167","filename":"file5"},{"photo_id":"1333168156","filename":"file2"},{"photo_id":"1333168162","filename":"file4"},{"photo_id":"1333168152","filename":"file1"},{"photo_id":"1333168147","filename":"file0"},{"photo_id":"1333168159","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333168162":["hashtag1","hashtag2"]},{"1333168156":["hashtag1","hashtag2"]},{"1333168159":["hashtag1","hashtag2"]},{"1333168147":["hashtag1","hashtag2"]},{"1333168167":["hashtag1","hashtag2"]},{"1333168152":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333168162, 1333168156, 1333168159, 1333168147, 1333168167, 1333168152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04559016227722 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:12:33.126392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/11/image_31012025_02_11_55_9333.jpg', '/home/pi/Desktop/images/31012025/02/11/image_31012025_02_12_05_10394.jpg', '/home/pi/Desktop/images/31012025/02/12/image_31012025_02_12_15_10339.jpg', '/home/pi/Desktop/images/31012025/02/12/image_31012025_02_12_45_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/11/image_31012025_02_11_55_9333.jpg
/home/pi/Desktop/images/31012025/02/11/image_31012025_02_12_05_10394.jpg
/home/pi/Desktop/images/31012025/02/12/image_31012025_02_12_15_10339.jpg
/home/pi/Desktop/images/31012025/02/12/image_31012025_02_12_45_10368.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.49835634231567383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 02:12:43.154459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/11/image_31012025_02_11_55_9333.jpg', '/home/pi/Desktop/images/31012025/02/11/image_31012025_02_12_05_10394.jpg', '/home/pi/Desktop/images/31012025/02/12/image_31012025_02_12_15_10339.jpg', '/home/pi/Desktop/images/31012025/02/12/image_31012025_02_12_45_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/11/image_31012025_02_11_55_9333.jpg
/home/pi/Desktop/images/31012025/02/11/image_31012025_02_12_05_10394.jpg
/home/pi/Desktop/images/31012025/02/12/image_31012025_02_12_15_10339.jpg
/home/pi/Desktop/images/31012025/02/12/image_31012025_02_12_45_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":["1333168208","1333168217","1333168215","1333168212"],"photo_ids_order":["1333168208","1333168212","1333168215","1333168217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1fbccc931979462d104ee4b5859309cc.jpg","text":"TemporaryFile(/tmp/multipartBody798188715294370249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286024040,"filename":"image_31012025_02_11_55_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/eb925d832dc9b12f3754cea824db8fd2.jpg","text":"TemporaryFile(/tmp/multipartBody2261528382792257702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286024040,"filename":"image_31012025_02_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/1/31/1559b69d64db5916c1356e4473e0063d.jpg","text":"TemporaryFile(/tmp/multipartBody1224456669220557460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286024040,"filename":"image_31012025_02_12_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/1/31/ff93031ad6a1792b8cabf788e0c5c0ca.jpg","text":"TemporaryFile(/tmp/multipartBody6158258145508741155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286024040,"filename":"image_31012025_02_12_05_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333168215","file1":"1333168212","file0":"1333168208","file3":"1333168217"},"map_files_photo_id_array":[{"photo_id":"1333168215","filename":"file2"},{"photo_id":"1333168212","filename":"file1"},{"photo_id":"1333168208","filename":"file0"},{"photo_id":"1333168217","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333168208":["hashtag1","hashtag2"]},{"1333168217":["hashtag1","hashtag2"]},{"1333168215":["hashtag1","hashtag2"]},{"1333168212":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333168208, 1333168217, 1333168215, 1333168212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.873610019683838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:13:32.333268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/12/image_31012025_02_12_55_9464.jpg', '/home/pi/Desktop/images/31012025/02/12/image_31012025_02_13_05_10345.jpg', '/home/pi/Desktop/images/31012025/02/13/image_31012025_02_13_15_9411.jpg', '/home/pi/Desktop/images/31012025/02/13/image_31012025_02_13_25_10431.jpg', '/home/pi/Desktop/images/31012025/02/13/image_31012025_02_13_34_9420.jpg', '/home/pi/Desktop/images/31012025/02/13/image_31012025_02_13_45_10465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/12/image_31012025_02_12_55_9464.jpg
/home/pi/Desktop/images/31012025/02/12/image_31012025_02_13_05_10345.jpg
/home/pi/Desktop/images/31012025/02/13/image_31012025_02_13_15_9411.jpg
/home/pi/Desktop/images/31012025/02/13/image_31012025_02_13_25_10431.jpg
/home/pi/Desktop/images/31012025/02/13/image_31012025_02_13_34_9420.jpg
/home/pi/Desktop/images/31012025/02/13/image_31012025_02_13_45_10465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333168247","1333168349","1333168276","1333168330","1333168341","1333168283"],"photo_ids_order":["1333168247","1333168276","1333168283","1333168330","1333168341","1333168349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/02224b116bb3359e23ecc8eea03bae9b.jpg","text":"TemporaryFile(/tmp/multipartBody8643332321045070266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286073264,"filename":"image_31012025_02_12_55_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c1a16315dcea8f45493ebe376e28dc1d.jpg","text":"TemporaryFile(/tmp/multipartBody223341574542271814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286073264,"filename":"image_31012025_02_13_45_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/15f7cfe150e0fe071184268006d4071c.jpg","text":"TemporaryFile(/tmp/multipartBody6317503265171273314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286073264,"filename":"image_31012025_02_13_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d1c84ba38bcaaa6c6bcb45a24df43dd1.jpg","text":"TemporaryFile(/tmp/multipartBody4768213932115246143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286073264,"filename":"image_31012025_02_13_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/1/31/1312e0fc5f5dcd9e5416095bc12c9108.jpg","text":"TemporaryFile(/tmp/multipartBody4428215276407071402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286073264,"filename":"image_31012025_02_13_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/1/31/6f9420489cef76783e932f47596409e5.jpg","text":"TemporaryFile(/tmp/multipartBody2220868038215535563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286073264,"filename":"image_31012025_02_13_15_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333168283","file1":"1333168276","file0":"1333168247","file4":"1333168341","file5":"1333168349","file3":"1333168330"},"map_files_photo_id_array":[{"photo_id":"1333168349","filename":"file5"},{"photo_id":"1333168283","filename":"file2"},{"photo_id":"1333168341","filename":"file4"},{"photo_id":"1333168276","filename":"file1"},{"photo_id":"1333168247","filename":"file0"},{"photo_id":"1333168330","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333168247":["hashtag1","hashtag2"]},{"1333168349":["hashtag1","hashtag2"]},{"1333168276":["hashtag1","hashtag2"]},{"1333168330":["hashtag1","hashtag2"]},{"1333168341":["hashtag1","hashtag2"]},{"1333168283":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333168247, 1333168349, 1333168276, 1333168330, 1333168341, 1333168283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.100645780563354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:14:32.604473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/13/image_31012025_02_13_55_10361.jpg', '/home/pi/Desktop/images/31012025/02/13/image_31012025_02_14_05_9377.jpg', '/home/pi/Desktop/images/31012025/02/14/image_31012025_02_14_15_10448.jpg', '/home/pi/Desktop/images/31012025/02/14/image_31012025_02_14_24_9353.jpg', '/home/pi/Desktop/images/31012025/02/14/image_31012025_02_14_35_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/13/image_31012025_02_13_55_10361.jpg
/home/pi/Desktop/images/31012025/02/13/image_31012025_02_14_05_9377.jpg
/home/pi/Desktop/images/31012025/02/14/image_31012025_02_14_15_10448.jpg
/home/pi/Desktop/images/31012025/02/14/image_31012025_02_14_24_9353.jpg
/home/pi/Desktop/images/31012025/02/14/image_31012025_02_14_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":["1333168457","1333168459","1333168453","1333168464","1333168440"],"photo_ids_order":["1333168440","1333168453","1333168457","1333168459","1333168464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/556142f9b6b680e302b97ef9ad6a6b18.jpg","text":"TemporaryFile(/tmp/multipartBody5657831808060961540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286133501,"filename":"image_31012025_02_14_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/1/31/0a737a83403d1023a5e004b7d61668f3.jpg","text":"TemporaryFile(/tmp/multipartBody4630593811834195872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286133501,"filename":"image_31012025_02_14_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/1/31/cc2e2eeb70a48183789b642130f8b0ea.jpg","text":"TemporaryFile(/tmp/multipartBody8076474158578430876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286133501,"filename":"image_31012025_02_14_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/1/31/246f505040d49a2dfad29364f0d26762.jpg","text":"TemporaryFile(/tmp/multipartBody6971536929239933664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286133501,"filename":"image_31012025_02_14_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/1/31/14be6d67f06070f6209b1d4d604d14df.jpg","text":"TemporaryFile(/tmp/multipartBody4173620898070617934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286133501,"filename":"image_31012025_02_13_55_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333168457","file1":"1333168453","file0":"1333168440","file4":"1333168464","file3":"1333168459"},"map_files_photo_id_array":[{"photo_id":"1333168457","filename":"file2"},{"photo_id":"1333168464","filename":"file4"},{"photo_id":"1333168453","filename":"file1"},{"photo_id":"1333168440","filename":"file0"},{"photo_id":"1333168459","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333168457":["hashtag1","hashtag2"]},{"1333168459":["hashtag1","hashtag2"]},{"1333168453":["hashtag1","hashtag2"]},{"1333168464":["hashtag1","hashtag2"]},{"1333168440":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333168457, 1333168459, 1333168453, 1333168464, 1333168440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.097418546676636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:15:32.865800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/14/image_31012025_02_14_45_10370.jpg', '/home/pi/Desktop/images/31012025/02/14/image_31012025_02_15_05_10357.jpg', '/home/pi/Desktop/images/31012025/02/15/image_31012025_02_15_15_10349.jpg', '/home/pi/Desktop/images/31012025/02/15/image_31012025_02_15_25_9365.jpg', '/home/pi/Desktop/images/31012025/02/15/image_31012025_02_15_35_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/14/image_31012025_02_14_45_10370.jpg
/home/pi/Desktop/images/31012025/02/14/image_31012025_02_15_05_10357.jpg
/home/pi/Desktop/images/31012025/02/15/image_31012025_02_15_15_10349.jpg
/home/pi/Desktop/images/31012025/02/15/image_31012025_02_15_25_9365.jpg
/home/pi/Desktop/images/31012025/02/15/image_31012025_02_15_35_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":["1333168547","1333168549","1333168540","1333168504","1333168545"],"photo_ids_order":["1333168504","1333168540","1333168545","1333168547","1333168549"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/570266eda419104d36a0a6646047b885.jpg","text":"TemporaryFile(/tmp/multipartBody1857004913788628112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286193756,"filename":"image_31012025_02_15_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/1/31/629459574c39ec978d04a39d8615eb8d.jpg","text":"TemporaryFile(/tmp/multipartBody9038948115189702252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286193756,"filename":"image_31012025_02_15_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/1/31/29fa1474adcd83bbe1be2122638ba390.jpg","text":"TemporaryFile(/tmp/multipartBody6966637953511966898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286193756,"filename":"image_31012025_02_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/1/31/9235578d1655185e460863515e29e97f.jpg","text":"TemporaryFile(/tmp/multipartBody3093761402358281287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286193756,"filename":"image_31012025_02_14_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/1/31/e2ff04d6af0ebf7498c0efd04f489ac6.jpg","text":"TemporaryFile(/tmp/multipartBody2827021120991114725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286193756,"filename":"image_31012025_02_15_15_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333168545","file1":"1333168540","file0":"1333168504","file4":"1333168549","file3":"1333168547"},"map_files_photo_id_array":[{"photo_id":"1333168545","filename":"file2"},{"photo_id":"1333168549","filename":"file4"},{"photo_id":"1333168540","filename":"file1"},{"photo_id":"1333168504","filename":"file0"},{"photo_id":"1333168547","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333168547":["hashtag1","hashtag2"]},{"1333168549":["hashtag1","hashtag2"]},{"1333168540":["hashtag1","hashtag2"]},{"1333168504":["hashtag1","hashtag2"]},{"1333168545":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333168547, 1333168549, 1333168540, 1333168504, 1333168545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.678640365600586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:16:32.973251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/15/image_31012025_02_15_44_9335.jpg', '/home/pi/Desktop/images/31012025/02/16/image_31012025_02_16_15_9358.jpg', '/home/pi/Desktop/images/31012025/02/16/image_31012025_02_16_25_10436.jpg', '/home/pi/Desktop/images/31012025/02/16/image_31012025_02_16_34_9348.jpg', '/home/pi/Desktop/images/31012025/02/16/image_31012025_02_16_45_10465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/15/image_31012025_02_15_44_9335.jpg
/home/pi/Desktop/images/31012025/02/16/image_31012025_02_16_15_9358.jpg
/home/pi/Desktop/images/31012025/02/16/image_31012025_02_16_25_10436.jpg
/home/pi/Desktop/images/31012025/02/16/image_31012025_02_16_34_9348.jpg
/home/pi/Desktop/images/31012025/02/16/image_31012025_02_16_45_10465.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5036530494689941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 02:16:43.115722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/15/image_31012025_02_15_44_9335.jpg', '/home/pi/Desktop/images/31012025/02/16/image_31012025_02_16_15_9358.jpg', '/home/pi/Desktop/images/31012025/02/16/image_31012025_02_16_25_10436.jpg', '/home/pi/Desktop/images/31012025/02/16/image_31012025_02_16_34_9348.jpg', '/home/pi/Desktop/images/31012025/02/16/image_31012025_02_16_45_10465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/15/image_31012025_02_15_44_9335.jpg
/home/pi/Desktop/images/31012025/02/16/image_31012025_02_16_15_9358.jpg
/home/pi/Desktop/images/31012025/02/16/image_31012025_02_16_25_10436.jpg
/home/pi/Desktop/images/31012025/02/16/image_31012025_02_16_34_9348.jpg
/home/pi/Desktop/images/31012025/02/16/image_31012025_02_16_45_10465.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":["1333168733","1333168721","1333168729","1333168725","1333168716"],"photo_ids_order":["1333168716","1333168721","1333168725","1333168729","1333168733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/12f6a5384cd0ad31d3be467beec9d5f1.jpg","text":"TemporaryFile(/tmp/multipartBody3055670214716277099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286264011,"filename":"image_31012025_02_16_45_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/531a907dfc42bef37a87940840d5e6d6.jpg","text":"TemporaryFile(/tmp/multipartBody8448846508730876708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286264011,"filename":"image_31012025_02_16_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/1/31/5c9093278d821d852c7af44783fbd917.jpg","text":"TemporaryFile(/tmp/multipartBody5131124482680844821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286264011,"filename":"image_31012025_02_16_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/1/31/0f252eb858edf9b455e2e47f681ba662.jpg","text":"TemporaryFile(/tmp/multipartBody6417630089459433279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286264011,"filename":"image_31012025_02_16_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/1/31/bc6c1180defedff3a1d0aab46f54d12d.jpg","text":"TemporaryFile(/tmp/multipartBody8706839343651540997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286264011,"filename":"image_31012025_02_15_44_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333168725","file1":"1333168721","file0":"1333168716","file4":"1333168733","file3":"1333168729"},"map_files_photo_id_array":[{"photo_id":"1333168725","filename":"file2"},{"photo_id":"1333168733","filename":"file4"},{"photo_id":"1333168721","filename":"file1"},{"photo_id":"1333168716","filename":"file0"},{"photo_id":"1333168729","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333168733":["hashtag1","hashtag2"]},{"1333168721":["hashtag1","hashtag2"]},{"1333168729":["hashtag1","hashtag2"]},{"1333168725":["hashtag1","hashtag2"]},{"1333168716":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333168733, 1333168721, 1333168729, 1333168725, 1333168716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.83785796165466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:17:32.247892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/16/image_31012025_02_16_55_10440.jpg', '/home/pi/Desktop/images/31012025/02/16/image_31012025_02_17_05_9478.jpg', '/home/pi/Desktop/images/31012025/02/17/image_31012025_02_17_15_10354.jpg', '/home/pi/Desktop/images/31012025/02/17/image_31012025_02_17_45_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/16/image_31012025_02_16_55_10440.jpg
/home/pi/Desktop/images/31012025/02/16/image_31012025_02_17_05_9478.jpg
/home/pi/Desktop/images/31012025/02/17/image_31012025_02_17_15_10354.jpg
/home/pi/Desktop/images/31012025/02/17/image_31012025_02_17_45_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":["1333168874","1333168869","1333168845","1333168877"],"photo_ids_order":["1333168845","1333168869","1333168874","1333168877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/46274ad550674948c41564edae89a966.jpg","text":"TemporaryFile(/tmp/multipartBody5639499463473238371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286313132,"filename":"image_31012025_02_17_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/1/31/a29de0232034297e0caa3c2ad53a3864.jpg","text":"TemporaryFile(/tmp/multipartBody1256857060371546054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286313132,"filename":"image_31012025_02_17_05_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d13eca3abf73e3914b974dc68a0c357c.jpg","text":"TemporaryFile(/tmp/multipartBody3430755766973521187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286313132,"filename":"image_31012025_02_16_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/1/31/8637b6d3c370447e65c53ebcc28a3bcf.jpg","text":"TemporaryFile(/tmp/multipartBody6381389958382637618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286313132,"filename":"image_31012025_02_17_45_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333168874","file1":"1333168869","file0":"1333168845","file3":"1333168877"},"map_files_photo_id_array":[{"photo_id":"1333168874","filename":"file2"},{"photo_id":"1333168869","filename":"file1"},{"photo_id":"1333168845","filename":"file0"},{"photo_id":"1333168877","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333168874":["hashtag1","hashtag2"]},{"1333168869":["hashtag1","hashtag2"]},{"1333168845":["hashtag1","hashtag2"]},{"1333168877":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333168874, 1333168869, 1333168845, 1333168877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.022480726242065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:18:32.433562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/17/image_31012025_02_17_55_9356.jpg', '/home/pi/Desktop/images/31012025/02/17/image_31012025_02_18_05_10345.jpg', '/home/pi/Desktop/images/31012025/02/18/image_31012025_02_18_15_10347.jpg', '/home/pi/Desktop/images/31012025/02/18/image_31012025_02_18_25_9391.jpg', '/home/pi/Desktop/images/31012025/02/18/image_31012025_02_18_35_10365.jpg', '/home/pi/Desktop/images/31012025/02/18/image_31012025_02_18_44_9375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/17/image_31012025_02_17_55_9356.jpg
/home/pi/Desktop/images/31012025/02/17/image_31012025_02_18_05_10345.jpg
/home/pi/Desktop/images/31012025/02/18/image_31012025_02_18_15_10347.jpg
/home/pi/Desktop/images/31012025/02/18/image_31012025_02_18_25_9391.jpg
/home/pi/Desktop/images/31012025/02/18/image_31012025_02_18_35_10365.jpg
/home/pi/Desktop/images/31012025/02/18/image_31012025_02_18_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":["1333168990","1333169566","1333168993","1333169274","1333169054","1333168985"],"photo_ids_order":["1333168985","1333168990","1333168993","1333169054","1333169274","1333169566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cd63e88467d7218c6802b48032d73b9d.jpg","text":"TemporaryFile(/tmp/multipartBody5515945319930334083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286373374,"filename":"image_31012025_02_18_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/12f51cc7cef8eb969978c79cdcdf7df0.jpg","text":"TemporaryFile(/tmp/multipartBody2523105584928848070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286373374,"filename":"image_31012025_02_18_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/1/31/9931afc2299b078eb561dc023eaece9a.jpg","text":"TemporaryFile(/tmp/multipartBody5217741620719855536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286373374,"filename":"image_31012025_02_18_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/1/31/3f6305f363c5367684d871267cae6098.jpg","text":"TemporaryFile(/tmp/multipartBody1346421725721922707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286373374,"filename":"image_31012025_02_18_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/1/31/6bf1a16c745719514043faf37b5c798a.jpg","text":"TemporaryFile(/tmp/multipartBody12181548178831814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286373374,"filename":"image_31012025_02_18_25_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b9f7accc717780ab2ec846de7865a64e.jpg","text":"TemporaryFile(/tmp/multipartBody6824265989996951137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286373374,"filename":"image_31012025_02_17_55_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333168993","file1":"1333168990","file0":"1333168985","file4":"1333169274","file5":"1333169566","file3":"1333169054"},"map_files_photo_id_array":[{"photo_id":"1333169566","filename":"file5"},{"photo_id":"1333168993","filename":"file2"},{"photo_id":"1333169274","filename":"file4"},{"photo_id":"1333168990","filename":"file1"},{"photo_id":"1333168985","filename":"file0"},{"photo_id":"1333169054","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333168990":["hashtag1","hashtag2"]},{"1333169566":["hashtag1","hashtag2"]},{"1333168993":["hashtag1","hashtag2"]},{"1333169274":["hashtag1","hashtag2"]},{"1333169054":["hashtag1","hashtag2"]},{"1333168985":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333168990, 1333169566, 1333168993, 1333169274, 1333169054, 1333168985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.589909076690674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:19:32.626442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/18/image_31012025_02_18_55_10425.jpg', '/home/pi/Desktop/images/31012025/02/18/image_31012025_02_19_05_10358.jpg', '/home/pi/Desktop/images/31012025/02/19/image_31012025_02_19_15_9352.jpg', '/home/pi/Desktop/images/31012025/02/19/image_31012025_02_19_25_10429.jpg', '/home/pi/Desktop/images/31012025/02/19/image_31012025_02_19_35_10356.jpg', '/home/pi/Desktop/images/31012025/02/19/image_31012025_02_19_45_9459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/18/image_31012025_02_18_55_10425.jpg
/home/pi/Desktop/images/31012025/02/18/image_31012025_02_19_05_10358.jpg
/home/pi/Desktop/images/31012025/02/19/image_31012025_02_19_15_9352.jpg
/home/pi/Desktop/images/31012025/02/19/image_31012025_02_19_25_10429.jpg
/home/pi/Desktop/images/31012025/02/19/image_31012025_02_19_35_10356.jpg
/home/pi/Desktop/images/31012025/02/19/image_31012025_02_19_45_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":["1333170212","1333170082","1333170001","1333169996","1333169759","1333169819"],"photo_ids_order":["1333169759","1333169819","1333169996","1333170001","1333170082","1333170212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/496e09bf4bc72bff290754cea0d2a183.jpg","text":"TemporaryFile(/tmp/multipartBody7403385209485804545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286433557,"filename":"image_31012025_02_19_45_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8300b11d872b6750fe1e598fb12e7188.jpg","text":"TemporaryFile(/tmp/multipartBody7813093981292407479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286433557,"filename":"image_31012025_02_19_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/1/31/0333ef8bade4ff88cd2bc2ca873b40b8.jpg","text":"TemporaryFile(/tmp/multipartBody3124353998074809531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286433557,"filename":"image_31012025_02_19_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/1/31/ee04328eda35beafc95e3bf2917978f4.jpg","text":"TemporaryFile(/tmp/multipartBody7480315592857344463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286433557,"filename":"image_31012025_02_19_15_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/36a160df8b596ef992e1fa23eb61d7ac.jpg","text":"TemporaryFile(/tmp/multipartBody7155952988294892305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286433557,"filename":"image_31012025_02_18_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/1/31/761f1668d08799b6fa6345a16ba5323b.jpg","text":"TemporaryFile(/tmp/multipartBody6436024080306272712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286433557,"filename":"image_31012025_02_19_05_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333169996","file1":"1333169819","file0":"1333169759","file4":"1333170082","file5":"1333170212","file3":"1333170001"},"map_files_photo_id_array":[{"photo_id":"1333170212","filename":"file5"},{"photo_id":"1333169996","filename":"file2"},{"photo_id":"1333170082","filename":"file4"},{"photo_id":"1333169819","filename":"file1"},{"photo_id":"1333169759","filename":"file0"},{"photo_id":"1333170001","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333170212":["hashtag1","hashtag2"]},{"1333170082":["hashtag1","hashtag2"]},{"1333170001":["hashtag1","hashtag2"]},{"1333169996":["hashtag1","hashtag2"]},{"1333169759":["hashtag1","hashtag2"]},{"1333169819":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333170212, 1333170082, 1333170001, 1333169996, 1333169759, 1333169819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.519739866256714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:20:32.783755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/19/image_31012025_02_19_55_10430.jpg', '/home/pi/Desktop/images/31012025/02/19/image_31012025_02_20_05_9355.jpg', '/home/pi/Desktop/images/31012025/02/20/image_31012025_02_20_15_10462.jpg', '/home/pi/Desktop/images/31012025/02/20/image_31012025_02_20_24_9387.jpg', '/home/pi/Desktop/images/31012025/02/20/image_31012025_02_20_35_10495.jpg', '/home/pi/Desktop/images/31012025/02/20/image_31012025_02_20_45_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/19/image_31012025_02_19_55_10430.jpg
/home/pi/Desktop/images/31012025/02/19/image_31012025_02_20_05_9355.jpg
/home/pi/Desktop/images/31012025/02/20/image_31012025_02_20_15_10462.jpg
/home/pi/Desktop/images/31012025/02/20/image_31012025_02_20_24_9387.jpg
/home/pi/Desktop/images/31012025/02/20/image_31012025_02_20_35_10495.jpg
/home/pi/Desktop/images/31012025/02/20/image_31012025_02_20_45_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5215189456939697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 02:20:42.812001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/19/image_31012025_02_19_55_10430.jpg', '/home/pi/Desktop/images/31012025/02/19/image_31012025_02_20_05_9355.jpg', '/home/pi/Desktop/images/31012025/02/20/image_31012025_02_20_15_10462.jpg', '/home/pi/Desktop/images/31012025/02/20/image_31012025_02_20_24_9387.jpg', '/home/pi/Desktop/images/31012025/02/20/image_31012025_02_20_35_10495.jpg', '/home/pi/Desktop/images/31012025/02/20/image_31012025_02_20_45_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/19/image_31012025_02_19_55_10430.jpg
/home/pi/Desktop/images/31012025/02/19/image_31012025_02_20_05_9355.jpg
/home/pi/Desktop/images/31012025/02/20/image_31012025_02_20_15_10462.jpg
/home/pi/Desktop/images/31012025/02/20/image_31012025_02_20_24_9387.jpg
/home/pi/Desktop/images/31012025/02/20/image_31012025_02_20_35_10495.jpg
/home/pi/Desktop/images/31012025/02/20/image_31012025_02_20_45_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":["1333170431","1333170461","1333170476","1333170479","1333170464","1333170458"],"photo_ids_order":["1333170431","1333170458","1333170461","1333170464","1333170476","1333170479"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d9d7850139725c1e2f8c938bb2b47ff1.jpg","text":"TemporaryFile(/tmp/multipartBody7995522226307574693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286503744,"filename":"image_31012025_02_19_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/1/31/58b6f8aea4c7b7613925cacf91fccdc8.jpg","text":"TemporaryFile(/tmp/multipartBody5776478980687164950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286503744,"filename":"image_31012025_02_20_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/1/31/8cab96dae0678c9b729ea54480b33898.jpg","text":"TemporaryFile(/tmp/multipartBody6761440817577303274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286503744,"filename":"image_31012025_02_20_35_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2523ab83eca634db9c0dd8c3f2b56598.jpg","text":"TemporaryFile(/tmp/multipartBody3842305745660054231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286503744,"filename":"image_31012025_02_20_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/1/31/e2846b9ae614ef9930999d1987676e13.jpg","text":"TemporaryFile(/tmp/multipartBody4785217210601047836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286503744,"filename":"image_31012025_02_20_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/1/31/b13094734438a6ffa7b8e4797739a602.jpg","text":"TemporaryFile(/tmp/multipartBody1400773918023129076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286503744,"filename":"image_31012025_02_20_05_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333170461","file1":"1333170458","file0":"1333170431","file4":"1333170476","file5":"1333170479","file3":"1333170464"},"map_files_photo_id_array":[{"photo_id":"1333170479","filename":"file5"},{"photo_id":"1333170461","filename":"file2"},{"photo_id":"1333170476","filename":"file4"},{"photo_id":"1333170458","filename":"file1"},{"photo_id":"1333170431","filename":"file0"},{"photo_id":"1333170464","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333170431":["hashtag1","hashtag2"]},{"1333170461":["hashtag1","hashtag2"]},{"1333170476":["hashtag1","hashtag2"]},{"1333170479":["hashtag1","hashtag2"]},{"1333170464":["hashtag1","hashtag2"]},{"1333170458":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333170431, 1333170461, 1333170476, 1333170479, 1333170464, 1333170458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.22405409812927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:21:33.066773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/20/image_31012025_02_20_55_9495.jpg', '/home/pi/Desktop/images/31012025/02/20/image_31012025_02_21_05_10365.jpg', '/home/pi/Desktop/images/31012025/02/21/image_31012025_02_21_14_9330.jpg', '/home/pi/Desktop/images/31012025/02/21/image_31012025_02_21_25_10432.jpg', '/home/pi/Desktop/images/31012025/02/21/image_31012025_02_21_35_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/20/image_31012025_02_20_55_9495.jpg
/home/pi/Desktop/images/31012025/02/20/image_31012025_02_21_05_10365.jpg
/home/pi/Desktop/images/31012025/02/21/image_31012025_02_21_14_9330.jpg
/home/pi/Desktop/images/31012025/02/21/image_31012025_02_21_25_10432.jpg
/home/pi/Desktop/images/31012025/02/21/image_31012025_02_21_35_10367.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":["1333170545","1333170562","1333170564","1333170552","1333170558"],"photo_ids_order":["1333170545","1333170552","1333170558","1333170562","1333170564"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e4e8b9ea62cce9df4d11f5f1d00574d6.jpg","text":"TemporaryFile(/tmp/multipartBody4274924190864234304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286554208,"filename":"image_31012025_02_20_55_9495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d8551bcdaa4cca837e57ef635f7f6890.jpg","text":"TemporaryFile(/tmp/multipartBody3820828041022939529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286554208,"filename":"image_31012025_02_21_25_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a9633ad532fa182be52ddd286ab11849.jpg","text":"TemporaryFile(/tmp/multipartBody3241722927643115291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286554208,"filename":"image_31012025_02_21_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/1/31/9464b0d453577e268f421aedf7274d4c.jpg","text":"TemporaryFile(/tmp/multipartBody2354376165327208070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286554208,"filename":"image_31012025_02_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/1/31/f05b13e1125a0adb18af1cf7cfcb701b.jpg","text":"TemporaryFile(/tmp/multipartBody6229506417906915834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286554208,"filename":"image_31012025_02_21_14_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333170558","file1":"1333170552","file0":"1333170545","file4":"1333170564","file3":"1333170562"},"map_files_photo_id_array":[{"photo_id":"1333170558","filename":"file2"},{"photo_id":"1333170564","filename":"file4"},{"photo_id":"1333170552","filename":"file1"},{"photo_id":"1333170545","filename":"file0"},{"photo_id":"1333170562","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333170545":["hashtag1","hashtag2"]},{"1333170562":["hashtag1","hashtag2"]},{"1333170564":["hashtag1","hashtag2"]},{"1333170552":["hashtag1","hashtag2"]},{"1333170558":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333170545, 1333170562, 1333170564, 1333170552, 1333170558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 74.91630434989929 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:22:52.289349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/21/image_31012025_02_21_55_10427.jpg', '/home/pi/Desktop/images/31012025/02/21/image_31012025_02_22_04_9351.jpg', '/home/pi/Desktop/images/31012025/02/22/image_31012025_02_22_25_10433.jpg', '/home/pi/Desktop/images/31012025/02/22/image_31012025_02_22_45_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/21/image_31012025_02_21_55_10427.jpg
/home/pi/Desktop/images/31012025/02/21/image_31012025_02_22_04_9351.jpg
/home/pi/Desktop/images/31012025/02/22/image_31012025_02_22_25_10433.jpg
/home/pi/Desktop/images/31012025/02/22/image_31012025_02_22_45_10370.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333170623","1333170691","1333170628","1333170593"],"photo_ids_order":["1333170593","1333170623","1333170628","1333170691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1007e216b16158769168e3a6dff1ac29.jpg","text":"TemporaryFile(/tmp/multipartBody856101589360017428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286633178,"filename":"image_31012025_02_22_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/1/31/65aadace22cabf7dbbe1351e0a7d6329.jpg","text":"TemporaryFile(/tmp/multipartBody8998254341693524435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286633178,"filename":"image_31012025_02_22_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/1/31/42c883e32f153427bf26b995e95d9dc2.jpg","text":"TemporaryFile(/tmp/multipartBody5007528143001299992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286633178,"filename":"image_31012025_02_22_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/1/31/f49509029f51cc86eb83f26202f19fb1.jpg","text":"TemporaryFile(/tmp/multipartBody1591244444039303735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286633178,"filename":"image_31012025_02_21_55_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333170628","file1":"1333170623","file0":"1333170593","file3":"1333170691"},"map_files_photo_id_array":[{"photo_id":"1333170628","filename":"file2"},{"photo_id":"1333170623","filename":"file1"},{"photo_id":"1333170593","filename":"file0"},{"photo_id":"1333170691","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333170623":["hashtag1","hashtag2"]},{"1333170691":["hashtag1","hashtag2"]},{"1333170628":["hashtag1","hashtag2"]},{"1333170593":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333170623, 1333170691, 1333170628, 1333170593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.59268283843994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:23:32.500351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/22/image_31012025_02_22_54_9412.jpg', '/home/pi/Desktop/images/31012025/02/22/image_31012025_02_23_05_10402.jpg', '/home/pi/Desktop/images/31012025/02/23/image_31012025_02_23_25_9334.jpg', '/home/pi/Desktop/images/31012025/02/23/image_31012025_02_23_45_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/22/image_31012025_02_22_54_9412.jpg
/home/pi/Desktop/images/31012025/02/22/image_31012025_02_23_05_10402.jpg
/home/pi/Desktop/images/31012025/02/23/image_31012025_02_23_25_9334.jpg
/home/pi/Desktop/images/31012025/02/23/image_31012025_02_23_45_10413.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":["1333170902","1333170889","1333170925","1333170893"],"photo_ids_order":["1333170889","1333170893","1333170902","1333170925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/29301227ee1e3146c33d5b9f5c175349.jpg","text":"TemporaryFile(/tmp/multipartBody9173576509297573037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286673381,"filename":"image_31012025_02_23_25_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f5575293fc96864f3a8d449c2df3d136.jpg","text":"TemporaryFile(/tmp/multipartBody1903982101367544748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286673381,"filename":"image_31012025_02_22_54_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/85a6bfd4d4ef2a794d501a581e174eb4.jpg","text":"TemporaryFile(/tmp/multipartBody8262080466214042504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286673381,"filename":"image_31012025_02_23_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/1/31/d35e6f23c515c056fdab60712290480d.jpg","text":"TemporaryFile(/tmp/multipartBody6517907206638936657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286673381,"filename":"image_31012025_02_23_05_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333170902","file1":"1333170893","file0":"1333170889","file3":"1333170925"},"map_files_photo_id_array":[{"photo_id":"1333170902","filename":"file2"},{"photo_id":"1333170893","filename":"file1"},{"photo_id":"1333170889","filename":"file0"},{"photo_id":"1333170925","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333170902":["hashtag1","hashtag2"]},{"1333170889":["hashtag1","hashtag2"]},{"1333170925":["hashtag1","hashtag2"]},{"1333170893":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333170902, 1333170889, 1333170925, 1333170893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.31887650489807 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 02:24:03.455461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/01/image_28012025_22_01_14_10077.jpg', '/home/pi/Desktop/images/28012025/22/01/image_28012025_22_01_35_10347.jpg', '/home/pi/Desktop/images/28012025/22/01/image_28012025_22_01_44_9424.jpg', '/home/pi/Desktop/images/28012025/22/01/image_28012025_22_01_55_10344.jpg', '/home/pi/Desktop/images/28012025/22/02/image_28012025_22_02_15_10437.jpg', '/home/pi/Desktop/images/28012025/22/02/image_28012025_22_02_25_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/01/image_28012025_22_01_14_10077.jpg
/home/pi/Desktop/images/28012025/22/01/image_28012025_22_01_35_10347.jpg
/home/pi/Desktop/images/28012025/22/01/image_28012025_22_01_44_9424.jpg
/home/pi/Desktop/images/28012025/22/01/image_28012025_22_01_55_10344.jpg
/home/pi/Desktop/images/28012025/22/02/image_28012025_22_02_15_10437.jpg
/home/pi/Desktop/images/28012025/22/02/image_28012025_22_02_25_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":["1333171084","1333171072","1333171066","1333171077","1333171044","1333171040"],"photo_ids_order":["1333171040","1333171044","1333171066","1333171072","1333171077","1333171084"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f2c3fd2b407d42ca2ea925df7c125604.jpg","text":"TemporaryFile(/tmp/multipartBody5520358467634372073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286707175,"filename":"image_28012025_22_02_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/90983309ee91ed0b8efdbd6980533ed0.jpg","text":"TemporaryFile(/tmp/multipartBody5517664264784305745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286707175,"filename":"image_28012025_22_01_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/18884dcf6c8133753a3c2d1b0b837ea9.jpg","text":"TemporaryFile(/tmp/multipartBody4638197290085368348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286707175,"filename":"image_28012025_22_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/1/31/cb2cc57808e93dac2f968de734e7dd91.jpg","text":"TemporaryFile(/tmp/multipartBody6362703750210315802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286707175,"filename":"image_28012025_22_02_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/1/31/0cc20f01511e88a353435a08dd085a6f.jpg","text":"TemporaryFile(/tmp/multipartBody8293110999014206056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286707175,"filename":"image_28012025_22_01_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/1/31/170802d50a0dcd851ffc87b457cd501a.jpg","text":"TemporaryFile(/tmp/multipartBody1931925141317533146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286707175,"filename":"image_28012025_22_01_14_10077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333171066","file1":"1333171044","file0":"1333171040","file4":"1333171077","file5":"1333171084","file3":"1333171072"},"map_files_photo_id_array":[{"photo_id":"1333171084","filename":"file5"},{"photo_id":"1333171066","filename":"file2"},{"photo_id":"1333171077","filename":"file4"},{"photo_id":"1333171044","filename":"file1"},{"photo_id":"1333171040","filename":"file0"},{"photo_id":"1333171072","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333171084":["hashtag1","hashtag2"]},{"1333171072":["hashtag1","hashtag2"]},{"1333171066":["hashtag1","hashtag2"]},{"1333171077":["hashtag1","hashtag2"]},{"1333171044":["hashtag1","hashtag2"]},{"1333171040":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333171084, 1333171072, 1333171066, 1333171077, 1333171044, 1333171040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.73668432235718 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:24:52.732356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/23/image_31012025_02_23_55_9335.jpg', '/home/pi/Desktop/images/31012025/02/23/image_31012025_02_24_05_10407.jpg', '/home/pi/Desktop/images/31012025/02/24/image_31012025_02_24_14_9331.jpg', '/home/pi/Desktop/images/31012025/02/24/image_31012025_02_24_25_10407.jpg', '/home/pi/Desktop/images/31012025/02/24/image_31012025_02_24_35_10433.jpg', '/home/pi/Desktop/images/31012025/02/24/image_31012025_02_24_45_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/23/image_31012025_02_23_55_9335.jpg
/home/pi/Desktop/images/31012025/02/23/image_31012025_02_24_05_10407.jpg
/home/pi/Desktop/images/31012025/02/24/image_31012025_02_24_14_9331.jpg
/home/pi/Desktop/images/31012025/02/24/image_31012025_02_24_25_10407.jpg
/home/pi/Desktop/images/31012025/02/24/image_31012025_02_24_35_10433.jpg
/home/pi/Desktop/images/31012025/02/24/image_31012025_02_24_45_9355.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":["1333171130","1333171124","1333171145","1333171139","1333171127","1333171121"],"photo_ids_order":["1333171121","1333171124","1333171127","1333171130","1333171139","1333171145"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b365ca4dbc7675a71f183c659fcabe6d.jpg","text":"TemporaryFile(/tmp/multipartBody7932649588813743349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286753775,"filename":"image_31012025_02_24_25_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d42ca073c4ed187101280d14c2fb25a6.jpg","text":"TemporaryFile(/tmp/multipartBody7299683116868634137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286753775,"filename":"image_31012025_02_24_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/1/31/f266e85d68b9b907625764351eb35a2e.jpg","text":"TemporaryFile(/tmp/multipartBody5531765845442631950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286753775,"filename":"image_31012025_02_24_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/1/31/085d4db34b4cd05489d5035b2927aa56.jpg","text":"TemporaryFile(/tmp/multipartBody8388391412334413007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286753775,"filename":"image_31012025_02_24_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/1/31/3a2ebe927b610410556cc1f2a4526ef1.jpg","text":"TemporaryFile(/tmp/multipartBody1350321760226167485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286753775,"filename":"image_31012025_02_24_14_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/46bdd968cd460cd8d1cd19532544825c.jpg","text":"TemporaryFile(/tmp/multipartBody4045620773351540906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286753775,"filename":"image_31012025_02_23_55_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333171127","file1":"1333171124","file0":"1333171121","file4":"1333171139","file5":"1333171145","file3":"1333171130"},"map_files_photo_id_array":[{"photo_id":"1333171145","filename":"file5"},{"photo_id":"1333171127","filename":"file2"},{"photo_id":"1333171139","filename":"file4"},{"photo_id":"1333171124","filename":"file1"},{"photo_id":"1333171121","filename":"file0"},{"photo_id":"1333171130","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333171130":["hashtag1","hashtag2"]},{"1333171124":["hashtag1","hashtag2"]},{"1333171145":["hashtag1","hashtag2"]},{"1333171139":["hashtag1","hashtag2"]},{"1333171127":["hashtag1","hashtag2"]},{"1333171121":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333171130, 1333171124, 1333171145, 1333171139, 1333171127, 1333171121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.03522229194641 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 02:25:42.980963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/24/image_31012025_02_24_55_10359.jpg', '/home/pi/Desktop/images/31012025/02/24/image_31012025_02_25_05_10354.jpg', '/home/pi/Desktop/images/31012025/02/25/image_31012025_02_25_15_9326.jpg', '/home/pi/Desktop/images/31012025/02/25/image_31012025_02_25_25_10437.jpg', '/home/pi/Desktop/images/31012025/02/25/image_31012025_02_25_45_10141.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/24/image_31012025_02_24_55_10359.jpg
/home/pi/Desktop/images/31012025/02/24/image_31012025_02_25_05_10354.jpg
/home/pi/Desktop/images/31012025/02/25/image_31012025_02_25_15_9326.jpg
/home/pi/Desktop/images/31012025/02/25/image_31012025_02_25_25_10437.jpg
/home/pi/Desktop/images/31012025/02/25/image_31012025_02_25_45_10141.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":["1333171195","1333171183","1333171177","1333171191","1333171188"],"photo_ids_order":["1333171177","1333171183","1333171188","1333171191","1333171195"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/726bfe7096f33a1576d886e9f5c1641d.jpg","text":"TemporaryFile(/tmp/multipartBody5062905224330724757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286803878,"filename":"image_31012025_02_25_45_10141.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8a5a8e695a1a770781cf48cef0a2584b.jpg","text":"TemporaryFile(/tmp/multipartBody1993843404852310437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286803878,"filename":"image_31012025_02_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/1/31/c47adbaf1cf3fc94f8060d7279a9ba07.jpg","text":"TemporaryFile(/tmp/multipartBody3412523841595705429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286803878,"filename":"image_31012025_02_24_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/1/31/e10eedb37a2c13f3d19d251ea5ace70e.jpg","text":"TemporaryFile(/tmp/multipartBody5238759679936387820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286803878,"filename":"image_31012025_02_25_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/1/31/f070d506005181cfa3bafe1367bd9cfc.jpg","text":"TemporaryFile(/tmp/multipartBody1114552658468702907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286803878,"filename":"image_31012025_02_25_15_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333171188","file1":"1333171183","file0":"1333171177","file4":"1333171195","file3":"1333171191"},"map_files_photo_id_array":[{"photo_id":"1333171188","filename":"file2"},{"photo_id":"1333171195","filename":"file4"},{"photo_id":"1333171183","filename":"file1"},{"photo_id":"1333171177","filename":"file0"},{"photo_id":"1333171191","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333171195":["hashtag1","hashtag2"]},{"1333171183":["hashtag1","hashtag2"]},{"1333171177":["hashtag1","hashtag2"]},{"1333171191":["hashtag1","hashtag2"]},{"1333171188":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333171195, 1333171183, 1333171177, 1333171191, 1333171188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.01045083999634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:26:32.191424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/25/image_31012025_02_25_55_10425.jpg', '/home/pi/Desktop/images/31012025/02/25/image_31012025_02_26_04_9354.jpg', '/home/pi/Desktop/images/31012025/02/26/image_31012025_02_26_15_10433.jpg', '/home/pi/Desktop/images/31012025/02/26/image_31012025_02_26_25_10385.jpg', '/home/pi/Desktop/images/31012025/02/26/image_31012025_02_26_35_9383.jpg', '/home/pi/Desktop/images/31012025/02/26/image_31012025_02_26_45_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/25/image_31012025_02_25_55_10425.jpg
/home/pi/Desktop/images/31012025/02/25/image_31012025_02_26_04_9354.jpg
/home/pi/Desktop/images/31012025/02/26/image_31012025_02_26_15_10433.jpg
/home/pi/Desktop/images/31012025/02/26/image_31012025_02_26_25_10385.jpg
/home/pi/Desktop/images/31012025/02/26/image_31012025_02_26_35_9383.jpg
/home/pi/Desktop/images/31012025/02/26/image_31012025_02_26_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5441439151763916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 02:26:42.171089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/25/image_31012025_02_25_55_10425.jpg', '/home/pi/Desktop/images/31012025/02/25/image_31012025_02_26_04_9354.jpg', '/home/pi/Desktop/images/31012025/02/26/image_31012025_02_26_15_10433.jpg', '/home/pi/Desktop/images/31012025/02/26/image_31012025_02_26_25_10385.jpg', '/home/pi/Desktop/images/31012025/02/26/image_31012025_02_26_35_9383.jpg', '/home/pi/Desktop/images/31012025/02/26/image_31012025_02_26_45_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/25/image_31012025_02_25_55_10425.jpg
/home/pi/Desktop/images/31012025/02/25/image_31012025_02_26_04_9354.jpg
/home/pi/Desktop/images/31012025/02/26/image_31012025_02_26_15_10433.jpg
/home/pi/Desktop/images/31012025/02/26/image_31012025_02_26_25_10385.jpg
/home/pi/Desktop/images/31012025/02/26/image_31012025_02_26_35_9383.jpg
/home/pi/Desktop/images/31012025/02/26/image_31012025_02_26_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":["1333171225","1333171234","1333171230","1333171244","1333171238","1333171241"],"photo_ids_order":["1333171225","1333171230","1333171234","1333171238","1333171241","1333171244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e3e2025e5f67e3ff4e213ebc6eae2505.jpg","text":"TemporaryFile(/tmp/multipartBody1004677509381685213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286863083,"filename":"image_31012025_02_25_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/1/31/71326b36e7758a64e463e24c78fb6d79.jpg","text":"TemporaryFile(/tmp/multipartBody1939813661608894287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286863083,"filename":"image_31012025_02_26_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/1/31/a03b507a41235d1866cd270d14915c55.jpg","text":"TemporaryFile(/tmp/multipartBody9063481566837972969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286863083,"filename":"image_31012025_02_26_04_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1b27525a2877c207266f7af71285f37a.jpg","text":"TemporaryFile(/tmp/multipartBody6761838873772508737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286863083,"filename":"image_31012025_02_26_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/1/31/fed6cd93828139fe5762db15dfdc761b.jpg","text":"TemporaryFile(/tmp/multipartBody8469954281163927950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286863083,"filename":"image_31012025_02_26_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/1/31/387180a0ad3232c08cd0f37af9cde5a9.jpg","text":"TemporaryFile(/tmp/multipartBody4814659264858262714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286863083,"filename":"image_31012025_02_26_35_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333171234","file1":"1333171230","file0":"1333171225","file4":"1333171241","file5":"1333171244","file3":"1333171238"},"map_files_photo_id_array":[{"photo_id":"1333171244","filename":"file5"},{"photo_id":"1333171234","filename":"file2"},{"photo_id":"1333171241","filename":"file4"},{"photo_id":"1333171230","filename":"file1"},{"photo_id":"1333171225","filename":"file0"},{"photo_id":"1333171238","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333171225":["hashtag1","hashtag2"]},{"1333171234":["hashtag1","hashtag2"]},{"1333171230":["hashtag1","hashtag2"]},{"1333171244":["hashtag1","hashtag2"]},{"1333171238":["hashtag1","hashtag2"]},{"1333171241":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333171225, 1333171234, 1333171230, 1333171244, 1333171238, 1333171241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58024716377258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:27:32.454694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/26/image_31012025_02_26_54_9424.jpg', '/home/pi/Desktop/images/31012025/02/26/image_31012025_02_27_05_10478.jpg', '/home/pi/Desktop/images/31012025/02/27/image_31012025_02_27_15_10354.jpg', '/home/pi/Desktop/images/31012025/02/27/image_31012025_02_27_25_9351.jpg', '/home/pi/Desktop/images/31012025/02/27/image_31012025_02_27_35_10370.jpg', '/home/pi/Desktop/images/31012025/02/27/image_31012025_02_27_45_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/26/image_31012025_02_26_54_9424.jpg
/home/pi/Desktop/images/31012025/02/26/image_31012025_02_27_05_10478.jpg
/home/pi/Desktop/images/31012025/02/27/image_31012025_02_27_15_10354.jpg
/home/pi/Desktop/images/31012025/02/27/image_31012025_02_27_25_9351.jpg
/home/pi/Desktop/images/31012025/02/27/image_31012025_02_27_35_10370.jpg
/home/pi/Desktop/images/31012025/02/27/image_31012025_02_27_45_10366.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":["1333171282","1333171278","1333171275","1333171269","1333171289","1333171286"],"photo_ids_order":["1333171269","1333171275","1333171278","1333171282","1333171286","1333171289"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/eb6802d91d050d81c21e071f1262b623.jpg","text":"TemporaryFile(/tmp/multipartBody3536760085869653413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286913366,"filename":"image_31012025_02_27_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/1/31/2ef259247e987d65d4f4b58ccb5d35ef.jpg","text":"TemporaryFile(/tmp/multipartBody2790947661465904094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286913366,"filename":"image_31012025_02_27_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/1/31/d8a2ab03f6b7066986f10a6b8fdca2fa.jpg","text":"TemporaryFile(/tmp/multipartBody3930433682861243471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286913366,"filename":"image_31012025_02_27_05_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fbef5f8ebff6262f92e6112c81b93479.jpg","text":"TemporaryFile(/tmp/multipartBody3055970054452803057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286913366,"filename":"image_31012025_02_26_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/1/31/1a72cb9524c8825964b8a2ea1d83cb9c.jpg","text":"TemporaryFile(/tmp/multipartBody5060054734534072380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286913366,"filename":"image_31012025_02_27_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/1/31/95b7f04f436d571d315f587d1aff8ea6.jpg","text":"TemporaryFile(/tmp/multipartBody9198165635722081326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286913366,"filename":"image_31012025_02_27_35_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333171278","file1":"1333171275","file0":"1333171269","file4":"1333171286","file5":"1333171289","file3":"1333171282"},"map_files_photo_id_array":[{"photo_id":"1333171289","filename":"file5"},{"photo_id":"1333171278","filename":"file2"},{"photo_id":"1333171286","filename":"file4"},{"photo_id":"1333171275","filename":"file1"},{"photo_id":"1333171269","filename":"file0"},{"photo_id":"1333171282","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333171282":["hashtag1","hashtag2"]},{"1333171278":["hashtag1","hashtag2"]},{"1333171275":["hashtag1","hashtag2"]},{"1333171269":["hashtag1","hashtag2"]},{"1333171289":["hashtag1","hashtag2"]},{"1333171286":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333171282, 1333171278, 1333171275, 1333171269, 1333171289, 1333171286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 74.3806426525116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:28:52.593379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/27/image_31012025_02_27_55_9479.jpg', '/home/pi/Desktop/images/31012025/02/27/image_31012025_02_28_05_10361.jpg', '/home/pi/Desktop/images/31012025/02/28/image_31012025_02_28_15_9337.jpg', '/home/pi/Desktop/images/31012025/02/28/image_31012025_02_28_25_10384.jpg', '/home/pi/Desktop/images/31012025/02/28/image_31012025_02_28_35_10359.jpg', '/home/pi/Desktop/images/31012025/02/28/image_31012025_02_28_45_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/27/image_31012025_02_27_55_9479.jpg
/home/pi/Desktop/images/31012025/02/27/image_31012025_02_28_05_10361.jpg
/home/pi/Desktop/images/31012025/02/28/image_31012025_02_28_15_9337.jpg
/home/pi/Desktop/images/31012025/02/28/image_31012025_02_28_25_10384.jpg
/home/pi/Desktop/images/31012025/02/28/image_31012025_02_28_35_10359.jpg
/home/pi/Desktop/images/31012025/02/28/image_31012025_02_28_45_9363.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":["1333171831","1333171860","1333171848","1333171853","1333171835","1333171838"],"photo_ids_order":["1333171831","1333171835","1333171838","1333171848","1333171853","1333171860"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/967e76b8dcec605bdc90a3b858034b5d.jpg","text":"TemporaryFile(/tmp/multipartBody1636411754698061647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286993550,"filename":"image_31012025_02_27_55_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1f614f8ff5f064a1394aa483ab5a6365.jpg","text":"TemporaryFile(/tmp/multipartBody1831782589487851098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286993550,"filename":"image_31012025_02_28_45_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d48314eb240640808c9dba96bd1f56de.jpg","text":"TemporaryFile(/tmp/multipartBody111633644573874318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286993550,"filename":"image_31012025_02_28_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/1/31/2d807b54b7560577236fecdf849a760b.jpg","text":"TemporaryFile(/tmp/multipartBody7911023086495526058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286993550,"filename":"image_31012025_02_28_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/1/31/fac0f7be26e61f3cc077090668f159ee.jpg","text":"TemporaryFile(/tmp/multipartBody4330779358588870773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286993550,"filename":"image_31012025_02_28_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/1/31/f6ad53531c68879382b9d79cb3e1eea9.jpg","text":"TemporaryFile(/tmp/multipartBody2800461209550024238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738286993550,"filename":"image_31012025_02_28_15_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333171838","file1":"1333171835","file0":"1333171831","file4":"1333171853","file5":"1333171860","file3":"1333171848"},"map_files_photo_id_array":[{"photo_id":"1333171860","filename":"file5"},{"photo_id":"1333171838","filename":"file2"},{"photo_id":"1333171853","filename":"file4"},{"photo_id":"1333171835","filename":"file1"},{"photo_id":"1333171831","filename":"file0"},{"photo_id":"1333171848","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333171831":["hashtag1","hashtag2"]},{"1333171860":["hashtag1","hashtag2"]},{"1333171848":["hashtag1","hashtag2"]},{"1333171853":["hashtag1","hashtag2"]},{"1333171835":["hashtag1","hashtag2"]},{"1333171838":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333171831, 1333171860, 1333171848, 1333171853, 1333171835, 1333171838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.08650183677673 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 02:29:42.863632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/28/image_31012025_02_28_55_10424.jpg', '/home/pi/Desktop/images/31012025/02/28/image_31012025_02_29_04_9354.jpg', '/home/pi/Desktop/images/31012025/02/29/image_31012025_02_29_15_10440.jpg', '/home/pi/Desktop/images/31012025/02/29/image_31012025_02_29_25_10429.jpg', '/home/pi/Desktop/images/31012025/02/29/image_31012025_02_29_35_9380.jpg', '/home/pi/Desktop/images/31012025/02/29/image_31012025_02_29_45_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/28/image_31012025_02_28_55_10424.jpg
/home/pi/Desktop/images/31012025/02/28/image_31012025_02_29_04_9354.jpg
/home/pi/Desktop/images/31012025/02/29/image_31012025_02_29_15_10440.jpg
/home/pi/Desktop/images/31012025/02/29/image_31012025_02_29_25_10429.jpg
/home/pi/Desktop/images/31012025/02/29/image_31012025_02_29_35_9380.jpg
/home/pi/Desktop/images/31012025/02/29/image_31012025_02_29_45_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":["1333171894","1333171888","1333171885","1333171899","1333171903","1333171891"],"photo_ids_order":["1333171885","1333171888","1333171891","1333171894","1333171899","1333171903"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e904bfbf279f3cc9bc8505d1a12d97f4.jpg","text":"TemporaryFile(/tmp/multipartBody8741457846607536882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287043782,"filename":"image_31012025_02_29_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/1/31/34afd09457ffba8c9f5ddb24d6a067d1.jpg","text":"TemporaryFile(/tmp/multipartBody3469645208407809109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287043782,"filename":"image_31012025_02_29_04_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3dcfc46f32846b96885eb52d3a047f47.jpg","text":"TemporaryFile(/tmp/multipartBody5334205501000863958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287043782,"filename":"image_31012025_02_28_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/1/31/21abde2bdacfde7933d1b3d3fc49b8e7.jpg","text":"TemporaryFile(/tmp/multipartBody4977176442702238457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287043782,"filename":"image_31012025_02_29_35_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cee2e7fc050a5d3773940f4e5c737ea7.jpg","text":"TemporaryFile(/tmp/multipartBody4918957537896641693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287043782,"filename":"image_31012025_02_29_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/1/31/ab6ca865a4b5c106bef5ab18adba2153.jpg","text":"TemporaryFile(/tmp/multipartBody2548817945866800658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287043782,"filename":"image_31012025_02_29_15_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333171891","file1":"1333171888","file0":"1333171885","file4":"1333171899","file5":"1333171903","file3":"1333171894"},"map_files_photo_id_array":[{"photo_id":"1333171903","filename":"file5"},{"photo_id":"1333171891","filename":"file2"},{"photo_id":"1333171899","filename":"file4"},{"photo_id":"1333171888","filename":"file1"},{"photo_id":"1333171885","filename":"file0"},{"photo_id":"1333171894","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333171894":["hashtag1","hashtag2"]},{"1333171888":["hashtag1","hashtag2"]},{"1333171885":["hashtag1","hashtag2"]},{"1333171899":["hashtag1","hashtag2"]},{"1333171903":["hashtag1","hashtag2"]},{"1333171891":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333171894, 1333171888, 1333171885, 1333171899, 1333171903, 1333171891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.98939228057861 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:30:33.119278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/29/image_31012025_02_29_54_9400.jpg', '/home/pi/Desktop/images/31012025/02/30/image_31012025_02_30_45_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/29/image_31012025_02_29_54_9400.jpg
/home/pi/Desktop/images/31012025/02/30/image_31012025_02_30_45_10342.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333171939","1333171950"],"photo_ids_order":["1333171939","1333171950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/15aa586b4ef99b29c26fd3daf91fd610.jpg","text":"TemporaryFile(/tmp/multipartBody6691755874877892334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287093960,"filename":"image_31012025_02_29_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/1/31/54306015369df09bb7e19f8e4804e187.jpg","text":"TemporaryFile(/tmp/multipartBody8492029729890814815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287093960,"filename":"image_31012025_02_30_45_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1333171950","file0":"1333171939"},"map_files_photo_id_array":[{"photo_id":"1333171950","filename":"file1"},{"photo_id":"1333171939","filename":"file0"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333171939":["hashtag1","hashtag2"]},{"1333171950":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333171939, 1333171950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.438149452209473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:30:53.036285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/02/image_28012025_22_02_34_9333.jpg', '/home/pi/Desktop/images/28012025/22/02/image_28012025_22_02_45_10411.jpg', '/home/pi/Desktop/images/28012025/22/02/image_28012025_22_02_54_9488.jpg', '/home/pi/Desktop/images/28012025/22/02/image_28012025_22_03_05_10360.jpg', '/home/pi/Desktop/images/28012025/22/03/image_28012025_22_03_15_10359.jpg', '/home/pi/Desktop/images/28012025/22/03/image_28012025_22_03_24_9419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/02/image_28012025_22_02_34_9333.jpg
/home/pi/Desktop/images/28012025/22/02/image_28012025_22_02_45_10411.jpg
/home/pi/Desktop/images/28012025/22/02/image_28012025_22_02_54_9488.jpg
/home/pi/Desktop/images/28012025/22/02/image_28012025_22_03_05_10360.jpg
/home/pi/Desktop/images/28012025/22/03/image_28012025_22_03_15_10359.jpg
/home/pi/Desktop/images/28012025/22/03/image_28012025_22_03_24_9419.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9727239608764648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 02:31:03.885106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/02/image_28012025_22_02_34_9333.jpg', '/home/pi/Desktop/images/28012025/22/02/image_28012025_22_02_45_10411.jpg', '/home/pi/Desktop/images/28012025/22/02/image_28012025_22_02_54_9488.jpg', '/home/pi/Desktop/images/28012025/22/02/image_28012025_22_03_05_10360.jpg', '/home/pi/Desktop/images/28012025/22/03/image_28012025_22_03_15_10359.jpg', '/home/pi/Desktop/images/28012025/22/03/image_28012025_22_03_24_9419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/02/image_28012025_22_02_34_9333.jpg
/home/pi/Desktop/images/28012025/22/02/image_28012025_22_02_45_10411.jpg
/home/pi/Desktop/images/28012025/22/02/image_28012025_22_02_54_9488.jpg
/home/pi/Desktop/images/28012025/22/02/image_28012025_22_03_05_10360.jpg
/home/pi/Desktop/images/28012025/22/03/image_28012025_22_03_15_10359.jpg
/home/pi/Desktop/images/28012025/22/03/image_28012025_22_03_24_9419.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":["1333171975","1333171992","1333171985","1333171970","1333171964","1333171999"],"photo_ids_order":["1333171964","1333171970","1333171975","1333171985","1333171992","1333171999"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/761c430318b8ab7f2b2205209e7f3ad6.jpg","text":"TemporaryFile(/tmp/multipartBody4308960324732054559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287125721,"filename":"image_28012025_22_02_54_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/09621cf835b2c5b941a4b642870f7ff1.jpg","text":"TemporaryFile(/tmp/multipartBody6930705798847492847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287125721,"filename":"image_28012025_22_03_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/1/31/cf067a32b4435139d9393aa0cce5526c.jpg","text":"TemporaryFile(/tmp/multipartBody5613903467728515433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287125721,"filename":"image_28012025_22_03_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/1/31/9fb1df631701a0612ff36663c12f7d56.jpg","text":"TemporaryFile(/tmp/multipartBody6722514205865038261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287125721,"filename":"image_28012025_22_02_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/1/31/1e1b86d75aece4ff6800e6fde173ca2d.jpg","text":"TemporaryFile(/tmp/multipartBody1520018281209310173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287125721,"filename":"image_28012025_22_02_34_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e17842b2967d9f3aad13ad12061b1d43.jpg","text":"TemporaryFile(/tmp/multipartBody8742471382821669562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287125721,"filename":"image_28012025_22_03_24_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333171975","file1":"1333171970","file0":"1333171964","file4":"1333171992","file5":"1333171999","file3":"1333171985"},"map_files_photo_id_array":[{"photo_id":"1333171999","filename":"file5"},{"photo_id":"1333171975","filename":"file2"},{"photo_id":"1333171992","filename":"file4"},{"photo_id":"1333171970","filename":"file1"},{"photo_id":"1333171964","filename":"file0"},{"photo_id":"1333171985","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333171975":["hashtag1","hashtag2"]},{"1333171992":["hashtag1","hashtag2"]},{"1333171985":["hashtag1","hashtag2"]},{"1333171970":["hashtag1","hashtag2"]},{"1333171964":["hashtag1","hashtag2"]},{"1333171999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333171975, 1333171992, 1333171985, 1333171970, 1333171964, 1333171999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.148242473602295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:31:52.323304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/30/image_31012025_02_30_55_9446.jpg', '/home/pi/Desktop/images/31012025/02/31/image_31012025_02_31_15_9352.jpg', '/home/pi/Desktop/images/31012025/02/31/image_31012025_02_31_25_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/30/image_31012025_02_30_55_9446.jpg
/home/pi/Desktop/images/31012025/02/31/image_31012025_02_31_15_9352.jpg
/home/pi/Desktop/images/31012025/02/31/image_31012025_02_31_25_10400.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333172065","1333172055","1333172030"],"photo_ids_order":["1333172030","1333172055","1333172065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fbb16cacd057ca1d46b84514bfc49901.jpg","text":"TemporaryFile(/tmp/multipartBody4602138149682519840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287173252,"filename":"image_31012025_02_31_25_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b7fccce4dc79177f96ac647050b79718.jpg","text":"TemporaryFile(/tmp/multipartBody5745722418792818174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287173252,"filename":"image_31012025_02_31_15_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4062bdd49bd45363f1b999e5a1e04a25.jpg","text":"TemporaryFile(/tmp/multipartBody3214176139360541888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287173252,"filename":"image_31012025_02_30_55_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333172065","file1":"1333172055","file0":"1333172030"},"map_files_photo_id_array":[{"photo_id":"1333172065","filename":"file2"},{"photo_id":"1333172055","filename":"file1"},{"photo_id":"1333172030","filename":"file0"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333172065":["hashtag1","hashtag2"]},{"1333172055":["hashtag1","hashtag2"]},{"1333172030":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333172065, 1333172055, 1333172030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.246055603027344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:32:32.528808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/31/image_31012025_02_31_45_9373.jpg', '/home/pi/Desktop/images/31012025/02/31/image_31012025_02_32_05_10370.jpg', '/home/pi/Desktop/images/31012025/02/32/image_31012025_02_32_15_9422.jpg', '/home/pi/Desktop/images/31012025/02/32/image_31012025_02_32_25_10364.jpg', '/home/pi/Desktop/images/31012025/02/32/image_31012025_02_32_35_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/31/image_31012025_02_31_45_9373.jpg
/home/pi/Desktop/images/31012025/02/31/image_31012025_02_32_05_10370.jpg
/home/pi/Desktop/images/31012025/02/32/image_31012025_02_32_15_9422.jpg
/home/pi/Desktop/images/31012025/02/32/image_31012025_02_32_25_10364.jpg
/home/pi/Desktop/images/31012025/02/32/image_31012025_02_32_35_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":["1333172158","1333172203","1333172151","1333172198","1333172201"],"photo_ids_order":["1333172151","1333172158","1333172198","1333172201","1333172203"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dbcfbd174d8061e59106ab3bb0238b07.jpg","text":"TemporaryFile(/tmp/multipartBody2984307279848241373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287213821,"filename":"image_31012025_02_32_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/1/31/5b1fe174c01f1ca3bd5c95fabbcb29e0.jpg","text":"TemporaryFile(/tmp/multipartBody4454331519003933357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287213821,"filename":"image_31012025_02_32_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/1/31/203c097bfca671fc3adb9d583d7cd9f1.jpg","text":"TemporaryFile(/tmp/multipartBody6071034784687785675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287213821,"filename":"image_31012025_02_31_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/1/31/42677d77d51be1113be1031f2e8d36cc.jpg","text":"TemporaryFile(/tmp/multipartBody623271616140312836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287213821,"filename":"image_31012025_02_32_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/1/31/d4ed4676844062ecda071dfe51877085.jpg","text":"TemporaryFile(/tmp/multipartBody7763209456063598335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287213821,"filename":"image_31012025_02_32_25_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333172198","file1":"1333172158","file0":"1333172151","file4":"1333172203","file3":"1333172201"},"map_files_photo_id_array":[{"photo_id":"1333172198","filename":"file2"},{"photo_id":"1333172203","filename":"file4"},{"photo_id":"1333172158","filename":"file1"},{"photo_id":"1333172151","filename":"file0"},{"photo_id":"1333172201","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333172158":["hashtag1","hashtag2"]},{"1333172203":["hashtag1","hashtag2"]},{"1333172151":["hashtag1","hashtag2"]},{"1333172198":["hashtag1","hashtag2"]},{"1333172201":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333172158, 1333172203, 1333172151, 1333172198, 1333172201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.09552335739136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:33:32.774726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/32/image_31012025_02_32_45_10450.jpg', '/home/pi/Desktop/images/31012025/02/32/image_31012025_02_33_05_9436.jpg', '/home/pi/Desktop/images/31012025/02/33/image_31012025_02_33_15_10399.jpg', '/home/pi/Desktop/images/31012025/02/33/image_31012025_02_33_25_9395.jpg', '/home/pi/Desktop/images/31012025/02/33/image_31012025_02_33_35_10350.jpg', '/home/pi/Desktop/images/31012025/02/33/image_31012025_02_33_45_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/32/image_31012025_02_32_45_10450.jpg
/home/pi/Desktop/images/31012025/02/32/image_31012025_02_33_05_9436.jpg
/home/pi/Desktop/images/31012025/02/33/image_31012025_02_33_15_10399.jpg
/home/pi/Desktop/images/31012025/02/33/image_31012025_02_33_25_9395.jpg
/home/pi/Desktop/images/31012025/02/33/image_31012025_02_33_35_10350.jpg
/home/pi/Desktop/images/31012025/02/33/image_31012025_02_33_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":["1333172242","1333172236","1333172238","1333172232","1333172240","1333172246"],"photo_ids_order":["1333172232","1333172236","1333172238","1333172240","1333172242","1333172246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3e8baa4417288f38c4ff23f7fc8da25a.jpg","text":"TemporaryFile(/tmp/multipartBody8210965839936484803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287273734,"filename":"image_31012025_02_33_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/1/31/3aa2721e301024edc82302bfebd24072.jpg","text":"TemporaryFile(/tmp/multipartBody6118184815660348341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287273734,"filename":"image_31012025_02_33_05_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fc9c42ba7aa723545a0c6cf28787b514.jpg","text":"TemporaryFile(/tmp/multipartBody6210245996901849303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287273734,"filename":"image_31012025_02_33_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/1/31/dfc5c08994fce37077a1749db1bed8ad.jpg","text":"TemporaryFile(/tmp/multipartBody2069575919599983692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287273734,"filename":"image_31012025_02_32_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/1/31/81bf6f752b1cc0d4700eda1d6e0d5087.jpg","text":"TemporaryFile(/tmp/multipartBody4869750188156540656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287273734,"filename":"image_31012025_02_33_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/1/31/70d8a1884195b611f41c10757146a002.jpg","text":"TemporaryFile(/tmp/multipartBody3505168508654500017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287273734,"filename":"image_31012025_02_33_45_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333172238","file1":"1333172236","file0":"1333172232","file4":"1333172242","file5":"1333172246","file3":"1333172240"},"map_files_photo_id_array":[{"photo_id":"1333172246","filename":"file5"},{"photo_id":"1333172238","filename":"file2"},{"photo_id":"1333172242","filename":"file4"},{"photo_id":"1333172236","filename":"file1"},{"photo_id":"1333172232","filename":"file0"},{"photo_id":"1333172240","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333172242":["hashtag1","hashtag2"]},{"1333172236":["hashtag1","hashtag2"]},{"1333172238":["hashtag1","hashtag2"]},{"1333172232":["hashtag1","hashtag2"]},{"1333172240":["hashtag1","hashtag2"]},{"1333172246":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333172242, 1333172236, 1333172238, 1333172232, 1333172240, 1333172246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.318464279174805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:34:32.943184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/33/image_31012025_02_33_55_9337.jpg', '/home/pi/Desktop/images/31012025/02/33/image_31012025_02_34_05_10444.jpg', '/home/pi/Desktop/images/31012025/02/34/image_31012025_02_34_14_9345.jpg', '/home/pi/Desktop/images/31012025/02/34/image_31012025_02_34_25_10415.jpg', '/home/pi/Desktop/images/31012025/02/34/image_31012025_02_34_35_10432.jpg', '/home/pi/Desktop/images/31012025/02/34/image_31012025_02_34_45_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/33/image_31012025_02_33_55_9337.jpg
/home/pi/Desktop/images/31012025/02/33/image_31012025_02_34_05_10444.jpg
/home/pi/Desktop/images/31012025/02/34/image_31012025_02_34_14_9345.jpg
/home/pi/Desktop/images/31012025/02/34/image_31012025_02_34_25_10415.jpg
/home/pi/Desktop/images/31012025/02/34/image_31012025_02_34_35_10432.jpg
/home/pi/Desktop/images/31012025/02/34/image_31012025_02_34_45_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5186364650726318 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 02:34:43.088403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/33/image_31012025_02_33_55_9337.jpg', '/home/pi/Desktop/images/31012025/02/33/image_31012025_02_34_05_10444.jpg', '/home/pi/Desktop/images/31012025/02/34/image_31012025_02_34_14_9345.jpg', '/home/pi/Desktop/images/31012025/02/34/image_31012025_02_34_25_10415.jpg', '/home/pi/Desktop/images/31012025/02/34/image_31012025_02_34_35_10432.jpg', '/home/pi/Desktop/images/31012025/02/34/image_31012025_02_34_45_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/33/image_31012025_02_33_55_9337.jpg
/home/pi/Desktop/images/31012025/02/33/image_31012025_02_34_05_10444.jpg
/home/pi/Desktop/images/31012025/02/34/image_31012025_02_34_14_9345.jpg
/home/pi/Desktop/images/31012025/02/34/image_31012025_02_34_25_10415.jpg
/home/pi/Desktop/images/31012025/02/34/image_31012025_02_34_35_10432.jpg
/home/pi/Desktop/images/31012025/02/34/image_31012025_02_34_45_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":["1333172329","1333172308","1333172323","1333172317","1333172295","1333172289"],"photo_ids_order":["1333172289","1333172295","1333172308","1333172317","1333172323","1333172329"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bab73e90f8654d9d42534050151f7144.jpg","text":"TemporaryFile(/tmp/multipartBody832889746312944205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287344008,"filename":"image_31012025_02_34_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/1/31/769a23c601ca91027d3a471be5f215da.jpg","text":"TemporaryFile(/tmp/multipartBody1711165748733829664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287344008,"filename":"image_31012025_02_34_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/1/31/99767dbb1c70fe59cc20cb1d65d355a8.jpg","text":"TemporaryFile(/tmp/multipartBody7053203456065669531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287344008,"filename":"image_31012025_02_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/1/31/60afe7818c2ab945d3c37d6b27a040d9.jpg","text":"TemporaryFile(/tmp/multipartBody2583601983649918364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287344008,"filename":"image_31012025_02_34_25_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4d26a5e61c38af96359af737dc55f8bd.jpg","text":"TemporaryFile(/tmp/multipartBody480440041121014154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287344008,"filename":"image_31012025_02_34_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/1/31/4e46c3b0898ceda939456c6e8b1de149.jpg","text":"TemporaryFile(/tmp/multipartBody5276194193361315684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287344008,"filename":"image_31012025_02_33_55_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333172308","file1":"1333172295","file0":"1333172289","file4":"1333172323","file5":"1333172329","file3":"1333172317"},"map_files_photo_id_array":[{"photo_id":"1333172329","filename":"file5"},{"photo_id":"1333172308","filename":"file2"},{"photo_id":"1333172323","filename":"file4"},{"photo_id":"1333172295","filename":"file1"},{"photo_id":"1333172289","filename":"file0"},{"photo_id":"1333172317","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333172329":["hashtag1","hashtag2"]},{"1333172308":["hashtag1","hashtag2"]},{"1333172323":["hashtag1","hashtag2"]},{"1333172317":["hashtag1","hashtag2"]},{"1333172295":["hashtag1","hashtag2"]},{"1333172289":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333172329, 1333172308, 1333172323, 1333172317, 1333172295, 1333172289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0989305973053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:35:32.325806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/34/image_31012025_02_34_55_10423.jpg', '/home/pi/Desktop/images/31012025/02/34/image_31012025_02_35_05_10351.jpg', '/home/pi/Desktop/images/31012025/02/35/image_31012025_02_35_15_9412.jpg', '/home/pi/Desktop/images/31012025/02/35/image_31012025_02_35_25_10342.jpg', '/home/pi/Desktop/images/31012025/02/35/image_31012025_02_35_34_9350.jpg', '/home/pi/Desktop/images/31012025/02/35/image_31012025_02_35_45_10460.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/34/image_31012025_02_34_55_10423.jpg
/home/pi/Desktop/images/31012025/02/34/image_31012025_02_35_05_10351.jpg
/home/pi/Desktop/images/31012025/02/35/image_31012025_02_35_15_9412.jpg
/home/pi/Desktop/images/31012025/02/35/image_31012025_02_35_25_10342.jpg
/home/pi/Desktop/images/31012025/02/35/image_31012025_02_35_34_9350.jpg
/home/pi/Desktop/images/31012025/02/35/image_31012025_02_35_45_10460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333172382","1333172364","1333172367","1333172377","1333172371","1333172359"],"photo_ids_order":["1333172359","1333172364","1333172367","1333172371","1333172377","1333172382"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6be9cd6535bd94f26f6016024b9f6b48.jpg","text":"TemporaryFile(/tmp/multipartBody5992211613219598593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287393244,"filename":"image_31012025_02_35_45_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ccaf86614c88501945f52eb5d2b8cffb.jpg","text":"TemporaryFile(/tmp/multipartBody5654134865581761409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287393244,"filename":"image_31012025_02_35_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/1/31/3c98d00fe98a3b8dfc4dee5ca8a28796.jpg","text":"TemporaryFile(/tmp/multipartBody3912237336380797545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287393244,"filename":"image_31012025_02_35_15_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a9a3083e3f9cd90c15350af1c69d1bfe.jpg","text":"TemporaryFile(/tmp/multipartBody3185187878857687106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287393244,"filename":"image_31012025_02_35_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/1/31/281d74cd58645721c5e9343758a5f226.jpg","text":"TemporaryFile(/tmp/multipartBody5663599399057597986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287393244,"filename":"image_31012025_02_35_25_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b3433c69caff85957d7cfab6c032907d.jpg","text":"TemporaryFile(/tmp/multipartBody7183535400362702784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287393244,"filename":"image_31012025_02_34_55_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333172367","file1":"1333172364","file0":"1333172359","file4":"1333172377","file5":"1333172382","file3":"1333172371"},"map_files_photo_id_array":[{"photo_id":"1333172382","filename":"file5"},{"photo_id":"1333172367","filename":"file2"},{"photo_id":"1333172377","filename":"file4"},{"photo_id":"1333172364","filename":"file1"},{"photo_id":"1333172359","filename":"file0"},{"photo_id":"1333172371","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333172382":["hashtag1","hashtag2"]},{"1333172364":["hashtag1","hashtag2"]},{"1333172367":["hashtag1","hashtag2"]},{"1333172377":["hashtag1","hashtag2"]},{"1333172371":["hashtag1","hashtag2"]},{"1333172359":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333172382, 1333172364, 1333172367, 1333172377, 1333172371, 1333172359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35285043716431 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:36:32.466522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/35/image_31012025_02_35_55_10369.jpg', '/home/pi/Desktop/images/31012025/02/35/image_31012025_02_36_05_9340.jpg', '/home/pi/Desktop/images/31012025/02/36/image_31012025_02_36_15_10403.jpg', '/home/pi/Desktop/images/31012025/02/36/image_31012025_02_36_24_9341.jpg', '/home/pi/Desktop/images/31012025/02/36/image_31012025_02_36_35_10458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/35/image_31012025_02_35_55_10369.jpg
/home/pi/Desktop/images/31012025/02/35/image_31012025_02_36_05_9340.jpg
/home/pi/Desktop/images/31012025/02/36/image_31012025_02_36_15_10403.jpg
/home/pi/Desktop/images/31012025/02/36/image_31012025_02_36_24_9341.jpg
/home/pi/Desktop/images/31012025/02/36/image_31012025_02_36_35_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":["1333172449","1333172428","1333172442","1333172445","1333172453"],"photo_ids_order":["1333172428","1333172442","1333172445","1333172449","1333172453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/672ccb9fa930d9b523198e6cc999640b.jpg","text":"TemporaryFile(/tmp/multipartBody2384181809062897472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287453350,"filename":"image_31012025_02_36_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/1/31/ce85503d1b29af65393791c7759ba5f6.jpg","text":"TemporaryFile(/tmp/multipartBody24909944077931204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287453350,"filename":"image_31012025_02_35_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/1/31/167aa421f3c1e96017710b0afde5551b.jpg","text":"TemporaryFile(/tmp/multipartBody6031494615801424488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287453350,"filename":"image_31012025_02_36_05_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/38d2d85b91268a85008a201976155f3e.jpg","text":"TemporaryFile(/tmp/multipartBody3651596002866273964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287453350,"filename":"image_31012025_02_36_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/1/31/6a97eb4b6f38d42385241553acfad4ab.jpg","text":"TemporaryFile(/tmp/multipartBody2596801324341975725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287453350,"filename":"image_31012025_02_36_35_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333172445","file1":"1333172442","file0":"1333172428","file4":"1333172453","file3":"1333172449"},"map_files_photo_id_array":[{"photo_id":"1333172445","filename":"file2"},{"photo_id":"1333172453","filename":"file4"},{"photo_id":"1333172442","filename":"file1"},{"photo_id":"1333172428","filename":"file0"},{"photo_id":"1333172449","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333172449":["hashtag1","hashtag2"]},{"1333172428":["hashtag1","hashtag2"]},{"1333172442":["hashtag1","hashtag2"]},{"1333172445":["hashtag1","hashtag2"]},{"1333172453":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333172449, 1333172428, 1333172442, 1333172445, 1333172453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.63302397727966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:37:32.574847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/36/image_31012025_02_36_55_9339.jpg', '/home/pi/Desktop/images/31012025/02/36/image_31012025_02_37_05_10351.jpg', '/home/pi/Desktop/images/31012025/02/37/image_31012025_02_37_15_10435.jpg', '/home/pi/Desktop/images/31012025/02/37/image_31012025_02_37_25_9352.jpg', '/home/pi/Desktop/images/31012025/02/37/image_31012025_02_37_35_10464.jpg', '/home/pi/Desktop/images/31012025/02/37/image_31012025_02_37_45_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/36/image_31012025_02_36_55_9339.jpg
/home/pi/Desktop/images/31012025/02/36/image_31012025_02_37_05_10351.jpg
/home/pi/Desktop/images/31012025/02/37/image_31012025_02_37_15_10435.jpg
/home/pi/Desktop/images/31012025/02/37/image_31012025_02_37_25_9352.jpg
/home/pi/Desktop/images/31012025/02/37/image_31012025_02_37_35_10464.jpg
/home/pi/Desktop/images/31012025/02/37/image_31012025_02_37_45_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":["1333172539","1333172535","1333172550","1333172544","1333172547","1333172531"],"photo_ids_order":["1333172531","1333172535","1333172539","1333172544","1333172547","1333172550"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fa4e004be96821b05c203ca27f863bd5.jpg","text":"TemporaryFile(/tmp/multipartBody6035578233825552485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287513484,"filename":"image_31012025_02_37_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/1/31/c581f7014d91d8f8b9aa497d7f1f645a.jpg","text":"TemporaryFile(/tmp/multipartBody3583004936788547969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287513484,"filename":"image_31012025_02_37_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/1/31/e8daaeec2a61ffb9d956a2b504cc9742.jpg","text":"TemporaryFile(/tmp/multipartBody1641966775044598292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287513484,"filename":"image_31012025_02_37_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/1/31/b6e687b69c5cc6ab6b9cd36cbf1c051c.jpg","text":"TemporaryFile(/tmp/multipartBody4133566286341831353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287513484,"filename":"image_31012025_02_37_25_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/769d913e6efa8bf1b5960a2074c78d3a.jpg","text":"TemporaryFile(/tmp/multipartBody6702641537202516452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287513484,"filename":"image_31012025_02_37_35_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2a8a531ab9f256e8614551023d7e597a.jpg","text":"TemporaryFile(/tmp/multipartBody1761096556578897696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287513484,"filename":"image_31012025_02_36_55_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333172539","file1":"1333172535","file0":"1333172531","file4":"1333172547","file5":"1333172550","file3":"1333172544"},"map_files_photo_id_array":[{"photo_id":"1333172550","filename":"file5"},{"photo_id":"1333172539","filename":"file2"},{"photo_id":"1333172547","filename":"file4"},{"photo_id":"1333172535","filename":"file1"},{"photo_id":"1333172531","filename":"file0"},{"photo_id":"1333172544","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333172539":["hashtag1","hashtag2"]},{"1333172535":["hashtag1","hashtag2"]},{"1333172550":["hashtag1","hashtag2"]},{"1333172544":["hashtag1","hashtag2"]},{"1333172547":["hashtag1","hashtag2"]},{"1333172531":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333172539, 1333172535, 1333172550, 1333172544, 1333172547, 1333172531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43449425697327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:38:32.834378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/37/image_31012025_02_37_55_10442.jpg', '/home/pi/Desktop/images/31012025/02/37/image_31012025_02_38_05_10351.jpg', '/home/pi/Desktop/images/31012025/02/38/image_31012025_02_38_15_9341.jpg', '/home/pi/Desktop/images/31012025/02/38/image_31012025_02_38_34_9353.jpg', '/home/pi/Desktop/images/31012025/02/38/image_31012025_02_38_45_10458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/37/image_31012025_02_37_55_10442.jpg
/home/pi/Desktop/images/31012025/02/37/image_31012025_02_38_05_10351.jpg
/home/pi/Desktop/images/31012025/02/38/image_31012025_02_38_15_9341.jpg
/home/pi/Desktop/images/31012025/02/38/image_31012025_02_38_34_9353.jpg
/home/pi/Desktop/images/31012025/02/38/image_31012025_02_38_45_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":["1333172914","1333172704","1333172681","1333173104","1333172686"],"photo_ids_order":["1333172681","1333172686","1333172704","1333172914","1333173104"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/83ec9a441ec654206b49fc353e292977.jpg","text":"TemporaryFile(/tmp/multipartBody3110345960413466291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287573803,"filename":"image_31012025_02_38_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/1/31/d8695dc5fb77b4ec8788f285eae1a43b.jpg","text":"TemporaryFile(/tmp/multipartBody9007123502595771296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287573803,"filename":"image_31012025_02_38_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/1/31/4396b1b2f16008b423d8ccd35343c7b3.jpg","text":"TemporaryFile(/tmp/multipartBody1620005922744129114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287573803,"filename":"image_31012025_02_37_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/1/31/e8bd6f3f22295e9c6b41a0e1bb2b4774.jpg","text":"TemporaryFile(/tmp/multipartBody135842875946328254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287573803,"filename":"image_31012025_02_38_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/1/31/3a5c6ffc4be3780d81ff5affa0621ff8.jpg","text":"TemporaryFile(/tmp/multipartBody5253877806183414487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287573803,"filename":"image_31012025_02_38_05_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333172704","file1":"1333172686","file0":"1333172681","file4":"1333173104","file3":"1333172914"},"map_files_photo_id_array":[{"photo_id":"1333172704","filename":"file2"},{"photo_id":"1333173104","filename":"file4"},{"photo_id":"1333172686","filename":"file1"},{"photo_id":"1333172681","filename":"file0"},{"photo_id":"1333172914","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333172914":["hashtag1","hashtag2"]},{"1333172704":["hashtag1","hashtag2"]},{"1333172681":["hashtag1","hashtag2"]},{"1333173104":["hashtag1","hashtag2"]},{"1333172686":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333172914, 1333172704, 1333172681, 1333173104, 1333172686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.17117667198181 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:39:33.149471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/38/image_31012025_02_38_55_10353.jpg', '/home/pi/Desktop/images/31012025/02/38/image_31012025_02_39_05_9340.jpg', '/home/pi/Desktop/images/31012025/02/39/image_31012025_02_39_15_10375.jpg', '/home/pi/Desktop/images/31012025/02/39/image_31012025_02_39_25_10354.jpg', '/home/pi/Desktop/images/31012025/02/39/image_31012025_02_39_35_9349.jpg', '/home/pi/Desktop/images/31012025/02/39/image_31012025_02_39_45_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/38/image_31012025_02_38_55_10353.jpg
/home/pi/Desktop/images/31012025/02/38/image_31012025_02_39_05_9340.jpg
/home/pi/Desktop/images/31012025/02/39/image_31012025_02_39_15_10375.jpg
/home/pi/Desktop/images/31012025/02/39/image_31012025_02_39_25_10354.jpg
/home/pi/Desktop/images/31012025/02/39/image_31012025_02_39_35_9349.jpg
/home/pi/Desktop/images/31012025/02/39/image_31012025_02_39_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":["1333174094","1333174081","1333174084","1333174089","1333174080","1333174068"],"photo_ids_order":["1333174068","1333174080","1333174081","1333174084","1333174089","1333174094"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6f823beac602b3a1212ab53c2e55b31d.jpg","text":"TemporaryFile(/tmp/multipartBody2525672275034641437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287634061,"filename":"image_31012025_02_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/1/31/aaaa011f14b811aa99975aca48d53295.jpg","text":"TemporaryFile(/tmp/multipartBody643760212855311734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287634061,"filename":"image_31012025_02_39_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/1/31/38e48df163f45640546117cdfd27af13.jpg","text":"TemporaryFile(/tmp/multipartBody4924399278249435840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287634061,"filename":"image_31012025_02_39_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/1/31/847da6174ac151cd23fa89a718afccab.jpg","text":"TemporaryFile(/tmp/multipartBody251187863272831528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287634061,"filename":"image_31012025_02_39_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/1/31/0d39706781289007d637e7c367eb0110.jpg","text":"TemporaryFile(/tmp/multipartBody8835551073853097534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287634061,"filename":"image_31012025_02_39_05_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/114e738ba78278138721c33cb11251cc.jpg","text":"TemporaryFile(/tmp/multipartBody8031921745471522801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287634061,"filename":"image_31012025_02_38_55_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333174081","file1":"1333174080","file0":"1333174068","file4":"1333174089","file5":"1333174094","file3":"1333174084"},"map_files_photo_id_array":[{"photo_id":"1333174094","filename":"file5"},{"photo_id":"1333174081","filename":"file2"},{"photo_id":"1333174089","filename":"file4"},{"photo_id":"1333174080","filename":"file1"},{"photo_id":"1333174068","filename":"file0"},{"photo_id":"1333174084","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333174094":["hashtag1","hashtag2"]},{"1333174081":["hashtag1","hashtag2"]},{"1333174084":["hashtag1","hashtag2"]},{"1333174089":["hashtag1","hashtag2"]},{"1333174080":["hashtag1","hashtag2"]},{"1333174068":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333174094, 1333174081, 1333174084, 1333174089, 1333174080, 1333174068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84716510772705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:40:32.401816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/39/image_31012025_02_39_54_9357.jpg', '/home/pi/Desktop/images/31012025/02/39/image_31012025_02_40_05_10448.jpg', '/home/pi/Desktop/images/31012025/02/40/image_31012025_02_40_15_10420.jpg', '/home/pi/Desktop/images/31012025/02/40/image_31012025_02_40_25_9330.jpg', '/home/pi/Desktop/images/31012025/02/40/image_31012025_02_40_35_10447.jpg', '/home/pi/Desktop/images/31012025/02/40/image_31012025_02_40_44_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/39/image_31012025_02_39_54_9357.jpg
/home/pi/Desktop/images/31012025/02/39/image_31012025_02_40_05_10448.jpg
/home/pi/Desktop/images/31012025/02/40/image_31012025_02_40_15_10420.jpg
/home/pi/Desktop/images/31012025/02/40/image_31012025_02_40_25_9330.jpg
/home/pi/Desktop/images/31012025/02/40/image_31012025_02_40_35_10447.jpg
/home/pi/Desktop/images/31012025/02/40/image_31012025_02_40_44_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":["1333174227","1333174224","1333174206","1333174159","1333174219","1333174132"],"photo_ids_order":["1333174132","1333174159","1333174206","1333174219","1333174224","1333174227"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7eb4ee6f054be40d22f6dcd71c0f9e19.jpg","text":"TemporaryFile(/tmp/multipartBody6928989543049761639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287693318,"filename":"image_31012025_02_40_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/1/31/40ccc47ae23128961a32a4a0a2e36f00.jpg","text":"TemporaryFile(/tmp/multipartBody9014687575104497961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287693318,"filename":"image_31012025_02_40_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/1/31/3c486013dbfc4255e2eda4b97f029962.jpg","text":"TemporaryFile(/tmp/multipartBody3112347379341130559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287693318,"filename":"image_31012025_02_40_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/1/31/4e5e35d18c14dfff3579383dfcab37b6.jpg","text":"TemporaryFile(/tmp/multipartBody3872795034431314527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287693318,"filename":"image_31012025_02_40_05_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bdfde45344035cae8081455ce6dc04fa.jpg","text":"TemporaryFile(/tmp/multipartBody6035448013016925598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287693318,"filename":"image_31012025_02_40_25_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4396e61bd590d1548d2d0f375ac4c88e.jpg","text":"TemporaryFile(/tmp/multipartBody5189335487301296368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287693318,"filename":"image_31012025_02_39_54_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333174206","file1":"1333174159","file0":"1333174132","file4":"1333174224","file5":"1333174227","file3":"1333174219"},"map_files_photo_id_array":[{"photo_id":"1333174227","filename":"file5"},{"photo_id":"1333174206","filename":"file2"},{"photo_id":"1333174224","filename":"file4"},{"photo_id":"1333174159","filename":"file1"},{"photo_id":"1333174132","filename":"file0"},{"photo_id":"1333174219","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333174227":["hashtag1","hashtag2"]},{"1333174224":["hashtag1","hashtag2"]},{"1333174206":["hashtag1","hashtag2"]},{"1333174159":["hashtag1","hashtag2"]},{"1333174219":["hashtag1","hashtag2"]},{"1333174132":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333174227, 1333174224, 1333174206, 1333174159, 1333174219, 1333174132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.046727418899536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:41:32.581614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/40/image_31012025_02_40_55_10516.jpg', '/home/pi/Desktop/images/31012025/02/40/image_31012025_02_41_05_10432.jpg', '/home/pi/Desktop/images/31012025/02/41/image_31012025_02_41_15_9439.jpg', '/home/pi/Desktop/images/31012025/02/41/image_31012025_02_41_25_10372.jpg', '/home/pi/Desktop/images/31012025/02/41/image_31012025_02_41_45_10435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/40/image_31012025_02_40_55_10516.jpg
/home/pi/Desktop/images/31012025/02/40/image_31012025_02_41_05_10432.jpg
/home/pi/Desktop/images/31012025/02/41/image_31012025_02_41_15_9439.jpg
/home/pi/Desktop/images/31012025/02/41/image_31012025_02_41_25_10372.jpg
/home/pi/Desktop/images/31012025/02/41/image_31012025_02_41_45_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":["1333174836","1333174758","1333174827","1333174859","1333174637"],"photo_ids_order":["1333174637","1333174758","1333174827","1333174836","1333174859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4b2856f036391d94bfc1017c5290d003.jpg","text":"TemporaryFile(/tmp/multipartBody1138268729885420861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287753500,"filename":"image_31012025_02_41_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/1/31/5ca9dfa6d22c5e0232f5440c332a2c89.jpg","text":"TemporaryFile(/tmp/multipartBody7616776476058903796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287753500,"filename":"image_31012025_02_41_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/1/31/064284fe759d57b478d34a654f936db1.jpg","text":"TemporaryFile(/tmp/multipartBody4642040218289582652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287753500,"filename":"image_31012025_02_41_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/1/31/3954991f1c5ed9924028651acd3c8fcb.jpg","text":"TemporaryFile(/tmp/multipartBody7760182732791207165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287753500,"filename":"image_31012025_02_41_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/1/31/911b17b7e45185f0c96f306f065442f3.jpg","text":"TemporaryFile(/tmp/multipartBody4444667266269345030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287753500,"filename":"image_31012025_02_40_55_10516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333174827","file1":"1333174758","file0":"1333174637","file4":"1333174859","file3":"1333174836"},"map_files_photo_id_array":[{"photo_id":"1333174827","filename":"file2"},{"photo_id":"1333174859","filename":"file4"},{"photo_id":"1333174758","filename":"file1"},{"photo_id":"1333174637","filename":"file0"},{"photo_id":"1333174836","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333174836":["hashtag1","hashtag2"]},{"1333174758":["hashtag1","hashtag2"]},{"1333174827":["hashtag1","hashtag2"]},{"1333174859":["hashtag1","hashtag2"]},{"1333174637":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333174836, 1333174758, 1333174827, 1333174859, 1333174637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.32481384277344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:42:32.743554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/41/image_31012025_02_41_55_10353.jpg', '/home/pi/Desktop/images/31012025/02/41/image_31012025_02_42_05_9490.jpg', '/home/pi/Desktop/images/31012025/02/42/image_31012025_02_42_15_10360.jpg', '/home/pi/Desktop/images/31012025/02/42/image_31012025_02_42_25_9346.jpg', '/home/pi/Desktop/images/31012025/02/42/image_31012025_02_42_35_10356.jpg', '/home/pi/Desktop/images/31012025/02/42/image_31012025_02_42_45_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/41/image_31012025_02_41_55_10353.jpg
/home/pi/Desktop/images/31012025/02/41/image_31012025_02_42_05_9490.jpg
/home/pi/Desktop/images/31012025/02/42/image_31012025_02_42_15_10360.jpg
/home/pi/Desktop/images/31012025/02/42/image_31012025_02_42_25_9346.jpg
/home/pi/Desktop/images/31012025/02/42/image_31012025_02_42_35_10356.jpg
/home/pi/Desktop/images/31012025/02/42/image_31012025_02_42_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":["1333175192","1333175177","1333175132","1333175188","1333175173","1333175116"],"photo_ids_order":["1333175116","1333175132","1333175173","1333175177","1333175188","1333175192"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1807c6e5ac791352c8a5d4cecf7f0cb8.jpg","text":"TemporaryFile(/tmp/multipartBody251341901557451396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287813648,"filename":"image_31012025_02_42_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/1/31/ed77080bc5c53eab5096555b7a56b2fb.jpg","text":"TemporaryFile(/tmp/multipartBody9085317408225055542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287813648,"filename":"image_31012025_02_42_25_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a4ec2e0daa5f61a2ee2f46a21e892a57.jpg","text":"TemporaryFile(/tmp/multipartBody2115361679891432147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287813648,"filename":"image_31012025_02_42_05_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5dc8b095eb8babdcf0c8327df90763b3.jpg","text":"TemporaryFile(/tmp/multipartBody925615010865024130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287813648,"filename":"image_31012025_02_42_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/1/31/7027251fc81811bf86b1c2d109f679c1.jpg","text":"TemporaryFile(/tmp/multipartBody9175831948584050837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287813648,"filename":"image_31012025_02_42_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/1/31/6c7b8b30a416efe841425ada84f5a086.jpg","text":"TemporaryFile(/tmp/multipartBody5771850197438994783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287813648,"filename":"image_31012025_02_41_55_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333175173","file1":"1333175132","file0":"1333175116","file4":"1333175188","file5":"1333175192","file3":"1333175177"},"map_files_photo_id_array":[{"photo_id":"1333175192","filename":"file5"},{"photo_id":"1333175173","filename":"file2"},{"photo_id":"1333175188","filename":"file4"},{"photo_id":"1333175132","filename":"file1"},{"photo_id":"1333175116","filename":"file0"},{"photo_id":"1333175177","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333175192":["hashtag1","hashtag2"]},{"1333175177":["hashtag1","hashtag2"]},{"1333175132":["hashtag1","hashtag2"]},{"1333175188":["hashtag1","hashtag2"]},{"1333175173":["hashtag1","hashtag2"]},{"1333175116":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333175192, 1333175177, 1333175132, 1333175188, 1333175173, 1333175116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.886245250701904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:43:33.134122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/42/image_31012025_02_42_55_9344.jpg', '/home/pi/Desktop/images/31012025/02/42/image_31012025_02_43_05_10352.jpg', '/home/pi/Desktop/images/31012025/02/43/image_31012025_02_43_14_9409.jpg', '/home/pi/Desktop/images/31012025/02/43/image_31012025_02_43_25_10422.jpg', '/home/pi/Desktop/images/31012025/02/43/image_31012025_02_43_35_10431.jpg', '/home/pi/Desktop/images/31012025/02/43/image_31012025_02_43_45_9428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/42/image_31012025_02_42_55_9344.jpg
/home/pi/Desktop/images/31012025/02/42/image_31012025_02_43_05_10352.jpg
/home/pi/Desktop/images/31012025/02/43/image_31012025_02_43_14_9409.jpg
/home/pi/Desktop/images/31012025/02/43/image_31012025_02_43_25_10422.jpg
/home/pi/Desktop/images/31012025/02/43/image_31012025_02_43_35_10431.jpg
/home/pi/Desktop/images/31012025/02/43/image_31012025_02_43_45_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":["1333175315","1333175332","1333175325","1333175304","1333175235","1333175220"],"photo_ids_order":["1333175220","1333175235","1333175304","1333175315","1333175325","1333175332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/92f260d19d252799edf38da5885800a7.jpg","text":"TemporaryFile(/tmp/multipartBody7683868931496342344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287874042,"filename":"image_31012025_02_43_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/1/31/d860e74fef83737eea25f6a2bda44e22.jpg","text":"TemporaryFile(/tmp/multipartBody4735939702487934338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287874042,"filename":"image_31012025_02_43_45_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/40f1eec426000ac0278dcff6f4da6396.jpg","text":"TemporaryFile(/tmp/multipartBody8408930784388843524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287874042,"filename":"image_31012025_02_43_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/1/31/5dfaffb968d7ebb6f886738280657b32.jpg","text":"TemporaryFile(/tmp/multipartBody7248141259226233690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287874042,"filename":"image_31012025_02_43_14_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c635161d13242822e6f5bffe624cd546.jpg","text":"TemporaryFile(/tmp/multipartBody4392927757744852183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287874042,"filename":"image_31012025_02_43_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/1/31/a5b75493dd795c18399405db0f96d842.jpg","text":"TemporaryFile(/tmp/multipartBody3623186471672464700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287874042,"filename":"image_31012025_02_42_55_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333175304","file1":"1333175235","file0":"1333175220","file4":"1333175325","file5":"1333175332","file3":"1333175315"},"map_files_photo_id_array":[{"photo_id":"1333175332","filename":"file5"},{"photo_id":"1333175304","filename":"file2"},{"photo_id":"1333175325","filename":"file4"},{"photo_id":"1333175235","filename":"file1"},{"photo_id":"1333175220","filename":"file0"},{"photo_id":"1333175315","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333175315":["hashtag1","hashtag2"]},{"1333175332":["hashtag1","hashtag2"]},{"1333175325":["hashtag1","hashtag2"]},{"1333175304":["hashtag1","hashtag2"]},{"1333175235":["hashtag1","hashtag2"]},{"1333175220":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333175315, 1333175332, 1333175325, 1333175304, 1333175235, 1333175220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.95447587966919 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:44:32.182634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/43/image_31012025_02_43_55_10428.jpg', '/home/pi/Desktop/images/31012025/02/43/image_31012025_02_44_05_9376.jpg', '/home/pi/Desktop/images/31012025/02/44/image_31012025_02_44_15_10361.jpg', '/home/pi/Desktop/images/31012025/02/44/image_31012025_02_44_25_10361.jpg', '/home/pi/Desktop/images/31012025/02/44/image_31012025_02_44_35_9378.jpg', '/home/pi/Desktop/images/31012025/02/44/image_31012025_02_44_45_10425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/43/image_31012025_02_43_55_10428.jpg
/home/pi/Desktop/images/31012025/02/43/image_31012025_02_44_05_9376.jpg
/home/pi/Desktop/images/31012025/02/44/image_31012025_02_44_15_10361.jpg
/home/pi/Desktop/images/31012025/02/44/image_31012025_02_44_25_10361.jpg
/home/pi/Desktop/images/31012025/02/44/image_31012025_02_44_35_9378.jpg
/home/pi/Desktop/images/31012025/02/44/image_31012025_02_44_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":["1333175597","1333175624","1333175615","1333175603","1333175442","1333175619"],"photo_ids_order":["1333175442","1333175597","1333175603","1333175615","1333175619","1333175624"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bd3d876d1a14f17cf68584b64afdefe8.jpg","text":"TemporaryFile(/tmp/multipartBody3127139473233142419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287933111,"filename":"image_31012025_02_44_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/1/31/1a4ae9a9153d31861e85920f4f491263.jpg","text":"TemporaryFile(/tmp/multipartBody8943078881703288036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287933111,"filename":"image_31012025_02_44_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/1/31/16f7040f1826388eaa987ba3fed066ca.jpg","text":"TemporaryFile(/tmp/multipartBody405685366272987607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287933111,"filename":"image_31012025_02_44_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/1/31/483c4a8b0d6213c0be2a327c358ec61f.jpg","text":"TemporaryFile(/tmp/multipartBody863096314294357511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287933111,"filename":"image_31012025_02_44_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/1/31/055251b2925a20a5158b24a90620ec4a.jpg","text":"TemporaryFile(/tmp/multipartBody7942044034321358577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287933111,"filename":"image_31012025_02_43_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/1/31/ab5489b82ef2491202107a3222e55ed6.jpg","text":"TemporaryFile(/tmp/multipartBody6367002673049346126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287933111,"filename":"image_31012025_02_44_35_9378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333175603","file1":"1333175597","file0":"1333175442","file4":"1333175619","file5":"1333175624","file3":"1333175615"},"map_files_photo_id_array":[{"photo_id":"1333175624","filename":"file5"},{"photo_id":"1333175603","filename":"file2"},{"photo_id":"1333175619","filename":"file4"},{"photo_id":"1333175597","filename":"file1"},{"photo_id":"1333175442","filename":"file0"},{"photo_id":"1333175615","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333175597":["hashtag1","hashtag2"]},{"1333175624":["hashtag1","hashtag2"]},{"1333175615":["hashtag1","hashtag2"]},{"1333175603":["hashtag1","hashtag2"]},{"1333175442":["hashtag1","hashtag2"]},{"1333175619":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333175597, 1333175624, 1333175615, 1333175603, 1333175442, 1333175619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.390719413757324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:45:32.363544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/44/image_31012025_02_44_55_10361.jpg', '/home/pi/Desktop/images/31012025/02/44/image_31012025_02_45_05_9470.jpg', '/home/pi/Desktop/images/31012025/02/45/image_31012025_02_45_15_10344.jpg', '/home/pi/Desktop/images/31012025/02/45/image_31012025_02_45_25_9346.jpg', '/home/pi/Desktop/images/31012025/02/45/image_31012025_02_45_35_10468.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/44/image_31012025_02_44_55_10361.jpg
/home/pi/Desktop/images/31012025/02/44/image_31012025_02_45_05_9470.jpg
/home/pi/Desktop/images/31012025/02/45/image_31012025_02_45_15_10344.jpg
/home/pi/Desktop/images/31012025/02/45/image_31012025_02_45_25_9346.jpg
/home/pi/Desktop/images/31012025/02/45/image_31012025_02_45_35_10468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333175683","1333175746","1333175733","1333175724","1333175687"],"photo_ids_order":["1333175683","1333175687","1333175724","1333175733","1333175746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4fa6d42b28b0e0712682ba43cb3c6f2a.jpg","text":"TemporaryFile(/tmp/multipartBody8102168331478507961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287993256,"filename":"image_31012025_02_44_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/1/31/2b14a5b25a54769c06a21fb50ac64cca.jpg","text":"TemporaryFile(/tmp/multipartBody2528735261194009455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287993256,"filename":"image_31012025_02_45_35_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4a2b6ca105d14d4773e1ff577a9586c5.jpg","text":"TemporaryFile(/tmp/multipartBody6716510578456234477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287993256,"filename":"image_31012025_02_45_25_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c65c69bb83002ef903667f7caa321318.jpg","text":"TemporaryFile(/tmp/multipartBody5101985564839265964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287993256,"filename":"image_31012025_02_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/1/31/66b3f86ec2a7b402674cf791d3137ba1.jpg","text":"TemporaryFile(/tmp/multipartBody1337010663476621135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738287993256,"filename":"image_31012025_02_45_05_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333175724","file1":"1333175687","file0":"1333175683","file4":"1333175746","file3":"1333175733"},"map_files_photo_id_array":[{"photo_id":"1333175724","filename":"file2"},{"photo_id":"1333175746","filename":"file4"},{"photo_id":"1333175687","filename":"file1"},{"photo_id":"1333175683","filename":"file0"},{"photo_id":"1333175733","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333175683":["hashtag1","hashtag2"]},{"1333175746":["hashtag1","hashtag2"]},{"1333175733":["hashtag1","hashtag2"]},{"1333175724":["hashtag1","hashtag2"]},{"1333175687":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333175683, 1333175746, 1333175733, 1333175724, 1333175687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.49505925178528 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:46:32.618494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/45/image_31012025_02_45_44_9434.jpg', '/home/pi/Desktop/images/31012025/02/46/image_31012025_02_46_15_9337.jpg', '/home/pi/Desktop/images/31012025/02/46/image_31012025_02_46_25_10422.jpg', '/home/pi/Desktop/images/31012025/02/46/image_31012025_02_46_35_10376.jpg', '/home/pi/Desktop/images/31012025/02/46/image_31012025_02_46_45_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/45/image_31012025_02_45_44_9434.jpg
/home/pi/Desktop/images/31012025/02/46/image_31012025_02_46_15_9337.jpg
/home/pi/Desktop/images/31012025/02/46/image_31012025_02_46_25_10422.jpg
/home/pi/Desktop/images/31012025/02/46/image_31012025_02_46_35_10376.jpg
/home/pi/Desktop/images/31012025/02/46/image_31012025_02_46_45_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":["1333175777","1333175804","1333175828","1333175794","1333175784"],"photo_ids_order":["1333175777","1333175784","1333175794","1333175804","1333175828"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6f845583d7023c6393b052240ea128ab.jpg","text":"TemporaryFile(/tmp/multipartBody6253706804073639612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288053511,"filename":"image_31012025_02_45_44_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/016a4dd992e97ce121089c16f35d0930.jpg","text":"TemporaryFile(/tmp/multipartBody6097048188863103106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288053511,"filename":"image_31012025_02_46_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/1/31/f928b58df1d90189549b7a0b27c50053.jpg","text":"TemporaryFile(/tmp/multipartBody4394444956786934579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288053511,"filename":"image_31012025_02_46_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/1/31/a05fd2ea6d6a059e256be9314ba9d631.jpg","text":"TemporaryFile(/tmp/multipartBody5392373497781844617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288053511,"filename":"image_31012025_02_46_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/1/31/06ca25e7be36ce48ed39511ce62e75a2.jpg","text":"TemporaryFile(/tmp/multipartBody2672830340757530958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288053511,"filename":"image_31012025_02_46_15_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333175794","file1":"1333175784","file0":"1333175777","file4":"1333175828","file3":"1333175804"},"map_files_photo_id_array":[{"photo_id":"1333175794","filename":"file2"},{"photo_id":"1333175828","filename":"file4"},{"photo_id":"1333175784","filename":"file1"},{"photo_id":"1333175777","filename":"file0"},{"photo_id":"1333175804","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333175777":["hashtag1","hashtag2"]},{"1333175804":["hashtag1","hashtag2"]},{"1333175828":["hashtag1","hashtag2"]},{"1333175794":["hashtag1","hashtag2"]},{"1333175784":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333175777, 1333175804, 1333175828, 1333175794, 1333175784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.66567325592041 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:47:33.104522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/46/image_31012025_02_46_55_10364.jpg', '/home/pi/Desktop/images/31012025/02/46/image_31012025_02_47_05_10342.jpg', '/home/pi/Desktop/images/31012025/02/47/image_31012025_02_47_25_10439.jpg', '/home/pi/Desktop/images/31012025/02/47/image_31012025_02_47_35_9416.jpg', '/home/pi/Desktop/images/31012025/02/47/image_31012025_02_47_45_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/46/image_31012025_02_46_55_10364.jpg
/home/pi/Desktop/images/31012025/02/46/image_31012025_02_47_05_10342.jpg
/home/pi/Desktop/images/31012025/02/47/image_31012025_02_47_25_10439.jpg
/home/pi/Desktop/images/31012025/02/47/image_31012025_02_47_35_9416.jpg
/home/pi/Desktop/images/31012025/02/47/image_31012025_02_47_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":["1333175894","1333175882","1333175896","1333175887","1333175891"],"photo_ids_order":["1333175882","1333175887","1333175891","1333175894","1333175896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d8f523a30023a195d18e54f16eaa3d2e.jpg","text":"TemporaryFile(/tmp/multipartBody4392046512142922520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288113996,"filename":"image_31012025_02_47_35_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f857805df7b204fdb3861cf3b47235a5.jpg","text":"TemporaryFile(/tmp/multipartBody9118749458238138599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288113996,"filename":"image_31012025_02_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/1/31/7ac9d42c505eeb6664186e594fb4e2b7.jpg","text":"TemporaryFile(/tmp/multipartBody6064762571939401814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288113996,"filename":"image_31012025_02_47_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/1/31/55a0ff7088195721bd634d094a922f07.jpg","text":"TemporaryFile(/tmp/multipartBody2145770592115973263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288113996,"filename":"image_31012025_02_47_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/1/31/80e3ac683281cea4fd0709a5e13d270c.jpg","text":"TemporaryFile(/tmp/multipartBody1654485404680239449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288113996,"filename":"image_31012025_02_47_25_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333175891","file1":"1333175887","file0":"1333175882","file4":"1333175896","file3":"1333175894"},"map_files_photo_id_array":[{"photo_id":"1333175891","filename":"file2"},{"photo_id":"1333175896","filename":"file4"},{"photo_id":"1333175887","filename":"file1"},{"photo_id":"1333175882","filename":"file0"},{"photo_id":"1333175894","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333175894":["hashtag1","hashtag2"]},{"1333175882":["hashtag1","hashtag2"]},{"1333175896":["hashtag1","hashtag2"]},{"1333175887":["hashtag1","hashtag2"]},{"1333175891":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333175894, 1333175882, 1333175896, 1333175887, 1333175891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.806888580322266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:48:32.447751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/47/image_31012025_02_47_55_10358.jpg', '/home/pi/Desktop/images/31012025/02/47/image_31012025_02_48_05_9445.jpg', '/home/pi/Desktop/images/31012025/02/48/image_31012025_02_48_15_10368.jpg', '/home/pi/Desktop/images/31012025/02/48/image_31012025_02_48_25_9352.jpg', '/home/pi/Desktop/images/31012025/02/48/image_31012025_02_48_35_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/47/image_31012025_02_47_55_10358.jpg
/home/pi/Desktop/images/31012025/02/47/image_31012025_02_48_05_9445.jpg
/home/pi/Desktop/images/31012025/02/48/image_31012025_02_48_15_10368.jpg
/home/pi/Desktop/images/31012025/02/48/image_31012025_02_48_25_9352.jpg
/home/pi/Desktop/images/31012025/02/48/image_31012025_02_48_35_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":["1333175927","1333175941","1333175935","1333175938","1333175946"],"photo_ids_order":["1333175927","1333175935","1333175938","1333175941","1333175946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/697eb133d1575373ecb184d32cff83c2.jpg","text":"TemporaryFile(/tmp/multipartBody477918830277275088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288173347,"filename":"image_31012025_02_47_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/1/31/4f61ee2652ced5a08441efccb03b9d84.jpg","text":"TemporaryFile(/tmp/multipartBody8262629508984869856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288173347,"filename":"image_31012025_02_48_25_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e6e6d9b561de99f3c016ce0478aee9ac.jpg","text":"TemporaryFile(/tmp/multipartBody7461395954267150187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288173347,"filename":"image_31012025_02_48_05_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/73dfd067b810503096180ea99dfd108d.jpg","text":"TemporaryFile(/tmp/multipartBody8234557508073535361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288173347,"filename":"image_31012025_02_48_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/1/31/233d1a0f60dbc09a91dcea4f4418fbcd.jpg","text":"TemporaryFile(/tmp/multipartBody1739394258817087961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288173347,"filename":"image_31012025_02_48_35_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333175938","file1":"1333175935","file0":"1333175927","file4":"1333175946","file3":"1333175941"},"map_files_photo_id_array":[{"photo_id":"1333175938","filename":"file2"},{"photo_id":"1333175946","filename":"file4"},{"photo_id":"1333175935","filename":"file1"},{"photo_id":"1333175927","filename":"file0"},{"photo_id":"1333175941","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333175927":["hashtag1","hashtag2"]},{"1333175941":["hashtag1","hashtag2"]},{"1333175935":["hashtag1","hashtag2"]},{"1333175938":["hashtag1","hashtag2"]},{"1333175946":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333175927, 1333175941, 1333175935, 1333175938, 1333175946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.40380382537842 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:49:32.687882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/48/image_31012025_02_48_45_10406.jpg', '/home/pi/Desktop/images/31012025/02/48/image_31012025_02_49_05_10414.jpg', '/home/pi/Desktop/images/31012025/02/49/image_31012025_02_49_15_9384.jpg', '/home/pi/Desktop/images/31012025/02/49/image_31012025_02_49_25_10455.jpg', '/home/pi/Desktop/images/31012025/02/49/image_31012025_02_49_34_9410.jpg', '/home/pi/Desktop/images/31012025/02/49/image_31012025_02_49_45_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/48/image_31012025_02_48_45_10406.jpg
/home/pi/Desktop/images/31012025/02/48/image_31012025_02_49_05_10414.jpg
/home/pi/Desktop/images/31012025/02/49/image_31012025_02_49_15_9384.jpg
/home/pi/Desktop/images/31012025/02/49/image_31012025_02_49_25_10455.jpg
/home/pi/Desktop/images/31012025/02/49/image_31012025_02_49_34_9410.jpg
/home/pi/Desktop/images/31012025/02/49/image_31012025_02_49_45_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333176029","1333176016","1333176007","1333176098","1333176021","1333176000"],"photo_ids_order":["1333176000","1333176007","1333176016","1333176021","1333176029","1333176098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c593780b18bddc4b253a1bd1c08c90ab.jpg","text":"TemporaryFile(/tmp/multipartBody810834847697588945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288233594,"filename":"image_31012025_02_49_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/1/31/223846aad41b5054b7189dacfc9d41b4.jpg","text":"TemporaryFile(/tmp/multipartBody6696985289520744952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288233594,"filename":"image_31012025_02_49_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/1/31/6c1199ca377f3c5a3209ff71befa1eb7.jpg","text":"TemporaryFile(/tmp/multipartBody1969802309994276221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288233594,"filename":"image_31012025_02_49_05_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/35c42c8dbf5401e9092dae03ded2aaa8.jpg","text":"TemporaryFile(/tmp/multipartBody2073021012182223351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288233594,"filename":"image_31012025_02_49_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/1/31/858a790692fb5dbb90bab4bb2ace84ee.jpg","text":"TemporaryFile(/tmp/multipartBody2352825415608162414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288233594,"filename":"image_31012025_02_49_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/1/31/95dea871cfd97d69bb6917608dd722a4.jpg","text":"TemporaryFile(/tmp/multipartBody6593920710403501814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288233594,"filename":"image_31012025_02_48_45_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333176016","file1":"1333176007","file0":"1333176000","file4":"1333176029","file5":"1333176098","file3":"1333176021"},"map_files_photo_id_array":[{"photo_id":"1333176098","filename":"file5"},{"photo_id":"1333176016","filename":"file2"},{"photo_id":"1333176029","filename":"file4"},{"photo_id":"1333176007","filename":"file1"},{"photo_id":"1333176000","filename":"file0"},{"photo_id":"1333176021","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333176029":["hashtag1","hashtag2"]},{"1333176016":["hashtag1","hashtag2"]},{"1333176007":["hashtag1","hashtag2"]},{"1333176098":["hashtag1","hashtag2"]},{"1333176021":["hashtag1","hashtag2"]},{"1333176000":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333176029, 1333176016, 1333176007, 1333176098, 1333176021, 1333176000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.41373372077942 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:50:32.824349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/49/image_31012025_02_49_55_10351.jpg', '/home/pi/Desktop/images/31012025/02/49/image_31012025_02_50_05_9344.jpg', '/home/pi/Desktop/images/31012025/02/50/image_31012025_02_50_15_10385.jpg', '/home/pi/Desktop/images/31012025/02/50/image_31012025_02_50_35_9932.jpg', '/home/pi/Desktop/images/31012025/02/50/image_31012025_02_50_45_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/49/image_31012025_02_49_55_10351.jpg
/home/pi/Desktop/images/31012025/02/49/image_31012025_02_50_05_9344.jpg
/home/pi/Desktop/images/31012025/02/50/image_31012025_02_50_15_10385.jpg
/home/pi/Desktop/images/31012025/02/50/image_31012025_02_50_35_9932.jpg
/home/pi/Desktop/images/31012025/02/50/image_31012025_02_50_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":["1333176774","1333176768","1333176771","1333176689","1333176761"],"photo_ids_order":["1333176689","1333176761","1333176768","1333176771","1333176774"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/93c3a6ec1fb4d0e50cf910a24c2f7881.jpg","text":"TemporaryFile(/tmp/multipartBody8863812989067552772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288293715,"filename":"image_31012025_02_50_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/1/31/ba02ed39e968e515188977935c0e10a4.jpg","text":"TemporaryFile(/tmp/multipartBody9223183601572414023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288293715,"filename":"image_31012025_02_50_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/1/31/4eaa6a370bc4e8d513ac492c4e9d89da.jpg","text":"TemporaryFile(/tmp/multipartBody8004459736488733776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288293715,"filename":"image_31012025_02_50_35_9932.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d5d156c397d0a98841978812a842a489.jpg","text":"TemporaryFile(/tmp/multipartBody2695093417297528790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288293715,"filename":"image_31012025_02_49_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/1/31/1a194d6d6680ce2cf44e866440f04854.jpg","text":"TemporaryFile(/tmp/multipartBody7445584170068367771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288293715,"filename":"image_31012025_02_50_05_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333176768","file1":"1333176761","file0":"1333176689","file4":"1333176774","file3":"1333176771"},"map_files_photo_id_array":[{"photo_id":"1333176768","filename":"file2"},{"photo_id":"1333176774","filename":"file4"},{"photo_id":"1333176761","filename":"file1"},{"photo_id":"1333176689","filename":"file0"},{"photo_id":"1333176771","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333176774":["hashtag1","hashtag2"]},{"1333176768":["hashtag1","hashtag2"]},{"1333176771":["hashtag1","hashtag2"]},{"1333176689":["hashtag1","hashtag2"]},{"1333176761":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333176774, 1333176768, 1333176771, 1333176689, 1333176761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.93960690498352 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:51:32.231223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/50/image_31012025_02_50_55_10453.jpg', '/home/pi/Desktop/images/31012025/02/50/image_31012025_02_51_05_9415.jpg', '/home/pi/Desktop/images/31012025/02/51/image_31012025_02_51_15_10363.jpg', '/home/pi/Desktop/images/31012025/02/51/image_31012025_02_51_25_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/50/image_31012025_02_50_55_10453.jpg
/home/pi/Desktop/images/31012025/02/50/image_31012025_02_51_05_9415.jpg
/home/pi/Desktop/images/31012025/02/51/image_31012025_02_51_15_10363.jpg
/home/pi/Desktop/images/31012025/02/51/image_31012025_02_51_25_10373.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":["1333177063","1333177006","1333177071","1333177011"],"photo_ids_order":["1333177006","1333177011","1333177063","1333177071"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/209b5560f4bb63b4a65c52a9af3ecd2a.jpg","text":"TemporaryFile(/tmp/multipartBody92531996688998721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288353123,"filename":"image_31012025_02_51_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/1/31/9aa44b1b74537ba1b63bdf4b062e2ff5.jpg","text":"TemporaryFile(/tmp/multipartBody188126438225416150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288353123,"filename":"image_31012025_02_50_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/1/31/9bd75399ea18437ca195ff74462d257f.jpg","text":"TemporaryFile(/tmp/multipartBody3879745941492321699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288353123,"filename":"image_31012025_02_51_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/1/31/060e34c9381de1ee000ea1bf831d3b82.jpg","text":"TemporaryFile(/tmp/multipartBody7913031525730575393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288353123,"filename":"image_31012025_02_51_05_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333177063","file1":"1333177011","file0":"1333177006","file3":"1333177071"},"map_files_photo_id_array":[{"photo_id":"1333177063","filename":"file2"},{"photo_id":"1333177011","filename":"file1"},{"photo_id":"1333177006","filename":"file0"},{"photo_id":"1333177071","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333177063":["hashtag1","hashtag2"]},{"1333177006":["hashtag1","hashtag2"]},{"1333177071":["hashtag1","hashtag2"]},{"1333177011":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333177063, 1333177006, 1333177071, 1333177011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.890912532806396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 02:52:03.117402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/03/image_28012025_22_03_35_10356.jpg', '/home/pi/Desktop/images/28012025/22/03/image_28012025_22_03_44_9467.jpg', '/home/pi/Desktop/images/28012025/22/03/image_28012025_22_03_55_10407.jpg', '/home/pi/Desktop/images/28012025/22/03/image_28012025_22_04_05_10350.jpg', '/home/pi/Desktop/images/28012025/22/04/image_28012025_22_04_14_9402.jpg', '/home/pi/Desktop/images/28012025/22/04/image_28012025_22_04_25_10461.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/03/image_28012025_22_03_35_10356.jpg
/home/pi/Desktop/images/28012025/22/03/image_28012025_22_03_44_9467.jpg
/home/pi/Desktop/images/28012025/22/03/image_28012025_22_03_55_10407.jpg
/home/pi/Desktop/images/28012025/22/03/image_28012025_22_04_05_10350.jpg
/home/pi/Desktop/images/28012025/22/04/image_28012025_22_04_14_9402.jpg
/home/pi/Desktop/images/28012025/22/04/image_28012025_22_04_25_10461.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":["1333177093","1333177108","1333177083","1333177080","1333177088","1333177099"],"photo_ids_order":["1333177080","1333177083","1333177088","1333177093","1333177099","1333177108"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cc8e365a72b740d36ccb8c074ae1f50f.jpg","text":"TemporaryFile(/tmp/multipartBody3765507665878821780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288384695,"filename":"image_28012025_22_04_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/1/31/5c3d5400009acdcf6f38146fcc3ee1dc.jpg","text":"TemporaryFile(/tmp/multipartBody1464052556783409324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288384695,"filename":"image_28012025_22_04_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/1/31/adab4e54e806dab9326e6cafa34b2f42.jpg","text":"TemporaryFile(/tmp/multipartBody7819183292269499162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288384695,"filename":"image_28012025_22_03_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/1/31/00287fa5aabe65efdcfc49ec504e177b.jpg","text":"TemporaryFile(/tmp/multipartBody782253482811655194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288384695,"filename":"image_28012025_22_03_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/1/31/1ff5b569a4e6663458116c3128532dfe.jpg","text":"TemporaryFile(/tmp/multipartBody6047790461749506712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288384695,"filename":"image_28012025_22_03_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/1/31/3863cf34b59e1ef3cb761dcc25a2cdcc.jpg","text":"TemporaryFile(/tmp/multipartBody8137400315578204958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288384695,"filename":"image_28012025_22_04_14_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333177088","file1":"1333177083","file0":"1333177080","file4":"1333177099","file5":"1333177108","file3":"1333177093"},"map_files_photo_id_array":[{"photo_id":"1333177108","filename":"file5"},{"photo_id":"1333177088","filename":"file2"},{"photo_id":"1333177099","filename":"file4"},{"photo_id":"1333177083","filename":"file1"},{"photo_id":"1333177080","filename":"file0"},{"photo_id":"1333177093","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333177093":["hashtag1","hashtag2"]},{"1333177108":["hashtag1","hashtag2"]},{"1333177083":["hashtag1","hashtag2"]},{"1333177080":["hashtag1","hashtag2"]},{"1333177088":["hashtag1","hashtag2"]},{"1333177099":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333177093, 1333177108, 1333177083, 1333177080, 1333177088, 1333177099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.3264319896698 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:52:52.378504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/51/image_31012025_02_51_35_9354.jpg', '/home/pi/Desktop/images/31012025/02/51/image_31012025_02_52_05_9339.jpg', '/home/pi/Desktop/images/31012025/02/52/image_31012025_02_52_15_10450.jpg', '/home/pi/Desktop/images/31012025/02/52/image_31012025_02_52_24_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/51/image_31012025_02_51_35_9354.jpg
/home/pi/Desktop/images/31012025/02/51/image_31012025_02_52_05_9339.jpg
/home/pi/Desktop/images/31012025/02/52/image_31012025_02_52_15_10450.jpg
/home/pi/Desktop/images/31012025/02/52/image_31012025_02_52_24_9356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333177125","1333177119","1333177130","1333177121"],"photo_ids_order":["1333177119","1333177121","1333177125","1333177130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/44397e69fdbd9276003229ecb69936dc.jpg","text":"TemporaryFile(/tmp/multipartBody2660201973751988435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288433265,"filename":"image_31012025_02_52_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/1/31/a4c510aab47f9ed97146515606c13334.jpg","text":"TemporaryFile(/tmp/multipartBody5297460959405559162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288433265,"filename":"image_31012025_02_51_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/1/31/bcba3b54586eec8809f8c91a472cc5e3.jpg","text":"TemporaryFile(/tmp/multipartBody5211079841626736224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288433265,"filename":"image_31012025_02_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/1/31/b3d6a50f6642da11cb50080f5b9863c1.jpg","text":"TemporaryFile(/tmp/multipartBody965494693389776056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288433265,"filename":"image_31012025_02_52_05_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333177125","file1":"1333177121","file0":"1333177119","file3":"1333177130"},"map_files_photo_id_array":[{"photo_id":"1333177125","filename":"file2"},{"photo_id":"1333177121","filename":"file1"},{"photo_id":"1333177119","filename":"file0"},{"photo_id":"1333177130","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333177125":["hashtag1","hashtag2"]},{"1333177119":["hashtag1","hashtag2"]},{"1333177130":["hashtag1","hashtag2"]},{"1333177121":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333177125, 1333177119, 1333177130, 1333177121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.233445644378662 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:53:32.604233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/52/image_31012025_02_52_45_10436.jpg', '/home/pi/Desktop/images/31012025/02/52/image_31012025_02_53_05_10383.jpg', '/home/pi/Desktop/images/31012025/02/53/image_31012025_02_53_15_9327.jpg', '/home/pi/Desktop/images/31012025/02/53/image_31012025_02_53_25_10365.jpg', '/home/pi/Desktop/images/31012025/02/53/image_31012025_02_53_35_10353.jpg', '/home/pi/Desktop/images/31012025/02/53/image_31012025_02_53_45_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/52/image_31012025_02_52_45_10436.jpg
/home/pi/Desktop/images/31012025/02/52/image_31012025_02_53_05_10383.jpg
/home/pi/Desktop/images/31012025/02/53/image_31012025_02_53_15_9327.jpg
/home/pi/Desktop/images/31012025/02/53/image_31012025_02_53_25_10365.jpg
/home/pi/Desktop/images/31012025/02/53/image_31012025_02_53_35_10353.jpg
/home/pi/Desktop/images/31012025/02/53/image_31012025_02_53_45_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":["1333177171","1333177153","1333177164","1333177167","1333177160","1333177157"],"photo_ids_order":["1333177153","1333177157","1333177160","1333177164","1333177167","1333177171"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/be1f13200369792ce0a2585ca98aa52b.jpg","text":"TemporaryFile(/tmp/multipartBody2023053912511934429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288473520,"filename":"image_31012025_02_53_45_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/37a5b2b6ea94fbaafed967ddbd932d30.jpg","text":"TemporaryFile(/tmp/multipartBody2822889102638189344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288473520,"filename":"image_31012025_02_52_45_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/be29d91c047bf956fbc40f7e25170172.jpg","text":"TemporaryFile(/tmp/multipartBody7706037007459441634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288473520,"filename":"image_31012025_02_53_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/1/31/3da7eee76d81c741754e79571bffd842.jpg","text":"TemporaryFile(/tmp/multipartBody7440086585765913509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288473520,"filename":"image_31012025_02_53_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/1/31/aa119584da67a6502bff47af9a1a71d4.jpg","text":"TemporaryFile(/tmp/multipartBody6421213862726694432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288473520,"filename":"image_31012025_02_53_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/1/31/dae7b985637777b4a027f8e3f54be4f9.jpg","text":"TemporaryFile(/tmp/multipartBody693600013237226506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288473520,"filename":"image_31012025_02_53_05_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333177160","file1":"1333177157","file0":"1333177153","file4":"1333177167","file5":"1333177171","file3":"1333177164"},"map_files_photo_id_array":[{"photo_id":"1333177171","filename":"file5"},{"photo_id":"1333177160","filename":"file2"},{"photo_id":"1333177167","filename":"file4"},{"photo_id":"1333177157","filename":"file1"},{"photo_id":"1333177153","filename":"file0"},{"photo_id":"1333177164","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333177171":["hashtag1","hashtag2"]},{"1333177153":["hashtag1","hashtag2"]},{"1333177164":["hashtag1","hashtag2"]},{"1333177167":["hashtag1","hashtag2"]},{"1333177160":["hashtag1","hashtag2"]},{"1333177157":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333177171, 1333177153, 1333177164, 1333177167, 1333177160, 1333177157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2785964012146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:54:32.751863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/53/image_31012025_02_53_55_10345.jpg', '/home/pi/Desktop/images/31012025/02/54/image_31012025_02_54_15_9323.jpg', '/home/pi/Desktop/images/31012025/02/54/image_31012025_02_54_25_10400.jpg', '/home/pi/Desktop/images/31012025/02/54/image_31012025_02_54_35_10361.jpg', '/home/pi/Desktop/images/31012025/02/54/image_31012025_02_54_45_9467.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/53/image_31012025_02_53_55_10345.jpg
/home/pi/Desktop/images/31012025/02/54/image_31012025_02_54_15_9323.jpg
/home/pi/Desktop/images/31012025/02/54/image_31012025_02_54_25_10400.jpg
/home/pi/Desktop/images/31012025/02/54/image_31012025_02_54_35_10361.jpg
/home/pi/Desktop/images/31012025/02/54/image_31012025_02_54_45_9467.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5066215991973877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 02:54:42.806713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/53/image_31012025_02_53_55_10345.jpg', '/home/pi/Desktop/images/31012025/02/54/image_31012025_02_54_15_9323.jpg', '/home/pi/Desktop/images/31012025/02/54/image_31012025_02_54_25_10400.jpg', '/home/pi/Desktop/images/31012025/02/54/image_31012025_02_54_35_10361.jpg', '/home/pi/Desktop/images/31012025/02/54/image_31012025_02_54_45_9467.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/53/image_31012025_02_53_55_10345.jpg
/home/pi/Desktop/images/31012025/02/54/image_31012025_02_54_15_9323.jpg
/home/pi/Desktop/images/31012025/02/54/image_31012025_02_54_25_10400.jpg
/home/pi/Desktop/images/31012025/02/54/image_31012025_02_54_35_10361.jpg
/home/pi/Desktop/images/31012025/02/54/image_31012025_02_54_45_9467.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":["1333177217","1333177225","1333177211","1333177220","1333177214"],"photo_ids_order":["1333177211","1333177214","1333177217","1333177220","1333177225"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f2e1d488c0feaab7d253704fae3403d6.jpg","text":"TemporaryFile(/tmp/multipartBody8140351685139029836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288543986,"filename":"image_31012025_02_54_25_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/383c9de41eb6c19feb6240afe8c34de5.jpg","text":"TemporaryFile(/tmp/multipartBody5594768300024391592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288543986,"filename":"image_31012025_02_54_45_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fc6406c5808a9db1c3d873f553ad2944.jpg","text":"TemporaryFile(/tmp/multipartBody7428088389828705448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288543986,"filename":"image_31012025_02_53_55_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/44547fd99cd3575bbb181efbb014fb4b.jpg","text":"TemporaryFile(/tmp/multipartBody8712275657053451317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288543986,"filename":"image_31012025_02_54_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/1/31/2221973b67ad3514476f18c8d2214599.jpg","text":"TemporaryFile(/tmp/multipartBody3968240676668742713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288543986,"filename":"image_31012025_02_54_15_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333177217","file1":"1333177214","file0":"1333177211","file4":"1333177225","file3":"1333177220"},"map_files_photo_id_array":[{"photo_id":"1333177217","filename":"file2"},{"photo_id":"1333177225","filename":"file4"},{"photo_id":"1333177214","filename":"file1"},{"photo_id":"1333177211","filename":"file0"},{"photo_id":"1333177220","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333177217":["hashtag1","hashtag2"]},{"1333177225":["hashtag1","hashtag2"]},{"1333177211":["hashtag1","hashtag2"]},{"1333177220":["hashtag1","hashtag2"]},{"1333177214":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333177217, 1333177225, 1333177211, 1333177220, 1333177214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.32485866546631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:55:33.029246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/54/image_31012025_02_54_55_10361.jpg', '/home/pi/Desktop/images/31012025/02/54/image_31012025_02_55_05_9369.jpg', '/home/pi/Desktop/images/31012025/02/55/image_31012025_02_55_15_10469.jpg', '/home/pi/Desktop/images/31012025/02/55/image_31012025_02_55_25_10342.jpg', '/home/pi/Desktop/images/31012025/02/55/image_31012025_02_55_35_9427.jpg', '/home/pi/Desktop/images/31012025/02/55/image_31012025_02_55_45_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/54/image_31012025_02_54_55_10361.jpg
/home/pi/Desktop/images/31012025/02/54/image_31012025_02_55_05_9369.jpg
/home/pi/Desktop/images/31012025/02/55/image_31012025_02_55_15_10469.jpg
/home/pi/Desktop/images/31012025/02/55/image_31012025_02_55_25_10342.jpg
/home/pi/Desktop/images/31012025/02/55/image_31012025_02_55_35_9427.jpg
/home/pi/Desktop/images/31012025/02/55/image_31012025_02_55_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":["1333177282","1333177276","1333177296","1333177287","1333177292","1333177289"],"photo_ids_order":["1333177276","1333177282","1333177287","1333177289","1333177292","1333177296"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c7d88d2870efaf20cfd5d6b12a132ba2.jpg","text":"TemporaryFile(/tmp/multipartBody7978376774114239972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288593934,"filename":"image_31012025_02_55_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/1/31/2d30dcf6485450be69b989b5a67f597a.jpg","text":"TemporaryFile(/tmp/multipartBody7757285258960421043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288593934,"filename":"image_31012025_02_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/1/31/c7b511ecf7e7a39e71cf823084cff125.jpg","text":"TemporaryFile(/tmp/multipartBody6018237776926451888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288593934,"filename":"image_31012025_02_55_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/1/31/1463e412d795c8248eb17ea9bb253b7f.jpg","text":"TemporaryFile(/tmp/multipartBody401568617952853645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288593934,"filename":"image_31012025_02_55_15_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3e6a68f157d62504fa7e44133128cf35.jpg","text":"TemporaryFile(/tmp/multipartBody3323019160688428836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288593934,"filename":"image_31012025_02_55_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/1/31/5a966a320298cd414fc4fc2b202a3392.jpg","text":"TemporaryFile(/tmp/multipartBody961258914696807708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288593934,"filename":"image_31012025_02_55_25_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333177287","file1":"1333177282","file0":"1333177276","file4":"1333177292","file5":"1333177296","file3":"1333177289"},"map_files_photo_id_array":[{"photo_id":"1333177296","filename":"file5"},{"photo_id":"1333177287","filename":"file2"},{"photo_id":"1333177292","filename":"file4"},{"photo_id":"1333177282","filename":"file1"},{"photo_id":"1333177276","filename":"file0"},{"photo_id":"1333177289","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333177282":["hashtag1","hashtag2"]},{"1333177276":["hashtag1","hashtag2"]},{"1333177296":["hashtag1","hashtag2"]},{"1333177287":["hashtag1","hashtag2"]},{"1333177292":["hashtag1","hashtag2"]},{"1333177289":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333177282, 1333177276, 1333177296, 1333177287, 1333177292, 1333177289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42175626754761 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:56:32.412612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/55/image_31012025_02_55_55_9345.jpg', '/home/pi/Desktop/images/31012025/02/55/image_31012025_02_56_05_10363.jpg', '/home/pi/Desktop/images/31012025/02/56/image_31012025_02_56_15_10352.jpg', '/home/pi/Desktop/images/31012025/02/56/image_31012025_02_56_25_9340.jpg', '/home/pi/Desktop/images/31012025/02/56/image_31012025_02_56_35_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/55/image_31012025_02_55_55_9345.jpg
/home/pi/Desktop/images/31012025/02/55/image_31012025_02_56_05_10363.jpg
/home/pi/Desktop/images/31012025/02/56/image_31012025_02_56_15_10352.jpg
/home/pi/Desktop/images/31012025/02/56/image_31012025_02_56_25_9340.jpg
/home/pi/Desktop/images/31012025/02/56/image_31012025_02_56_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":["1333177647","1333177569","1333177641","1333177635","1333177588"],"photo_ids_order":["1333177569","1333177588","1333177635","1333177641","1333177647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5c00d504bf1925739ec4f2579027c2d3.jpg","text":"TemporaryFile(/tmp/multipartBody129629392623905107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288653303,"filename":"image_31012025_02_56_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/1/31/d5ac03b80d8cf9202062f0e500bef829.jpg","text":"TemporaryFile(/tmp/multipartBody1271261405183812942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288653303,"filename":"image_31012025_02_55_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/1/31/2d36a6fea1b0a81d1221bfab615c31fe.jpg","text":"TemporaryFile(/tmp/multipartBody5727240713223170881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288653303,"filename":"image_31012025_02_56_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/1/31/a391f3109732cd5eadbd50311ad90cac.jpg","text":"TemporaryFile(/tmp/multipartBody3723185149661680294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288653303,"filename":"image_31012025_02_56_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/1/31/2ee4eb88da7083566264ab5bdd1b1aca.jpg","text":"TemporaryFile(/tmp/multipartBody5494049852606758690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288653303,"filename":"image_31012025_02_56_05_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333177635","file1":"1333177588","file0":"1333177569","file4":"1333177647","file3":"1333177641"},"map_files_photo_id_array":[{"photo_id":"1333177635","filename":"file2"},{"photo_id":"1333177647","filename":"file4"},{"photo_id":"1333177588","filename":"file1"},{"photo_id":"1333177569","filename":"file0"},{"photo_id":"1333177641","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333177647":["hashtag1","hashtag2"]},{"1333177569":["hashtag1","hashtag2"]},{"1333177641":["hashtag1","hashtag2"]},{"1333177635":["hashtag1","hashtag2"]},{"1333177588":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333177647, 1333177569, 1333177641, 1333177635, 1333177588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.00266790390015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:57:32.632665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/56/image_31012025_02_56_45_10450.jpg', '/home/pi/Desktop/images/31012025/02/56/image_31012025_02_57_05_10362.jpg', '/home/pi/Desktop/images/31012025/02/57/image_31012025_02_57_15_9322.jpg', '/home/pi/Desktop/images/31012025/02/57/image_31012025_02_57_25_10462.jpg', '/home/pi/Desktop/images/31012025/02/57/image_31012025_02_57_35_10357.jpg', '/home/pi/Desktop/images/31012025/02/57/image_31012025_02_57_45_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/56/image_31012025_02_56_45_10450.jpg
/home/pi/Desktop/images/31012025/02/56/image_31012025_02_57_05_10362.jpg
/home/pi/Desktop/images/31012025/02/57/image_31012025_02_57_15_9322.jpg
/home/pi/Desktop/images/31012025/02/57/image_31012025_02_57_25_10462.jpg
/home/pi/Desktop/images/31012025/02/57/image_31012025_02_57_35_10357.jpg
/home/pi/Desktop/images/31012025/02/57/image_31012025_02_57_45_9353.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 www.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-01-31 02:59:04.862541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/56/image_31012025_02_56_45_10450.jpg', '/home/pi/Desktop/images/31012025/02/56/image_31012025_02_57_05_10362.jpg', '/home/pi/Desktop/images/31012025/02/57/image_31012025_02_57_15_9322.jpg', '/home/pi/Desktop/images/31012025/02/57/image_31012025_02_57_25_10462.jpg', '/home/pi/Desktop/images/31012025/02/57/image_31012025_02_57_35_10357.jpg', '/home/pi/Desktop/images/31012025/02/57/image_31012025_02_57_45_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/56/image_31012025_02_56_45_10450.jpg
/home/pi/Desktop/images/31012025/02/56/image_31012025_02_57_05_10362.jpg
/home/pi/Desktop/images/31012025/02/57/image_31012025_02_57_15_9322.jpg
/home/pi/Desktop/images/31012025/02/57/image_31012025_02_57_25_10462.jpg
/home/pi/Desktop/images/31012025/02/57/image_31012025_02_57_35_10357.jpg
/home/pi/Desktop/images/31012025/02/57/image_31012025_02_57_45_9353.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":["1333178128","1333178143","1333178122","1333178106","1333178115","1333178135"],"photo_ids_order":["1333178106","1333178115","1333178122","1333178128","1333178135","1333178143"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/db68f5eb07ea7d6e3c1c0e6dfbd62593.jpg","text":"TemporaryFile(/tmp/multipartBody5668176200287262110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288805934,"filename":"image_31012025_02_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/1/31/a50f97bff2bcce717d88f8644eaa5e1e.jpg","text":"TemporaryFile(/tmp/multipartBody5370263795243076255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288805934,"filename":"image_31012025_02_57_45_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fbe48b4993fe17fe451994c0c1849067.jpg","text":"TemporaryFile(/tmp/multipartBody835367122198519023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288805934,"filename":"image_31012025_02_57_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/1/31/2f5831696c8686823f4c7198e4d64fc0.jpg","text":"TemporaryFile(/tmp/multipartBody7391242855398786843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288805934,"filename":"image_31012025_02_56_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/1/31/2a2c9d2ed4f3c80104713ed1b6997a7c.jpg","text":"TemporaryFile(/tmp/multipartBody1730227177373946973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288805934,"filename":"image_31012025_02_57_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/1/31/b9e684127e81a7bc1ec169203065658c.jpg","text":"TemporaryFile(/tmp/multipartBody455315763248355328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288805934,"filename":"image_31012025_02_57_35_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333178122","file1":"1333178115","file0":"1333178106","file4":"1333178135","file5":"1333178143","file3":"1333178128"},"map_files_photo_id_array":[{"photo_id":"1333178143","filename":"file5"},{"photo_id":"1333178122","filename":"file2"},{"photo_id":"1333178135","filename":"file4"},{"photo_id":"1333178115","filename":"file1"},{"photo_id":"1333178106","filename":"file0"},{"photo_id":"1333178128","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333178128":["hashtag1","hashtag2"]},{"1333178143":["hashtag1","hashtag2"]},{"1333178122":["hashtag1","hashtag2"]},{"1333178106":["hashtag1","hashtag2"]},{"1333178115":["hashtag1","hashtag2"]},{"1333178135":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333178128, 1333178143, 1333178122, 1333178106, 1333178115, 1333178135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.59793472290039 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 02:59:53.266540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/57/image_31012025_02_57_55_10408.jpg', '/home/pi/Desktop/images/31012025/02/57/image_31012025_02_58_04_9338.jpg', '/home/pi/Desktop/images/31012025/02/58/image_31012025_02_58_15_10414.jpg', '/home/pi/Desktop/images/31012025/02/58/image_31012025_02_58_25_10431.jpg', '/home/pi/Desktop/images/31012025/02/58/image_31012025_02_58_35_9363.jpg', '/home/pi/Desktop/images/31012025/02/58/image_31012025_02_58_45_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/57/image_31012025_02_57_55_10408.jpg
/home/pi/Desktop/images/31012025/02/57/image_31012025_02_58_04_9338.jpg
/home/pi/Desktop/images/31012025/02/58/image_31012025_02_58_15_10414.jpg
/home/pi/Desktop/images/31012025/02/58/image_31012025_02_58_25_10431.jpg
/home/pi/Desktop/images/31012025/02/58/image_31012025_02_58_35_9363.jpg
/home/pi/Desktop/images/31012025/02/58/image_31012025_02_58_45_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":["1333178280","1333178304","1333178282","1333178276","1333178318","1333178287"],"photo_ids_order":["1333178276","1333178280","1333178282","1333178287","1333178304","1333178318"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/850e540c7f4f3b223eac2641917fb42c.jpg","text":"TemporaryFile(/tmp/multipartBody2548242515191260698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288855287,"filename":"image_31012025_02_58_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/1/31/df9928fb1cf230dd7d550478a0fd4b4a.jpg","text":"TemporaryFile(/tmp/multipartBody3726074679854400941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288855287,"filename":"image_31012025_02_58_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/1/31/552340b0acb4ac9a365634a486f5bd8d.jpg","text":"TemporaryFile(/tmp/multipartBody606450176211376008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288855287,"filename":"image_31012025_02_58_15_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1b3556043caaf2a3da732a7ee054861a.jpg","text":"TemporaryFile(/tmp/multipartBody2762848064786883113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288855287,"filename":"image_31012025_02_57_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/1/31/8c7a9065e6ffa82c7911eca7c6cb41b8.jpg","text":"TemporaryFile(/tmp/multipartBody7264283148361478364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288855287,"filename":"image_31012025_02_58_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/1/31/9ea52f9416861f5f78cec73028ab6752.jpg","text":"TemporaryFile(/tmp/multipartBody2069990318399960171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288855287,"filename":"image_31012025_02_58_25_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333178282","file1":"1333178280","file0":"1333178276","file4":"1333178304","file5":"1333178318","file3":"1333178287"},"map_files_photo_id_array":[{"photo_id":"1333178318","filename":"file5"},{"photo_id":"1333178282","filename":"file2"},{"photo_id":"1333178304","filename":"file4"},{"photo_id":"1333178280","filename":"file1"},{"photo_id":"1333178276","filename":"file0"},{"photo_id":"1333178287","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333178280":["hashtag1","hashtag2"]},{"1333178304":["hashtag1","hashtag2"]},{"1333178282":["hashtag1","hashtag2"]},{"1333178276":["hashtag1","hashtag2"]},{"1333178318":["hashtag1","hashtag2"]},{"1333178287":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333178280, 1333178304, 1333178282, 1333178276, 1333178318, 1333178287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.42900371551514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 03:00:42.449421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/58/image_31012025_02_58_54_9341.jpg', '/home/pi/Desktop/images/31012025/02/58/image_31012025_02_59_05_10404.jpg', '/home/pi/Desktop/images/31012025/02/59/image_31012025_02_59_15_10371.jpg', '/home/pi/Desktop/images/31012025/02/59/image_31012025_02_59_25_9356.jpg', '/home/pi/Desktop/images/31012025/02/59/image_31012025_02_59_35_10363.jpg', '/home/pi/Desktop/images/31012025/02/59/image_31012025_02_59_45_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/58/image_31012025_02_58_54_9341.jpg
/home/pi/Desktop/images/31012025/02/58/image_31012025_02_59_05_10404.jpg
/home/pi/Desktop/images/31012025/02/59/image_31012025_02_59_15_10371.jpg
/home/pi/Desktop/images/31012025/02/59/image_31012025_02_59_25_9356.jpg
/home/pi/Desktop/images/31012025/02/59/image_31012025_02_59_35_10363.jpg
/home/pi/Desktop/images/31012025/02/59/image_31012025_02_59_45_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":["1333178373","1333178376","1333178370","1333178381","1333178387","1333178345"],"photo_ids_order":["1333178345","1333178370","1333178373","1333178376","1333178381","1333178387"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e41d85f5e20fa3d6900fcdd3393a47f7.jpg","text":"TemporaryFile(/tmp/multipartBody1655190337451563925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288903628,"filename":"image_31012025_02_59_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/1/31/aec2ddf846984e0eb0bbb90d0c0dd05c.jpg","text":"TemporaryFile(/tmp/multipartBody8102749079727451304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288903628,"filename":"image_31012025_02_59_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/1/31/c0e4956585aa67aed4031d823c681503.jpg","text":"TemporaryFile(/tmp/multipartBody5180408623401095150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288903628,"filename":"image_31012025_02_59_05_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/40348bd1db5db906c1af09ca7d0eca35.jpg","text":"TemporaryFile(/tmp/multipartBody3400768307671880977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288903628,"filename":"image_31012025_02_59_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/1/31/85af8718af21c14afca1135d547d2d9a.jpg","text":"TemporaryFile(/tmp/multipartBody1447037125896264056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288903628,"filename":"image_31012025_02_59_45_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5c1707db992ed118bbf9fe863839068d.jpg","text":"TemporaryFile(/tmp/multipartBody7820961340242351300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288903628,"filename":"image_31012025_02_58_54_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333178373","file1":"1333178370","file0":"1333178345","file4":"1333178381","file5":"1333178387","file3":"1333178376"},"map_files_photo_id_array":[{"photo_id":"1333178387","filename":"file5"},{"photo_id":"1333178373","filename":"file2"},{"photo_id":"1333178381","filename":"file4"},{"photo_id":"1333178370","filename":"file1"},{"photo_id":"1333178345","filename":"file0"},{"photo_id":"1333178376","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333178373":["hashtag1","hashtag2"]},{"1333178376":["hashtag1","hashtag2"]},{"1333178370":["hashtag1","hashtag2"]},{"1333178381":["hashtag1","hashtag2"]},{"1333178387":["hashtag1","hashtag2"]},{"1333178345":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333178373, 1333178376, 1333178370, 1333178381, 1333178387, 1333178345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.26556420326233 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:01:32.670850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/02/59/image_31012025_02_59_55_9347.jpg', '/home/pi/Desktop/images/31012025/03/00/image_31012025_03_00_16_10074.jpg', '/home/pi/Desktop/images/31012025/03/00/image_31012025_03_00_26_10342.jpg', '/home/pi/Desktop/images/31012025/03/00/image_31012025_03_00_37_10420.jpg', '/home/pi/Desktop/images/31012025/03/00/image_31012025_03_01_07_10440.jpg', '/home/pi/Desktop/images/31012025/03/01/image_31012025_03_01_16_9326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/02/59/image_31012025_02_59_55_9347.jpg
/home/pi/Desktop/images/31012025/03/00/image_31012025_03_00_16_10074.jpg
/home/pi/Desktop/images/31012025/03/00/image_31012025_03_00_26_10342.jpg
/home/pi/Desktop/images/31012025/03/00/image_31012025_03_00_37_10420.jpg
/home/pi/Desktop/images/31012025/03/00/image_31012025_03_01_07_10440.jpg
/home/pi/Desktop/images/31012025/03/01/image_31012025_03_01_16_9326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333178434","1333178421","1333178439","1333178432","1333178426","1333178429"],"photo_ids_order":["1333178421","1333178426","1333178429","1333178432","1333178434","1333178439"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a886469dd78f3caa8772bc83c83260b5.jpg","text":"TemporaryFile(/tmp/multipartBody6338735074214515521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288953598,"filename":"image_31012025_03_01_07_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e181966e2e640dd6b98bd7f67c7b0737.jpg","text":"TemporaryFile(/tmp/multipartBody2630178830466907309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288953598,"filename":"image_31012025_02_59_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/1/31/606e97875d175ff09c0b12ef1dd8b2bd.jpg","text":"TemporaryFile(/tmp/multipartBody6968925383649109474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288953598,"filename":"image_31012025_03_01_16_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f2d5368e799a8a9db97496796e4a74d2.jpg","text":"TemporaryFile(/tmp/multipartBody4813697121647450043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288953598,"filename":"image_31012025_03_00_37_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/024b6a3148d1cbb9251f135f7c540132.jpg","text":"TemporaryFile(/tmp/multipartBody7026536642186767099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288953598,"filename":"image_31012025_03_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/1/31/c465dce332787234069ac8d5bf99441f.jpg","text":"TemporaryFile(/tmp/multipartBody9175379630154289144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738288953598,"filename":"image_31012025_03_00_26_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333178429","file1":"1333178426","file0":"1333178421","file4":"1333178434","file5":"1333178439","file3":"1333178432"},"map_files_photo_id_array":[{"photo_id":"1333178439","filename":"file5"},{"photo_id":"1333178429","filename":"file2"},{"photo_id":"1333178434","filename":"file4"},{"photo_id":"1333178426","filename":"file1"},{"photo_id":"1333178421","filename":"file0"},{"photo_id":"1333178432","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333178434":["hashtag1","hashtag2"]},{"1333178421":["hashtag1","hashtag2"]},{"1333178439":["hashtag1","hashtag2"]},{"1333178432":["hashtag1","hashtag2"]},{"1333178426":["hashtag1","hashtag2"]},{"1333178429":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333178434, 1333178421, 1333178439, 1333178432, 1333178426, 1333178429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.85165739059448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:02:32.999224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/01/image_31012025_03_01_27_10347.jpg', '/home/pi/Desktop/images/31012025/03/01/image_31012025_03_01_36_9422.jpg', '/home/pi/Desktop/images/31012025/03/01/image_31012025_03_01_46_10347.jpg', '/home/pi/Desktop/images/31012025/03/01/image_31012025_03_01_57_10379.jpg', '/home/pi/Desktop/images/31012025/03/01/image_31012025_03_02_06_9366.jpg', '/home/pi/Desktop/images/31012025/03/02/image_31012025_03_02_27_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/01/image_31012025_03_01_27_10347.jpg
/home/pi/Desktop/images/31012025/03/01/image_31012025_03_01_36_9422.jpg
/home/pi/Desktop/images/31012025/03/01/image_31012025_03_01_46_10347.jpg
/home/pi/Desktop/images/31012025/03/01/image_31012025_03_01_57_10379.jpg
/home/pi/Desktop/images/31012025/03/01/image_31012025_03_02_06_9366.jpg
/home/pi/Desktop/images/31012025/03/02/image_31012025_03_02_27_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":["1333178644","1333178639","1333178531","1333178612","1333178647","1333178569"],"photo_ids_order":["1333178531","1333178569","1333178612","1333178639","1333178644","1333178647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f30dc0fe88a62aa2a1b064e818469ce7.jpg","text":"TemporaryFile(/tmp/multipartBody2557966161760632173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289013909,"filename":"image_31012025_03_02_06_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7fea304400e5f1be9f6194f93ae31d37.jpg","text":"TemporaryFile(/tmp/multipartBody7410245647581909586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289013909,"filename":"image_31012025_03_01_57_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/47f6d1fd1dcba344f7e4ac080fd38df4.jpg","text":"TemporaryFile(/tmp/multipartBody3741908889470990704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289013909,"filename":"image_31012025_03_01_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/1/31/941e0476c4d2c53e425c8ca97c20841e.jpg","text":"TemporaryFile(/tmp/multipartBody1176834842975154186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289013909,"filename":"image_31012025_03_01_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e7f687006cf1fed5de8295be96e3c717.jpg","text":"TemporaryFile(/tmp/multipartBody3213877853172621811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289013909,"filename":"image_31012025_03_02_27_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/648fe4905733844aeb4f28574978dd68.jpg","text":"TemporaryFile(/tmp/multipartBody2380540046069630146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289013909,"filename":"image_31012025_03_01_36_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333178612","file1":"1333178569","file0":"1333178531","file4":"1333178644","file5":"1333178647","file3":"1333178639"},"map_files_photo_id_array":[{"photo_id":"1333178647","filename":"file5"},{"photo_id":"1333178612","filename":"file2"},{"photo_id":"1333178644","filename":"file4"},{"photo_id":"1333178569","filename":"file1"},{"photo_id":"1333178531","filename":"file0"},{"photo_id":"1333178639","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333178644":["hashtag1","hashtag2"]},{"1333178639":["hashtag1","hashtag2"]},{"1333178531":["hashtag1","hashtag2"]},{"1333178612":["hashtag1","hashtag2"]},{"1333178647":["hashtag1","hashtag2"]},{"1333178569":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333178644, 1333178639, 1333178531, 1333178612, 1333178647, 1333178569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.414621114730835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:03:32.338101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/02/image_31012025_03_02_36_9368.jpg', '/home/pi/Desktop/images/31012025/03/02/image_31012025_03_02_47_10389.jpg', '/home/pi/Desktop/images/31012025/03/02/image_31012025_03_02_56_9336.jpg', '/home/pi/Desktop/images/31012025/03/03/image_31012025_03_03_17_10412.jpg', '/home/pi/Desktop/images/31012025/03/03/image_31012025_03_03_26_9359.jpg', '/home/pi/Desktop/images/31012025/03/03/image_31012025_03_03_37_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/02/image_31012025_03_02_36_9368.jpg
/home/pi/Desktop/images/31012025/03/02/image_31012025_03_02_47_10389.jpg
/home/pi/Desktop/images/31012025/03/02/image_31012025_03_02_56_9336.jpg
/home/pi/Desktop/images/31012025/03/03/image_31012025_03_03_17_10412.jpg
/home/pi/Desktop/images/31012025/03/03/image_31012025_03_03_26_9359.jpg
/home/pi/Desktop/images/31012025/03/03/image_31012025_03_03_37_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":["1333178707","1333178696","1333178683","1333178702","1333178692","1333178689"],"photo_ids_order":["1333178683","1333178689","1333178692","1333178696","1333178702","1333178707"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9844ca2cf24c8e96a2616323ed26811b.jpg","text":"TemporaryFile(/tmp/multipartBody7383097288422656319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289073243,"filename":"image_31012025_03_03_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/1/31/e81e85810a081f992944c919c70413ca.jpg","text":"TemporaryFile(/tmp/multipartBody4830865638770593857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289073243,"filename":"image_31012025_03_03_17_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e80fb930e099e697cb6cf8dea5c5ec8a.jpg","text":"TemporaryFile(/tmp/multipartBody5582958753228174525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289073243,"filename":"image_31012025_03_02_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/1/31/a63523187a8ea42ccdec8a0769e5175d.jpg","text":"TemporaryFile(/tmp/multipartBody931545647192876621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289073243,"filename":"image_31012025_03_03_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/1/31/345066f8c5d3265cbd3bd2c683201b27.jpg","text":"TemporaryFile(/tmp/multipartBody3538329391990555898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289073243,"filename":"image_31012025_03_02_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/1/31/74b8e250f04cdbfda8b6e07a3b67789d.jpg","text":"TemporaryFile(/tmp/multipartBody2567060864294635913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289073243,"filename":"image_31012025_03_02_47_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333178692","file1":"1333178689","file0":"1333178683","file4":"1333178702","file5":"1333178707","file3":"1333178696"},"map_files_photo_id_array":[{"photo_id":"1333178707","filename":"file5"},{"photo_id":"1333178692","filename":"file2"},{"photo_id":"1333178702","filename":"file4"},{"photo_id":"1333178689","filename":"file1"},{"photo_id":"1333178683","filename":"file0"},{"photo_id":"1333178696","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333178707":["hashtag1","hashtag2"]},{"1333178696":["hashtag1","hashtag2"]},{"1333178683":["hashtag1","hashtag2"]},{"1333178702":["hashtag1","hashtag2"]},{"1333178692":["hashtag1","hashtag2"]},{"1333178689":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333178707, 1333178696, 1333178683, 1333178702, 1333178692, 1333178689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.50211238861084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:04:32.433040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/03/image_31012025_03_03_47_10379.jpg', '/home/pi/Desktop/images/31012025/03/03/image_31012025_03_04_07_10377.jpg', '/home/pi/Desktop/images/31012025/03/04/image_31012025_03_04_17_10360.jpg', '/home/pi/Desktop/images/31012025/03/04/image_31012025_03_04_26_9353.jpg', '/home/pi/Desktop/images/31012025/03/04/image_31012025_03_04_37_10358.jpg', '/home/pi/Desktop/images/31012025/03/04/image_31012025_03_04_46_9443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/03/image_31012025_03_03_47_10379.jpg
/home/pi/Desktop/images/31012025/03/03/image_31012025_03_04_07_10377.jpg
/home/pi/Desktop/images/31012025/03/04/image_31012025_03_04_17_10360.jpg
/home/pi/Desktop/images/31012025/03/04/image_31012025_03_04_26_9353.jpg
/home/pi/Desktop/images/31012025/03/04/image_31012025_03_04_37_10358.jpg
/home/pi/Desktop/images/31012025/03/04/image_31012025_03_04_46_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":["1333178758","1333178722","1333178733","1333178727","1333178742","1333178750"],"photo_ids_order":["1333178722","1333178727","1333178733","1333178742","1333178750","1333178758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/08933679566be22a32da8a558cfb120c.jpg","text":"TemporaryFile(/tmp/multipartBody3916421276562185206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289133369,"filename":"image_31012025_03_04_46_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a3d7d57daf1c9c3570b6728760fde588.jpg","text":"TemporaryFile(/tmp/multipartBody6084761322297550838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289133369,"filename":"image_31012025_03_03_47_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2ba47a1795a39f0a38af530b1e7e87ad.jpg","text":"TemporaryFile(/tmp/multipartBody9016419284647080525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289133369,"filename":"image_31012025_03_04_17_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b6a1306dea446ac7f690ccb0bf47a2e5.jpg","text":"TemporaryFile(/tmp/multipartBody57179982724736847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289133369,"filename":"image_31012025_03_04_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/1/31/6de53b24f7944616e1bfcb191bb744f1.jpg","text":"TemporaryFile(/tmp/multipartBody308698037199680023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289133369,"filename":"image_31012025_03_04_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/1/31/54d446f865ce77911f97919536cb66ae.jpg","text":"TemporaryFile(/tmp/multipartBody5502684436407536787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289133369,"filename":"image_31012025_03_04_37_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333178733","file1":"1333178727","file0":"1333178722","file4":"1333178750","file5":"1333178758","file3":"1333178742"},"map_files_photo_id_array":[{"photo_id":"1333178758","filename":"file5"},{"photo_id":"1333178733","filename":"file2"},{"photo_id":"1333178750","filename":"file4"},{"photo_id":"1333178727","filename":"file1"},{"photo_id":"1333178722","filename":"file0"},{"photo_id":"1333178742","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333178758":["hashtag1","hashtag2"]},{"1333178722":["hashtag1","hashtag2"]},{"1333178733":["hashtag1","hashtag2"]},{"1333178727":["hashtag1","hashtag2"]},{"1333178742":["hashtag1","hashtag2"]},{"1333178750":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333178758, 1333178722, 1333178733, 1333178727, 1333178742, 1333178750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.801628828048706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:05:32.591583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/04/image_31012025_03_04_57_10354.jpg', '/home/pi/Desktop/images/31012025/03/04/image_31012025_03_05_07_10467.jpg', '/home/pi/Desktop/images/31012025/03/05/image_31012025_03_05_16_9368.jpg', '/home/pi/Desktop/images/31012025/03/05/image_31012025_03_05_36_9353.jpg', '/home/pi/Desktop/images/31012025/03/05/image_31012025_03_05_46_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/04/image_31012025_03_04_57_10354.jpg
/home/pi/Desktop/images/31012025/03/04/image_31012025_03_05_07_10467.jpg
/home/pi/Desktop/images/31012025/03/05/image_31012025_03_05_16_9368.jpg
/home/pi/Desktop/images/31012025/03/05/image_31012025_03_05_36_9353.jpg
/home/pi/Desktop/images/31012025/03/05/image_31012025_03_05_46_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5068562030792236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 03:05:42.658839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/04/image_31012025_03_04_57_10354.jpg', '/home/pi/Desktop/images/31012025/03/04/image_31012025_03_05_07_10467.jpg', '/home/pi/Desktop/images/31012025/03/05/image_31012025_03_05_16_9368.jpg', '/home/pi/Desktop/images/31012025/03/05/image_31012025_03_05_36_9353.jpg', '/home/pi/Desktop/images/31012025/03/05/image_31012025_03_05_46_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/04/image_31012025_03_04_57_10354.jpg
/home/pi/Desktop/images/31012025/03/04/image_31012025_03_05_07_10467.jpg
/home/pi/Desktop/images/31012025/03/05/image_31012025_03_05_16_9368.jpg
/home/pi/Desktop/images/31012025/03/05/image_31012025_03_05_36_9353.jpg
/home/pi/Desktop/images/31012025/03/05/image_31012025_03_05_46_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":["1333178850","1333178940","1333178882","1333178846","1333178950"],"photo_ids_order":["1333178846","1333178850","1333178882","1333178940","1333178950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/092fb279b173ec627a4585f703196cdc.jpg","text":"TemporaryFile(/tmp/multipartBody327665316770609054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289203564,"filename":"image_31012025_03_05_07_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3fd15f34ff08cffb8bac6880018e7ca1.jpg","text":"TemporaryFile(/tmp/multipartBody857478402067723872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289203564,"filename":"image_31012025_03_05_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/1/31/bf3c7ca34cf2c8bdb5e91bf27fa1347e.jpg","text":"TemporaryFile(/tmp/multipartBody3755235231702370580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289203564,"filename":"image_31012025_03_05_16_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6ca94a3c92fb34f9005e57c07ace6e73.jpg","text":"TemporaryFile(/tmp/multipartBody8944802934747915027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289203564,"filename":"image_31012025_03_04_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/1/31/3d57052ff9bc545e89d819670eab1591.jpg","text":"TemporaryFile(/tmp/multipartBody5571747680051922326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289203564,"filename":"image_31012025_03_05_46_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333178882","file1":"1333178850","file0":"1333178846","file4":"1333178950","file3":"1333178940"},"map_files_photo_id_array":[{"photo_id":"1333178882","filename":"file2"},{"photo_id":"1333178950","filename":"file4"},{"photo_id":"1333178850","filename":"file1"},{"photo_id":"1333178846","filename":"file0"},{"photo_id":"1333178940","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333178850":["hashtag1","hashtag2"]},{"1333178940":["hashtag1","hashtag2"]},{"1333178882":["hashtag1","hashtag2"]},{"1333178846":["hashtag1","hashtag2"]},{"1333178950":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333178850, 1333178940, 1333178882, 1333178846, 1333178950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.26117300987244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:06:32.698371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/05/image_31012025_03_05_57_10429.jpg', '/home/pi/Desktop/images/31012025/03/05/image_31012025_03_06_06_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/05/image_31012025_03_05_57_10429.jpg
/home/pi/Desktop/images/31012025/03/05/image_31012025_03_06_06_9348.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333179636","1333179743"],"photo_ids_order":["1333179636","1333179743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/992beef1a3ee0817e87e31dee005c58d.jpg","text":"TemporaryFile(/tmp/multipartBody8531376450762574104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289253542,"filename":"image_31012025_03_05_57_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b9351d45fcdc6825e27de41d96df0f94.jpg","text":"TemporaryFile(/tmp/multipartBody2694605645948247607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289253542,"filename":"image_31012025_03_06_06_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1333179743","file0":"1333179636"},"map_files_photo_id_array":[{"photo_id":"1333179743","filename":"file1"},{"photo_id":"1333179636","filename":"file0"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333179636":["hashtag1","hashtag2"]},{"1333179743":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333179636, 1333179743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.980074882507324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:06:52.819741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/04/image_28012025_22_04_34_9494.jpg', '/home/pi/Desktop/images/28012025/22/04/image_28012025_22_04_45_10430.jpg', '/home/pi/Desktop/images/28012025/22/04/image_28012025_22_04_55_10372.jpg', '/home/pi/Desktop/images/28012025/22/04/image_28012025_22_05_04_9329.jpg', '/home/pi/Desktop/images/28012025/22/05/image_28012025_22_05_15_10370.jpg', '/home/pi/Desktop/images/28012025/22/05/image_28012025_22_05_24_9388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/04/image_28012025_22_04_34_9494.jpg
/home/pi/Desktop/images/28012025/22/04/image_28012025_22_04_45_10430.jpg
/home/pi/Desktop/images/28012025/22/04/image_28012025_22_04_55_10372.jpg
/home/pi/Desktop/images/28012025/22/04/image_28012025_22_05_04_9329.jpg
/home/pi/Desktop/images/28012025/22/05/image_28012025_22_05_15_10370.jpg
/home/pi/Desktop/images/28012025/22/05/image_28012025_22_05_24_9388.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":["1333179951","1333179975","1333179912","1333179932","1333179967","1333179978"],"photo_ids_order":["1333179912","1333179932","1333179951","1333179967","1333179975","1333179978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bbd0e4f8188b14675058a0fbd8c12f15.jpg","text":"TemporaryFile(/tmp/multipartBody8164282507956925200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289275207,"filename":"image_28012025_22_04_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/1/31/4e8ca13de60cf88683e2d75bb2698275.jpg","text":"TemporaryFile(/tmp/multipartBody3626715904530018018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289275207,"filename":"image_28012025_22_05_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/1/31/d1d9aaf8cc490a29784b1d2b25626ceb.jpg","text":"TemporaryFile(/tmp/multipartBody7603570978443336781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289275207,"filename":"image_28012025_22_04_34_9494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0edf1e8369fc05ba6e729ad80dccf4c6.jpg","text":"TemporaryFile(/tmp/multipartBody2261279973429779106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289275207,"filename":"image_28012025_22_04_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/1/31/809370bbb475434b099ecfdf4c1af68b.jpg","text":"TemporaryFile(/tmp/multipartBody4139948754749180814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289275207,"filename":"image_28012025_22_05_04_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b3465f9b4c8baa977962436dea700728.jpg","text":"TemporaryFile(/tmp/multipartBody5238091148238909197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289275207,"filename":"image_28012025_22_05_24_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333179951","file1":"1333179932","file0":"1333179912","file4":"1333179975","file5":"1333179978","file3":"1333179967"},"map_files_photo_id_array":[{"photo_id":"1333179978","filename":"file5"},{"photo_id":"1333179951","filename":"file2"},{"photo_id":"1333179975","filename":"file4"},{"photo_id":"1333179932","filename":"file1"},{"photo_id":"1333179912","filename":"file0"},{"photo_id":"1333179967","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333179951":["hashtag1","hashtag2"]},{"1333179975":["hashtag1","hashtag2"]},{"1333179912":["hashtag1","hashtag2"]},{"1333179932":["hashtag1","hashtag2"]},{"1333179967":["hashtag1","hashtag2"]},{"1333179978":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333179951, 1333179975, 1333179912, 1333179932, 1333179967, 1333179978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.88555431365967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 03:07:43.047739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/06/image_31012025_03_06_17_10363.jpg', '/home/pi/Desktop/images/31012025/03/06/image_31012025_03_07_07_10349.jpg', '/home/pi/Desktop/images/31012025/03/07/image_31012025_03_07_17_10409.jpg', '/home/pi/Desktop/images/31012025/03/07/image_31012025_03_07_26_9339.jpg', '/home/pi/Desktop/images/31012025/03/07/image_31012025_03_07_37_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/06/image_31012025_03_06_17_10363.jpg
/home/pi/Desktop/images/31012025/03/06/image_31012025_03_07_07_10349.jpg
/home/pi/Desktop/images/31012025/03/07/image_31012025_03_07_17_10409.jpg
/home/pi/Desktop/images/31012025/03/07/image_31012025_03_07_26_9339.jpg
/home/pi/Desktop/images/31012025/03/07/image_31012025_03_07_37_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":["1333180048","1333180405","1333180377","1333180201","1333180365"],"photo_ids_order":["1333180048","1333180201","1333180365","1333180377","1333180405"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ba1147c1bf83f3d7da47bc1fa9846b83.jpg","text":"TemporaryFile(/tmp/multipartBody8630556020813696096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289323951,"filename":"image_31012025_03_06_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/1/31/328af5f1074dd240e6c30a81dafc0937.jpg","text":"TemporaryFile(/tmp/multipartBody1509276160705413286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289323951,"filename":"image_31012025_03_07_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/1/31/edffad90f3c6e66913cc94a94885b145.jpg","text":"TemporaryFile(/tmp/multipartBody422546278221238250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289323951,"filename":"image_31012025_03_07_26_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/345ffacae777aa9c080977629c1022be.jpg","text":"TemporaryFile(/tmp/multipartBody4856892927549510569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289323951,"filename":"image_31012025_03_07_07_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f2bca7ffd4e463bf465923ae2a954740.jpg","text":"TemporaryFile(/tmp/multipartBody3485394912374727328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289323951,"filename":"image_31012025_03_07_17_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333180365","file1":"1333180201","file0":"1333180048","file4":"1333180405","file3":"1333180377"},"map_files_photo_id_array":[{"photo_id":"1333180365","filename":"file2"},{"photo_id":"1333180405","filename":"file4"},{"photo_id":"1333180201","filename":"file1"},{"photo_id":"1333180048","filename":"file0"},{"photo_id":"1333180377","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333180048":["hashtag1","hashtag2"]},{"1333180405":["hashtag1","hashtag2"]},{"1333180377":["hashtag1","hashtag2"]},{"1333180201":["hashtag1","hashtag2"]},{"1333180365":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333180048, 1333180405, 1333180377, 1333180201, 1333180365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 44.95941615104675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:08:32.301978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/07/image_31012025_03_07_46_9410.jpg', '/home/pi/Desktop/images/31012025/03/08/image_31012025_03_08_27_10384.jpg', '/home/pi/Desktop/images/31012025/03/08/image_31012025_03_08_37_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/07/image_31012025_03_07_46_9410.jpg
/home/pi/Desktop/images/31012025/03/08/image_31012025_03_08_27_10384.jpg
/home/pi/Desktop/images/31012025/03/08/image_31012025_03_08_37_10373.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":["1333180485","1333180601","1333180546"],"photo_ids_order":["1333180485","1333180546","1333180601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f48a4b42428cd16f5dc61988495f803b.jpg","text":"TemporaryFile(/tmp/multipartBody6982821027927348372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289373165,"filename":"image_31012025_03_07_46_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/be00ba93a48f352c0af20d97c4c335a7.jpg","text":"TemporaryFile(/tmp/multipartBody829513849850928658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289373165,"filename":"image_31012025_03_08_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/1/31/5168eb133818878340f29ceed5ef5190.jpg","text":"TemporaryFile(/tmp/multipartBody5097879598307149021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289373165,"filename":"image_31012025_03_08_27_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333180601","file1":"1333180546","file0":"1333180485"},"map_files_photo_id_array":[{"photo_id":"1333180601","filename":"file2"},{"photo_id":"1333180546","filename":"file1"},{"photo_id":"1333180485","filename":"file0"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333180485":["hashtag1","hashtag2"]},{"1333180601":["hashtag1","hashtag2"]},{"1333180546":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333180485, 1333180601, 1333180546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.795271396636963 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 03:09:03.906616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/05/image_28012025_22_05_35_10416.jpg', '/home/pi/Desktop/images/28012025/22/05/image_28012025_22_05_45_10355.jpg', '/home/pi/Desktop/images/28012025/22/05/image_28012025_22_05_54_9409.jpg', '/home/pi/Desktop/images/28012025/22/05/image_28012025_22_06_05_10361.jpg', '/home/pi/Desktop/images/28012025/22/06/image_28012025_22_06_14_9459.jpg', '/home/pi/Desktop/images/28012025/22/06/image_28012025_22_06_25_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/05/image_28012025_22_05_35_10416.jpg
/home/pi/Desktop/images/28012025/22/05/image_28012025_22_05_45_10355.jpg
/home/pi/Desktop/images/28012025/22/05/image_28012025_22_05_54_9409.jpg
/home/pi/Desktop/images/28012025/22/05/image_28012025_22_06_05_10361.jpg
/home/pi/Desktop/images/28012025/22/06/image_28012025_22_06_14_9459.jpg
/home/pi/Desktop/images/28012025/22/06/image_28012025_22_06_25_10409.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":["1333180732","1333180809","1333180787","1333180727","1333180792","1333180762"],"photo_ids_order":["1333180727","1333180732","1333180762","1333180787","1333180792","1333180809"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4f8b335c090c9b6f7cd59e4e6425a387.jpg","text":"TemporaryFile(/tmp/multipartBody8214721313701196247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289405956,"filename":"image_28012025_22_05_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/1/31/13f313d98ab59efcbd91b4d3d137923e.jpg","text":"TemporaryFile(/tmp/multipartBody3505442460378077462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289405956,"filename":"image_28012025_22_06_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/1/31/7c0329c63fd21eb8fd357d0baed92125.jpg","text":"TemporaryFile(/tmp/multipartBody165982239885072344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289405956,"filename":"image_28012025_22_06_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/1/31/95d4c9bbb5e3a05a480f7ffdb7eaf8a6.jpg","text":"TemporaryFile(/tmp/multipartBody2937690149617533939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289405956,"filename":"image_28012025_22_05_35_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c790aeac523fb97c7155558f2e53b1c2.jpg","text":"TemporaryFile(/tmp/multipartBody6418363821074339657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289405956,"filename":"image_28012025_22_06_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/1/31/a068b5374a8e5cc02109b19189379ff5.jpg","text":"TemporaryFile(/tmp/multipartBody5728051334786495029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289405956,"filename":"image_28012025_22_05_54_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333180762","file1":"1333180732","file0":"1333180727","file4":"1333180792","file5":"1333180809","file3":"1333180787"},"map_files_photo_id_array":[{"photo_id":"1333180809","filename":"file5"},{"photo_id":"1333180762","filename":"file2"},{"photo_id":"1333180792","filename":"file4"},{"photo_id":"1333180732","filename":"file1"},{"photo_id":"1333180727","filename":"file0"},{"photo_id":"1333180787","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333180732":["hashtag1","hashtag2"]},{"1333180809":["hashtag1","hashtag2"]},{"1333180787":["hashtag1","hashtag2"]},{"1333180727":["hashtag1","hashtag2"]},{"1333180792":["hashtag1","hashtag2"]},{"1333180762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333180732, 1333180809, 1333180787, 1333180727, 1333180792, 1333180762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.69661545753479 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:09:52.534570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/08/image_31012025_03_08_46_9356.jpg', '/home/pi/Desktop/images/31012025/03/09/image_31012025_03_09_16_9336.jpg', '/home/pi/Desktop/images/31012025/03/09/image_31012025_03_09_27_10340.jpg', '/home/pi/Desktop/images/31012025/03/09/image_31012025_03_09_36_9351.jpg', '/home/pi/Desktop/images/31012025/03/09/image_31012025_03_09_46_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/08/image_31012025_03_08_46_9356.jpg
/home/pi/Desktop/images/31012025/03/09/image_31012025_03_09_16_9336.jpg
/home/pi/Desktop/images/31012025/03/09/image_31012025_03_09_27_10340.jpg
/home/pi/Desktop/images/31012025/03/09/image_31012025_03_09_36_9351.jpg
/home/pi/Desktop/images/31012025/03/09/image_31012025_03_09_46_10347.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333180848","1333180862","1333180832","1333180835","1333180840"],"photo_ids_order":["1333180832","1333180835","1333180840","1333180848","1333180862"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5f031b040d584c4ee929133687c856be.jpg","text":"TemporaryFile(/tmp/multipartBody1478339478161711017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289453431,"filename":"image_31012025_03_09_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/1/31/966ce2a55e042d85d48b20323f5e3a7e.jpg","text":"TemporaryFile(/tmp/multipartBody1940368388091583516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289453431,"filename":"image_31012025_03_09_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f7ecec394047bbfaeaff96943c439d6f.jpg","text":"TemporaryFile(/tmp/multipartBody4901506200687739552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289453431,"filename":"image_31012025_03_08_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/1/31/f42be15f0d5ff642edec5827813551c3.jpg","text":"TemporaryFile(/tmp/multipartBody7161918550886482961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289453431,"filename":"image_31012025_03_09_16_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fa6dc6782ff89ef72c974f98616991e7.jpg","text":"TemporaryFile(/tmp/multipartBody7971596886713786833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289453431,"filename":"image_31012025_03_09_27_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333180840","file1":"1333180835","file0":"1333180832","file4":"1333180862","file3":"1333180848"},"map_files_photo_id_array":[{"photo_id":"1333180840","filename":"file2"},{"photo_id":"1333180862","filename":"file4"},{"photo_id":"1333180835","filename":"file1"},{"photo_id":"1333180832","filename":"file0"},{"photo_id":"1333180848","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333180848":["hashtag1","hashtag2"]},{"1333180862":["hashtag1","hashtag2"]},{"1333180832":["hashtag1","hashtag2"]},{"1333180835":["hashtag1","hashtag2"]},{"1333180840":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333180848, 1333180862, 1333180832, 1333180835, 1333180840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.089301109313965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:10:32.734546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/09/image_31012025_03_09_57_10475.jpg', '/home/pi/Desktop/images/31012025/03/09/image_31012025_03_10_06_9348.jpg', '/home/pi/Desktop/images/31012025/03/10/image_31012025_03_10_17_10404.jpg', '/home/pi/Desktop/images/31012025/03/10/image_31012025_03_10_26_9448.jpg', '/home/pi/Desktop/images/31012025/03/10/image_31012025_03_10_36_10363.jpg', '/home/pi/Desktop/images/31012025/03/10/image_31012025_03_10_47_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/09/image_31012025_03_09_57_10475.jpg
/home/pi/Desktop/images/31012025/03/09/image_31012025_03_10_06_9348.jpg
/home/pi/Desktop/images/31012025/03/10/image_31012025_03_10_17_10404.jpg
/home/pi/Desktop/images/31012025/03/10/image_31012025_03_10_26_9448.jpg
/home/pi/Desktop/images/31012025/03/10/image_31012025_03_10_36_10363.jpg
/home/pi/Desktop/images/31012025/03/10/image_31012025_03_10_47_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":["1333180918","1333180878","1333180871","1333180913","1333180922","1333180885"],"photo_ids_order":["1333180871","1333180878","1333180885","1333180913","1333180918","1333180922"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/eb5c1f951b15e14f2af1d3622edac835.jpg","text":"TemporaryFile(/tmp/multipartBody5710327626421774792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289493671,"filename":"image_31012025_03_10_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/1/31/1f2de2598a688a2acf60a7def83fab29.jpg","text":"TemporaryFile(/tmp/multipartBody1936779469291695346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289493671,"filename":"image_31012025_03_10_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/1/31/5030d1ec9bea5395dbc57281f54b6421.jpg","text":"TemporaryFile(/tmp/multipartBody9195153862182092774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289493671,"filename":"image_31012025_03_09_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/1/31/b757541552b8a18a53314c0beae3999c.jpg","text":"TemporaryFile(/tmp/multipartBody1021797153810830873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289493671,"filename":"image_31012025_03_10_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/1/31/856d94290824ceb258c049926176ecd5.jpg","text":"TemporaryFile(/tmp/multipartBody8429909387328801636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289493671,"filename":"image_31012025_03_10_47_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/edf2f8321ec01d13acf36ba05636422e.jpg","text":"TemporaryFile(/tmp/multipartBody668030610027549330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289493671,"filename":"image_31012025_03_10_17_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333180885","file1":"1333180878","file0":"1333180871","file4":"1333180918","file5":"1333180922","file3":"1333180913"},"map_files_photo_id_array":[{"photo_id":"1333180922","filename":"file5"},{"photo_id":"1333180885","filename":"file2"},{"photo_id":"1333180918","filename":"file4"},{"photo_id":"1333180878","filename":"file1"},{"photo_id":"1333180871","filename":"file0"},{"photo_id":"1333180913","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333180918":["hashtag1","hashtag2"]},{"1333180878":["hashtag1","hashtag2"]},{"1333180871":["hashtag1","hashtag2"]},{"1333180913":["hashtag1","hashtag2"]},{"1333180922":["hashtag1","hashtag2"]},{"1333180885":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333180918, 1333180878, 1333180871, 1333180913, 1333180922, 1333180885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57640528678894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:11:32.917892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/10/image_31012025_03_10_56_9420.jpg', '/home/pi/Desktop/images/31012025/03/10/image_31012025_03_11_07_10328.jpg', '/home/pi/Desktop/images/31012025/03/11/image_31012025_03_11_17_10336.jpg', '/home/pi/Desktop/images/31012025/03/11/image_31012025_03_11_27_9647.jpg', '/home/pi/Desktop/images/31012025/03/11/image_31012025_03_11_36_9420.jpg', '/home/pi/Desktop/images/31012025/03/11/image_31012025_03_11_46_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/10/image_31012025_03_10_56_9420.jpg
/home/pi/Desktop/images/31012025/03/10/image_31012025_03_11_07_10328.jpg
/home/pi/Desktop/images/31012025/03/11/image_31012025_03_11_17_10336.jpg
/home/pi/Desktop/images/31012025/03/11/image_31012025_03_11_27_9647.jpg
/home/pi/Desktop/images/31012025/03/11/image_31012025_03_11_36_9420.jpg
/home/pi/Desktop/images/31012025/03/11/image_31012025_03_11_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":["1333181025","1333181013","1333181018","1333181021","1333181009","1333181002"],"photo_ids_order":["1333181002","1333181009","1333181013","1333181018","1333181021","1333181025"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0fe5571cfca50e17cb91f335e780365d.jpg","text":"TemporaryFile(/tmp/multipartBody4327604055466678770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289553853,"filename":"image_31012025_03_11_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/1/31/b2279ccd32c730d3a3d1b551b7330bb7.jpg","text":"TemporaryFile(/tmp/multipartBody7537879658224606320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289553853,"filename":"image_31012025_03_11_17_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/87fb566bcd2e5f1947b263a3e3e768b9.jpg","text":"TemporaryFile(/tmp/multipartBody6828121331868722167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289553853,"filename":"image_31012025_03_11_27_9647.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f39f9f73d5b8d6c2ccb4de81bd99fa47.jpg","text":"TemporaryFile(/tmp/multipartBody2533852572247529948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289553853,"filename":"image_31012025_03_11_36_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a31cad92914db5701d937dee90b1fb2e.jpg","text":"TemporaryFile(/tmp/multipartBody7507753372554979308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289553853,"filename":"image_31012025_03_11_07_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/30b8aa0b0300b41771d8b1be41e1819a.jpg","text":"TemporaryFile(/tmp/multipartBody4400741402773115015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289553853,"filename":"image_31012025_03_10_56_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333181013","file1":"1333181009","file0":"1333181002","file4":"1333181021","file5":"1333181025","file3":"1333181018"},"map_files_photo_id_array":[{"photo_id":"1333181025","filename":"file5"},{"photo_id":"1333181013","filename":"file2"},{"photo_id":"1333181021","filename":"file4"},{"photo_id":"1333181009","filename":"file1"},{"photo_id":"1333181002","filename":"file0"},{"photo_id":"1333181018","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333181025":["hashtag1","hashtag2"]},{"1333181013":["hashtag1","hashtag2"]},{"1333181018":["hashtag1","hashtag2"]},{"1333181021":["hashtag1","hashtag2"]},{"1333181009":["hashtag1","hashtag2"]},{"1333181002":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333181025, 1333181013, 1333181018, 1333181021, 1333181009, 1333181002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.171684980392456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:12:32.237040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/11/image_31012025_03_11_57_10404.jpg', '/home/pi/Desktop/images/31012025/03/11/image_31012025_03_12_06_9340.jpg', '/home/pi/Desktop/images/31012025/03/12/image_31012025_03_12_16_10335.jpg', '/home/pi/Desktop/images/31012025/03/12/image_31012025_03_12_27_10445.jpg', '/home/pi/Desktop/images/31012025/03/12/image_31012025_03_12_36_9364.jpg', '/home/pi/Desktop/images/31012025/03/12/image_31012025_03_12_47_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/11/image_31012025_03_11_57_10404.jpg
/home/pi/Desktop/images/31012025/03/11/image_31012025_03_12_06_9340.jpg
/home/pi/Desktop/images/31012025/03/12/image_31012025_03_12_16_10335.jpg
/home/pi/Desktop/images/31012025/03/12/image_31012025_03_12_27_10445.jpg
/home/pi/Desktop/images/31012025/03/12/image_31012025_03_12_36_9364.jpg
/home/pi/Desktop/images/31012025/03/12/image_31012025_03_12_47_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":["1333181067","1333181060","1333181077","1333181071","1333181074","1333181053"],"photo_ids_order":["1333181053","1333181060","1333181067","1333181071","1333181074","1333181077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/202873afd3ff8f7e888437aa6b6617c3.jpg","text":"TemporaryFile(/tmp/multipartBody366991700492035967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289613168,"filename":"image_31012025_03_12_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f3ecde748c443633d0579d81d41a4a51.jpg","text":"TemporaryFile(/tmp/multipartBody2925697441780646814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289613168,"filename":"image_31012025_03_12_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/1/31/9f6a4e58070f7316f45adf86f5b3a9ac.jpg","text":"TemporaryFile(/tmp/multipartBody4052315877535334262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289613168,"filename":"image_31012025_03_12_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/1/31/7cc80528a6dc7b842a9fce0e445fb7ed.jpg","text":"TemporaryFile(/tmp/multipartBody5792334995905547141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289613168,"filename":"image_31012025_03_12_27_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9979c8a98628cd28a5600121dfb43fd7.jpg","text":"TemporaryFile(/tmp/multipartBody6277151108890152496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289613168,"filename":"image_31012025_03_12_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/1/31/ea2b98452f3c35639befc88888df1d9a.jpg","text":"TemporaryFile(/tmp/multipartBody1265392516558185672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289613168,"filename":"image_31012025_03_11_57_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333181067","file1":"1333181060","file0":"1333181053","file4":"1333181074","file5":"1333181077","file3":"1333181071"},"map_files_photo_id_array":[{"photo_id":"1333181077","filename":"file5"},{"photo_id":"1333181067","filename":"file2"},{"photo_id":"1333181074","filename":"file4"},{"photo_id":"1333181060","filename":"file1"},{"photo_id":"1333181053","filename":"file0"},{"photo_id":"1333181071","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333181067":["hashtag1","hashtag2"]},{"1333181060":["hashtag1","hashtag2"]},{"1333181077":["hashtag1","hashtag2"]},{"1333181071":["hashtag1","hashtag2"]},{"1333181074":["hashtag1","hashtag2"]},{"1333181053":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333181067, 1333181060, 1333181077, 1333181071, 1333181074, 1333181053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.53624606132507 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:13:32.446681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/12/image_31012025_03_12_56_9411.jpg', '/home/pi/Desktop/images/31012025/03/12/image_31012025_03_13_06_10365.jpg', '/home/pi/Desktop/images/31012025/03/13/image_31012025_03_13_17_10386.jpg', '/home/pi/Desktop/images/31012025/03/13/image_31012025_03_13_26_9355.jpg', '/home/pi/Desktop/images/31012025/03/13/image_31012025_03_13_37_10363.jpg', '/home/pi/Desktop/images/31012025/03/13/image_31012025_03_13_47_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/12/image_31012025_03_12_56_9411.jpg
/home/pi/Desktop/images/31012025/03/12/image_31012025_03_13_06_10365.jpg
/home/pi/Desktop/images/31012025/03/13/image_31012025_03_13_17_10386.jpg
/home/pi/Desktop/images/31012025/03/13/image_31012025_03_13_26_9355.jpg
/home/pi/Desktop/images/31012025/03/13/image_31012025_03_13_37_10363.jpg
/home/pi/Desktop/images/31012025/03/13/image_31012025_03_13_47_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":["1333181141","1333181135","1333181144","1333181132","1333181152","1333181122"],"photo_ids_order":["1333181122","1333181132","1333181135","1333181141","1333181144","1333181152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/61b1c84dddcf9b1275d9563364d7b7b8.jpg","text":"TemporaryFile(/tmp/multipartBody650423702208215965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289673399,"filename":"image_31012025_03_13_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/1/31/d8265c94ed2a13953af96ff1761f360a.jpg","text":"TemporaryFile(/tmp/multipartBody8794544152497835747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289673399,"filename":"image_31012025_03_13_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/1/31/a62e374b83a0e39ae635b7ae5086a3d9.jpg","text":"TemporaryFile(/tmp/multipartBody7135546009899782410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289673399,"filename":"image_31012025_03_13_37_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ba4f74f10210eb264da0b14ce54c1d2f.jpg","text":"TemporaryFile(/tmp/multipartBody8304947694583627365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289673399,"filename":"image_31012025_03_13_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/1/31/e905ef34fdf366d6e4a239038b398004.jpg","text":"TemporaryFile(/tmp/multipartBody5649928907516236001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289673399,"filename":"image_31012025_03_13_47_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a08fbeee646d1ab9d31ac76a49960b78.jpg","text":"TemporaryFile(/tmp/multipartBody7434681114087853598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289673399,"filename":"image_31012025_03_12_56_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333181135","file1":"1333181132","file0":"1333181122","file4":"1333181144","file5":"1333181152","file3":"1333181141"},"map_files_photo_id_array":[{"photo_id":"1333181152","filename":"file5"},{"photo_id":"1333181135","filename":"file2"},{"photo_id":"1333181144","filename":"file4"},{"photo_id":"1333181132","filename":"file1"},{"photo_id":"1333181122","filename":"file0"},{"photo_id":"1333181141","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333181141":["hashtag1","hashtag2"]},{"1333181135":["hashtag1","hashtag2"]},{"1333181144":["hashtag1","hashtag2"]},{"1333181132":["hashtag1","hashtag2"]},{"1333181152":["hashtag1","hashtag2"]},{"1333181122":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333181141, 1333181135, 1333181144, 1333181132, 1333181152, 1333181122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.17812657356262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:14:32.595844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/13/image_31012025_03_13_56_9359.jpg', '/home/pi/Desktop/images/31012025/03/13/image_31012025_03_14_07_10359.jpg', '/home/pi/Desktop/images/31012025/03/14/image_31012025_03_14_16_9387.jpg', '/home/pi/Desktop/images/31012025/03/14/image_31012025_03_14_26_10379.jpg', '/home/pi/Desktop/images/31012025/03/14/image_31012025_03_14_37_10390.jpg', '/home/pi/Desktop/images/31012025/03/14/image_31012025_03_14_46_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/13/image_31012025_03_13_56_9359.jpg
/home/pi/Desktop/images/31012025/03/13/image_31012025_03_14_07_10359.jpg
/home/pi/Desktop/images/31012025/03/14/image_31012025_03_14_16_9387.jpg
/home/pi/Desktop/images/31012025/03/14/image_31012025_03_14_26_10379.jpg
/home/pi/Desktop/images/31012025/03/14/image_31012025_03_14_37_10390.jpg
/home/pi/Desktop/images/31012025/03/14/image_31012025_03_14_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":["1333181196","1333181241","1333181235","1333181229","1333181224","1333181218"],"photo_ids_order":["1333181196","1333181218","1333181224","1333181229","1333181235","1333181241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fb558f76d60960b2ded3f1815203ea12.jpg","text":"TemporaryFile(/tmp/multipartBody2195104960804203983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289733537,"filename":"image_31012025_03_13_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/1/31/0a72b10dfbe77206c424bd9ffde6486f.jpg","text":"TemporaryFile(/tmp/multipartBody1039089513998675035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289733537,"filename":"image_31012025_03_14_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/1/31/4e15be87c1b98a814aaafbd3395d015b.jpg","text":"TemporaryFile(/tmp/multipartBody4615917674862210640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289733537,"filename":"image_31012025_03_14_37_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/abbf4793c476441af41c06442cbaee3b.jpg","text":"TemporaryFile(/tmp/multipartBody1775205899859781363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289733537,"filename":"image_31012025_03_14_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/1/31/545a178fcc36d63168e0cb399c230144.jpg","text":"TemporaryFile(/tmp/multipartBody3669728861565409326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289733537,"filename":"image_31012025_03_14_16_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c965e33f1ccd7df150b89b5e8a37f39a.jpg","text":"TemporaryFile(/tmp/multipartBody8926424315575043158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289733537,"filename":"image_31012025_03_14_07_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333181224","file1":"1333181218","file0":"1333181196","file4":"1333181235","file5":"1333181241","file3":"1333181229"},"map_files_photo_id_array":[{"photo_id":"1333181241","filename":"file5"},{"photo_id":"1333181224","filename":"file2"},{"photo_id":"1333181235","filename":"file4"},{"photo_id":"1333181218","filename":"file1"},{"photo_id":"1333181196","filename":"file0"},{"photo_id":"1333181229","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333181196":["hashtag1","hashtag2"]},{"1333181241":["hashtag1","hashtag2"]},{"1333181235":["hashtag1","hashtag2"]},{"1333181229":["hashtag1","hashtag2"]},{"1333181224":["hashtag1","hashtag2"]},{"1333181218":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333181196, 1333181241, 1333181235, 1333181229, 1333181224, 1333181218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.82654070854187 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:15:32.753250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/14/image_31012025_03_14_57_10419.jpg', '/home/pi/Desktop/images/31012025/03/14/image_31012025_03_15_06_9456.jpg', '/home/pi/Desktop/images/31012025/03/15/image_31012025_03_15_16_10347.jpg', '/home/pi/Desktop/images/31012025/03/15/image_31012025_03_15_27_10437.jpg', '/home/pi/Desktop/images/31012025/03/15/image_31012025_03_15_36_9358.jpg', '/home/pi/Desktop/images/31012025/03/15/image_31012025_03_15_47_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/14/image_31012025_03_14_57_10419.jpg
/home/pi/Desktop/images/31012025/03/14/image_31012025_03_15_06_9456.jpg
/home/pi/Desktop/images/31012025/03/15/image_31012025_03_15_16_10347.jpg
/home/pi/Desktop/images/31012025/03/15/image_31012025_03_15_27_10437.jpg
/home/pi/Desktop/images/31012025/03/15/image_31012025_03_15_36_9358.jpg
/home/pi/Desktop/images/31012025/03/15/image_31012025_03_15_47_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":["1333181334","1333181351","1333181345","1333181348","1333181296","1333181314"],"photo_ids_order":["1333181296","1333181314","1333181334","1333181345","1333181348","1333181351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dc4215d5e8f9dac3dd70fd7cba6fe2bc.jpg","text":"TemporaryFile(/tmp/multipartBody7965055875228925999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289793692,"filename":"image_31012025_03_15_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/1/31/1ad1afe5fd05d6e64da69877088c4dc1.jpg","text":"TemporaryFile(/tmp/multipartBody254899621866994752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289793692,"filename":"image_31012025_03_15_47_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1078ddd1c69662c44629d35f7aab5848.jpg","text":"TemporaryFile(/tmp/multipartBody5579979456181388934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289793692,"filename":"image_31012025_03_15_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/1/31/1e02bbe3c6be7fa5892664f15d061a8f.jpg","text":"TemporaryFile(/tmp/multipartBody1158358526639208379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289793692,"filename":"image_31012025_03_15_36_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/69b93740d8f2a8e86de02da5739a0e76.jpg","text":"TemporaryFile(/tmp/multipartBody3646020731742174635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289793692,"filename":"image_31012025_03_14_57_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/005382b7533afe59a0bb09b2d9ae13c2.jpg","text":"TemporaryFile(/tmp/multipartBody1993201861521622112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289793692,"filename":"image_31012025_03_15_06_9456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333181334","file1":"1333181314","file0":"1333181296","file4":"1333181348","file5":"1333181351","file3":"1333181345"},"map_files_photo_id_array":[{"photo_id":"1333181351","filename":"file5"},{"photo_id":"1333181334","filename":"file2"},{"photo_id":"1333181348","filename":"file4"},{"photo_id":"1333181314","filename":"file1"},{"photo_id":"1333181296","filename":"file0"},{"photo_id":"1333181345","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333181334":["hashtag1","hashtag2"]},{"1333181351":["hashtag1","hashtag2"]},{"1333181345":["hashtag1","hashtag2"]},{"1333181348":["hashtag1","hashtag2"]},{"1333181296":["hashtag1","hashtag2"]},{"1333181314":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333181334, 1333181351, 1333181345, 1333181348, 1333181296, 1333181314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.722320795059204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:16:33.220217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/15/image_31012025_03_15_56_9462.jpg', '/home/pi/Desktop/images/31012025/03/15/image_31012025_03_16_06_10361.jpg', '/home/pi/Desktop/images/31012025/03/16/image_31012025_03_16_17_10412.jpg', '/home/pi/Desktop/images/31012025/03/16/image_31012025_03_16_26_9362.jpg', '/home/pi/Desktop/images/31012025/03/16/image_31012025_03_16_37_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/15/image_31012025_03_15_56_9462.jpg
/home/pi/Desktop/images/31012025/03/15/image_31012025_03_16_06_10361.jpg
/home/pi/Desktop/images/31012025/03/16/image_31012025_03_16_17_10412.jpg
/home/pi/Desktop/images/31012025/03/16/image_31012025_03_16_26_9362.jpg
/home/pi/Desktop/images/31012025/03/16/image_31012025_03_16_37_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":["1333181865","1333181820","1333181741","1333181912","1333181644"],"photo_ids_order":["1333181644","1333181741","1333181820","1333181865","1333181912"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ae83d6606bf38ef62253f2e9a1fff697.jpg","text":"TemporaryFile(/tmp/multipartBody1849530041549327383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289854136,"filename":"image_31012025_03_16_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/1/31/2e327a82f836148701ccf264af06c441.jpg","text":"TemporaryFile(/tmp/multipartBody3660464014878172640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289854136,"filename":"image_31012025_03_16_17_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/eefa308fc8b1ea582cbaf88222d78a1c.jpg","text":"TemporaryFile(/tmp/multipartBody2138204326936192168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289854136,"filename":"image_31012025_03_16_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/1/31/dd30717f0b32e277b0cfa0cc341dc465.jpg","text":"TemporaryFile(/tmp/multipartBody1660431456711852436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289854136,"filename":"image_31012025_03_16_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/1/31/f28105d9e784ba06a3d8b82a05942679.jpg","text":"TemporaryFile(/tmp/multipartBody5996694719362885269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289854136,"filename":"image_31012025_03_15_56_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333181820","file1":"1333181741","file0":"1333181644","file4":"1333181912","file3":"1333181865"},"map_files_photo_id_array":[{"photo_id":"1333181820","filename":"file2"},{"photo_id":"1333181912","filename":"file4"},{"photo_id":"1333181741","filename":"file1"},{"photo_id":"1333181644","filename":"file0"},{"photo_id":"1333181865","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333181865":["hashtag1","hashtag2"]},{"1333181820":["hashtag1","hashtag2"]},{"1333181741":["hashtag1","hashtag2"]},{"1333181912":["hashtag1","hashtag2"]},{"1333181644":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333181865, 1333181820, 1333181741, 1333181912, 1333181644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.84587335586548 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:17:32.442672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/16/image_31012025_03_16_47_10360.jpg', '/home/pi/Desktop/images/31012025/03/16/image_31012025_03_17_07_10336.jpg', '/home/pi/Desktop/images/31012025/03/17/image_31012025_03_17_17_10425.jpg', '/home/pi/Desktop/images/31012025/03/17/image_31012025_03_17_26_9353.jpg', '/home/pi/Desktop/images/31012025/03/17/image_31012025_03_17_46_9393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/16/image_31012025_03_16_47_10360.jpg
/home/pi/Desktop/images/31012025/03/16/image_31012025_03_17_07_10336.jpg
/home/pi/Desktop/images/31012025/03/17/image_31012025_03_17_17_10425.jpg
/home/pi/Desktop/images/31012025/03/17/image_31012025_03_17_26_9353.jpg
/home/pi/Desktop/images/31012025/03/17/image_31012025_03_17_46_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":["1333182405","1333182245","1333182440","1333182434","1333182331"],"photo_ids_order":["1333182245","1333182331","1333182405","1333182434","1333182440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3afeda293c0be4e9017bb34ba038bfc8.jpg","text":"TemporaryFile(/tmp/multipartBody4060142654009114783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289913335,"filename":"image_31012025_03_17_17_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/592e22891a1e45c94326ce15d1a58aec.jpg","text":"TemporaryFile(/tmp/multipartBody5830714676379605302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289913335,"filename":"image_31012025_03_16_47_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dec4b57e7c697ab9de973a2430072dd1.jpg","text":"TemporaryFile(/tmp/multipartBody7214815278984216793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289913335,"filename":"image_31012025_03_17_46_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e6018d19979bf0a598962e8bde5bfb3b.jpg","text":"TemporaryFile(/tmp/multipartBody3446594962131300863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289913335,"filename":"image_31012025_03_17_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/1/31/0beb7c47c245fff6905198cdd4912af2.jpg","text":"TemporaryFile(/tmp/multipartBody4292779379514522189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289913335,"filename":"image_31012025_03_17_07_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333182405","file1":"1333182331","file0":"1333182245","file4":"1333182440","file3":"1333182434"},"map_files_photo_id_array":[{"photo_id":"1333182405","filename":"file2"},{"photo_id":"1333182440","filename":"file4"},{"photo_id":"1333182331","filename":"file1"},{"photo_id":"1333182245","filename":"file0"},{"photo_id":"1333182434","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333182405":["hashtag1","hashtag2"]},{"1333182245":["hashtag1","hashtag2"]},{"1333182440":["hashtag1","hashtag2"]},{"1333182434":["hashtag1","hashtag2"]},{"1333182331":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333182405, 1333182245, 1333182440, 1333182434, 1333182331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.402414083480835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:18:32.663957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/17/image_31012025_03_17_57_10449.jpg', '/home/pi/Desktop/images/31012025/03/17/image_31012025_03_18_07_10456.jpg', '/home/pi/Desktop/images/31012025/03/18/image_31012025_03_18_47_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/17/image_31012025_03_17_57_10449.jpg
/home/pi/Desktop/images/31012025/03/17/image_31012025_03_18_07_10456.jpg
/home/pi/Desktop/images/31012025/03/18/image_31012025_03_18_47_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":["1333182555","1333182659","1333182568"],"photo_ids_order":["1333182555","1333182568","1333182659"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/23c36774d3aa64308bee626b1fbea4c3.jpg","text":"TemporaryFile(/tmp/multipartBody4913106937730438910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289973531,"filename":"image_31012025_03_17_57_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6c9cf49c8f48b9b754083c468e0a079e.jpg","text":"TemporaryFile(/tmp/multipartBody1862029260654732785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289973531,"filename":"image_31012025_03_18_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/1/31/698029e67b2e3ca8bb53f471cb011aee.jpg","text":"TemporaryFile(/tmp/multipartBody4358651398340679508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738289973531,"filename":"image_31012025_03_18_07_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333182659","file1":"1333182568","file0":"1333182555"},"map_files_photo_id_array":[{"photo_id":"1333182659","filename":"file2"},{"photo_id":"1333182568","filename":"file1"},{"photo_id":"1333182555","filename":"file0"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333182555":["hashtag1","hashtag2"]},{"1333182659":["hashtag1","hashtag2"]},{"1333182568":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333182555, 1333182659, 1333182568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.31889533996582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 03:19:04.522148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/06/image_28012025_22_06_35_10340.jpg', '/home/pi/Desktop/images/28012025/22/06/image_28012025_22_06_44_9386.jpg', '/home/pi/Desktop/images/28012025/22/06/image_28012025_22_06_55_10355.jpg', '/home/pi/Desktop/images/28012025/22/06/image_28012025_22_07_05_10356.jpg', '/home/pi/Desktop/images/28012025/22/07/image_28012025_22_07_14_9403.jpg', '/home/pi/Desktop/images/28012025/22/07/image_28012025_22_07_25_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/06/image_28012025_22_06_35_10340.jpg
/home/pi/Desktop/images/28012025/22/06/image_28012025_22_06_44_9386.jpg
/home/pi/Desktop/images/28012025/22/06/image_28012025_22_06_55_10355.jpg
/home/pi/Desktop/images/28012025/22/06/image_28012025_22_07_05_10356.jpg
/home/pi/Desktop/images/28012025/22/07/image_28012025_22_07_14_9403.jpg
/home/pi/Desktop/images/28012025/22/07/image_28012025_22_07_25_10409.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":["1333183235","1333183001","1333183048","1333183138","1333183231","1333183224"],"photo_ids_order":["1333183001","1333183048","1333183138","1333183224","1333183231","1333183235"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f4ac43aa18a3ae1163b0eb08871b51c6.jpg","text":"TemporaryFile(/tmp/multipartBody6123279133791342683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290006414,"filename":"image_28012025_22_07_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/1/31/57ff1d0ef6d54f1bd40b74257998ad03.jpg","text":"TemporaryFile(/tmp/multipartBody2753687767383999003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290006414,"filename":"image_28012025_22_06_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/1/31/996afb1c0e037b8fec9e8bde4ba31a2a.jpg","text":"TemporaryFile(/tmp/multipartBody1487989332512630029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290006414,"filename":"image_28012025_22_06_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/1/31/5db7c1d293e2d543b6ddde8d1561077d.jpg","text":"TemporaryFile(/tmp/multipartBody4021021103009572392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290006414,"filename":"image_28012025_22_06_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/1/31/6e888a29e535eac5427bdb3fa3e3eeb5.jpg","text":"TemporaryFile(/tmp/multipartBody8547129478496690789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290006414,"filename":"image_28012025_22_07_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/1/31/c51d014a6e9c36da03623f4136efcd02.jpg","text":"TemporaryFile(/tmp/multipartBody2932167238784517275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290006414,"filename":"image_28012025_22_07_05_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333183138","file1":"1333183048","file0":"1333183001","file4":"1333183231","file5":"1333183235","file3":"1333183224"},"map_files_photo_id_array":[{"photo_id":"1333183235","filename":"file5"},{"photo_id":"1333183138","filename":"file2"},{"photo_id":"1333183231","filename":"file4"},{"photo_id":"1333183048","filename":"file1"},{"photo_id":"1333183001","filename":"file0"},{"photo_id":"1333183224","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333183235":["hashtag1","hashtag2"]},{"1333183001":["hashtag1","hashtag2"]},{"1333183048":["hashtag1","hashtag2"]},{"1333183138":["hashtag1","hashtag2"]},{"1333183231":["hashtag1","hashtag2"]},{"1333183224":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333183235, 1333183001, 1333183048, 1333183138, 1333183231, 1333183224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.964385986328125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:19:52.960044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/18/image_31012025_03_18_57_10430.jpg', '/home/pi/Desktop/images/31012025/03/19/image_31012025_03_19_26_9408.jpg', '/home/pi/Desktop/images/31012025/03/19/image_31012025_03_19_47_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/18/image_31012025_03_18_57_10430.jpg
/home/pi/Desktop/images/31012025/03/19/image_31012025_03_19_26_9408.jpg
/home/pi/Desktop/images/31012025/03/19/image_31012025_03_19_47_10441.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333183529","1333183720","1333183880"],"photo_ids_order":["1333183529","1333183720","1333183880"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/38d085830e75a721928dd71e9db8d13b.jpg","text":"TemporaryFile(/tmp/multipartBody1544287642446102437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290053836,"filename":"image_31012025_03_18_57_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/311eaff7b90cb967e3a06105bd32a30c.jpg","text":"TemporaryFile(/tmp/multipartBody3617544749950665706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290053836,"filename":"image_31012025_03_19_26_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/32e69a28f6cc84a485af3be69fab1f4a.jpg","text":"TemporaryFile(/tmp/multipartBody7638582599387787063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290053836,"filename":"image_31012025_03_19_47_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333183880","file1":"1333183720","file0":"1333183529"},"map_files_photo_id_array":[{"photo_id":"1333183880","filename":"file2"},{"photo_id":"1333183720","filename":"file1"},{"photo_id":"1333183529","filename":"file0"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333183529":["hashtag1","hashtag2"]},{"1333183720":["hashtag1","hashtag2"]},{"1333183880":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333183529, 1333183720, 1333183880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.00873875617981 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:20:33.128504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/19/image_31012025_03_19_56_9342.jpg', '/home/pi/Desktop/images/31012025/03/19/image_31012025_03_20_07_10395.jpg', '/home/pi/Desktop/images/31012025/03/20/image_31012025_03_20_17_10348.jpg', '/home/pi/Desktop/images/31012025/03/20/image_31012025_03_20_26_9374.jpg', '/home/pi/Desktop/images/31012025/03/20/image_31012025_03_20_37_10370.jpg', '/home/pi/Desktop/images/31012025/03/20/image_31012025_03_20_46_9398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/19/image_31012025_03_19_56_9342.jpg
/home/pi/Desktop/images/31012025/03/19/image_31012025_03_20_07_10395.jpg
/home/pi/Desktop/images/31012025/03/20/image_31012025_03_20_17_10348.jpg
/home/pi/Desktop/images/31012025/03/20/image_31012025_03_20_26_9374.jpg
/home/pi/Desktop/images/31012025/03/20/image_31012025_03_20_37_10370.jpg
/home/pi/Desktop/images/31012025/03/20/image_31012025_03_20_46_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":["1333184113","1333184308","1333184175","1333184107","1333184118","1333184121"],"photo_ids_order":["1333184107","1333184113","1333184118","1333184121","1333184175","1333184308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/415d7ba355da6e1dab051498a9d017aa.jpg","text":"TemporaryFile(/tmp/multipartBody6671589252348069737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290094035,"filename":"image_31012025_03_20_07_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/63ada53bb7f5005266a8d576b4a84e04.jpg","text":"TemporaryFile(/tmp/multipartBody6524805243528645594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290094035,"filename":"image_31012025_03_20_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/1/31/f9d8d3ab036a9f1b8723b0f7b6c7a001.jpg","text":"TemporaryFile(/tmp/multipartBody9073440152321280611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290094035,"filename":"image_31012025_03_20_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/1/31/28e81abfa4317b3824cb2a852b260d0a.jpg","text":"TemporaryFile(/tmp/multipartBody6925035820522948920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290094035,"filename":"image_31012025_03_19_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/1/31/61334c1ca05b44cf5a5925d7cd57e287.jpg","text":"TemporaryFile(/tmp/multipartBody8188754423066899285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290094035,"filename":"image_31012025_03_20_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/1/31/8f76e337ea1c3044cf352a7962796d3b.jpg","text":"TemporaryFile(/tmp/multipartBody7780258212494205664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290094035,"filename":"image_31012025_03_20_26_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333184118","file1":"1333184113","file0":"1333184107","file4":"1333184175","file5":"1333184308","file3":"1333184121"},"map_files_photo_id_array":[{"photo_id":"1333184308","filename":"file5"},{"photo_id":"1333184118","filename":"file2"},{"photo_id":"1333184175","filename":"file4"},{"photo_id":"1333184113","filename":"file1"},{"photo_id":"1333184107","filename":"file0"},{"photo_id":"1333184121","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333184113":["hashtag1","hashtag2"]},{"1333184308":["hashtag1","hashtag2"]},{"1333184175":["hashtag1","hashtag2"]},{"1333184107":["hashtag1","hashtag2"]},{"1333184118":["hashtag1","hashtag2"]},{"1333184121":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333184113, 1333184308, 1333184175, 1333184107, 1333184118, 1333184121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.92631816864014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:21:32.394302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/20/image_31012025_03_20_56_10353.jpg', '/home/pi/Desktop/images/31012025/03/20/image_31012025_03_21_07_10551.jpg', '/home/pi/Desktop/images/31012025/03/21/image_31012025_03_21_16_9354.jpg', '/home/pi/Desktop/images/31012025/03/21/image_31012025_03_21_27_10339.jpg', '/home/pi/Desktop/images/31012025/03/21/image_31012025_03_21_36_9404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/20/image_31012025_03_20_56_10353.jpg
/home/pi/Desktop/images/31012025/03/20/image_31012025_03_21_07_10551.jpg
/home/pi/Desktop/images/31012025/03/21/image_31012025_03_21_16_9354.jpg
/home/pi/Desktop/images/31012025/03/21/image_31012025_03_21_27_10339.jpg
/home/pi/Desktop/images/31012025/03/21/image_31012025_03_21_36_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":["1333184650","1333184644","1333184706","1333184655","1333184721"],"photo_ids_order":["1333184644","1333184650","1333184655","1333184706","1333184721"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ef8f5069dfb323dd8ed808deb0c537a4.jpg","text":"TemporaryFile(/tmp/multipartBody1392750292532922695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290153295,"filename":"image_31012025_03_21_07_10551.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ca906e8aa1a6c630caa202d3373bff96.jpg","text":"TemporaryFile(/tmp/multipartBody5754168667144143247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290153295,"filename":"image_31012025_03_20_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/1/31/e28b25093f6e1040e3d95ee9fc78aad4.jpg","text":"TemporaryFile(/tmp/multipartBody3782186645372553679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290153295,"filename":"image_31012025_03_21_27_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1e01948d27547bb8382a66264969175c.jpg","text":"TemporaryFile(/tmp/multipartBody6368095433158568106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290153295,"filename":"image_31012025_03_21_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/1/31/1a8c2d9b4814c4d967fe302a9217ee7d.jpg","text":"TemporaryFile(/tmp/multipartBody8394842022678676996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290153295,"filename":"image_31012025_03_21_36_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333184655","file1":"1333184650","file0":"1333184644","file4":"1333184721","file3":"1333184706"},"map_files_photo_id_array":[{"photo_id":"1333184655","filename":"file2"},{"photo_id":"1333184721","filename":"file4"},{"photo_id":"1333184650","filename":"file1"},{"photo_id":"1333184644","filename":"file0"},{"photo_id":"1333184706","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333184650":["hashtag1","hashtag2"]},{"1333184644":["hashtag1","hashtag2"]},{"1333184706":["hashtag1","hashtag2"]},{"1333184655":["hashtag1","hashtag2"]},{"1333184721":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333184650, 1333184644, 1333184706, 1333184655, 1333184721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.16051650047302 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:22:32.592695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/21/image_31012025_03_21_57_10472.jpg', '/home/pi/Desktop/images/31012025/03/21/image_31012025_03_22_06_9358.jpg', '/home/pi/Desktop/images/31012025/03/22/image_31012025_03_22_36_10405.jpg', '/home/pi/Desktop/images/31012025/03/22/image_31012025_03_22_47_10487.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/21/image_31012025_03_21_57_10472.jpg
/home/pi/Desktop/images/31012025/03/21/image_31012025_03_22_06_9358.jpg
/home/pi/Desktop/images/31012025/03/22/image_31012025_03_22_36_10405.jpg
/home/pi/Desktop/images/31012025/03/22/image_31012025_03_22_47_10487.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":["1333184845","1333184827","1333184832","1333184835"],"photo_ids_order":["1333184827","1333184832","1333184835","1333184845"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/419d6c9f42099764ea8fe3a37f8b68ba.jpg","text":"TemporaryFile(/tmp/multipartBody2898072750522201713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290213480,"filename":"image_31012025_03_22_47_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bd9e67f988f95e3ebaeb1148a97b0523.jpg","text":"TemporaryFile(/tmp/multipartBody8668627574168115011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290213480,"filename":"image_31012025_03_21_57_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4cd7c3a14775c8a193e71859080f04bb.jpg","text":"TemporaryFile(/tmp/multipartBody3636692031551140102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290213480,"filename":"image_31012025_03_22_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/1/31/3a7c1bb24bae83315e72ff37c536f2ab.jpg","text":"TemporaryFile(/tmp/multipartBody6570334822051616654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290213480,"filename":"image_31012025_03_22_36_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333184835","file1":"1333184832","file0":"1333184827","file3":"1333184845"},"map_files_photo_id_array":[{"photo_id":"1333184835","filename":"file2"},{"photo_id":"1333184832","filename":"file1"},{"photo_id":"1333184827","filename":"file0"},{"photo_id":"1333184845","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333184845":["hashtag1","hashtag2"]},{"1333184827":["hashtag1","hashtag2"]},{"1333184832":["hashtag1","hashtag2"]},{"1333184835":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333184845, 1333184827, 1333184832, 1333184835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.633060693740845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 03:23:04.529189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/07/image_28012025_22_07_34_9481.jpg', '/home/pi/Desktop/images/28012025/22/07/image_28012025_22_07_45_10355.jpg', '/home/pi/Desktop/images/28012025/22/07/image_28012025_22_07_55_10364.jpg', '/home/pi/Desktop/images/28012025/22/08/image_28012025_22_08_15_10356.jpg', '/home/pi/Desktop/images/28012025/22/08/image_28012025_22_08_24_9422.jpg', '/home/pi/Desktop/images/28012025/22/08/image_28012025_22_08_35_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/07/image_28012025_22_07_34_9481.jpg
/home/pi/Desktop/images/28012025/22/07/image_28012025_22_07_45_10355.jpg
/home/pi/Desktop/images/28012025/22/07/image_28012025_22_07_55_10364.jpg
/home/pi/Desktop/images/28012025/22/08/image_28012025_22_08_15_10356.jpg
/home/pi/Desktop/images/28012025/22/08/image_28012025_22_08_24_9422.jpg
/home/pi/Desktop/images/28012025/22/08/image_28012025_22_08_35_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":["1333185043","1333185301","1333185261","1333185293","1333185227","1333185271"],"photo_ids_order":["1333185043","1333185227","1333185261","1333185271","1333185293","1333185301"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d57c43321354d9d9bf48a89083b4f9c9.jpg","text":"TemporaryFile(/tmp/multipartBody317182023535901163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290249425,"filename":"image_28012025_22_07_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/1/31/f9117a6c6624f8aa468d07ad9a8a4a0f.jpg","text":"TemporaryFile(/tmp/multipartBody8120076443658673867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290249425,"filename":"image_28012025_22_08_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/1/31/738ae68cc3eaa958fad58a3063d5f785.jpg","text":"TemporaryFile(/tmp/multipartBody4059870552796350640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290249425,"filename":"image_28012025_22_07_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/1/31/cf3cc592b8829bb7e921ac0943b9b5c3.jpg","text":"TemporaryFile(/tmp/multipartBody1382832399851898041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290249425,"filename":"image_28012025_22_08_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/1/31/2a6ccc8212fb9c0558605c7d779ed4bd.jpg","text":"TemporaryFile(/tmp/multipartBody485121667606809845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290249425,"filename":"image_28012025_22_07_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/1/31/40e71baf83ba27c286677b71150386e7.jpg","text":"TemporaryFile(/tmp/multipartBody7300514047995892356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290249425,"filename":"image_28012025_22_08_15_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333185261","file1":"1333185227","file0":"1333185043","file4":"1333185293","file5":"1333185301","file3":"1333185271"},"map_files_photo_id_array":[{"photo_id":"1333185301","filename":"file5"},{"photo_id":"1333185261","filename":"file2"},{"photo_id":"1333185293","filename":"file4"},{"photo_id":"1333185227","filename":"file1"},{"photo_id":"1333185043","filename":"file0"},{"photo_id":"1333185271","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333185043":["hashtag1","hashtag2"]},{"1333185301":["hashtag1","hashtag2"]},{"1333185261":["hashtag1","hashtag2"]},{"1333185293":["hashtag1","hashtag2"]},{"1333185227":["hashtag1","hashtag2"]},{"1333185271":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333185043, 1333185301, 1333185261, 1333185293, 1333185227, 1333185271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.39590907096863 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 03:24:02.939947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/22/image_31012025_03_22_56_9341.jpg', '/home/pi/Desktop/images/31012025/03/23/image_31012025_03_23_16_9485.jpg', '/home/pi/Desktop/images/31012025/03/23/image_31012025_03_23_27_10439.jpg', '/home/pi/Desktop/images/31012025/03/23/image_31012025_03_23_37_10465.jpg', '/home/pi/Desktop/images/31012025/03/23/image_31012025_03_23_46_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/22/image_31012025_03_22_56_9341.jpg
/home/pi/Desktop/images/31012025/03/23/image_31012025_03_23_16_9485.jpg
/home/pi/Desktop/images/31012025/03/23/image_31012025_03_23_27_10439.jpg
/home/pi/Desktop/images/31012025/03/23/image_31012025_03_23_37_10465.jpg
/home/pi/Desktop/images/31012025/03/23/image_31012025_03_23_46_9342.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333185376","1333185408","1333185386","1333185318","1333185391"],"photo_ids_order":["1333185318","1333185376","1333185386","1333185391","1333185408"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/46f403eef923908df4590111c3e0818a.jpg","text":"TemporaryFile(/tmp/multipartBody2554824436786928539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290308063,"filename":"image_31012025_03_23_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/1/31/997bbb828086519fcbcbfc11a165b7f9.jpg","text":"TemporaryFile(/tmp/multipartBody6690419371771289726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290308063,"filename":"image_31012025_03_23_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/1/31/9a257e2e657fa4c4f3cf3aa6750885c3.jpg","text":"TemporaryFile(/tmp/multipartBody4293387114093729467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290308063,"filename":"image_31012025_03_23_27_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7b0ffaecd9cfa2f5362b113b710a04b8.jpg","text":"TemporaryFile(/tmp/multipartBody6326353761894607659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290308063,"filename":"image_31012025_03_22_56_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ef9556cdeb3445d98336f295fabc308c.jpg","text":"TemporaryFile(/tmp/multipartBody5489998347129893111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290308063,"filename":"image_31012025_03_23_37_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333185386","file1":"1333185376","file0":"1333185318","file4":"1333185408","file3":"1333185391"},"map_files_photo_id_array":[{"photo_id":"1333185386","filename":"file2"},{"photo_id":"1333185408","filename":"file4"},{"photo_id":"1333185376","filename":"file1"},{"photo_id":"1333185318","filename":"file0"},{"photo_id":"1333185391","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333185376":["hashtag1","hashtag2"]},{"1333185408":["hashtag1","hashtag2"]},{"1333185386":["hashtag1","hashtag2"]},{"1333185318":["hashtag1","hashtag2"]},{"1333185391":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333185376, 1333185408, 1333185386, 1333185318, 1333185391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.0023775100708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 03:24:42.206542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/23/image_31012025_03_23_57_10355.jpg', '/home/pi/Desktop/images/31012025/03/23/image_31012025_03_24_06_9372.jpg', '/home/pi/Desktop/images/31012025/03/24/image_31012025_03_24_16_10337.jpg', '/home/pi/Desktop/images/31012025/03/24/image_31012025_03_24_27_10607.jpg', '/home/pi/Desktop/images/31012025/03/24/image_31012025_03_24_36_9083.jpg', '/home/pi/Desktop/images/31012025/03/24/image_31012025_03_24_47_10471.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/23/image_31012025_03_23_57_10355.jpg
/home/pi/Desktop/images/31012025/03/23/image_31012025_03_24_06_9372.jpg
/home/pi/Desktop/images/31012025/03/24/image_31012025_03_24_16_10337.jpg
/home/pi/Desktop/images/31012025/03/24/image_31012025_03_24_27_10607.jpg
/home/pi/Desktop/images/31012025/03/24/image_31012025_03_24_36_9083.jpg
/home/pi/Desktop/images/31012025/03/24/image_31012025_03_24_47_10471.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":["1333185451","1333185457","1333185444","1333185438","1333185449","1333185434"],"photo_ids_order":["1333185434","1333185438","1333185444","1333185449","1333185451","1333185457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2fc2b53a24fb091d761edc57cdc9a7dc.jpg","text":"TemporaryFile(/tmp/multipartBody5281997915131585511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290343156,"filename":"image_31012025_03_24_36_9083.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/49b71c1679e0acecb6d02f8b10955492.jpg","text":"TemporaryFile(/tmp/multipartBody9143930493741890812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290343156,"filename":"image_31012025_03_24_47_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/162e1407b89692ae8cb6201d1aa57fd7.jpg","text":"TemporaryFile(/tmp/multipartBody7792964240193359941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290343156,"filename":"image_31012025_03_24_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/1/31/d3b267e47cee3ecf4fc284940e48356d.jpg","text":"TemporaryFile(/tmp/multipartBody7617574223306176392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290343156,"filename":"image_31012025_03_24_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/1/31/0fee17bda605093b35c7aed8e8a0a3b9.jpg","text":"TemporaryFile(/tmp/multipartBody1740087043348708364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290343156,"filename":"image_31012025_03_24_27_10607.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c3081b2833770b67e677738db12df24a.jpg","text":"TemporaryFile(/tmp/multipartBody8975466095526630399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290343156,"filename":"image_31012025_03_23_57_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333185444","file1":"1333185438","file0":"1333185434","file4":"1333185451","file5":"1333185457","file3":"1333185449"},"map_files_photo_id_array":[{"photo_id":"1333185457","filename":"file5"},{"photo_id":"1333185444","filename":"file2"},{"photo_id":"1333185451","filename":"file4"},{"photo_id":"1333185438","filename":"file1"},{"photo_id":"1333185434","filename":"file0"},{"photo_id":"1333185449","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333185451":["hashtag1","hashtag2"]},{"1333185457":["hashtag1","hashtag2"]},{"1333185444":["hashtag1","hashtag2"]},{"1333185438":["hashtag1","hashtag2"]},{"1333185449":["hashtag1","hashtag2"]},{"1333185434":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333185451, 1333185457, 1333185444, 1333185438, 1333185449, 1333185434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.2322301864624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:25:32.510550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/24/image_31012025_03_24_56_9518.jpg', '/home/pi/Desktop/images/31012025/03/24/image_31012025_03_25_07_10552.jpg', '/home/pi/Desktop/images/31012025/03/25/image_31012025_03_25_17_10364.jpg', '/home/pi/Desktop/images/31012025/03/25/image_31012025_03_25_26_9393.jpg', '/home/pi/Desktop/images/31012025/03/25/image_31012025_03_25_37_10466.jpg', '/home/pi/Desktop/images/31012025/03/25/image_31012025_03_25_46_9424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/24/image_31012025_03_24_56_9518.jpg
/home/pi/Desktop/images/31012025/03/24/image_31012025_03_25_07_10552.jpg
/home/pi/Desktop/images/31012025/03/25/image_31012025_03_25_17_10364.jpg
/home/pi/Desktop/images/31012025/03/25/image_31012025_03_25_26_9393.jpg
/home/pi/Desktop/images/31012025/03/25/image_31012025_03_25_37_10466.jpg
/home/pi/Desktop/images/31012025/03/25/image_31012025_03_25_46_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":["1333185493","1333185532","1333185567","1333185548","1333185577","1333185499"],"photo_ids_order":["1333185493","1333185499","1333185532","1333185548","1333185567","1333185577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/186cddb3d17374683f9568a146b462fa.jpg","text":"TemporaryFile(/tmp/multipartBody4208100045179641406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290393426,"filename":"image_31012025_03_24_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/1/31/4a635c0eab95089e3825e82af8cca603.jpg","text":"TemporaryFile(/tmp/multipartBody1397993075291545507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290393426,"filename":"image_31012025_03_25_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/1/31/204ebbcb25749070f9bd4a143607bad9.jpg","text":"TemporaryFile(/tmp/multipartBody8996314605250627481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290393426,"filename":"image_31012025_03_25_37_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e7e83d538cea3eb28871ae9a886287d8.jpg","text":"TemporaryFile(/tmp/multipartBody4247382633120834862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290393426,"filename":"image_31012025_03_25_26_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5e260ba61e9f51d921fa5ecaf71df623.jpg","text":"TemporaryFile(/tmp/multipartBody1083065393428110823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290393426,"filename":"image_31012025_03_25_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/1/31/d35294d82a22280e1288fb2ce7292a2c.jpg","text":"TemporaryFile(/tmp/multipartBody1950962796791701573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290393426,"filename":"image_31012025_03_25_07_10552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333185532","file1":"1333185499","file0":"1333185493","file4":"1333185567","file5":"1333185577","file3":"1333185548"},"map_files_photo_id_array":[{"photo_id":"1333185577","filename":"file5"},{"photo_id":"1333185532","filename":"file2"},{"photo_id":"1333185567","filename":"file4"},{"photo_id":"1333185499","filename":"file1"},{"photo_id":"1333185493","filename":"file0"},{"photo_id":"1333185548","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333185493":["hashtag1","hashtag2"]},{"1333185532":["hashtag1","hashtag2"]},{"1333185567":["hashtag1","hashtag2"]},{"1333185548":["hashtag1","hashtag2"]},{"1333185577":["hashtag1","hashtag2"]},{"1333185499":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333185493, 1333185532, 1333185567, 1333185548, 1333185577, 1333185499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.64463949203491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:26:32.698504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/25/image_31012025_03_25_57_10355.jpg', '/home/pi/Desktop/images/31012025/03/25/image_31012025_03_26_06_9446.jpg', '/home/pi/Desktop/images/31012025/03/26/image_31012025_03_26_17_10434.jpg', '/home/pi/Desktop/images/31012025/03/26/image_31012025_03_26_27_10443.jpg', '/home/pi/Desktop/images/31012025/03/26/image_31012025_03_26_36_9349.jpg', '/home/pi/Desktop/images/31012025/03/26/image_31012025_03_26_47_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/25/image_31012025_03_25_57_10355.jpg
/home/pi/Desktop/images/31012025/03/25/image_31012025_03_26_06_9446.jpg
/home/pi/Desktop/images/31012025/03/26/image_31012025_03_26_17_10434.jpg
/home/pi/Desktop/images/31012025/03/26/image_31012025_03_26_27_10443.jpg
/home/pi/Desktop/images/31012025/03/26/image_31012025_03_26_36_9349.jpg
/home/pi/Desktop/images/31012025/03/26/image_31012025_03_26_47_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":["1333185670","1333185853","1333185709","1333185819","1333185689","1333185755"],"photo_ids_order":["1333185670","1333185689","1333185709","1333185755","1333185819","1333185853"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0d277a05a9a385236421f6f6acd7fa75.jpg","text":"TemporaryFile(/tmp/multipartBody8103082436467316663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290453615,"filename":"image_31012025_03_25_57_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f4fc308f1d4a8222e0aa70d639363d55.jpg","text":"TemporaryFile(/tmp/multipartBody7610427240808342389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290453615,"filename":"image_31012025_03_26_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/1/31/9ac73d0c6eb4a1e09c419df588ebbeb7.jpg","text":"TemporaryFile(/tmp/multipartBody8333516071712974334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290453615,"filename":"image_31012025_03_26_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/1/31/0cfd5516b55697518e23c3926aca74ac.jpg","text":"TemporaryFile(/tmp/multipartBody2995446106254268095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290453615,"filename":"image_31012025_03_26_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/1/31/1998c24372ab4c22f1f33e6b393b1883.jpg","text":"TemporaryFile(/tmp/multipartBody2952799990395387456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290453615,"filename":"image_31012025_03_26_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/1/31/0ab5a54ae237455f085ef2245b0deb4b.jpg","text":"TemporaryFile(/tmp/multipartBody3827299014031854463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290453615,"filename":"image_31012025_03_26_27_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333185709","file1":"1333185689","file0":"1333185670","file4":"1333185819","file5":"1333185853","file3":"1333185755"},"map_files_photo_id_array":[{"photo_id":"1333185853","filename":"file5"},{"photo_id":"1333185709","filename":"file2"},{"photo_id":"1333185819","filename":"file4"},{"photo_id":"1333185689","filename":"file1"},{"photo_id":"1333185670","filename":"file0"},{"photo_id":"1333185755","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333185670":["hashtag1","hashtag2"]},{"1333185853":["hashtag1","hashtag2"]},{"1333185709":["hashtag1","hashtag2"]},{"1333185819":["hashtag1","hashtag2"]},{"1333185689":["hashtag1","hashtag2"]},{"1333185755":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333185670, 1333185853, 1333185709, 1333185819, 1333185689, 1333185755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.99660921096802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:27:33.012978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/26/image_31012025_03_26_56_9361.jpg', '/home/pi/Desktop/images/31012025/03/26/image_31012025_03_27_06_10343.jpg', '/home/pi/Desktop/images/31012025/03/27/image_31012025_03_27_17_10418.jpg', '/home/pi/Desktop/images/31012025/03/27/image_31012025_03_27_26_9363.jpg', '/home/pi/Desktop/images/31012025/03/27/image_31012025_03_27_37_10365.jpg', '/home/pi/Desktop/images/31012025/03/27/image_31012025_03_27_47_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/26/image_31012025_03_26_56_9361.jpg
/home/pi/Desktop/images/31012025/03/26/image_31012025_03_27_06_10343.jpg
/home/pi/Desktop/images/31012025/03/27/image_31012025_03_27_17_10418.jpg
/home/pi/Desktop/images/31012025/03/27/image_31012025_03_27_26_9363.jpg
/home/pi/Desktop/images/31012025/03/27/image_31012025_03_27_37_10365.jpg
/home/pi/Desktop/images/31012025/03/27/image_31012025_03_27_47_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":["1333185970","1333185954","1333185962","1333185956","1333185959","1333185967"],"photo_ids_order":["1333185954","1333185956","1333185959","1333185962","1333185967","1333185970"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e08b4aa809b0b0a1c4d95045f3c49d5c.jpg","text":"TemporaryFile(/tmp/multipartBody136592885581007579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290513921,"filename":"image_31012025_03_27_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/1/31/9272a2b96648d17942a6a10bb5093d77.jpg","text":"TemporaryFile(/tmp/multipartBody1897132609672049151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290513921,"filename":"image_31012025_03_26_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/1/31/5ba6648920c3a9b1675dfdfe8858b246.jpg","text":"TemporaryFile(/tmp/multipartBody8462945607864992678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290513921,"filename":"image_31012025_03_27_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/1/31/14e09adf3e4d831f01417553d2e04104.jpg","text":"TemporaryFile(/tmp/multipartBody7036360530778915813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290513921,"filename":"image_31012025_03_27_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/1/31/a01625d63da8af3adb817defe93efd24.jpg","text":"TemporaryFile(/tmp/multipartBody233330897933466949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290513921,"filename":"image_31012025_03_27_17_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2950ea5ab0b13764b33ba2a8e61e1c9e.jpg","text":"TemporaryFile(/tmp/multipartBody2359154658282977909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290513921,"filename":"image_31012025_03_27_37_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333185959","file1":"1333185956","file0":"1333185954","file4":"1333185967","file5":"1333185970","file3":"1333185962"},"map_files_photo_id_array":[{"photo_id":"1333185970","filename":"file5"},{"photo_id":"1333185959","filename":"file2"},{"photo_id":"1333185967","filename":"file4"},{"photo_id":"1333185956","filename":"file1"},{"photo_id":"1333185954","filename":"file0"},{"photo_id":"1333185962","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333185970":["hashtag1","hashtag2"]},{"1333185954":["hashtag1","hashtag2"]},{"1333185962":["hashtag1","hashtag2"]},{"1333185956":["hashtag1","hashtag2"]},{"1333185959":["hashtag1","hashtag2"]},{"1333185967":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333185970, 1333185954, 1333185962, 1333185956, 1333185959, 1333185967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83015179634094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:28:32.422597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/27/image_31012025_03_27_56_9332.jpg', '/home/pi/Desktop/images/31012025/03/27/image_31012025_03_28_07_10361.jpg', '/home/pi/Desktop/images/31012025/03/28/image_31012025_03_28_17_10349.jpg', '/home/pi/Desktop/images/31012025/03/28/image_31012025_03_28_26_9372.jpg', '/home/pi/Desktop/images/31012025/03/28/image_31012025_03_28_37_10367.jpg', '/home/pi/Desktop/images/31012025/03/28/image_31012025_03_28_47_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/27/image_31012025_03_27_56_9332.jpg
/home/pi/Desktop/images/31012025/03/27/image_31012025_03_28_07_10361.jpg
/home/pi/Desktop/images/31012025/03/28/image_31012025_03_28_17_10349.jpg
/home/pi/Desktop/images/31012025/03/28/image_31012025_03_28_26_9372.jpg
/home/pi/Desktop/images/31012025/03/28/image_31012025_03_28_37_10367.jpg
/home/pi/Desktop/images/31012025/03/28/image_31012025_03_28_47_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":["1333186039","1333186012","1333186047","1333186064","1333185998","1333186028"],"photo_ids_order":["1333185998","1333186012","1333186028","1333186039","1333186047","1333186064"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bd5688e348affebc2bb5bd0a15767218.jpg","text":"TemporaryFile(/tmp/multipartBody2572102373446351682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290573350,"filename":"image_31012025_03_28_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/1/31/29d2ade51b25aa6b5ab9d45ffa8982ae.jpg","text":"TemporaryFile(/tmp/multipartBody6712124417528720654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290573350,"filename":"image_31012025_03_28_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/1/31/9f4834527938ebcc4d7c32f7dea0c0a5.jpg","text":"TemporaryFile(/tmp/multipartBody466208931661904710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290573350,"filename":"image_31012025_03_28_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/1/31/8ae880cc7de68b48dffe5028ed860662.jpg","text":"TemporaryFile(/tmp/multipartBody5512645723332833842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290573350,"filename":"image_31012025_03_28_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/1/31/49545214a6650e580c76eb190ea15dfd.jpg","text":"TemporaryFile(/tmp/multipartBody3660445390890437235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290573350,"filename":"image_31012025_03_27_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/1/31/ae4cd2085c0d72aa2248d939ca9c6000.jpg","text":"TemporaryFile(/tmp/multipartBody3270897148991079664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290573350,"filename":"image_31012025_03_28_17_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333186028","file1":"1333186012","file0":"1333185998","file4":"1333186047","file5":"1333186064","file3":"1333186039"},"map_files_photo_id_array":[{"photo_id":"1333186064","filename":"file5"},{"photo_id":"1333186028","filename":"file2"},{"photo_id":"1333186047","filename":"file4"},{"photo_id":"1333186012","filename":"file1"},{"photo_id":"1333185998","filename":"file0"},{"photo_id":"1333186039","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333186039":["hashtag1","hashtag2"]},{"1333186012":["hashtag1","hashtag2"]},{"1333186047":["hashtag1","hashtag2"]},{"1333186064":["hashtag1","hashtag2"]},{"1333185998":["hashtag1","hashtag2"]},{"1333186028":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333186039, 1333186012, 1333186047, 1333186064, 1333185998, 1333186028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.43944191932678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:29:32.593194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/28/image_31012025_03_28_56_9344.jpg', '/home/pi/Desktop/images/31012025/03/28/image_31012025_03_29_07_10421.jpg', '/home/pi/Desktop/images/31012025/03/29/image_31012025_03_29_16_9339.jpg', '/home/pi/Desktop/images/31012025/03/29/image_31012025_03_29_27_10389.jpg', '/home/pi/Desktop/images/31012025/03/29/image_31012025_03_29_37_10388.jpg', '/home/pi/Desktop/images/31012025/03/29/image_31012025_03_29_46_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/28/image_31012025_03_28_56_9344.jpg
/home/pi/Desktop/images/31012025/03/28/image_31012025_03_29_07_10421.jpg
/home/pi/Desktop/images/31012025/03/29/image_31012025_03_29_16_9339.jpg
/home/pi/Desktop/images/31012025/03/29/image_31012025_03_29_27_10389.jpg
/home/pi/Desktop/images/31012025/03/29/image_31012025_03_29_37_10388.jpg
/home/pi/Desktop/images/31012025/03/29/image_31012025_03_29_46_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":["1333186144","1333186154","1333186151","1333186159","1333186162","1333186156"],"photo_ids_order":["1333186144","1333186151","1333186154","1333186156","1333186159","1333186162"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/931dc1fe36462c7a7982f3612b99a14d.jpg","text":"TemporaryFile(/tmp/multipartBody5656359078744474547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290633535,"filename":"image_31012025_03_28_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/1/31/8e2b40928dfd9d867bd5c9edbd3bd7c7.jpg","text":"TemporaryFile(/tmp/multipartBody3108440086841541341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290633535,"filename":"image_31012025_03_29_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/1/31/5ec357a99aea2e440df44f0ddc091785.jpg","text":"TemporaryFile(/tmp/multipartBody2823830026240963935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290633535,"filename":"image_31012025_03_29_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/1/31/db54b9724aaaef225f812f12e0ac4cc9.jpg","text":"TemporaryFile(/tmp/multipartBody8857714620700140322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290633535,"filename":"image_31012025_03_29_37_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ed6b16d35fcf8b612541384e81ffb492.jpg","text":"TemporaryFile(/tmp/multipartBody7562345276003649552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290633535,"filename":"image_31012025_03_29_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/1/31/9a60885474560261cc6090071b644230.jpg","text":"TemporaryFile(/tmp/multipartBody4883117098037039985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290633535,"filename":"image_31012025_03_29_27_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333186154","file1":"1333186151","file0":"1333186144","file4":"1333186159","file5":"1333186162","file3":"1333186156"},"map_files_photo_id_array":[{"photo_id":"1333186162","filename":"file5"},{"photo_id":"1333186154","filename":"file2"},{"photo_id":"1333186159","filename":"file4"},{"photo_id":"1333186151","filename":"file1"},{"photo_id":"1333186144","filename":"file0"},{"photo_id":"1333186156","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333186144":["hashtag1","hashtag2"]},{"1333186154":["hashtag1","hashtag2"]},{"1333186151":["hashtag1","hashtag2"]},{"1333186159":["hashtag1","hashtag2"]},{"1333186162":["hashtag1","hashtag2"]},{"1333186156":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333186144, 1333186154, 1333186151, 1333186159, 1333186162, 1333186156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.753934383392334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:30:32.796686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/29/image_31012025_03_29_57_10394.jpg', '/home/pi/Desktop/images/31012025/03/29/image_31012025_03_30_06_9444.jpg', '/home/pi/Desktop/images/31012025/03/30/image_31012025_03_30_16_10346.jpg', '/home/pi/Desktop/images/31012025/03/30/image_31012025_03_30_27_10412.jpg', '/home/pi/Desktop/images/31012025/03/30/image_31012025_03_30_36_9346.jpg', '/home/pi/Desktop/images/31012025/03/30/image_31012025_03_30_47_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/29/image_31012025_03_29_57_10394.jpg
/home/pi/Desktop/images/31012025/03/29/image_31012025_03_30_06_9444.jpg
/home/pi/Desktop/images/31012025/03/30/image_31012025_03_30_16_10346.jpg
/home/pi/Desktop/images/31012025/03/30/image_31012025_03_30_27_10412.jpg
/home/pi/Desktop/images/31012025/03/30/image_31012025_03_30_36_9346.jpg
/home/pi/Desktop/images/31012025/03/30/image_31012025_03_30_47_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":["1333186194","1333186188","1333186197","1333186191","1333186203","1333186184"],"photo_ids_order":["1333186184","1333186188","1333186191","1333186194","1333186197","1333186203"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6d524fa2dcd8053c3f019b9bb9b91b52.jpg","text":"TemporaryFile(/tmp/multipartBody4676315058851189024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290693723,"filename":"image_31012025_03_30_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/1/31/aa7893c969e48b2c0585bb165540ff70.jpg","text":"TemporaryFile(/tmp/multipartBody4294330470924123244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290693723,"filename":"image_31012025_03_30_06_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a7ae2583e5622f8c426976743d401aee.jpg","text":"TemporaryFile(/tmp/multipartBody6580059765692594677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290693723,"filename":"image_31012025_03_30_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/1/31/1355de8466914cb3615e829d6e2f0069.jpg","text":"TemporaryFile(/tmp/multipartBody8714885703704395931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290693723,"filename":"image_31012025_03_30_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/1/31/62a2003b5d377676cd861dc511f0a830.jpg","text":"TemporaryFile(/tmp/multipartBody3752925856851176008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290693723,"filename":"image_31012025_03_30_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/1/31/935dbaa48522b568d49060f0ecfb7659.jpg","text":"TemporaryFile(/tmp/multipartBody4631828369239339829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290693723,"filename":"image_31012025_03_29_57_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333186191","file1":"1333186188","file0":"1333186184","file4":"1333186197","file5":"1333186203","file3":"1333186194"},"map_files_photo_id_array":[{"photo_id":"1333186203","filename":"file5"},{"photo_id":"1333186191","filename":"file2"},{"photo_id":"1333186197","filename":"file4"},{"photo_id":"1333186188","filename":"file1"},{"photo_id":"1333186184","filename":"file0"},{"photo_id":"1333186194","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333186194":["hashtag1","hashtag2"]},{"1333186188":["hashtag1","hashtag2"]},{"1333186197":["hashtag1","hashtag2"]},{"1333186191":["hashtag1","hashtag2"]},{"1333186203":["hashtag1","hashtag2"]},{"1333186184":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333186194, 1333186188, 1333186197, 1333186191, 1333186203, 1333186184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60788345336914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:31:33.115986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/30/image_31012025_03_30_57_10448.jpg', '/home/pi/Desktop/images/31012025/03/30/image_31012025_03_31_06_9344.jpg', '/home/pi/Desktop/images/31012025/03/31/image_31012025_03_31_17_10328.jpg', '/home/pi/Desktop/images/31012025/03/31/image_31012025_03_31_26_9406.jpg', '/home/pi/Desktop/images/31012025/03/31/image_31012025_03_31_36_10377.jpg', '/home/pi/Desktop/images/31012025/03/31/image_31012025_03_31_47_10383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/30/image_31012025_03_30_57_10448.jpg
/home/pi/Desktop/images/31012025/03/30/image_31012025_03_31_06_9344.jpg
/home/pi/Desktop/images/31012025/03/31/image_31012025_03_31_17_10328.jpg
/home/pi/Desktop/images/31012025/03/31/image_31012025_03_31_26_9406.jpg
/home/pi/Desktop/images/31012025/03/31/image_31012025_03_31_36_10377.jpg
/home/pi/Desktop/images/31012025/03/31/image_31012025_03_31_47_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":["1333186233","1333186241","1333186226","1333186246","1333186249","1333186228"],"photo_ids_order":["1333186226","1333186228","1333186233","1333186241","1333186246","1333186249"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/70165cb26cf548c914effed35d88674e.jpg","text":"TemporaryFile(/tmp/multipartBody7224781522666476966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290754029,"filename":"image_31012025_03_31_17_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4e971c2c2c05f1bfc66c57514bd9c7bb.jpg","text":"TemporaryFile(/tmp/multipartBody3287388842932883117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290754029,"filename":"image_31012025_03_31_26_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8d32d3b69cd320a3fc787f4d50c2a284.jpg","text":"TemporaryFile(/tmp/multipartBody7381350522342175029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290754029,"filename":"image_31012025_03_30_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/1/31/fde7e7277f396deab2f841d7a0a9a5a7.jpg","text":"TemporaryFile(/tmp/multipartBody1651974939642179580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290754029,"filename":"image_31012025_03_31_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/1/31/23e716970d1dea166d27f8b40969b634.jpg","text":"TemporaryFile(/tmp/multipartBody6429985636874685444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290754029,"filename":"image_31012025_03_31_47_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d8813c2bf881cfafb2e9a172aa615cc3.jpg","text":"TemporaryFile(/tmp/multipartBody272849887165307921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290754029,"filename":"image_31012025_03_31_06_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333186233","file1":"1333186228","file0":"1333186226","file4":"1333186246","file5":"1333186249","file3":"1333186241"},"map_files_photo_id_array":[{"photo_id":"1333186249","filename":"file5"},{"photo_id":"1333186233","filename":"file2"},{"photo_id":"1333186246","filename":"file4"},{"photo_id":"1333186228","filename":"file1"},{"photo_id":"1333186226","filename":"file0"},{"photo_id":"1333186241","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333186233":["hashtag1","hashtag2"]},{"1333186241":["hashtag1","hashtag2"]},{"1333186226":["hashtag1","hashtag2"]},{"1333186246":["hashtag1","hashtag2"]},{"1333186249":["hashtag1","hashtag2"]},{"1333186228":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333186233, 1333186241, 1333186226, 1333186246, 1333186249, 1333186228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.35008263587952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:32:32.398987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/31/image_31012025_03_31_56_9347.jpg', '/home/pi/Desktop/images/31012025/03/31/image_31012025_03_32_07_10366.jpg', '/home/pi/Desktop/images/31012025/03/32/image_31012025_03_32_16_9466.jpg', '/home/pi/Desktop/images/31012025/03/32/image_31012025_03_32_26_10434.jpg', '/home/pi/Desktop/images/31012025/03/32/image_31012025_03_32_37_10468.jpg', '/home/pi/Desktop/images/31012025/03/32/image_31012025_03_32_46_9446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/31/image_31012025_03_31_56_9347.jpg
/home/pi/Desktop/images/31012025/03/31/image_31012025_03_32_07_10366.jpg
/home/pi/Desktop/images/31012025/03/32/image_31012025_03_32_16_9466.jpg
/home/pi/Desktop/images/31012025/03/32/image_31012025_03_32_26_10434.jpg
/home/pi/Desktop/images/31012025/03/32/image_31012025_03_32_37_10468.jpg
/home/pi/Desktop/images/31012025/03/32/image_31012025_03_32_46_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":["1333186308","1333186310","1333186282","1333186301","1333186267","1333186312"],"photo_ids_order":["1333186267","1333186282","1333186301","1333186308","1333186310","1333186312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1d1174b290421e39abdaa8659d8a22d7.jpg","text":"TemporaryFile(/tmp/multipartBody829071784283850515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290813306,"filename":"image_31012025_03_32_26_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/134e7cf95dd6cd8523dff63142031176.jpg","text":"TemporaryFile(/tmp/multipartBody7749016289386345795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290813306,"filename":"image_31012025_03_32_37_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e0feae5b4bb64f8825c537f185883195.jpg","text":"TemporaryFile(/tmp/multipartBody4836514745723044915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290813306,"filename":"image_31012025_03_32_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/1/31/5c6b6cfee8615899e44be34812fe2131.jpg","text":"TemporaryFile(/tmp/multipartBody2832221526158319153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290813306,"filename":"image_31012025_03_32_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/1/31/ae30176c2c85ca485de58688dccc327d.jpg","text":"TemporaryFile(/tmp/multipartBody5417665034520324317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290813306,"filename":"image_31012025_03_31_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/1/31/0b4fc44dae648dc241a9f93be7f44ab4.jpg","text":"TemporaryFile(/tmp/multipartBody8555120520674003372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290813306,"filename":"image_31012025_03_32_46_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333186301","file1":"1333186282","file0":"1333186267","file4":"1333186310","file5":"1333186312","file3":"1333186308"},"map_files_photo_id_array":[{"photo_id":"1333186312","filename":"file5"},{"photo_id":"1333186301","filename":"file2"},{"photo_id":"1333186310","filename":"file4"},{"photo_id":"1333186282","filename":"file1"},{"photo_id":"1333186267","filename":"file0"},{"photo_id":"1333186308","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333186308":["hashtag1","hashtag2"]},{"1333186310":["hashtag1","hashtag2"]},{"1333186282":["hashtag1","hashtag2"]},{"1333186301":["hashtag1","hashtag2"]},{"1333186267":["hashtag1","hashtag2"]},{"1333186312":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333186308, 1333186310, 1333186282, 1333186301, 1333186267, 1333186312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.990920543670654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:33:32.526674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/32/image_31012025_03_32_57_10413.jpg', '/home/pi/Desktop/images/31012025/03/32/image_31012025_03_33_06_9325.jpg', '/home/pi/Desktop/images/31012025/03/33/image_31012025_03_33_16_10364.jpg', '/home/pi/Desktop/images/31012025/03/33/image_31012025_03_33_27_10377.jpg', '/home/pi/Desktop/images/31012025/03/33/image_31012025_03_33_36_9374.jpg', '/home/pi/Desktop/images/31012025/03/33/image_31012025_03_33_47_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/32/image_31012025_03_32_57_10413.jpg
/home/pi/Desktop/images/31012025/03/32/image_31012025_03_33_06_9325.jpg
/home/pi/Desktop/images/31012025/03/33/image_31012025_03_33_16_10364.jpg
/home/pi/Desktop/images/31012025/03/33/image_31012025_03_33_27_10377.jpg
/home/pi/Desktop/images/31012025/03/33/image_31012025_03_33_36_9374.jpg
/home/pi/Desktop/images/31012025/03/33/image_31012025_03_33_47_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":["1333186347","1333186332","1333186335","1333186328","1333186343","1333186337"],"photo_ids_order":["1333186328","1333186332","1333186335","1333186337","1333186343","1333186347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b59172badec9b5de6186a7dcf718abc8.jpg","text":"TemporaryFile(/tmp/multipartBody5024287326185315919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290873433,"filename":"image_31012025_03_33_47_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/03599a1d7adcf84077721c4ebd1868d6.jpg","text":"TemporaryFile(/tmp/multipartBody571246215453587835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290873433,"filename":"image_31012025_03_33_06_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1db9e2f8b8df5269df6e4dc5c5481424.jpg","text":"TemporaryFile(/tmp/multipartBody8255885406704579673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290873433,"filename":"image_31012025_03_33_16_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/efc5439f10d91f624e67d509fd5716c8.jpg","text":"TemporaryFile(/tmp/multipartBody3491034098869247998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290873433,"filename":"image_31012025_03_32_57_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/29d29fd4b493f1bd27bbe5453ed6209f.jpg","text":"TemporaryFile(/tmp/multipartBody1414658454427487654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290873433,"filename":"image_31012025_03_33_36_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b77e08de9bb60ae0395d33d1ef180b8a.jpg","text":"TemporaryFile(/tmp/multipartBody5093683844669172449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290873433,"filename":"image_31012025_03_33_27_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333186335","file1":"1333186332","file0":"1333186328","file4":"1333186343","file5":"1333186347","file3":"1333186337"},"map_files_photo_id_array":[{"photo_id":"1333186347","filename":"file5"},{"photo_id":"1333186335","filename":"file2"},{"photo_id":"1333186343","filename":"file4"},{"photo_id":"1333186332","filename":"file1"},{"photo_id":"1333186328","filename":"file0"},{"photo_id":"1333186337","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333186347":["hashtag1","hashtag2"]},{"1333186332":["hashtag1","hashtag2"]},{"1333186335":["hashtag1","hashtag2"]},{"1333186328":["hashtag1","hashtag2"]},{"1333186343":["hashtag1","hashtag2"]},{"1333186337":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333186347, 1333186332, 1333186335, 1333186328, 1333186343, 1333186337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.935306549072266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:34:32.655927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/33/image_31012025_03_33_57_10341.jpg', '/home/pi/Desktop/images/31012025/03/33/image_31012025_03_34_06_9334.jpg', '/home/pi/Desktop/images/31012025/03/34/image_31012025_03_34_17_10358.jpg', '/home/pi/Desktop/images/31012025/03/34/image_31012025_03_34_26_9407.jpg', '/home/pi/Desktop/images/31012025/03/34/image_31012025_03_34_37_10400.jpg', '/home/pi/Desktop/images/31012025/03/34/image_31012025_03_34_47_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/33/image_31012025_03_33_57_10341.jpg
/home/pi/Desktop/images/31012025/03/33/image_31012025_03_34_06_9334.jpg
/home/pi/Desktop/images/31012025/03/34/image_31012025_03_34_17_10358.jpg
/home/pi/Desktop/images/31012025/03/34/image_31012025_03_34_26_9407.jpg
/home/pi/Desktop/images/31012025/03/34/image_31012025_03_34_37_10400.jpg
/home/pi/Desktop/images/31012025/03/34/image_31012025_03_34_47_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":["1333186365","1333186382","1333186379","1333186373","1333186361","1333186369"],"photo_ids_order":["1333186361","1333186365","1333186369","1333186373","1333186379","1333186382"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/112ad86f6006549a91241b834b61de62.jpg","text":"TemporaryFile(/tmp/multipartBody1257461275965948376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290933573,"filename":"image_31012025_03_34_06_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5e28cc277c20708b5a9c48cb7fc99d1c.jpg","text":"TemporaryFile(/tmp/multipartBody1374263433691280961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290933573,"filename":"image_31012025_03_34_47_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/17ce6ebb2d8f8ac2a27bf9716c46eefd.jpg","text":"TemporaryFile(/tmp/multipartBody8491380412974547216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290933573,"filename":"image_31012025_03_34_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/1/31/dabfe6488687a0434f1bbbff0ee24ce3.jpg","text":"TemporaryFile(/tmp/multipartBody3688692375406418054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290933573,"filename":"image_31012025_03_34_26_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1889e330dc880d753063d2e6ec705c01.jpg","text":"TemporaryFile(/tmp/multipartBody6882275165570175473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290933573,"filename":"image_31012025_03_33_57_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7774051091942eb45532a09d1e272768.jpg","text":"TemporaryFile(/tmp/multipartBody1221059809709355422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290933573,"filename":"image_31012025_03_34_17_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333186369","file1":"1333186365","file0":"1333186361","file4":"1333186379","file5":"1333186382","file3":"1333186373"},"map_files_photo_id_array":[{"photo_id":"1333186382","filename":"file5"},{"photo_id":"1333186369","filename":"file2"},{"photo_id":"1333186379","filename":"file4"},{"photo_id":"1333186365","filename":"file1"},{"photo_id":"1333186361","filename":"file0"},{"photo_id":"1333186373","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333186365":["hashtag1","hashtag2"]},{"1333186382":["hashtag1","hashtag2"]},{"1333186379":["hashtag1","hashtag2"]},{"1333186373":["hashtag1","hashtag2"]},{"1333186361":["hashtag1","hashtag2"]},{"1333186369":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333186365, 1333186382, 1333186379, 1333186373, 1333186361, 1333186369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54854893684387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:35:32.849010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/34/image_31012025_03_34_56_9343.jpg', '/home/pi/Desktop/images/31012025/03/34/image_31012025_03_35_07_10463.jpg', '/home/pi/Desktop/images/31012025/03/35/image_31012025_03_35_16_9356.jpg', '/home/pi/Desktop/images/31012025/03/35/image_31012025_03_35_27_10460.jpg', '/home/pi/Desktop/images/31012025/03/35/image_31012025_03_35_37_10431.jpg', '/home/pi/Desktop/images/31012025/03/35/image_31012025_03_35_46_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/34/image_31012025_03_34_56_9343.jpg
/home/pi/Desktop/images/31012025/03/34/image_31012025_03_35_07_10463.jpg
/home/pi/Desktop/images/31012025/03/35/image_31012025_03_35_16_9356.jpg
/home/pi/Desktop/images/31012025/03/35/image_31012025_03_35_27_10460.jpg
/home/pi/Desktop/images/31012025/03/35/image_31012025_03_35_37_10431.jpg
/home/pi/Desktop/images/31012025/03/35/image_31012025_03_35_46_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":["1333186408","1333186410","1333186416","1333186409","1333186403","1333186412"],"photo_ids_order":["1333186403","1333186408","1333186409","1333186410","1333186412","1333186416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/77fdcb526961d4c23c9bdbebdbd33101.jpg","text":"TemporaryFile(/tmp/multipartBody8284151245232753578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290993766,"filename":"image_31012025_03_35_07_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4393235193d7157945deea4c1a6be629.jpg","text":"TemporaryFile(/tmp/multipartBody386531341485242470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290993766,"filename":"image_31012025_03_35_27_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8adfb02e27f146ae5cf51eebc916b1f8.jpg","text":"TemporaryFile(/tmp/multipartBody2237451016140963238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290993766,"filename":"image_31012025_03_35_46_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4be31996d668999327c9298a589efb38.jpg","text":"TemporaryFile(/tmp/multipartBody8209645492733241368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290993766,"filename":"image_31012025_03_35_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/1/31/cac15345a882ad3a435b5d3b5391336c.jpg","text":"TemporaryFile(/tmp/multipartBody8982969929083919114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290993766,"filename":"image_31012025_03_34_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/1/31/e236938abd9ff681596f05f8f6f583d4.jpg","text":"TemporaryFile(/tmp/multipartBody6013961764057400901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738290993766,"filename":"image_31012025_03_35_37_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333186409","file1":"1333186408","file0":"1333186403","file4":"1333186412","file5":"1333186416","file3":"1333186410"},"map_files_photo_id_array":[{"photo_id":"1333186416","filename":"file5"},{"photo_id":"1333186409","filename":"file2"},{"photo_id":"1333186412","filename":"file4"},{"photo_id":"1333186408","filename":"file1"},{"photo_id":"1333186403","filename":"file0"},{"photo_id":"1333186410","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333186408":["hashtag1","hashtag2"]},{"1333186410":["hashtag1","hashtag2"]},{"1333186416":["hashtag1","hashtag2"]},{"1333186409":["hashtag1","hashtag2"]},{"1333186403":["hashtag1","hashtag2"]},{"1333186412":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333186408, 1333186410, 1333186416, 1333186409, 1333186403, 1333186412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.84534025192261 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:36:33.022379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/35/image_31012025_03_35_57_10340.jpg', '/home/pi/Desktop/images/31012025/03/35/image_31012025_03_36_06_9335.jpg', '/home/pi/Desktop/images/31012025/03/36/image_31012025_03_36_16_10360.jpg', '/home/pi/Desktop/images/31012025/03/36/image_31012025_03_36_27_10424.jpg', '/home/pi/Desktop/images/31012025/03/36/image_31012025_03_36_47_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/35/image_31012025_03_35_57_10340.jpg
/home/pi/Desktop/images/31012025/03/35/image_31012025_03_36_06_9335.jpg
/home/pi/Desktop/images/31012025/03/36/image_31012025_03_36_16_10360.jpg
/home/pi/Desktop/images/31012025/03/36/image_31012025_03_36_27_10424.jpg
/home/pi/Desktop/images/31012025/03/36/image_31012025_03_36_47_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":["1333186443","1333186454","1333186433","1333186439","1333186465"],"photo_ids_order":["1333186433","1333186439","1333186443","1333186454","1333186465"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/51505a80e60f75fad7542a66cfbe8994.jpg","text":"TemporaryFile(/tmp/multipartBody4096689573753470134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291053911,"filename":"image_31012025_03_36_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/1/31/b4410d9fe8d3dc40f2ce8a27d415f90b.jpg","text":"TemporaryFile(/tmp/multipartBody8033805436104059376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291053911,"filename":"image_31012025_03_36_27_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/23a3646bf990f3ffa5533b9df30e6142.jpg","text":"TemporaryFile(/tmp/multipartBody1960596645130481180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291053911,"filename":"image_31012025_03_35_57_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0227df7ed8f1c67e8c91e73c16c24f45.jpg","text":"TemporaryFile(/tmp/multipartBody2796003381480484093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291053911,"filename":"image_31012025_03_36_06_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6122c656a162e6f151ae70c4fe5e00e6.jpg","text":"TemporaryFile(/tmp/multipartBody8567385261165889539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291053911,"filename":"image_31012025_03_36_47_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333186443","file1":"1333186439","file0":"1333186433","file4":"1333186465","file3":"1333186454"},"map_files_photo_id_array":[{"photo_id":"1333186443","filename":"file2"},{"photo_id":"1333186465","filename":"file4"},{"photo_id":"1333186439","filename":"file1"},{"photo_id":"1333186433","filename":"file0"},{"photo_id":"1333186454","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333186443":["hashtag1","hashtag2"]},{"1333186454":["hashtag1","hashtag2"]},{"1333186433":["hashtag1","hashtag2"]},{"1333186439":["hashtag1","hashtag2"]},{"1333186465":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333186443, 1333186454, 1333186433, 1333186439, 1333186465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.13541650772095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:37:32.286494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/36/image_31012025_03_36_57_10405.jpg', '/home/pi/Desktop/images/31012025/03/36/image_31012025_03_37_06_9365.jpg', '/home/pi/Desktop/images/31012025/03/37/image_31012025_03_37_17_10518.jpg', '/home/pi/Desktop/images/31012025/03/37/image_31012025_03_37_26_9347.jpg', '/home/pi/Desktop/images/31012025/03/37/image_31012025_03_37_37_10366.jpg', '/home/pi/Desktop/images/31012025/03/37/image_31012025_03_37_47_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/36/image_31012025_03_36_57_10405.jpg
/home/pi/Desktop/images/31012025/03/36/image_31012025_03_37_06_9365.jpg
/home/pi/Desktop/images/31012025/03/37/image_31012025_03_37_17_10518.jpg
/home/pi/Desktop/images/31012025/03/37/image_31012025_03_37_26_9347.jpg
/home/pi/Desktop/images/31012025/03/37/image_31012025_03_37_37_10366.jpg
/home/pi/Desktop/images/31012025/03/37/image_31012025_03_37_47_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":["1333186528","1333186524","1333186541","1333186535","1333186508","1333186517"],"photo_ids_order":["1333186508","1333186517","1333186524","1333186528","1333186535","1333186541"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/89940ba199c7d04d15d59483f2c0ad3d.jpg","text":"TemporaryFile(/tmp/multipartBody4737253765854556900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291113225,"filename":"image_31012025_03_37_26_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/405888c2c8817e2966faeaacdd954f4b.jpg","text":"TemporaryFile(/tmp/multipartBody932114833485897916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291113225,"filename":"image_31012025_03_37_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/1/31/ea61914555da8a1b83ac86b813308645.jpg","text":"TemporaryFile(/tmp/multipartBody6876756068976303638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291113225,"filename":"image_31012025_03_37_47_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/11db2646c9f372cd64b6e0fc20097247.jpg","text":"TemporaryFile(/tmp/multipartBody2559416390688910275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291113225,"filename":"image_31012025_03_37_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/1/31/3cfc4e5469f543d5c3c23b8df1ab40bc.jpg","text":"TemporaryFile(/tmp/multipartBody4988976116823208910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291113225,"filename":"image_31012025_03_36_57_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b7a2bde1848dca3d76f1d1202bf96e8d.jpg","text":"TemporaryFile(/tmp/multipartBody5340692033477604872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291113225,"filename":"image_31012025_03_37_06_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333186524","file1":"1333186517","file0":"1333186508","file4":"1333186535","file5":"1333186541","file3":"1333186528"},"map_files_photo_id_array":[{"photo_id":"1333186541","filename":"file5"},{"photo_id":"1333186524","filename":"file2"},{"photo_id":"1333186535","filename":"file4"},{"photo_id":"1333186517","filename":"file1"},{"photo_id":"1333186508","filename":"file0"},{"photo_id":"1333186528","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333186528":["hashtag1","hashtag2"]},{"1333186524":["hashtag1","hashtag2"]},{"1333186541":["hashtag1","hashtag2"]},{"1333186535":["hashtag1","hashtag2"]},{"1333186508":["hashtag1","hashtag2"]},{"1333186517":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333186528, 1333186524, 1333186541, 1333186535, 1333186508, 1333186517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.77215528488159 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:38:32.506816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/37/image_31012025_03_37_56_9362.jpg', '/home/pi/Desktop/images/31012025/03/37/image_31012025_03_38_07_10353.jpg', '/home/pi/Desktop/images/31012025/03/38/image_31012025_03_38_16_9453.jpg', '/home/pi/Desktop/images/31012025/03/38/image_31012025_03_38_26_10341.jpg', '/home/pi/Desktop/images/31012025/03/38/image_31012025_03_38_37_10496.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/37/image_31012025_03_37_56_9362.jpg
/home/pi/Desktop/images/31012025/03/37/image_31012025_03_38_07_10353.jpg
/home/pi/Desktop/images/31012025/03/38/image_31012025_03_38_16_9453.jpg
/home/pi/Desktop/images/31012025/03/38/image_31012025_03_38_26_10341.jpg
/home/pi/Desktop/images/31012025/03/38/image_31012025_03_38_37_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":["1333186627","1333186600","1333186620","1333186614","1333186583"],"photo_ids_order":["1333186583","1333186600","1333186614","1333186620","1333186627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/eae9ea4801c78795a7711bf9b7200595.jpg","text":"TemporaryFile(/tmp/multipartBody6910983610938639559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291173417,"filename":"image_31012025_03_38_37_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/525e440d2e4708d787c99acc48eec158.jpg","text":"TemporaryFile(/tmp/multipartBody8514996371575453036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291173417,"filename":"image_31012025_03_38_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/1/31/360ed4df569c08ac68ce0ea32cc08563.jpg","text":"TemporaryFile(/tmp/multipartBody3660533939828075683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291173417,"filename":"image_31012025_03_38_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/1/31/7b7843238ad45cc46ae504c6887654ab.jpg","text":"TemporaryFile(/tmp/multipartBody6982774820127066904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291173417,"filename":"image_31012025_03_38_16_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/12b55bf603d34c2f5075b7cf20707900.jpg","text":"TemporaryFile(/tmp/multipartBody7112195453047211119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291173417,"filename":"image_31012025_03_37_56_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333186614","file1":"1333186600","file0":"1333186583","file4":"1333186627","file3":"1333186620"},"map_files_photo_id_array":[{"photo_id":"1333186614","filename":"file2"},{"photo_id":"1333186627","filename":"file4"},{"photo_id":"1333186600","filename":"file1"},{"photo_id":"1333186583","filename":"file0"},{"photo_id":"1333186620","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333186627":["hashtag1","hashtag2"]},{"1333186600":["hashtag1","hashtag2"]},{"1333186620":["hashtag1","hashtag2"]},{"1333186614":["hashtag1","hashtag2"]},{"1333186583":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333186627, 1333186600, 1333186620, 1333186614, 1333186583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.116806983947754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:39:32.652403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/38/image_31012025_03_38_57_10370.jpg', '/home/pi/Desktop/images/31012025/03/38/image_31012025_03_39_07_10351.jpg', '/home/pi/Desktop/images/31012025/03/39/image_31012025_03_39_16_9326.jpg', '/home/pi/Desktop/images/31012025/03/39/image_31012025_03_39_27_10516.jpg', '/home/pi/Desktop/images/31012025/03/39/image_31012025_03_39_36_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/38/image_31012025_03_38_57_10370.jpg
/home/pi/Desktop/images/31012025/03/38/image_31012025_03_39_07_10351.jpg
/home/pi/Desktop/images/31012025/03/39/image_31012025_03_39_16_9326.jpg
/home/pi/Desktop/images/31012025/03/39/image_31012025_03_39_27_10516.jpg
/home/pi/Desktop/images/31012025/03/39/image_31012025_03_39_36_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":["1333186665","1333186662","1333186658","1333186655","1333186660"],"photo_ids_order":["1333186655","1333186658","1333186660","1333186662","1333186665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4b90100bfc0b51ff9edde9a08d4908dd.jpg","text":"TemporaryFile(/tmp/multipartBody459598771134164855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291233546,"filename":"image_31012025_03_39_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/1/31/8599997e38a918b017eb81a2604dc48e.jpg","text":"TemporaryFile(/tmp/multipartBody9058133331412615126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291233546,"filename":"image_31012025_03_39_27_10516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6e8959b3d54043fc938d3821861af8fd.jpg","text":"TemporaryFile(/tmp/multipartBody6686912297706282567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291233546,"filename":"image_31012025_03_39_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/1/31/84b725cad928a16c753049cdb7c00866.jpg","text":"TemporaryFile(/tmp/multipartBody1042158730525037661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291233546,"filename":"image_31012025_03_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/1/31/9f776b0c971178c8eedc2329d316452f.jpg","text":"TemporaryFile(/tmp/multipartBody5130331388208198377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291233546,"filename":"image_31012025_03_39_16_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333186660","file1":"1333186658","file0":"1333186655","file4":"1333186665","file3":"1333186662"},"map_files_photo_id_array":[{"photo_id":"1333186660","filename":"file2"},{"photo_id":"1333186665","filename":"file4"},{"photo_id":"1333186658","filename":"file1"},{"photo_id":"1333186655","filename":"file0"},{"photo_id":"1333186662","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333186665":["hashtag1","hashtag2"]},{"1333186662":["hashtag1","hashtag2"]},{"1333186658":["hashtag1","hashtag2"]},{"1333186655":["hashtag1","hashtag2"]},{"1333186660":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333186665, 1333186662, 1333186658, 1333186655, 1333186660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.15739464759827 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:40:33.066103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/39/image_31012025_03_39_47_10347.jpg', '/home/pi/Desktop/images/31012025/03/40/image_31012025_03_40_17_10361.jpg', '/home/pi/Desktop/images/31012025/03/40/image_31012025_03_40_27_10347.jpg', '/home/pi/Desktop/images/31012025/03/40/image_31012025_03_40_36_9367.jpg', '/home/pi/Desktop/images/31012025/03/40/image_31012025_03_40_47_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/39/image_31012025_03_39_47_10347.jpg
/home/pi/Desktop/images/31012025/03/40/image_31012025_03_40_17_10361.jpg
/home/pi/Desktop/images/31012025/03/40/image_31012025_03_40_27_10347.jpg
/home/pi/Desktop/images/31012025/03/40/image_31012025_03_40_36_9367.jpg
/home/pi/Desktop/images/31012025/03/40/image_31012025_03_40_47_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":["1333186695","1333186698","1333186704","1333186709","1333186690"],"photo_ids_order":["1333186690","1333186695","1333186698","1333186704","1333186709"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2f2565cae5aac87125d2a5f99b17cb95.jpg","text":"TemporaryFile(/tmp/multipartBody541672048240489146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291293957,"filename":"image_31012025_03_40_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/1/31/b7a03ab06e0cb0c4a7bb2135b79a49ea.jpg","text":"TemporaryFile(/tmp/multipartBody8821284376594973787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291293957,"filename":"image_31012025_03_40_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/1/31/5ad93a73ed54a5fc73fb8a0823e9feb0.jpg","text":"TemporaryFile(/tmp/multipartBody6475495722741315902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291293957,"filename":"image_31012025_03_40_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/1/31/6d2df5f854434e4a002ed3835424ba8c.jpg","text":"TemporaryFile(/tmp/multipartBody1335995476165116173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291293957,"filename":"image_31012025_03_40_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/1/31/99b1c6f10ef4b018c117b7242177ed43.jpg","text":"TemporaryFile(/tmp/multipartBody943250112053298934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291293957,"filename":"image_31012025_03_39_47_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333186698","file1":"1333186695","file0":"1333186690","file4":"1333186709","file3":"1333186704"},"map_files_photo_id_array":[{"photo_id":"1333186698","filename":"file2"},{"photo_id":"1333186709","filename":"file4"},{"photo_id":"1333186695","filename":"file1"},{"photo_id":"1333186690","filename":"file0"},{"photo_id":"1333186704","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333186695":["hashtag1","hashtag2"]},{"1333186698":["hashtag1","hashtag2"]},{"1333186704":["hashtag1","hashtag2"]},{"1333186709":["hashtag1","hashtag2"]},{"1333186690":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333186695, 1333186698, 1333186704, 1333186709, 1333186690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.289050340652466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:41:32.311125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/40/image_31012025_03_40_56_9349.jpg', '/home/pi/Desktop/images/31012025/03/40/image_31012025_03_41_06_10364.jpg', '/home/pi/Desktop/images/31012025/03/41/image_31012025_03_41_17_10415.jpg', '/home/pi/Desktop/images/31012025/03/41/image_31012025_03_41_37_10347.jpg', '/home/pi/Desktop/images/31012025/03/41/image_31012025_03_41_47_10423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/40/image_31012025_03_40_56_9349.jpg
/home/pi/Desktop/images/31012025/03/40/image_31012025_03_41_06_10364.jpg
/home/pi/Desktop/images/31012025/03/41/image_31012025_03_41_17_10415.jpg
/home/pi/Desktop/images/31012025/03/41/image_31012025_03_41_37_10347.jpg
/home/pi/Desktop/images/31012025/03/41/image_31012025_03_41_47_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":["1333186767","1333186755","1333186763","1333186727","1333186735"],"photo_ids_order":["1333186727","1333186735","1333186755","1333186763","1333186767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9e412032d4b2eb7e9a9218bfbf7e0a16.jpg","text":"TemporaryFile(/tmp/multipartBody1827894604972870866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291353201,"filename":"image_31012025_03_41_47_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/829a2f29182755b1da776606794b1475.jpg","text":"TemporaryFile(/tmp/multipartBody1684724072388161189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291353201,"filename":"image_31012025_03_41_17_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/54458cba775110d525f21bdbb2f556e2.jpg","text":"TemporaryFile(/tmp/multipartBody7206360468843729190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291353201,"filename":"image_31012025_03_41_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/1/31/69d971ad2ad01c452599a67b98b4f28d.jpg","text":"TemporaryFile(/tmp/multipartBody2530078761259849891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291353201,"filename":"image_31012025_03_40_56_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/01510e6418da81da51b6502384744bf0.jpg","text":"TemporaryFile(/tmp/multipartBody6961897832526300292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291353201,"filename":"image_31012025_03_41_06_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333186755","file1":"1333186735","file0":"1333186727","file4":"1333186767","file3":"1333186763"},"map_files_photo_id_array":[{"photo_id":"1333186755","filename":"file2"},{"photo_id":"1333186767","filename":"file4"},{"photo_id":"1333186735","filename":"file1"},{"photo_id":"1333186727","filename":"file0"},{"photo_id":"1333186763","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333186767":["hashtag1","hashtag2"]},{"1333186755":["hashtag1","hashtag2"]},{"1333186763":["hashtag1","hashtag2"]},{"1333186727":["hashtag1","hashtag2"]},{"1333186735":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333186767, 1333186755, 1333186763, 1333186727, 1333186735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 44.614344120025635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:42:32.517145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/41/image_31012025_03_41_56_9343.jpg', '/home/pi/Desktop/images/31012025/03/41/image_31012025_03_42_07_10370.jpg', '/home/pi/Desktop/images/31012025/03/42/image_31012025_03_42_26_10336.jpg', '/home/pi/Desktop/images/31012025/03/42/image_31012025_03_42_37_10399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/41/image_31012025_03_41_56_9343.jpg
/home/pi/Desktop/images/31012025/03/41/image_31012025_03_42_07_10370.jpg
/home/pi/Desktop/images/31012025/03/42/image_31012025_03_42_26_10336.jpg
/home/pi/Desktop/images/31012025/03/42/image_31012025_03_42_37_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":["1333186788","1333186799","1333186792","1333186795"],"photo_ids_order":["1333186788","1333186792","1333186795","1333186799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1df84923699109c23c853efb905877a0.jpg","text":"TemporaryFile(/tmp/multipartBody54264488932429918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291413399,"filename":"image_31012025_03_41_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/1/31/340d13929a8058232bd39bb1e2b0f7ed.jpg","text":"TemporaryFile(/tmp/multipartBody2698506161466796260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291413399,"filename":"image_31012025_03_42_37_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/014bab70a4fabbbbc042745504c85c38.jpg","text":"TemporaryFile(/tmp/multipartBody3383186228308901475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291413399,"filename":"image_31012025_03_42_07_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2fdabcef1a5629b93df3728923c21699.jpg","text":"TemporaryFile(/tmp/multipartBody4474970027720010004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291413399,"filename":"image_31012025_03_42_26_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333186795","file1":"1333186792","file0":"1333186788","file3":"1333186799"},"map_files_photo_id_array":[{"photo_id":"1333186795","filename":"file2"},{"photo_id":"1333186792","filename":"file1"},{"photo_id":"1333186788","filename":"file0"},{"photo_id":"1333186799","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333186788":["hashtag1","hashtag2"]},{"1333186799":["hashtag1","hashtag2"]},{"1333186792":["hashtag1","hashtag2"]},{"1333186795":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333186788, 1333186799, 1333186792, 1333186795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.650020122528076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 03:43:04.306013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/08/image_28012025_22_08_45_10356.jpg', '/home/pi/Desktop/images/28012025/22/08/image_28012025_22_08_54_9349.jpg', '/home/pi/Desktop/images/28012025/22/08/image_28012025_22_09_05_10371.jpg', '/home/pi/Desktop/images/28012025/22/09/image_28012025_22_09_14_9418.jpg', '/home/pi/Desktop/images/28012025/22/09/image_28012025_22_09_24_10347.jpg', '/home/pi/Desktop/images/28012025/22/09/image_28012025_22_09_35_10395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/08/image_28012025_22_08_45_10356.jpg
/home/pi/Desktop/images/28012025/22/08/image_28012025_22_08_54_9349.jpg
/home/pi/Desktop/images/28012025/22/08/image_28012025_22_09_05_10371.jpg
/home/pi/Desktop/images/28012025/22/09/image_28012025_22_09_14_9418.jpg
/home/pi/Desktop/images/28012025/22/09/image_28012025_22_09_24_10347.jpg
/home/pi/Desktop/images/28012025/22/09/image_28012025_22_09_35_10395.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":["1333186807","1333186812","1333186832","1333186820","1333186828","1333186816"],"photo_ids_order":["1333186807","1333186812","1333186816","1333186820","1333186828","1333186832"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d4af19be3e1ec2ba1e3fbb40e673b1e2.jpg","text":"TemporaryFile(/tmp/multipartBody3708259525465956265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291446161,"filename":"image_28012025_22_08_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/1/31/dc64fc6b394ed5dbdcc5afd10a2ef489.jpg","text":"TemporaryFile(/tmp/multipartBody2350076315366478922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291446161,"filename":"image_28012025_22_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/1/31/6b5e8aa50f16edfe8ba1b0b397a475f3.jpg","text":"TemporaryFile(/tmp/multipartBody883956298792813037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291446161,"filename":"image_28012025_22_09_35_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b18e0a8be03886c60ec1317bcb7a0daf.jpg","text":"TemporaryFile(/tmp/multipartBody8389118300550889740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291446161,"filename":"image_28012025_22_09_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/1/31/7912b7b92392e9f47a5deb23b3f5e5b5.jpg","text":"TemporaryFile(/tmp/multipartBody6049141899641707259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291446161,"filename":"image_28012025_22_09_24_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0faffb30fc9307ed0367108146b14d81.jpg","text":"TemporaryFile(/tmp/multipartBody1874718471003926212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291446161,"filename":"image_28012025_22_09_05_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333186816","file1":"1333186812","file0":"1333186807","file4":"1333186828","file5":"1333186832","file3":"1333186820"},"map_files_photo_id_array":[{"photo_id":"1333186832","filename":"file5"},{"photo_id":"1333186816","filename":"file2"},{"photo_id":"1333186828","filename":"file4"},{"photo_id":"1333186812","filename":"file1"},{"photo_id":"1333186807","filename":"file0"},{"photo_id":"1333186820","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333186807":["hashtag1","hashtag2"]},{"1333186812":["hashtag1","hashtag2"]},{"1333186832":["hashtag1","hashtag2"]},{"1333186820":["hashtag1","hashtag2"]},{"1333186828":["hashtag1","hashtag2"]},{"1333186816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333186807, 1333186812, 1333186832, 1333186820, 1333186828, 1333186816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.4764940738678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:43:52.690218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/42/image_31012025_03_42_57_10344.jpg', '/home/pi/Desktop/images/31012025/03/42/image_31012025_03_43_06_9414.jpg', '/home/pi/Desktop/images/31012025/03/43/image_31012025_03_43_16_10366.jpg', '/home/pi/Desktop/images/31012025/03/43/image_31012025_03_43_27_10476.jpg', '/home/pi/Desktop/images/31012025/03/43/image_31012025_03_43_47_10513.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/42/image_31012025_03_42_57_10344.jpg
/home/pi/Desktop/images/31012025/03/42/image_31012025_03_43_06_9414.jpg
/home/pi/Desktop/images/31012025/03/43/image_31012025_03_43_16_10366.jpg
/home/pi/Desktop/images/31012025/03/43/image_31012025_03_43_27_10476.jpg
/home/pi/Desktop/images/31012025/03/43/image_31012025_03_43_47_10513.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333186845","1333186860","1333186842","1333186855","1333186849"],"photo_ids_order":["1333186842","1333186845","1333186849","1333186855","1333186860"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/117832a1d9433689d0e308ca5ab01f0f.jpg","text":"TemporaryFile(/tmp/multipartBody4623265929967085065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291493589,"filename":"image_31012025_03_43_06_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4057b6b123b1fc1584de3fb3a05f275b.jpg","text":"TemporaryFile(/tmp/multipartBody5188110430726701642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291493589,"filename":"image_31012025_03_43_47_10513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0bd00af2fa3ddea34d2af94b7d2aac17.jpg","text":"TemporaryFile(/tmp/multipartBody3015112952943047541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291493589,"filename":"image_31012025_03_42_57_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c163bb4142652cafb35b05431f4d1116.jpg","text":"TemporaryFile(/tmp/multipartBody5037075388241595397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291493589,"filename":"image_31012025_03_43_27_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1a7ef64974709827b316a7820c4f5ee8.jpg","text":"TemporaryFile(/tmp/multipartBody6413812752666390983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291493589,"filename":"image_31012025_03_43_16_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333186849","file1":"1333186845","file0":"1333186842","file4":"1333186860","file3":"1333186855"},"map_files_photo_id_array":[{"photo_id":"1333186849","filename":"file2"},{"photo_id":"1333186860","filename":"file4"},{"photo_id":"1333186845","filename":"file1"},{"photo_id":"1333186842","filename":"file0"},{"photo_id":"1333186855","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333186845":["hashtag1","hashtag2"]},{"1333186860":["hashtag1","hashtag2"]},{"1333186842":["hashtag1","hashtag2"]},{"1333186855":["hashtag1","hashtag2"]},{"1333186849":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333186845, 1333186860, 1333186842, 1333186855, 1333186849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.94562125205994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:44:32.901748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/43/image_31012025_03_43_56_9445.jpg', '/home/pi/Desktop/images/31012025/03/43/image_31012025_03_44_07_10343.jpg', '/home/pi/Desktop/images/31012025/03/44/image_31012025_03_44_17_10419.jpg', '/home/pi/Desktop/images/31012025/03/44/image_31012025_03_44_37_10356.jpg', '/home/pi/Desktop/images/31012025/03/44/image_31012025_03_44_46_9399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/43/image_31012025_03_43_56_9445.jpg
/home/pi/Desktop/images/31012025/03/43/image_31012025_03_44_07_10343.jpg
/home/pi/Desktop/images/31012025/03/44/image_31012025_03_44_17_10419.jpg
/home/pi/Desktop/images/31012025/03/44/image_31012025_03_44_37_10356.jpg
/home/pi/Desktop/images/31012025/03/44/image_31012025_03_44_46_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":["1333186905","1333186895","1333186916","1333186910","1333186907"],"photo_ids_order":["1333186895","1333186905","1333186907","1333186910","1333186916"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3bdb1f15f00ec1629e42b40abf4c360d.jpg","text":"TemporaryFile(/tmp/multipartBody3926560403221565623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291533792,"filename":"image_31012025_03_44_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/1/31/c33a315612ed7e71becc89c4eab4435f.jpg","text":"TemporaryFile(/tmp/multipartBody9192377967455378758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291533792,"filename":"image_31012025_03_43_56_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2dffebc5ac57df724f1544136cd5b065.jpg","text":"TemporaryFile(/tmp/multipartBody7659418282230898689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291533792,"filename":"image_31012025_03_44_46_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5919e1c7587732fa1f5ea47f92266991.jpg","text":"TemporaryFile(/tmp/multipartBody5161074308276457719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291533792,"filename":"image_31012025_03_44_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/1/31/3e093da71ebcf3f21885e070a3b08401.jpg","text":"TemporaryFile(/tmp/multipartBody456050074915661451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291533792,"filename":"image_31012025_03_44_17_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333186907","file1":"1333186905","file0":"1333186895","file4":"1333186916","file3":"1333186910"},"map_files_photo_id_array":[{"photo_id":"1333186907","filename":"file2"},{"photo_id":"1333186916","filename":"file4"},{"photo_id":"1333186905","filename":"file1"},{"photo_id":"1333186895","filename":"file0"},{"photo_id":"1333186910","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333186905":["hashtag1","hashtag2"]},{"1333186895":["hashtag1","hashtag2"]},{"1333186916":["hashtag1","hashtag2"]},{"1333186910":["hashtag1","hashtag2"]},{"1333186907":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333186905, 1333186895, 1333186916, 1333186910, 1333186907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.99586009979248 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:45:33.155091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/44/image_31012025_03_44_56_10346.jpg', '/home/pi/Desktop/images/31012025/03/44/image_31012025_03_45_07_10413.jpg', '/home/pi/Desktop/images/31012025/03/45/image_31012025_03_45_16_9348.jpg', '/home/pi/Desktop/images/31012025/03/45/image_31012025_03_45_27_10405.jpg', '/home/pi/Desktop/images/31012025/03/45/image_31012025_03_45_37_10390.jpg', '/home/pi/Desktop/images/31012025/03/45/image_31012025_03_45_46_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/44/image_31012025_03_44_56_10346.jpg
/home/pi/Desktop/images/31012025/03/44/image_31012025_03_45_07_10413.jpg
/home/pi/Desktop/images/31012025/03/45/image_31012025_03_45_16_9348.jpg
/home/pi/Desktop/images/31012025/03/45/image_31012025_03_45_27_10405.jpg
/home/pi/Desktop/images/31012025/03/45/image_31012025_03_45_37_10390.jpg
/home/pi/Desktop/images/31012025/03/45/image_31012025_03_45_46_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":["1333186939","1333186977","1333186970","1333186973","1333186967","1333186987"],"photo_ids_order":["1333186939","1333186967","1333186970","1333186973","1333186977","1333186987"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a06e0dd64f14a4476896321bb0a22500.jpg","text":"TemporaryFile(/tmp/multipartBody3529530487934604701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291594072,"filename":"image_31012025_03_44_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/1/31/db513cae10764bacba4ff4bad391434c.jpg","text":"TemporaryFile(/tmp/multipartBody5326023284192316901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291594072,"filename":"image_31012025_03_45_37_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3740df70b7306c177b3217bdc8b5badf.jpg","text":"TemporaryFile(/tmp/multipartBody5919037600496915063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291594072,"filename":"image_31012025_03_45_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/1/31/50bb2605abc0dfb627a3c7fdf27144e1.jpg","text":"TemporaryFile(/tmp/multipartBody6543486603494353610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291594072,"filename":"image_31012025_03_45_27_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/41da8808045a367da4d05510b5f20477.jpg","text":"TemporaryFile(/tmp/multipartBody8512972865250598626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291594072,"filename":"image_31012025_03_45_07_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8a762e5141f2a149061fd132e13640e4.jpg","text":"TemporaryFile(/tmp/multipartBody7893837639105534549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291594072,"filename":"image_31012025_03_45_46_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333186970","file1":"1333186967","file0":"1333186939","file4":"1333186977","file5":"1333186987","file3":"1333186973"},"map_files_photo_id_array":[{"photo_id":"1333186987","filename":"file5"},{"photo_id":"1333186970","filename":"file2"},{"photo_id":"1333186977","filename":"file4"},{"photo_id":"1333186967","filename":"file1"},{"photo_id":"1333186939","filename":"file0"},{"photo_id":"1333186973","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333186939":["hashtag1","hashtag2"]},{"1333186977":["hashtag1","hashtag2"]},{"1333186970":["hashtag1","hashtag2"]},{"1333186973":["hashtag1","hashtag2"]},{"1333186967":["hashtag1","hashtag2"]},{"1333186987":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333186939, 1333186977, 1333186970, 1333186973, 1333186967, 1333186987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84416389465332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:46:32.415447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/45/image_31012025_03_45_57_10452.jpg', '/home/pi/Desktop/images/31012025/03/45/image_31012025_03_46_06_9350.jpg', '/home/pi/Desktop/images/31012025/03/46/image_31012025_03_46_16_10330.jpg', '/home/pi/Desktop/images/31012025/03/46/image_31012025_03_46_27_10407.jpg', '/home/pi/Desktop/images/31012025/03/46/image_31012025_03_46_47_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/45/image_31012025_03_45_57_10452.jpg
/home/pi/Desktop/images/31012025/03/45/image_31012025_03_46_06_9350.jpg
/home/pi/Desktop/images/31012025/03/46/image_31012025_03_46_16_10330.jpg
/home/pi/Desktop/images/31012025/03/46/image_31012025_03_46_27_10407.jpg
/home/pi/Desktop/images/31012025/03/46/image_31012025_03_46_47_10347.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5050852298736572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 03:46:42.268131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/45/image_31012025_03_45_57_10452.jpg', '/home/pi/Desktop/images/31012025/03/45/image_31012025_03_46_06_9350.jpg', '/home/pi/Desktop/images/31012025/03/46/image_31012025_03_46_16_10330.jpg', '/home/pi/Desktop/images/31012025/03/46/image_31012025_03_46_27_10407.jpg', '/home/pi/Desktop/images/31012025/03/46/image_31012025_03_46_47_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/45/image_31012025_03_45_57_10452.jpg
/home/pi/Desktop/images/31012025/03/45/image_31012025_03_46_06_9350.jpg
/home/pi/Desktop/images/31012025/03/46/image_31012025_03_46_16_10330.jpg
/home/pi/Desktop/images/31012025/03/46/image_31012025_03_46_27_10407.jpg
/home/pi/Desktop/images/31012025/03/46/image_31012025_03_46_47_10347.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":["1333187019","1333187013","1333187095","1333187269","1333187092"],"photo_ids_order":["1333187013","1333187019","1333187092","1333187095","1333187269"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ce7b3efa36ee6aaa84d31272317004aa.jpg","text":"TemporaryFile(/tmp/multipartBody1201578280741518884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291663172,"filename":"image_31012025_03_46_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/1/31/6f24b6f78dec1290700e6cf3e61ac0d7.jpg","text":"TemporaryFile(/tmp/multipartBody2391815861871681952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291663172,"filename":"image_31012025_03_45_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/1/31/ccccdb443f1761c0c8f0c88078b6f2cf.jpg","text":"TemporaryFile(/tmp/multipartBody3450248209510065093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291663172,"filename":"image_31012025_03_46_27_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d511a54e184d408128a4c66a170ceb2e.jpg","text":"TemporaryFile(/tmp/multipartBody6935218645998664360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291663172,"filename":"image_31012025_03_46_47_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ddb2b00c739e343b4e27a62b2e506a84.jpg","text":"TemporaryFile(/tmp/multipartBody4865290360900203076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291663172,"filename":"image_31012025_03_46_16_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333187092","file1":"1333187019","file0":"1333187013","file4":"1333187269","file3":"1333187095"},"map_files_photo_id_array":[{"photo_id":"1333187092","filename":"file2"},{"photo_id":"1333187269","filename":"file4"},{"photo_id":"1333187019","filename":"file1"},{"photo_id":"1333187013","filename":"file0"},{"photo_id":"1333187095","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333187019":["hashtag1","hashtag2"]},{"1333187013":["hashtag1","hashtag2"]},{"1333187095":["hashtag1","hashtag2"]},{"1333187269":["hashtag1","hashtag2"]},{"1333187092":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333187019, 1333187013, 1333187095, 1333187269, 1333187092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.74517226219177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:47:32.556689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/46/image_31012025_03_46_57_10358.jpg', '/home/pi/Desktop/images/31012025/03/46/image_31012025_03_47_06_9420.jpg', '/home/pi/Desktop/images/31012025/03/47/image_31012025_03_47_17_10422.jpg', '/home/pi/Desktop/images/31012025/03/47/image_31012025_03_47_26_9356.jpg', '/home/pi/Desktop/images/31012025/03/47/image_31012025_03_47_36_10362.jpg', '/home/pi/Desktop/images/31012025/03/47/image_31012025_03_47_47_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/46/image_31012025_03_46_57_10358.jpg
/home/pi/Desktop/images/31012025/03/46/image_31012025_03_47_06_9420.jpg
/home/pi/Desktop/images/31012025/03/47/image_31012025_03_47_17_10422.jpg
/home/pi/Desktop/images/31012025/03/47/image_31012025_03_47_26_9356.jpg
/home/pi/Desktop/images/31012025/03/47/image_31012025_03_47_36_10362.jpg
/home/pi/Desktop/images/31012025/03/47/image_31012025_03_47_47_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":["1333187415","1333187471","1333187465","1333187468","1333187458","1333187463"],"photo_ids_order":["1333187415","1333187458","1333187463","1333187465","1333187468","1333187471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e9b609eb113fb9e702073b873309ea2c.jpg","text":"TemporaryFile(/tmp/multipartBody2818628376998396868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291713454,"filename":"image_31012025_03_46_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/1/31/f30ff61b330dbc93b14dc8495fec4d76.jpg","text":"TemporaryFile(/tmp/multipartBody2441396569718404508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291713454,"filename":"image_31012025_03_47_47_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1c000e1446801fb15e47c5e857f676fa.jpg","text":"TemporaryFile(/tmp/multipartBody6595017389528305526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291713454,"filename":"image_31012025_03_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/1/31/a68a5a3742631d471cb0775f7d521683.jpg","text":"TemporaryFile(/tmp/multipartBody3547833298555512480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291713454,"filename":"image_31012025_03_47_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/1/31/1c89c9bb6681dee1b3bed75dd6ee7d8e.jpg","text":"TemporaryFile(/tmp/multipartBody6794737535871575548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291713454,"filename":"image_31012025_03_47_06_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7dcba7d38971368cd3f151acf7388bbd.jpg","text":"TemporaryFile(/tmp/multipartBody4828774687191071290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291713454,"filename":"image_31012025_03_47_17_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333187463","file1":"1333187458","file0":"1333187415","file4":"1333187468","file5":"1333187471","file3":"1333187465"},"map_files_photo_id_array":[{"photo_id":"1333187471","filename":"file5"},{"photo_id":"1333187463","filename":"file2"},{"photo_id":"1333187468","filename":"file4"},{"photo_id":"1333187458","filename":"file1"},{"photo_id":"1333187415","filename":"file0"},{"photo_id":"1333187465","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333187415":["hashtag1","hashtag2"]},{"1333187471":["hashtag1","hashtag2"]},{"1333187465":["hashtag1","hashtag2"]},{"1333187468":["hashtag1","hashtag2"]},{"1333187458":["hashtag1","hashtag2"]},{"1333187463":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333187415, 1333187471, 1333187465, 1333187468, 1333187458, 1333187463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.668360471725464 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:48:32.736651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/47/image_31012025_03_47_56_9343.jpg', '/home/pi/Desktop/images/31012025/03/47/image_31012025_03_48_07_10506.jpg', '/home/pi/Desktop/images/31012025/03/48/image_31012025_03_48_16_9342.jpg', '/home/pi/Desktop/images/31012025/03/48/image_31012025_03_48_27_10389.jpg', '/home/pi/Desktop/images/31012025/03/48/image_31012025_03_48_37_10362.jpg', '/home/pi/Desktop/images/31012025/03/48/image_31012025_03_48_46_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/47/image_31012025_03_47_56_9343.jpg
/home/pi/Desktop/images/31012025/03/47/image_31012025_03_48_07_10506.jpg
/home/pi/Desktop/images/31012025/03/48/image_31012025_03_48_16_9342.jpg
/home/pi/Desktop/images/31012025/03/48/image_31012025_03_48_27_10389.jpg
/home/pi/Desktop/images/31012025/03/48/image_31012025_03_48_37_10362.jpg
/home/pi/Desktop/images/31012025/03/48/image_31012025_03_48_46_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":["1333187751","1333187700","1333187690","1333187747","1333187755","1333187676"],"photo_ids_order":["1333187676","1333187690","1333187700","1333187747","1333187751","1333187755"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a6390d59301e0f2de62dda98029def90.jpg","text":"TemporaryFile(/tmp/multipartBody7287774998779907737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291773646,"filename":"image_31012025_03_48_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/1/31/7a51380127ec70a2a27f30d47d55171c.jpg","text":"TemporaryFile(/tmp/multipartBody5960158854779054254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291773646,"filename":"image_31012025_03_48_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/1/31/576397eb5bd3f2cc853f917bb1e721b8.jpg","text":"TemporaryFile(/tmp/multipartBody9035425698845452973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291773646,"filename":"image_31012025_03_48_07_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/32e6e2bdc33b15ca873fc93b74526871.jpg","text":"TemporaryFile(/tmp/multipartBody4035733882787250890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291773646,"filename":"image_31012025_03_48_27_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aa5ce3c9917016a32c9d6cfef01c268a.jpg","text":"TemporaryFile(/tmp/multipartBody1270900749738363139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291773646,"filename":"image_31012025_03_48_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/1/31/b706ce7e4982718bb3f49928db4e2289.jpg","text":"TemporaryFile(/tmp/multipartBody1152515788688665904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291773646,"filename":"image_31012025_03_47_56_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333187700","file1":"1333187690","file0":"1333187676","file4":"1333187751","file5":"1333187755","file3":"1333187747"},"map_files_photo_id_array":[{"photo_id":"1333187755","filename":"file5"},{"photo_id":"1333187700","filename":"file2"},{"photo_id":"1333187751","filename":"file4"},{"photo_id":"1333187690","filename":"file1"},{"photo_id":"1333187676","filename":"file0"},{"photo_id":"1333187747","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333187751":["hashtag1","hashtag2"]},{"1333187700":["hashtag1","hashtag2"]},{"1333187690":["hashtag1","hashtag2"]},{"1333187747":["hashtag1","hashtag2"]},{"1333187755":["hashtag1","hashtag2"]},{"1333187676":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333187751, 1333187700, 1333187690, 1333187747, 1333187755, 1333187676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.79056429862976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:49:32.867430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/48/image_31012025_03_48_57_10420.jpg', '/home/pi/Desktop/images/31012025/03/48/image_31012025_03_49_06_9441.jpg', '/home/pi/Desktop/images/31012025/03/49/image_31012025_03_49_16_10326.jpg', '/home/pi/Desktop/images/31012025/03/49/image_31012025_03_49_27_10414.jpg', '/home/pi/Desktop/images/31012025/03/49/image_31012025_03_49_36_9405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/48/image_31012025_03_48_57_10420.jpg
/home/pi/Desktop/images/31012025/03/48/image_31012025_03_49_06_9441.jpg
/home/pi/Desktop/images/31012025/03/49/image_31012025_03_49_16_10326.jpg
/home/pi/Desktop/images/31012025/03/49/image_31012025_03_49_27_10414.jpg
/home/pi/Desktop/images/31012025/03/49/image_31012025_03_49_36_9405.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":["1333187850","1333187846","1333187851","1333187848","1333187809"],"photo_ids_order":["1333187809","1333187846","1333187848","1333187850","1333187851"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/29cfba601327b9e1ef1ea138a1cfdb1c.jpg","text":"TemporaryFile(/tmp/multipartBody6385780693790816636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291833769,"filename":"image_31012025_03_49_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/1/31/8e09d8754d85da1d950ead9c50fab26d.jpg","text":"TemporaryFile(/tmp/multipartBody4253884361511077902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291833769,"filename":"image_31012025_03_49_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/1/31/866420838efc9cbed76b0e6b78e4e584.jpg","text":"TemporaryFile(/tmp/multipartBody6148269213739199285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291833769,"filename":"image_31012025_03_49_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/1/31/c1e1b64e9ffef9ae83a1d7a89e228a10.jpg","text":"TemporaryFile(/tmp/multipartBody3982014059546614026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291833769,"filename":"image_31012025_03_49_16_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/473090ded0f8f825155e908d73de4a22.jpg","text":"TemporaryFile(/tmp/multipartBody6026212818446407407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291833769,"filename":"image_31012025_03_48_57_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333187848","file1":"1333187846","file0":"1333187809","file4":"1333187851","file3":"1333187850"},"map_files_photo_id_array":[{"photo_id":"1333187848","filename":"file2"},{"photo_id":"1333187851","filename":"file4"},{"photo_id":"1333187846","filename":"file1"},{"photo_id":"1333187809","filename":"file0"},{"photo_id":"1333187850","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333187850":["hashtag1","hashtag2"]},{"1333187846":["hashtag1","hashtag2"]},{"1333187851":["hashtag1","hashtag2"]},{"1333187848":["hashtag1","hashtag2"]},{"1333187809":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333187850, 1333187846, 1333187851, 1333187848, 1333187809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 68.05062961578369 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 03:50:42.343510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/49/image_31012025_03_49_56_9410.jpg', '/home/pi/Desktop/images/31012025/03/49/image_31012025_03_50_06_10424.jpg', '/home/pi/Desktop/images/31012025/03/50/image_31012025_03_50_47_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/49/image_31012025_03_49_56_9410.jpg
/home/pi/Desktop/images/31012025/03/49/image_31012025_03_50_06_10424.jpg
/home/pi/Desktop/images/31012025/03/50/image_31012025_03_50_47_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47493433952331543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:50:52.355827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/49/image_31012025_03_49_56_9410.jpg', '/home/pi/Desktop/images/31012025/03/49/image_31012025_03_50_06_10424.jpg', '/home/pi/Desktop/images/31012025/03/50/image_31012025_03_50_47_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/49/image_31012025_03_49_56_9410.jpg
/home/pi/Desktop/images/31012025/03/49/image_31012025_03_50_06_10424.jpg
/home/pi/Desktop/images/31012025/03/50/image_31012025_03_50_47_10376.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333188461","1333188365","1333188432"],"photo_ids_order":["1333188365","1333188432","1333188461"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0cc8c2dfb98801f1d9943bae18af75db.jpg","text":"TemporaryFile(/tmp/multipartBody3165359608278398700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291913234,"filename":"image_31012025_03_50_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/1/31/5f2ed1e11c2360c006d893ae08720bbd.jpg","text":"TemporaryFile(/tmp/multipartBody538100159934157027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291913234,"filename":"image_31012025_03_49_56_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/22d4f8910892725b5adb6071fdd171ac.jpg","text":"TemporaryFile(/tmp/multipartBody6063901440575889599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291913234,"filename":"image_31012025_03_50_06_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333188461","file1":"1333188432","file0":"1333188365"},"map_files_photo_id_array":[{"photo_id":"1333188461","filename":"file2"},{"photo_id":"1333188432","filename":"file1"},{"photo_id":"1333188365","filename":"file0"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333188461":["hashtag1","hashtag2"]},{"1333188365":["hashtag1","hashtag2"]},{"1333188432":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333188461, 1333188365, 1333188432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 28.657066822052002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:51:32.562053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/50/image_31012025_03_50_56_9335.jpg', '/home/pi/Desktop/images/31012025/03/50/image_31012025_03_51_07_10457.jpg', '/home/pi/Desktop/images/31012025/03/51/image_31012025_03_51_36_9350.jpg', '/home/pi/Desktop/images/31012025/03/51/image_31012025_03_51_47_10467.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/50/image_31012025_03_50_56_9335.jpg
/home/pi/Desktop/images/31012025/03/50/image_31012025_03_51_07_10457.jpg
/home/pi/Desktop/images/31012025/03/51/image_31012025_03_51_36_9350.jpg
/home/pi/Desktop/images/31012025/03/51/image_31012025_03_51_47_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":["1333188689","1333188698","1333188674","1333188614"],"photo_ids_order":["1333188614","1333188674","1333188689","1333188698"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0d6cd7e82123ec3cb88df22f0bd9c786.jpg","text":"TemporaryFile(/tmp/multipartBody2181651805547511695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291953452,"filename":"image_31012025_03_51_36_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3bf40a5d658309f1bd547950ead8962f.jpg","text":"TemporaryFile(/tmp/multipartBody4588551098097824506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291953452,"filename":"image_31012025_03_51_47_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aa5f34bc70be6def7705fa8e634039b1.jpg","text":"TemporaryFile(/tmp/multipartBody4865002822656125710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291953452,"filename":"image_31012025_03_51_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/1/31/656588997e7b43b924fdcc7c06d1720a.jpg","text":"TemporaryFile(/tmp/multipartBody7856141624808844096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738291953452,"filename":"image_31012025_03_50_56_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333188689","file1":"1333188674","file0":"1333188614","file3":"1333188698"},"map_files_photo_id_array":[{"photo_id":"1333188689","filename":"file2"},{"photo_id":"1333188674","filename":"file1"},{"photo_id":"1333188614","filename":"file0"},{"photo_id":"1333188698","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333188689":["hashtag1","hashtag2"]},{"1333188698":["hashtag1","hashtag2"]},{"1333188674":["hashtag1","hashtag2"]},{"1333188614":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333188689, 1333188698, 1333188674, 1333188614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.732075691223145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:52:32.700597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/51/image_31012025_03_51_57_10372.jpg', '/home/pi/Desktop/images/31012025/03/51/image_31012025_03_52_06_9427.jpg', '/home/pi/Desktop/images/31012025/03/52/image_31012025_03_52_17_10395.jpg', '/home/pi/Desktop/images/31012025/03/52/image_31012025_03_52_26_9340.jpg', '/home/pi/Desktop/images/31012025/03/52/image_31012025_03_52_37_10380.jpg', '/home/pi/Desktop/images/31012025/03/52/image_31012025_03_52_47_10444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/51/image_31012025_03_51_57_10372.jpg
/home/pi/Desktop/images/31012025/03/51/image_31012025_03_52_06_9427.jpg
/home/pi/Desktop/images/31012025/03/52/image_31012025_03_52_17_10395.jpg
/home/pi/Desktop/images/31012025/03/52/image_31012025_03_52_26_9340.jpg
/home/pi/Desktop/images/31012025/03/52/image_31012025_03_52_37_10380.jpg
/home/pi/Desktop/images/31012025/03/52/image_31012025_03_52_47_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":["1333188962","1333188956","1333188959","1333188950","1333188957","1333188954"],"photo_ids_order":["1333188950","1333188954","1333188956","1333188957","1333188959","1333188962"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/045303dad485a4a9bedd4dbb9e964fb6.jpg","text":"TemporaryFile(/tmp/multipartBody2780286731525026833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292013612,"filename":"image_31012025_03_52_47_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5680f362623de7e1bf04f1efac8f8790.jpg","text":"TemporaryFile(/tmp/multipartBody1257199054388338056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292013612,"filename":"image_31012025_03_52_17_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fbebcdbf3f71a1316b0d3899892b465a.jpg","text":"TemporaryFile(/tmp/multipartBody6098810241454841428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292013612,"filename":"image_31012025_03_52_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/1/31/c1297b85899868fb1d3f3a03796563a2.jpg","text":"TemporaryFile(/tmp/multipartBody5267241687764311196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292013612,"filename":"image_31012025_03_51_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/1/31/f2a19ea3c5e2f440039657b63fad07b3.jpg","text":"TemporaryFile(/tmp/multipartBody2875146265966001425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292013612,"filename":"image_31012025_03_52_26_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/955db31320439d9a3e1a1394b0efbeb4.jpg","text":"TemporaryFile(/tmp/multipartBody7151275093061860608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292013612,"filename":"image_31012025_03_52_06_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333188956","file1":"1333188954","file0":"1333188950","file4":"1333188959","file5":"1333188962","file3":"1333188957"},"map_files_photo_id_array":[{"photo_id":"1333188962","filename":"file5"},{"photo_id":"1333188956","filename":"file2"},{"photo_id":"1333188959","filename":"file4"},{"photo_id":"1333188954","filename":"file1"},{"photo_id":"1333188950","filename":"file0"},{"photo_id":"1333188957","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333188962":["hashtag1","hashtag2"]},{"1333188956":["hashtag1","hashtag2"]},{"1333188959":["hashtag1","hashtag2"]},{"1333188950":["hashtag1","hashtag2"]},{"1333188957":["hashtag1","hashtag2"]},{"1333188954":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333188962, 1333188956, 1333188959, 1333188950, 1333188957, 1333188954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93757915496826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:53:33.054482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/52/image_31012025_03_52_56_9337.jpg', '/home/pi/Desktop/images/31012025/03/52/image_31012025_03_53_07_10439.jpg', '/home/pi/Desktop/images/31012025/03/53/image_31012025_03_53_16_9428.jpg', '/home/pi/Desktop/images/31012025/03/53/image_31012025_03_53_27_10370.jpg', '/home/pi/Desktop/images/31012025/03/53/image_31012025_03_53_37_10426.jpg', '/home/pi/Desktop/images/31012025/03/53/image_31012025_03_53_46_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/52/image_31012025_03_52_56_9337.jpg
/home/pi/Desktop/images/31012025/03/52/image_31012025_03_53_07_10439.jpg
/home/pi/Desktop/images/31012025/03/53/image_31012025_03_53_16_9428.jpg
/home/pi/Desktop/images/31012025/03/53/image_31012025_03_53_27_10370.jpg
/home/pi/Desktop/images/31012025/03/53/image_31012025_03_53_37_10426.jpg
/home/pi/Desktop/images/31012025/03/53/image_31012025_03_53_46_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":["1333188992","1333188986","1333188994","1333189009","1333188996","1333188984"],"photo_ids_order":["1333188984","1333188986","1333188992","1333188994","1333188996","1333189009"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dca6c41021d956a16fe583b1f2b6b79c.jpg","text":"TemporaryFile(/tmp/multipartBody8814403138467360695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292073968,"filename":"image_31012025_03_53_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/1/31/86fe2f9f5bb153b4b1550e7a1167f096.jpg","text":"TemporaryFile(/tmp/multipartBody3903182612811065878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292073968,"filename":"image_31012025_03_53_07_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7addab2894e3603007e466915f85b2e1.jpg","text":"TemporaryFile(/tmp/multipartBody7860348077902457324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292073968,"filename":"image_31012025_03_53_27_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/367e96b04811451cb85e9364bd3e9732.jpg","text":"TemporaryFile(/tmp/multipartBody6711807415898412479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292073968,"filename":"image_31012025_03_53_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/1/31/775a5768cad32d236ebe70b890dd102c.jpg","text":"TemporaryFile(/tmp/multipartBody1250066160442430544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292073968,"filename":"image_31012025_03_53_37_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/35ec034f9f0f9d138c1bbdb575e17a85.jpg","text":"TemporaryFile(/tmp/multipartBody5477535322971001968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292073968,"filename":"image_31012025_03_52_56_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333188992","file1":"1333188986","file0":"1333188984","file4":"1333188996","file5":"1333189009","file3":"1333188994"},"map_files_photo_id_array":[{"photo_id":"1333189009","filename":"file5"},{"photo_id":"1333188992","filename":"file2"},{"photo_id":"1333188996","filename":"file4"},{"photo_id":"1333188986","filename":"file1"},{"photo_id":"1333188984","filename":"file0"},{"photo_id":"1333188994","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333188992":["hashtag1","hashtag2"]},{"1333188986":["hashtag1","hashtag2"]},{"1333188994":["hashtag1","hashtag2"]},{"1333189009":["hashtag1","hashtag2"]},{"1333188996":["hashtag1","hashtag2"]},{"1333188984":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333188992, 1333188986, 1333188994, 1333189009, 1333188996, 1333188984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24420690536499 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:54:32.159962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/53/image_31012025_03_53_57_10425.jpg', '/home/pi/Desktop/images/31012025/03/53/image_31012025_03_54_06_9352.jpg', '/home/pi/Desktop/images/31012025/03/54/image_31012025_03_54_16_10321.jpg', '/home/pi/Desktop/images/31012025/03/54/image_31012025_03_54_27_10405.jpg', '/home/pi/Desktop/images/31012025/03/54/image_31012025_03_54_36_9328.jpg', '/home/pi/Desktop/images/31012025/03/54/image_31012025_03_54_47_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/53/image_31012025_03_53_57_10425.jpg
/home/pi/Desktop/images/31012025/03/53/image_31012025_03_54_06_9352.jpg
/home/pi/Desktop/images/31012025/03/54/image_31012025_03_54_16_10321.jpg
/home/pi/Desktop/images/31012025/03/54/image_31012025_03_54_27_10405.jpg
/home/pi/Desktop/images/31012025/03/54/image_31012025_03_54_36_9328.jpg
/home/pi/Desktop/images/31012025/03/54/image_31012025_03_54_47_10428.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5214123725891113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 03:54:42.153015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/53/image_31012025_03_53_57_10425.jpg', '/home/pi/Desktop/images/31012025/03/53/image_31012025_03_54_06_9352.jpg', '/home/pi/Desktop/images/31012025/03/54/image_31012025_03_54_16_10321.jpg', '/home/pi/Desktop/images/31012025/03/54/image_31012025_03_54_27_10405.jpg', '/home/pi/Desktop/images/31012025/03/54/image_31012025_03_54_36_9328.jpg', '/home/pi/Desktop/images/31012025/03/54/image_31012025_03_54_47_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/53/image_31012025_03_53_57_10425.jpg
/home/pi/Desktop/images/31012025/03/53/image_31012025_03_54_06_9352.jpg
/home/pi/Desktop/images/31012025/03/54/image_31012025_03_54_16_10321.jpg
/home/pi/Desktop/images/31012025/03/54/image_31012025_03_54_27_10405.jpg
/home/pi/Desktop/images/31012025/03/54/image_31012025_03_54_36_9328.jpg
/home/pi/Desktop/images/31012025/03/54/image_31012025_03_54_47_10428.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":["1333189538","1333189433","1333189421","1333189418","1333189543","1333189513"],"photo_ids_order":["1333189418","1333189421","1333189433","1333189513","1333189538","1333189543"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b1cfc95cc331b66a5c6d7403f373e79d.jpg","text":"TemporaryFile(/tmp/multipartBody8910030929071684710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292143091,"filename":"image_31012025_03_54_36_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7cc9d5e8c66fc16ed7742b28829c4aa6.jpg","text":"TemporaryFile(/tmp/multipartBody7933924208057080421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292143091,"filename":"image_31012025_03_54_16_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/690d980db7487123b660c2e66937b808.jpg","text":"TemporaryFile(/tmp/multipartBody9039091249396002695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292143091,"filename":"image_31012025_03_54_06_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/03e3932ce2baf486cca5aa7b5a27ee53.jpg","text":"TemporaryFile(/tmp/multipartBody4760437912600094473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292143091,"filename":"image_31012025_03_53_57_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6718e9cc939819294fb3f6d0441eab5b.jpg","text":"TemporaryFile(/tmp/multipartBody761831753038142811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292143091,"filename":"image_31012025_03_54_47_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b054bbb3160f23ba4d48ad5b9a8902b0.jpg","text":"TemporaryFile(/tmp/multipartBody1526771530559510918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292143091,"filename":"image_31012025_03_54_27_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333189433","file1":"1333189421","file0":"1333189418","file4":"1333189538","file5":"1333189543","file3":"1333189513"},"map_files_photo_id_array":[{"photo_id":"1333189543","filename":"file5"},{"photo_id":"1333189433","filename":"file2"},{"photo_id":"1333189538","filename":"file4"},{"photo_id":"1333189421","filename":"file1"},{"photo_id":"1333189418","filename":"file0"},{"photo_id":"1333189513","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333189538":["hashtag1","hashtag2"]},{"1333189433":["hashtag1","hashtag2"]},{"1333189421":["hashtag1","hashtag2"]},{"1333189418":["hashtag1","hashtag2"]},{"1333189543":["hashtag1","hashtag2"]},{"1333189513":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333189538, 1333189433, 1333189421, 1333189418, 1333189543, 1333189513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.83515930175781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:55:32.418702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/54/image_31012025_03_54_57_10351.jpg', '/home/pi/Desktop/images/31012025/03/54/image_31012025_03_55_06_9335.jpg', '/home/pi/Desktop/images/31012025/03/55/image_31012025_03_55_17_10361.jpg', '/home/pi/Desktop/images/31012025/03/55/image_31012025_03_55_26_9424.jpg', '/home/pi/Desktop/images/31012025/03/55/image_31012025_03_55_36_10353.jpg', '/home/pi/Desktop/images/31012025/03/55/image_31012025_03_55_47_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/54/image_31012025_03_54_57_10351.jpg
/home/pi/Desktop/images/31012025/03/54/image_31012025_03_55_06_9335.jpg
/home/pi/Desktop/images/31012025/03/55/image_31012025_03_55_17_10361.jpg
/home/pi/Desktop/images/31012025/03/55/image_31012025_03_55_26_9424.jpg
/home/pi/Desktop/images/31012025/03/55/image_31012025_03_55_36_10353.jpg
/home/pi/Desktop/images/31012025/03/55/image_31012025_03_55_47_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333189571","1333189575","1333189560","1333189580","1333189583","1333189556"],"photo_ids_order":["1333189556","1333189560","1333189571","1333189575","1333189580","1333189583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e79d9556540b958bf018bc22ba02922a.jpg","text":"TemporaryFile(/tmp/multipartBody6620080891572446546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292193338,"filename":"image_31012025_03_55_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/1/31/06abd8ae63500bb876a4d7df1f3768bc.jpg","text":"TemporaryFile(/tmp/multipartBody4819505657362301909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292193338,"filename":"image_31012025_03_55_26_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6ea8369dd2ccb35bcc0ca903f13a9716.jpg","text":"TemporaryFile(/tmp/multipartBody4429225946133305656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292193338,"filename":"image_31012025_03_55_06_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/456eedd05fd4b4da533460a7f6d746e7.jpg","text":"TemporaryFile(/tmp/multipartBody7847141946487477902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292193338,"filename":"image_31012025_03_55_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/1/31/19c8d85447e947e64c43d220b50a2847.jpg","text":"TemporaryFile(/tmp/multipartBody2141356200473170385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292193338,"filename":"image_31012025_03_55_47_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cf0e6d69eb5b936441b7b2f1919b9cc5.jpg","text":"TemporaryFile(/tmp/multipartBody2001881145447081486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292193338,"filename":"image_31012025_03_54_57_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333189571","file1":"1333189560","file0":"1333189556","file4":"1333189580","file5":"1333189583","file3":"1333189575"},"map_files_photo_id_array":[{"photo_id":"1333189583","filename":"file5"},{"photo_id":"1333189571","filename":"file2"},{"photo_id":"1333189580","filename":"file4"},{"photo_id":"1333189560","filename":"file1"},{"photo_id":"1333189556","filename":"file0"},{"photo_id":"1333189575","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333189571":["hashtag1","hashtag2"]},{"1333189575":["hashtag1","hashtag2"]},{"1333189560":["hashtag1","hashtag2"]},{"1333189580":["hashtag1","hashtag2"]},{"1333189583":["hashtag1","hashtag2"]},{"1333189556":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333189571, 1333189575, 1333189560, 1333189580, 1333189583, 1333189556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.9752082824707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:56:32.713757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/55/image_31012025_03_55_56_9402.jpg', '/home/pi/Desktop/images/31012025/03/55/image_31012025_03_56_07_10415.jpg', '/home/pi/Desktop/images/31012025/03/56/image_31012025_03_56_17_10358.jpg', '/home/pi/Desktop/images/31012025/03/56/image_31012025_03_56_26_9357.jpg', '/home/pi/Desktop/images/31012025/03/56/image_31012025_03_56_37_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/55/image_31012025_03_55_56_9402.jpg
/home/pi/Desktop/images/31012025/03/55/image_31012025_03_56_07_10415.jpg
/home/pi/Desktop/images/31012025/03/56/image_31012025_03_56_17_10358.jpg
/home/pi/Desktop/images/31012025/03/56/image_31012025_03_56_26_9357.jpg
/home/pi/Desktop/images/31012025/03/56/image_31012025_03_56_37_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":["1333189739","1333189690","1333189771","1333189725","1333189734"],"photo_ids_order":["1333189690","1333189725","1333189734","1333189739","1333189771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f75e404db97e60bad252d648a5d688ca.jpg","text":"TemporaryFile(/tmp/multipartBody2261820352658763945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292253608,"filename":"image_31012025_03_56_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/1/31/3016ee0567945f2c36ca93a19450e223.jpg","text":"TemporaryFile(/tmp/multipartBody3464630980503460044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292253608,"filename":"image_31012025_03_55_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/1/31/ba1b5c234dd5d0ed4894e5a29149e87d.jpg","text":"TemporaryFile(/tmp/multipartBody4207904790099811543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292253608,"filename":"image_31012025_03_56_37_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/daf345ed75eaa9f022292a7e0feeceed.jpg","text":"TemporaryFile(/tmp/multipartBody9047923717132867647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292253608,"filename":"image_31012025_03_56_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/1/31/aa4180e29df8382fb43ab85c96e4b90d.jpg","text":"TemporaryFile(/tmp/multipartBody5255837069698588959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292253608,"filename":"image_31012025_03_56_17_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333189734","file1":"1333189725","file0":"1333189690","file4":"1333189771","file3":"1333189739"},"map_files_photo_id_array":[{"photo_id":"1333189734","filename":"file2"},{"photo_id":"1333189771","filename":"file4"},{"photo_id":"1333189725","filename":"file1"},{"photo_id":"1333189690","filename":"file0"},{"photo_id":"1333189739","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333189739":["hashtag1","hashtag2"]},{"1333189690":["hashtag1","hashtag2"]},{"1333189771":["hashtag1","hashtag2"]},{"1333189725":["hashtag1","hashtag2"]},{"1333189734":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333189739, 1333189690, 1333189771, 1333189725, 1333189734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.10539650917053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:57:32.896181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/56/image_31012025_03_56_57_10364.jpg', '/home/pi/Desktop/images/31012025/03/56/image_31012025_03_57_07_10450.jpg', '/home/pi/Desktop/images/31012025/03/57/image_31012025_03_57_16_9339.jpg', '/home/pi/Desktop/images/31012025/03/57/image_31012025_03_57_27_10346.jpg', '/home/pi/Desktop/images/31012025/03/57/image_31012025_03_57_36_9415.jpg', '/home/pi/Desktop/images/31012025/03/57/image_31012025_03_57_46_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/56/image_31012025_03_56_57_10364.jpg
/home/pi/Desktop/images/31012025/03/56/image_31012025_03_57_07_10450.jpg
/home/pi/Desktop/images/31012025/03/57/image_31012025_03_57_16_9339.jpg
/home/pi/Desktop/images/31012025/03/57/image_31012025_03_57_27_10346.jpg
/home/pi/Desktop/images/31012025/03/57/image_31012025_03_57_36_9415.jpg
/home/pi/Desktop/images/31012025/03/57/image_31012025_03_57_46_10338.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 www.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-01-31 03:59:04.179930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/56/image_31012025_03_56_57_10364.jpg', '/home/pi/Desktop/images/31012025/03/56/image_31012025_03_57_07_10450.jpg', '/home/pi/Desktop/images/31012025/03/57/image_31012025_03_57_16_9339.jpg', '/home/pi/Desktop/images/31012025/03/57/image_31012025_03_57_27_10346.jpg', '/home/pi/Desktop/images/31012025/03/57/image_31012025_03_57_36_9415.jpg', '/home/pi/Desktop/images/31012025/03/57/image_31012025_03_57_46_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/56/image_31012025_03_56_57_10364.jpg
/home/pi/Desktop/images/31012025/03/56/image_31012025_03_57_07_10450.jpg
/home/pi/Desktop/images/31012025/03/57/image_31012025_03_57_16_9339.jpg
/home/pi/Desktop/images/31012025/03/57/image_31012025_03_57_27_10346.jpg
/home/pi/Desktop/images/31012025/03/57/image_31012025_03_57_36_9415.jpg
/home/pi/Desktop/images/31012025/03/57/image_31012025_03_57_46_10338.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":["1333190357","1333190252","1333190531","1333190431","1333190302","1333190193"],"photo_ids_order":["1333190193","1333190252","1333190302","1333190357","1333190431","1333190531"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/014dee4b6b584766811ce255827556dd.jpg","text":"TemporaryFile(/tmp/multipartBody7053675895981903708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292405215,"filename":"image_31012025_03_57_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/1/31/00ebf99821201711670840afb52d98f2.jpg","text":"TemporaryFile(/tmp/multipartBody4851204686454491178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292405215,"filename":"image_31012025_03_57_07_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c7b4c7b477edc000270617cd2a44995d.jpg","text":"TemporaryFile(/tmp/multipartBody1693668467727505450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292405215,"filename":"image_31012025_03_57_46_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3afda22e251cff6982f2cbed01e12c95.jpg","text":"TemporaryFile(/tmp/multipartBody4853896832837108772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292405215,"filename":"image_31012025_03_57_36_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d98a76d9bd6d337d2c34d48998f91180.jpg","text":"TemporaryFile(/tmp/multipartBody8027350024141518730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292405215,"filename":"image_31012025_03_57_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/1/31/6478ab4444e152d504882c079c310cd5.jpg","text":"TemporaryFile(/tmp/multipartBody3645050037347641802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292405215,"filename":"image_31012025_03_56_57_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333190302","file1":"1333190252","file0":"1333190193","file4":"1333190431","file5":"1333190531","file3":"1333190357"},"map_files_photo_id_array":[{"photo_id":"1333190531","filename":"file5"},{"photo_id":"1333190302","filename":"file2"},{"photo_id":"1333190431","filename":"file4"},{"photo_id":"1333190252","filename":"file1"},{"photo_id":"1333190193","filename":"file0"},{"photo_id":"1333190357","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333190357":["hashtag1","hashtag2"]},{"1333190252":["hashtag1","hashtag2"]},{"1333190531":["hashtag1","hashtag2"]},{"1333190431":["hashtag1","hashtag2"]},{"1333190302":["hashtag1","hashtag2"]},{"1333190193":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333190357, 1333190252, 1333190531, 1333190431, 1333190302, 1333190193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.80435514450073 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 03:59:52.734537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/57/image_31012025_03_57_57_10469.jpg', '/home/pi/Desktop/images/31012025/03/57/image_31012025_03_58_06_9349.jpg', '/home/pi/Desktop/images/31012025/03/58/image_31012025_03_58_17_10347.jpg', '/home/pi/Desktop/images/31012025/03/58/image_31012025_03_58_27_10357.jpg', '/home/pi/Desktop/images/31012025/03/58/image_31012025_03_58_47_10356.jpg', '/home/pi/Desktop/images/31012025/03/58/image_31012025_03_58_56_9447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/57/image_31012025_03_57_57_10469.jpg
/home/pi/Desktop/images/31012025/03/57/image_31012025_03_58_06_9349.jpg
/home/pi/Desktop/images/31012025/03/58/image_31012025_03_58_17_10347.jpg
/home/pi/Desktop/images/31012025/03/58/image_31012025_03_58_27_10357.jpg
/home/pi/Desktop/images/31012025/03/58/image_31012025_03_58_47_10356.jpg
/home/pi/Desktop/images/31012025/03/58/image_31012025_03_58_56_9447.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":["1333190999","1333190990","1333190993","1333190987","1333190983","1333190931"],"photo_ids_order":["1333190931","1333190983","1333190987","1333190990","1333190993","1333190999"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/759d01de91dc111b2d47cdabd4bceabe.jpg","text":"TemporaryFile(/tmp/multipartBody1860252005651534495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292453654,"filename":"image_31012025_03_58_56_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cddf2395113ac94d2306cf48d406970b.jpg","text":"TemporaryFile(/tmp/multipartBody3922031730494140981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292453654,"filename":"image_31012025_03_58_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/1/31/113317d98938e22fdefe5ebcab6a939b.jpg","text":"TemporaryFile(/tmp/multipartBody7204254798282017594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292453654,"filename":"image_31012025_03_58_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/1/31/86ab4467b11d8478fba0449c3b1a7f04.jpg","text":"TemporaryFile(/tmp/multipartBody1538581042373720892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292453654,"filename":"image_31012025_03_58_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/1/31/0424402e6bb6be2a52b2ed513ccd282f.jpg","text":"TemporaryFile(/tmp/multipartBody7212799990720415578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292453654,"filename":"image_31012025_03_58_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/1/31/8fff2c04bde8d64052addcb40a6cf359.jpg","text":"TemporaryFile(/tmp/multipartBody5713777374157460658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292453654,"filename":"image_31012025_03_57_57_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333190987","file1":"1333190983","file0":"1333190931","file4":"1333190993","file5":"1333190999","file3":"1333190990"},"map_files_photo_id_array":[{"photo_id":"1333190999","filename":"file5"},{"photo_id":"1333190987","filename":"file2"},{"photo_id":"1333190993","filename":"file4"},{"photo_id":"1333190983","filename":"file1"},{"photo_id":"1333190931","filename":"file0"},{"photo_id":"1333190990","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333190999":["hashtag1","hashtag2"]},{"1333190990":["hashtag1","hashtag2"]},{"1333190993":["hashtag1","hashtag2"]},{"1333190987":["hashtag1","hashtag2"]},{"1333190983":["hashtag1","hashtag2"]},{"1333190931":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333190999, 1333190990, 1333190993, 1333190987, 1333190983, 1333190931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.54880332946777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 04:00:42.963602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/03/58/image_31012025_03_59_06_10398.jpg', '/home/pi/Desktop/images/31012025/03/59/image_31012025_03_59_17_10396.jpg', '/home/pi/Desktop/images/31012025/03/59/image_31012025_03_59_26_9341.jpg', '/home/pi/Desktop/images/31012025/03/59/image_31012025_03_59_37_10367.jpg', '/home/pi/Desktop/images/31012025/03/59/image_31012025_03_59_46_9445.jpg', '/home/pi/Desktop/images/31012025/03/59/image_31012025_03_59_56_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/03/58/image_31012025_03_59_06_10398.jpg
/home/pi/Desktop/images/31012025/03/59/image_31012025_03_59_17_10396.jpg
/home/pi/Desktop/images/31012025/03/59/image_31012025_03_59_26_9341.jpg
/home/pi/Desktop/images/31012025/03/59/image_31012025_03_59_37_10367.jpg
/home/pi/Desktop/images/31012025/03/59/image_31012025_03_59_46_9445.jpg
/home/pi/Desktop/images/31012025/03/59/image_31012025_03_59_56_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":["1333191029","1333191014","1333191025","1333191019","1333191022","1333191033"],"photo_ids_order":["1333191014","1333191019","1333191022","1333191025","1333191029","1333191033"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e9ea769a8f70b4944e31e5f4858db932.jpg","text":"TemporaryFile(/tmp/multipartBody8601081273426294902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292503868,"filename":"image_31012025_03_59_46_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/79abede809ecff5620de64ea56c8a61f.jpg","text":"TemporaryFile(/tmp/multipartBody5352337887519337910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292503868,"filename":"image_31012025_03_59_06_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/09ad44d117e541f2e08e51907663047c.jpg","text":"TemporaryFile(/tmp/multipartBody3835030825014928502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292503868,"filename":"image_31012025_03_59_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/1/31/01e9c5bbaca613cb71e23b5e0ca0298e.jpg","text":"TemporaryFile(/tmp/multipartBody4919396537504483968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292503868,"filename":"image_31012025_03_59_17_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d764cfb9c60563a860cd16389edf80e8.jpg","text":"TemporaryFile(/tmp/multipartBody2546168831883369678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292503868,"filename":"image_31012025_03_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/1/31/ba5aa8998546e3919fddb4aea10e83f5.jpg","text":"TemporaryFile(/tmp/multipartBody5264758032373790714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292503868,"filename":"image_31012025_03_59_56_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333191022","file1":"1333191019","file0":"1333191014","file4":"1333191029","file5":"1333191033","file3":"1333191025"},"map_files_photo_id_array":[{"photo_id":"1333191033","filename":"file5"},{"photo_id":"1333191022","filename":"file2"},{"photo_id":"1333191029","filename":"file4"},{"photo_id":"1333191019","filename":"file1"},{"photo_id":"1333191014","filename":"file0"},{"photo_id":"1333191025","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333191029":["hashtag1","hashtag2"]},{"1333191014":["hashtag1","hashtag2"]},{"1333191025":["hashtag1","hashtag2"]},{"1333191019":["hashtag1","hashtag2"]},{"1333191022":["hashtag1","hashtag2"]},{"1333191033":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333191029, 1333191014, 1333191025, 1333191019, 1333191022, 1333191033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.04936075210571 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:01:32.218638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/00/image_31012025_04_00_16_10074.jpg', '/home/pi/Desktop/images/31012025/04/00/image_31012025_04_00_26_10391.jpg', '/home/pi/Desktop/images/31012025/04/00/image_31012025_04_00_37_10420.jpg', '/home/pi/Desktop/images/31012025/04/00/image_31012025_04_00_56_10358.jpg', '/home/pi/Desktop/images/31012025/04/00/image_31012025_04_01_06_9477.jpg', '/home/pi/Desktop/images/31012025/04/01/image_31012025_04_01_16_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/00/image_31012025_04_00_16_10074.jpg
/home/pi/Desktop/images/31012025/04/00/image_31012025_04_00_26_10391.jpg
/home/pi/Desktop/images/31012025/04/00/image_31012025_04_00_37_10420.jpg
/home/pi/Desktop/images/31012025/04/00/image_31012025_04_00_56_10358.jpg
/home/pi/Desktop/images/31012025/04/00/image_31012025_04_01_06_9477.jpg
/home/pi/Desktop/images/31012025/04/01/image_31012025_04_01_16_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":["1333191044","1333191047","1333191052","1333191100","1333191066","1333191063"],"photo_ids_order":["1333191044","1333191047","1333191052","1333191063","1333191066","1333191100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/35496f06b6d722abd58326092515c5f6.jpg","text":"TemporaryFile(/tmp/multipartBody6257149301834148709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292553154,"filename":"image_31012025_04_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/1/31/2490f8516ad58258fae5206dc6a35d53.jpg","text":"TemporaryFile(/tmp/multipartBody6355687810535584156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292553154,"filename":"image_31012025_04_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/1/31/fa9084d26595105177277ae1181a1580.jpg","text":"TemporaryFile(/tmp/multipartBody2318194958227912494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292553154,"filename":"image_31012025_04_00_37_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1c6a8a88a6a0dc89679d53b34c25c5ed.jpg","text":"TemporaryFile(/tmp/multipartBody4570042222397161618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292553154,"filename":"image_31012025_04_01_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/1/31/83ac57986c3c23d865d7bceda3e5de9d.jpg","text":"TemporaryFile(/tmp/multipartBody8513288488952942701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292553154,"filename":"image_31012025_04_01_06_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d3774b70a8f5898d84499525f6604797.jpg","text":"TemporaryFile(/tmp/multipartBody7329511006104291126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292553154,"filename":"image_31012025_04_00_56_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333191052","file1":"1333191047","file0":"1333191044","file4":"1333191066","file5":"1333191100","file3":"1333191063"},"map_files_photo_id_array":[{"photo_id":"1333191100","filename":"file5"},{"photo_id":"1333191052","filename":"file2"},{"photo_id":"1333191066","filename":"file4"},{"photo_id":"1333191047","filename":"file1"},{"photo_id":"1333191044","filename":"file0"},{"photo_id":"1333191063","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333191044":["hashtag1","hashtag2"]},{"1333191047":["hashtag1","hashtag2"]},{"1333191052":["hashtag1","hashtag2"]},{"1333191100":["hashtag1","hashtag2"]},{"1333191066":["hashtag1","hashtag2"]},{"1333191063":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333191044, 1333191047, 1333191052, 1333191100, 1333191066, 1333191063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.79182410240173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:02:32.426816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/01/image_31012025_04_01_27_10440.jpg', '/home/pi/Desktop/images/31012025/04/01/image_31012025_04_01_46_10354.jpg', '/home/pi/Desktop/images/31012025/04/01/image_31012025_04_01_56_9411.jpg', '/home/pi/Desktop/images/31012025/04/01/image_31012025_04_02_06_10365.jpg', '/home/pi/Desktop/images/31012025/04/02/image_31012025_04_02_17_10451.jpg', '/home/pi/Desktop/images/31012025/04/02/image_31012025_04_02_26_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/01/image_31012025_04_01_27_10440.jpg
/home/pi/Desktop/images/31012025/04/01/image_31012025_04_01_46_10354.jpg
/home/pi/Desktop/images/31012025/04/01/image_31012025_04_01_56_9411.jpg
/home/pi/Desktop/images/31012025/04/01/image_31012025_04_02_06_10365.jpg
/home/pi/Desktop/images/31012025/04/02/image_31012025_04_02_17_10451.jpg
/home/pi/Desktop/images/31012025/04/02/image_31012025_04_02_26_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":["1333191155","1333191190","1333191163","1333191186","1333191159","1333191182"],"photo_ids_order":["1333191155","1333191159","1333191163","1333191182","1333191186","1333191190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4a57e70454f4de87d05776e937846364.jpg","text":"TemporaryFile(/tmp/multipartBody1673788445805998112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292613351,"filename":"image_31012025_04_01_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/1/31/d06c632becbbc90662f8da4a764148ef.jpg","text":"TemporaryFile(/tmp/multipartBody7279197429087462078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292613351,"filename":"image_31012025_04_02_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/1/31/af375c70594923d1ec875adb77c4d994.jpg","text":"TemporaryFile(/tmp/multipartBody941461329024137456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292613351,"filename":"image_31012025_04_01_56_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8e1f81c987bfe1504fa127ba15ddfb1e.jpg","text":"TemporaryFile(/tmp/multipartBody3296056901822401444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292613351,"filename":"image_31012025_04_02_17_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7f95c8a001ae973e0b6e84bf801a96a9.jpg","text":"TemporaryFile(/tmp/multipartBody4900527050307161882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292613351,"filename":"image_31012025_04_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/1/31/96cd1368c81b88bfaccd53d9cf32caa5.jpg","text":"TemporaryFile(/tmp/multipartBody1185273055923513592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292613351,"filename":"image_31012025_04_02_06_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333191163","file1":"1333191159","file0":"1333191155","file4":"1333191186","file5":"1333191190","file3":"1333191182"},"map_files_photo_id_array":[{"photo_id":"1333191190","filename":"file5"},{"photo_id":"1333191163","filename":"file2"},{"photo_id":"1333191186","filename":"file4"},{"photo_id":"1333191159","filename":"file1"},{"photo_id":"1333191155","filename":"file0"},{"photo_id":"1333191182","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333191155":["hashtag1","hashtag2"]},{"1333191190":["hashtag1","hashtag2"]},{"1333191163":["hashtag1","hashtag2"]},{"1333191186":["hashtag1","hashtag2"]},{"1333191159":["hashtag1","hashtag2"]},{"1333191182":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333191155, 1333191190, 1333191163, 1333191186, 1333191159, 1333191182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30204772949219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:03:32.678191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/02/image_31012025_04_02_36_10434.jpg', '/home/pi/Desktop/images/31012025/04/02/image_31012025_04_02_46_9439.jpg', '/home/pi/Desktop/images/31012025/04/02/image_31012025_04_02_56_10366.jpg', '/home/pi/Desktop/images/31012025/04/02/image_31012025_04_03_07_10400.jpg', '/home/pi/Desktop/images/31012025/04/03/image_31012025_04_03_16_9408.jpg', '/home/pi/Desktop/images/31012025/04/03/image_31012025_04_03_26_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/02/image_31012025_04_02_36_10434.jpg
/home/pi/Desktop/images/31012025/04/02/image_31012025_04_02_46_9439.jpg
/home/pi/Desktop/images/31012025/04/02/image_31012025_04_02_56_10366.jpg
/home/pi/Desktop/images/31012025/04/02/image_31012025_04_03_07_10400.jpg
/home/pi/Desktop/images/31012025/04/03/image_31012025_04_03_16_9408.jpg
/home/pi/Desktop/images/31012025/04/03/image_31012025_04_03_26_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":["1333191440","1333191341","1333191443","1333191404","1333191346","1333191349"],"photo_ids_order":["1333191341","1333191346","1333191349","1333191404","1333191440","1333191443"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/933659ff44f76f0f0b82409623bb26b0.jpg","text":"TemporaryFile(/tmp/multipartBody8647952423752420488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292673592,"filename":"image_31012025_04_03_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/1/31/37fa1284ea9b6642d661f8a3cfd7f6b4.jpg","text":"TemporaryFile(/tmp/multipartBody771126461867109615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292673592,"filename":"image_31012025_04_02_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/1/31/c7af4c0e68dbfab9d26652357cee9f96.jpg","text":"TemporaryFile(/tmp/multipartBody4228623253008508134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292673592,"filename":"image_31012025_04_03_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/1/31/7a952d390177578eab85c5816f9e6ef2.jpg","text":"TemporaryFile(/tmp/multipartBody2342180807577222933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292673592,"filename":"image_31012025_04_03_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/1/31/44cb4cb5e620d0584eb7a78f048dad0f.jpg","text":"TemporaryFile(/tmp/multipartBody5063409945469342775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292673592,"filename":"image_31012025_04_02_46_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/51e3c1e4ba42a89dd6492552264c1a9d.jpg","text":"TemporaryFile(/tmp/multipartBody5942967040661984862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292673592,"filename":"image_31012025_04_02_56_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333191349","file1":"1333191346","file0":"1333191341","file4":"1333191440","file5":"1333191443","file3":"1333191404"},"map_files_photo_id_array":[{"photo_id":"1333191443","filename":"file5"},{"photo_id":"1333191349","filename":"file2"},{"photo_id":"1333191440","filename":"file4"},{"photo_id":"1333191346","filename":"file1"},{"photo_id":"1333191341","filename":"file0"},{"photo_id":"1333191404","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333191440":["hashtag1","hashtag2"]},{"1333191341":["hashtag1","hashtag2"]},{"1333191443":["hashtag1","hashtag2"]},{"1333191404":["hashtag1","hashtag2"]},{"1333191346":["hashtag1","hashtag2"]},{"1333191349":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333191440, 1333191341, 1333191443, 1333191404, 1333191346, 1333191349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.39348840713501 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:04:32.916319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/03/image_31012025_04_03_36_9481.jpg', '/home/pi/Desktop/images/31012025/04/03/image_31012025_04_03_46_10425.jpg', '/home/pi/Desktop/images/31012025/04/03/image_31012025_04_03_57_10367.jpg', '/home/pi/Desktop/images/31012025/04/03/image_31012025_04_04_06_9430.jpg', '/home/pi/Desktop/images/31012025/04/04/image_31012025_04_04_16_10331.jpg', '/home/pi/Desktop/images/31012025/04/04/image_31012025_04_04_26_9492.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/03/image_31012025_04_03_36_9481.jpg
/home/pi/Desktop/images/31012025/04/03/image_31012025_04_03_46_10425.jpg
/home/pi/Desktop/images/31012025/04/03/image_31012025_04_03_57_10367.jpg
/home/pi/Desktop/images/31012025/04/03/image_31012025_04_04_06_9430.jpg
/home/pi/Desktop/images/31012025/04/04/image_31012025_04_04_16_10331.jpg
/home/pi/Desktop/images/31012025/04/04/image_31012025_04_04_26_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":["1333191500","1333191484","1333191478","1333191505","1333191495","1333191489"],"photo_ids_order":["1333191478","1333191484","1333191489","1333191495","1333191500","1333191505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9777ee527b22baf0798bfcd8bb9fe6e2.jpg","text":"TemporaryFile(/tmp/multipartBody6436327269252626962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292733829,"filename":"image_31012025_04_04_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/1/31/6ad7611723e16387538353236b510424.jpg","text":"TemporaryFile(/tmp/multipartBody8500936437844568973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292733829,"filename":"image_31012025_04_03_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/1/31/bb8f4b6ed9a79c69a710434af7d33c5d.jpg","text":"TemporaryFile(/tmp/multipartBody8224770697329026768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292733829,"filename":"image_31012025_04_03_36_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d02c15efeafe3616a483a943b9e06545.jpg","text":"TemporaryFile(/tmp/multipartBody2222331664028142823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292733829,"filename":"image_31012025_04_04_26_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b293d4a30a76e07a08283093c45bbb5a.jpg","text":"TemporaryFile(/tmp/multipartBody1961997761318885620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292733829,"filename":"image_31012025_04_04_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/1/31/6eb5e2cd03192053b114017ba2f374de.jpg","text":"TemporaryFile(/tmp/multipartBody804368456438004347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292733829,"filename":"image_31012025_04_03_57_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333191489","file1":"1333191484","file0":"1333191478","file4":"1333191500","file5":"1333191505","file3":"1333191495"},"map_files_photo_id_array":[{"photo_id":"1333191505","filename":"file5"},{"photo_id":"1333191489","filename":"file2"},{"photo_id":"1333191500","filename":"file4"},{"photo_id":"1333191484","filename":"file1"},{"photo_id":"1333191478","filename":"file0"},{"photo_id":"1333191495","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333191500":["hashtag1","hashtag2"]},{"1333191484":["hashtag1","hashtag2"]},{"1333191478":["hashtag1","hashtag2"]},{"1333191505":["hashtag1","hashtag2"]},{"1333191495":["hashtag1","hashtag2"]},{"1333191489":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333191500, 1333191484, 1333191478, 1333191505, 1333191495, 1333191489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.01927351951599 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:05:32.269676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/04/image_31012025_04_04_36_10357.jpg', '/home/pi/Desktop/images/31012025/04/04/image_31012025_04_04_47_10367.jpg', '/home/pi/Desktop/images/31012025/04/04/image_31012025_04_04_56_9348.jpg', '/home/pi/Desktop/images/31012025/04/04/image_31012025_04_05_06_10354.jpg', '/home/pi/Desktop/images/31012025/04/05/image_31012025_04_05_26_9406.jpg', '/home/pi/Desktop/images/31012025/04/05/image_31012025_04_05_36_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/04/image_31012025_04_04_36_10357.jpg
/home/pi/Desktop/images/31012025/04/04/image_31012025_04_04_47_10367.jpg
/home/pi/Desktop/images/31012025/04/04/image_31012025_04_04_56_9348.jpg
/home/pi/Desktop/images/31012025/04/04/image_31012025_04_05_06_10354.jpg
/home/pi/Desktop/images/31012025/04/05/image_31012025_04_05_26_9406.jpg
/home/pi/Desktop/images/31012025/04/05/image_31012025_04_05_36_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":["1333191680","1333191781","1333191775","1333191852","1333191774","1333191770"],"photo_ids_order":["1333191680","1333191770","1333191774","1333191775","1333191781","1333191852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1b0850c4ec971942efa02ef44fb1a686.jpg","text":"TemporaryFile(/tmp/multipartBody5546441180387925906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292793205,"filename":"image_31012025_04_04_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/1/31/750416b243dd3fd6b530f885c6e7a0a9.jpg","text":"TemporaryFile(/tmp/multipartBody2095841433632759532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292793205,"filename":"image_31012025_04_05_26_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/40ea5c20ff18c6c241cc2f6e4529de48.jpg","text":"TemporaryFile(/tmp/multipartBody142568934787139583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292793205,"filename":"image_31012025_04_05_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/1/31/47c6e33848f5b97d6fdee5158d47ff86.jpg","text":"TemporaryFile(/tmp/multipartBody8802039185827097402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292793205,"filename":"image_31012025_04_05_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/1/31/44746068a48c4dfdbc6b52b529470894.jpg","text":"TemporaryFile(/tmp/multipartBody3282930636591546881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292793205,"filename":"image_31012025_04_04_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/1/31/3c350b04659fac7e9dfe0e84b108a63b.jpg","text":"TemporaryFile(/tmp/multipartBody98500695454520041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292793205,"filename":"image_31012025_04_04_47_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333191774","file1":"1333191770","file0":"1333191680","file4":"1333191781","file5":"1333191852","file3":"1333191775"},"map_files_photo_id_array":[{"photo_id":"1333191852","filename":"file5"},{"photo_id":"1333191774","filename":"file2"},{"photo_id":"1333191781","filename":"file4"},{"photo_id":"1333191770","filename":"file1"},{"photo_id":"1333191680","filename":"file0"},{"photo_id":"1333191775","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333191680":["hashtag1","hashtag2"]},{"1333191781":["hashtag1","hashtag2"]},{"1333191775":["hashtag1","hashtag2"]},{"1333191852":["hashtag1","hashtag2"]},{"1333191774":["hashtag1","hashtag2"]},{"1333191770":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333191680, 1333191781, 1333191775, 1333191852, 1333191774, 1333191770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.39280128479004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:06:32.523723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/05/image_31012025_04_05_46_9444.jpg', '/home/pi/Desktop/images/31012025/04/05/image_31012025_04_05_56_10366.jpg', '/home/pi/Desktop/images/31012025/04/05/image_31012025_04_06_07_10357.jpg', '/home/pi/Desktop/images/31012025/04/06/image_31012025_04_06_16_9341.jpg', '/home/pi/Desktop/images/31012025/04/06/image_31012025_04_06_26_10348.jpg', '/home/pi/Desktop/images/31012025/04/06/image_31012025_04_06_36_9469.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/05/image_31012025_04_05_46_9444.jpg
/home/pi/Desktop/images/31012025/04/05/image_31012025_04_05_56_10366.jpg
/home/pi/Desktop/images/31012025/04/05/image_31012025_04_06_07_10357.jpg
/home/pi/Desktop/images/31012025/04/06/image_31012025_04_06_16_9341.jpg
/home/pi/Desktop/images/31012025/04/06/image_31012025_04_06_26_10348.jpg
/home/pi/Desktop/images/31012025/04/06/image_31012025_04_06_36_9469.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5204763412475586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 04:06:42.485950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/05/image_31012025_04_05_46_9444.jpg', '/home/pi/Desktop/images/31012025/04/05/image_31012025_04_05_56_10366.jpg', '/home/pi/Desktop/images/31012025/04/05/image_31012025_04_06_07_10357.jpg', '/home/pi/Desktop/images/31012025/04/06/image_31012025_04_06_16_9341.jpg', '/home/pi/Desktop/images/31012025/04/06/image_31012025_04_06_26_10348.jpg', '/home/pi/Desktop/images/31012025/04/06/image_31012025_04_06_36_9469.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/05/image_31012025_04_05_46_9444.jpg
/home/pi/Desktop/images/31012025/04/05/image_31012025_04_05_56_10366.jpg
/home/pi/Desktop/images/31012025/04/05/image_31012025_04_06_07_10357.jpg
/home/pi/Desktop/images/31012025/04/06/image_31012025_04_06_16_9341.jpg
/home/pi/Desktop/images/31012025/04/06/image_31012025_04_06_26_10348.jpg
/home/pi/Desktop/images/31012025/04/06/image_31012025_04_06_36_9469.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":["1333191941","1333191937","1333191922","1333191916","1333191928","1333191933"],"photo_ids_order":["1333191916","1333191922","1333191928","1333191933","1333191937","1333191941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/249a84f14a39dea5febb30c6e908ae63.jpg","text":"TemporaryFile(/tmp/multipartBody8887708614246331482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292863402,"filename":"image_31012025_04_06_36_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3729109aa922c80acaf8af2b45bb7682.jpg","text":"TemporaryFile(/tmp/multipartBody1967217187095023004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292863402,"filename":"image_31012025_04_06_26_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/456e14eb7b63044070740e92995f5987.jpg","text":"TemporaryFile(/tmp/multipartBody4681066704256559124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292863402,"filename":"image_31012025_04_05_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/1/31/f7bbb1f5b2e67c21a68d549fbfb4b872.jpg","text":"TemporaryFile(/tmp/multipartBody1139002977076691289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292863402,"filename":"image_31012025_04_05_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/1/31/83dd6b606cff474e5bf4c37007c4cd8d.jpg","text":"TemporaryFile(/tmp/multipartBody4904899650442910072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292863402,"filename":"image_31012025_04_06_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/1/31/0412854820eed765eb6bde91c452f26c.jpg","text":"TemporaryFile(/tmp/multipartBody1838460231171691606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292863402,"filename":"image_31012025_04_06_16_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333191928","file1":"1333191922","file0":"1333191916","file4":"1333191937","file5":"1333191941","file3":"1333191933"},"map_files_photo_id_array":[{"photo_id":"1333191941","filename":"file5"},{"photo_id":"1333191928","filename":"file2"},{"photo_id":"1333191937","filename":"file4"},{"photo_id":"1333191922","filename":"file1"},{"photo_id":"1333191916","filename":"file0"},{"photo_id":"1333191933","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333191941":["hashtag1","hashtag2"]},{"1333191937":["hashtag1","hashtag2"]},{"1333191922":["hashtag1","hashtag2"]},{"1333191916":["hashtag1","hashtag2"]},{"1333191928":["hashtag1","hashtag2"]},{"1333191933":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333191941, 1333191937, 1333191922, 1333191916, 1333191928, 1333191933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.7185320854187 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:07:34.958784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/06/image_31012025_04_06_46_10428.jpg', '/home/pi/Desktop/images/31012025/04/06/image_31012025_04_06_57_10345.jpg', '/home/pi/Desktop/images/31012025/04/06/image_31012025_04_07_06_9431.jpg', '/home/pi/Desktop/images/31012025/04/07/image_31012025_04_07_16_10418.jpg', '/home/pi/Desktop/images/31012025/04/07/image_31012025_04_07_26_9412.jpg', '/home/pi/Desktop/images/31012025/04/07/image_31012025_04_07_36_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/06/image_31012025_04_06_46_10428.jpg
/home/pi/Desktop/images/31012025/04/06/image_31012025_04_06_57_10345.jpg
/home/pi/Desktop/images/31012025/04/06/image_31012025_04_07_06_9431.jpg
/home/pi/Desktop/images/31012025/04/07/image_31012025_04_07_16_10418.jpg
/home/pi/Desktop/images/31012025/04/07/image_31012025_04_07_26_9412.jpg
/home/pi/Desktop/images/31012025/04/07/image_31012025_04_07_36_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":["1333191970","1333191973","1333191961","1333191964","1333191966","1333191957"],"photo_ids_order":["1333191957","1333191961","1333191964","1333191966","1333191970","1333191973"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d36dc18c0f75ad19e214aabc3fbaa90b.jpg","text":"TemporaryFile(/tmp/multipartBody4639179482376077027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292915869,"filename":"image_31012025_04_07_26_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2c7b7efa277548fa28d2cfdb64132dd6.jpg","text":"TemporaryFile(/tmp/multipartBody2479332106044012311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292915869,"filename":"image_31012025_04_07_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/1/31/c122a1a20cea1b33dc8a0f1868f1784f.jpg","text":"TemporaryFile(/tmp/multipartBody6333941467411803629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292915869,"filename":"image_31012025_04_06_57_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7cc68698bd660c7105d69a58ec9f2c3d.jpg","text":"TemporaryFile(/tmp/multipartBody4247172529252900116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292915869,"filename":"image_31012025_04_07_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/1/31/ccc724bb96a08c8b20901a4973180df6.jpg","text":"TemporaryFile(/tmp/multipartBody1725240679197166915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292915869,"filename":"image_31012025_04_07_16_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f008c2b1c7dea313960ef2c790672f8d.jpg","text":"TemporaryFile(/tmp/multipartBody6255809891789683233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292915869,"filename":"image_31012025_04_06_46_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333191964","file1":"1333191961","file0":"1333191957","file4":"1333191970","file5":"1333191973","file3":"1333191966"},"map_files_photo_id_array":[{"photo_id":"1333191973","filename":"file5"},{"photo_id":"1333191964","filename":"file2"},{"photo_id":"1333191970","filename":"file4"},{"photo_id":"1333191961","filename":"file1"},{"photo_id":"1333191957","filename":"file0"},{"photo_id":"1333191966","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333191970":["hashtag1","hashtag2"]},{"1333191973":["hashtag1","hashtag2"]},{"1333191961":["hashtag1","hashtag2"]},{"1333191964":["hashtag1","hashtag2"]},{"1333191966":["hashtag1","hashtag2"]},{"1333191957":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333191970, 1333191973, 1333191961, 1333191964, 1333191966, 1333191957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92647957801819 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:08:32.845608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/07/image_31012025_04_07_47_10358.jpg', '/home/pi/Desktop/images/31012025/04/07/image_31012025_04_07_56_9363.jpg', '/home/pi/Desktop/images/31012025/04/07/image_31012025_04_08_06_10365.jpg', '/home/pi/Desktop/images/31012025/04/08/image_31012025_04_08_17_10361.jpg', '/home/pi/Desktop/images/31012025/04/08/image_31012025_04_08_26_9355.jpg', '/home/pi/Desktop/images/31012025/04/08/image_31012025_04_08_36_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/07/image_31012025_04_07_47_10358.jpg
/home/pi/Desktop/images/31012025/04/07/image_31012025_04_07_56_9363.jpg
/home/pi/Desktop/images/31012025/04/07/image_31012025_04_08_06_10365.jpg
/home/pi/Desktop/images/31012025/04/08/image_31012025_04_08_17_10361.jpg
/home/pi/Desktop/images/31012025/04/08/image_31012025_04_08_26_9355.jpg
/home/pi/Desktop/images/31012025/04/08/image_31012025_04_08_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":["1333192004","1333192000","1333191996","1333192008","1333191992","1333191989"],"photo_ids_order":["1333191989","1333191992","1333191996","1333192000","1333192004","1333192008"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4c0ca48247a7f1b46b370c6db2618fd5.jpg","text":"TemporaryFile(/tmp/multipartBody3022048279865254239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292973754,"filename":"image_31012025_04_08_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/1/31/9f0cc95d8ad99b8e7aa9fc1f2e86f03f.jpg","text":"TemporaryFile(/tmp/multipartBody912100719138313661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292973754,"filename":"image_31012025_04_08_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/1/31/a50e6611408d168ac7220ea48face5ca.jpg","text":"TemporaryFile(/tmp/multipartBody6211814445500839560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292973754,"filename":"image_31012025_04_08_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/1/31/cec635e81116c660b53c09068065f1c5.jpg","text":"TemporaryFile(/tmp/multipartBody3098889238124331292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292973754,"filename":"image_31012025_04_08_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/1/31/fff5fa50bbb225ba8ccfd85dd8f5a18e.jpg","text":"TemporaryFile(/tmp/multipartBody1538941861013091046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292973754,"filename":"image_31012025_04_07_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/1/31/fb1c8d15acbe8b74ef67641d34f84f64.jpg","text":"TemporaryFile(/tmp/multipartBody6775833170829306680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738292973754,"filename":"image_31012025_04_07_47_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333191996","file1":"1333191992","file0":"1333191989","file4":"1333192004","file5":"1333192008","file3":"1333192000"},"map_files_photo_id_array":[{"photo_id":"1333192008","filename":"file5"},{"photo_id":"1333191996","filename":"file2"},{"photo_id":"1333192004","filename":"file4"},{"photo_id":"1333191992","filename":"file1"},{"photo_id":"1333191989","filename":"file0"},{"photo_id":"1333192000","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333192004":["hashtag1","hashtag2"]},{"1333192000":["hashtag1","hashtag2"]},{"1333191996":["hashtag1","hashtag2"]},{"1333192008":["hashtag1","hashtag2"]},{"1333191992":["hashtag1","hashtag2"]},{"1333191989":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333192004, 1333192000, 1333191996, 1333192008, 1333191992, 1333191989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.377015829086304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:09:33.068740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/08/image_31012025_04_08_47_10372.jpg', '/home/pi/Desktop/images/31012025/04/08/image_31012025_04_08_56_9337.jpg', '/home/pi/Desktop/images/31012025/04/08/image_31012025_04_09_06_10409.jpg', '/home/pi/Desktop/images/31012025/04/09/image_31012025_04_09_16_9441.jpg', '/home/pi/Desktop/images/31012025/04/09/image_31012025_04_09_26_10357.jpg', '/home/pi/Desktop/images/31012025/04/09/image_31012025_04_09_37_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/08/image_31012025_04_08_47_10372.jpg
/home/pi/Desktop/images/31012025/04/08/image_31012025_04_08_56_9337.jpg
/home/pi/Desktop/images/31012025/04/08/image_31012025_04_09_06_10409.jpg
/home/pi/Desktop/images/31012025/04/09/image_31012025_04_09_16_9441.jpg
/home/pi/Desktop/images/31012025/04/09/image_31012025_04_09_26_10357.jpg
/home/pi/Desktop/images/31012025/04/09/image_31012025_04_09_37_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":["1333192285","1333192147","1333192024","1333192029","1333192274","1333192277"],"photo_ids_order":["1333192024","1333192029","1333192147","1333192274","1333192277","1333192285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/97b9ccc817eb2c78de2f624d89ffd7a6.jpg","text":"TemporaryFile(/tmp/multipartBody8188644187913112603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293033973,"filename":"image_31012025_04_09_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/1/31/e3362351a7e20f405ffbcbdc47c4f19a.jpg","text":"TemporaryFile(/tmp/multipartBody1938162124855048491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293033973,"filename":"image_31012025_04_09_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/1/31/9a23694303c1f4bf8243c3e49f781baa.jpg","text":"TemporaryFile(/tmp/multipartBody9204224781115069049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293033973,"filename":"image_31012025_04_08_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/1/31/6015092799023b746ba4f894f1e63e58.jpg","text":"TemporaryFile(/tmp/multipartBody6526801289720565598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293033973,"filename":"image_31012025_04_08_56_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ea85ad8785664ebb11964bb73416a55b.jpg","text":"TemporaryFile(/tmp/multipartBody4461197709589887578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293033973,"filename":"image_31012025_04_09_16_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/08ad23d87adcc38563cccb66da5d7e1b.jpg","text":"TemporaryFile(/tmp/multipartBody8948862274813892765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293033973,"filename":"image_31012025_04_09_26_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333192147","file1":"1333192029","file0":"1333192024","file4":"1333192277","file5":"1333192285","file3":"1333192274"},"map_files_photo_id_array":[{"photo_id":"1333192285","filename":"file5"},{"photo_id":"1333192147","filename":"file2"},{"photo_id":"1333192277","filename":"file4"},{"photo_id":"1333192029","filename":"file1"},{"photo_id":"1333192024","filename":"file0"},{"photo_id":"1333192274","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333192285":["hashtag1","hashtag2"]},{"1333192147":["hashtag1","hashtag2"]},{"1333192024":["hashtag1","hashtag2"]},{"1333192029":["hashtag1","hashtag2"]},{"1333192274":["hashtag1","hashtag2"]},{"1333192277":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333192285, 1333192147, 1333192024, 1333192029, 1333192274, 1333192277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.92535614967346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:10:32.318550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/09/image_31012025_04_09_46_9347.jpg', '/home/pi/Desktop/images/31012025/04/09/image_31012025_04_09_56_10388.jpg', '/home/pi/Desktop/images/31012025/04/09/image_31012025_04_10_06_9407.jpg', '/home/pi/Desktop/images/31012025/04/10/image_31012025_04_10_16_10361.jpg', '/home/pi/Desktop/images/31012025/04/10/image_31012025_04_10_26_10374.jpg', '/home/pi/Desktop/images/31012025/04/10/image_31012025_04_10_36_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/09/image_31012025_04_09_46_9347.jpg
/home/pi/Desktop/images/31012025/04/09/image_31012025_04_09_56_10388.jpg
/home/pi/Desktop/images/31012025/04/09/image_31012025_04_10_06_9407.jpg
/home/pi/Desktop/images/31012025/04/10/image_31012025_04_10_16_10361.jpg
/home/pi/Desktop/images/31012025/04/10/image_31012025_04_10_26_10374.jpg
/home/pi/Desktop/images/31012025/04/10/image_31012025_04_10_36_9363.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5176751613616943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 04:10:42.282409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/09/image_31012025_04_09_46_9347.jpg', '/home/pi/Desktop/images/31012025/04/09/image_31012025_04_09_56_10388.jpg', '/home/pi/Desktop/images/31012025/04/09/image_31012025_04_10_06_9407.jpg', '/home/pi/Desktop/images/31012025/04/10/image_31012025_04_10_16_10361.jpg', '/home/pi/Desktop/images/31012025/04/10/image_31012025_04_10_26_10374.jpg', '/home/pi/Desktop/images/31012025/04/10/image_31012025_04_10_36_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/09/image_31012025_04_09_46_9347.jpg
/home/pi/Desktop/images/31012025/04/09/image_31012025_04_09_56_10388.jpg
/home/pi/Desktop/images/31012025/04/09/image_31012025_04_10_06_9407.jpg
/home/pi/Desktop/images/31012025/04/10/image_31012025_04_10_16_10361.jpg
/home/pi/Desktop/images/31012025/04/10/image_31012025_04_10_26_10374.jpg
/home/pi/Desktop/images/31012025/04/10/image_31012025_04_10_36_9363.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":["1333192426","1333192354","1333192416","1333192350","1333192344","1333192370"],"photo_ids_order":["1333192344","1333192350","1333192354","1333192370","1333192416","1333192426"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4412b16f7a47476be9cc23af21f0c80a.jpg","text":"TemporaryFile(/tmp/multipartBody8835016218001564435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293103198,"filename":"image_31012025_04_10_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/1/31/38836b2fab7b2efdb129363dd70c24af.jpg","text":"TemporaryFile(/tmp/multipartBody5275967012729220328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293103198,"filename":"image_31012025_04_10_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/1/31/25ca92c26c26345b20ac9cc1c7de470c.jpg","text":"TemporaryFile(/tmp/multipartBody3320677686972096036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293103198,"filename":"image_31012025_04_10_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/1/31/2eeeb4f2c9cd30b421770dc81396cf2d.jpg","text":"TemporaryFile(/tmp/multipartBody3624503996324322481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293103198,"filename":"image_31012025_04_09_56_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e7b9796d562aeb142ef69cf2106b4cea.jpg","text":"TemporaryFile(/tmp/multipartBody6425447542410147542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293103198,"filename":"image_31012025_04_09_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/1/31/0c07936b8fda01e9c59413b45724fc35.jpg","text":"TemporaryFile(/tmp/multipartBody4190838929876846101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293103198,"filename":"image_31012025_04_10_16_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333192354","file1":"1333192350","file0":"1333192344","file4":"1333192416","file5":"1333192426","file3":"1333192370"},"map_files_photo_id_array":[{"photo_id":"1333192426","filename":"file5"},{"photo_id":"1333192354","filename":"file2"},{"photo_id":"1333192416","filename":"file4"},{"photo_id":"1333192350","filename":"file1"},{"photo_id":"1333192344","filename":"file0"},{"photo_id":"1333192370","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333192426":["hashtag1","hashtag2"]},{"1333192354":["hashtag1","hashtag2"]},{"1333192416":["hashtag1","hashtag2"]},{"1333192350":["hashtag1","hashtag2"]},{"1333192344":["hashtag1","hashtag2"]},{"1333192370":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333192426, 1333192354, 1333192416, 1333192350, 1333192344, 1333192370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.01445770263672 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:11:32.540969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/10/image_31012025_04_10_46_10360.jpg', '/home/pi/Desktop/images/31012025/04/10/image_31012025_04_10_57_10363.jpg', '/home/pi/Desktop/images/31012025/04/10/image_31012025_04_11_06_9341.jpg', '/home/pi/Desktop/images/31012025/04/11/image_31012025_04_11_16_10387.jpg', '/home/pi/Desktop/images/31012025/04/11/image_31012025_04_11_27_10368.jpg', '/home/pi/Desktop/images/31012025/04/11/image_31012025_04_11_36_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/10/image_31012025_04_10_46_10360.jpg
/home/pi/Desktop/images/31012025/04/10/image_31012025_04_10_57_10363.jpg
/home/pi/Desktop/images/31012025/04/10/image_31012025_04_11_06_9341.jpg
/home/pi/Desktop/images/31012025/04/11/image_31012025_04_11_16_10387.jpg
/home/pi/Desktop/images/31012025/04/11/image_31012025_04_11_27_10368.jpg
/home/pi/Desktop/images/31012025/04/11/image_31012025_04_11_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":["1333192552","1333192596","1333192590","1333192593","1333192598","1333192583"],"photo_ids_order":["1333192552","1333192583","1333192590","1333192593","1333192596","1333192598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8e9be60c364f5163753b50a13ac550a7.jpg","text":"TemporaryFile(/tmp/multipartBody687055106264434043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293153446,"filename":"image_31012025_04_10_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/1/31/b66ec34221ce5b94847a0ed119aa1f5d.jpg","text":"TemporaryFile(/tmp/multipartBody8070161237637348642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293153446,"filename":"image_31012025_04_11_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/1/31/1eb4cb9df8184a4fec289755831a6b33.jpg","text":"TemporaryFile(/tmp/multipartBody7298077952914930156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293153446,"filename":"image_31012025_04_11_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/1/31/fae1b9dffab820a4271c2de0082ee8ad.jpg","text":"TemporaryFile(/tmp/multipartBody4631332164620540438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293153446,"filename":"image_31012025_04_11_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/1/31/11d6ac18c8c129145632cf40a5b16867.jpg","text":"TemporaryFile(/tmp/multipartBody5843553701741157508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293153446,"filename":"image_31012025_04_11_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/1/31/7570a21f6c7178a2aa102ecfe5b6ba7f.jpg","text":"TemporaryFile(/tmp/multipartBody4309264830172745205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293153446,"filename":"image_31012025_04_10_57_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333192590","file1":"1333192583","file0":"1333192552","file4":"1333192596","file5":"1333192598","file3":"1333192593"},"map_files_photo_id_array":[{"photo_id":"1333192598","filename":"file5"},{"photo_id":"1333192590","filename":"file2"},{"photo_id":"1333192596","filename":"file4"},{"photo_id":"1333192583","filename":"file1"},{"photo_id":"1333192552","filename":"file0"},{"photo_id":"1333192593","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333192552":["hashtag1","hashtag2"]},{"1333192596":["hashtag1","hashtag2"]},{"1333192590":["hashtag1","hashtag2"]},{"1333192593":["hashtag1","hashtag2"]},{"1333192598":["hashtag1","hashtag2"]},{"1333192583":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333192552, 1333192596, 1333192590, 1333192593, 1333192598, 1333192583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.311851978302 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:12:32.708151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/11/image_31012025_04_11_46_10388.jpg', '/home/pi/Desktop/images/31012025/04/11/image_31012025_04_11_56_9443.jpg', '/home/pi/Desktop/images/31012025/04/11/image_31012025_04_12_06_10393.jpg', '/home/pi/Desktop/images/31012025/04/12/image_31012025_04_12_17_10408.jpg', '/home/pi/Desktop/images/31012025/04/12/image_31012025_04_12_26_9331.jpg', '/home/pi/Desktop/images/31012025/04/12/image_31012025_04_12_36_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/11/image_31012025_04_11_46_10388.jpg
/home/pi/Desktop/images/31012025/04/11/image_31012025_04_11_56_9443.jpg
/home/pi/Desktop/images/31012025/04/11/image_31012025_04_12_06_10393.jpg
/home/pi/Desktop/images/31012025/04/12/image_31012025_04_12_17_10408.jpg
/home/pi/Desktop/images/31012025/04/12/image_31012025_04_12_26_9331.jpg
/home/pi/Desktop/images/31012025/04/12/image_31012025_04_12_36_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":["1333192723","1333192702","1333192776","1333192764","1333192821","1333192710"],"photo_ids_order":["1333192702","1333192710","1333192723","1333192764","1333192776","1333192821"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4b3d53eb2e43bb3f29b7bd2168157a17.jpg","text":"TemporaryFile(/tmp/multipartBody5854653523760548657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293213615,"filename":"image_31012025_04_12_06_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0330cda707ca4ac082c2a0389a4d239d.jpg","text":"TemporaryFile(/tmp/multipartBody8011386568544289196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293213615,"filename":"image_31012025_04_11_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/1/31/bab26d1c2f22030d79b0d6991cccafe8.jpg","text":"TemporaryFile(/tmp/multipartBody6497900394400933868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293213615,"filename":"image_31012025_04_12_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/1/31/04205dee2137d39f5f5a891cf62d9ebe.jpg","text":"TemporaryFile(/tmp/multipartBody358838050254808410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293213615,"filename":"image_31012025_04_12_17_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d4151128629270f0c28fde0f05ae661d.jpg","text":"TemporaryFile(/tmp/multipartBody7155279231873584100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293213615,"filename":"image_31012025_04_12_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/1/31/a0e8f52aaf9e4aec6d33bda7e04c7e0f.jpg","text":"TemporaryFile(/tmp/multipartBody6885778059129082665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293213615,"filename":"image_31012025_04_11_56_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333192723","file1":"1333192710","file0":"1333192702","file4":"1333192776","file5":"1333192821","file3":"1333192764"},"map_files_photo_id_array":[{"photo_id":"1333192821","filename":"file5"},{"photo_id":"1333192723","filename":"file2"},{"photo_id":"1333192776","filename":"file4"},{"photo_id":"1333192710","filename":"file1"},{"photo_id":"1333192702","filename":"file0"},{"photo_id":"1333192764","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333192723":["hashtag1","hashtag2"]},{"1333192702":["hashtag1","hashtag2"]},{"1333192776":["hashtag1","hashtag2"]},{"1333192764":["hashtag1","hashtag2"]},{"1333192821":["hashtag1","hashtag2"]},{"1333192710":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333192723, 1333192702, 1333192776, 1333192764, 1333192821, 1333192710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.95406150817871 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:13:32.834159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/12/image_31012025_04_12_47_10348.jpg', '/home/pi/Desktop/images/31012025/04/12/image_31012025_04_12_56_9399.jpg', '/home/pi/Desktop/images/31012025/04/12/image_31012025_04_13_06_10420.jpg', '/home/pi/Desktop/images/31012025/04/13/image_31012025_04_13_16_9340.jpg', '/home/pi/Desktop/images/31012025/04/13/image_31012025_04_13_26_10453.jpg', '/home/pi/Desktop/images/31012025/04/13/image_31012025_04_13_37_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/12/image_31012025_04_12_47_10348.jpg
/home/pi/Desktop/images/31012025/04/12/image_31012025_04_12_56_9399.jpg
/home/pi/Desktop/images/31012025/04/12/image_31012025_04_13_06_10420.jpg
/home/pi/Desktop/images/31012025/04/13/image_31012025_04_13_16_9340.jpg
/home/pi/Desktop/images/31012025/04/13/image_31012025_04_13_26_10453.jpg
/home/pi/Desktop/images/31012025/04/13/image_31012025_04_13_37_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":["1333192928","1333192911","1333192920","1333192914","1333192917","1333192925"],"photo_ids_order":["1333192911","1333192914","1333192917","1333192920","1333192925","1333192928"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/96a334dbaa9c181fec6d82c4f1ad2355.jpg","text":"TemporaryFile(/tmp/multipartBody2277745637953092536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293273747,"filename":"image_31012025_04_13_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/1/31/1ea8d2aab13a9785e0ab287b8ea0508d.jpg","text":"TemporaryFile(/tmp/multipartBody4444842176814485080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293273747,"filename":"image_31012025_04_12_47_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/781b55f7f6390ba28482fa16f3b8dc8a.jpg","text":"TemporaryFile(/tmp/multipartBody6555049336375155630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293273747,"filename":"image_31012025_04_13_16_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/30e5e77ab7855cca8bd92611642b3df2.jpg","text":"TemporaryFile(/tmp/multipartBody4553543955827586463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293273747,"filename":"image_31012025_04_12_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/1/31/0948b77bb3465932b0c5debcbf289bfe.jpg","text":"TemporaryFile(/tmp/multipartBody5466426654045072566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293273747,"filename":"image_31012025_04_13_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/1/31/23546f345f6d3617dc49ca53836b171c.jpg","text":"TemporaryFile(/tmp/multipartBody8688902340106705002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293273747,"filename":"image_31012025_04_13_26_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333192917","file1":"1333192914","file0":"1333192911","file4":"1333192925","file5":"1333192928","file3":"1333192920"},"map_files_photo_id_array":[{"photo_id":"1333192928","filename":"file5"},{"photo_id":"1333192917","filename":"file2"},{"photo_id":"1333192925","filename":"file4"},{"photo_id":"1333192914","filename":"file1"},{"photo_id":"1333192911","filename":"file0"},{"photo_id":"1333192920","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333192928":["hashtag1","hashtag2"]},{"1333192911":["hashtag1","hashtag2"]},{"1333192920":["hashtag1","hashtag2"]},{"1333192914":["hashtag1","hashtag2"]},{"1333192917":["hashtag1","hashtag2"]},{"1333192925":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333192928, 1333192911, 1333192920, 1333192914, 1333192917, 1333192925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.9462103843689 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:14:32.321619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/13/image_31012025_04_13_46_9414.jpg', '/home/pi/Desktop/images/31012025/04/13/image_31012025_04_13_56_10348.jpg', '/home/pi/Desktop/images/31012025/04/13/image_31012025_04_14_06_9399.jpg', '/home/pi/Desktop/images/31012025/04/14/image_31012025_04_14_16_10411.jpg', '/home/pi/Desktop/images/31012025/04/14/image_31012025_04_14_27_10347.jpg', '/home/pi/Desktop/images/31012025/04/14/image_31012025_04_14_36_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/13/image_31012025_04_13_46_9414.jpg
/home/pi/Desktop/images/31012025/04/13/image_31012025_04_13_56_10348.jpg
/home/pi/Desktop/images/31012025/04/13/image_31012025_04_14_06_9399.jpg
/home/pi/Desktop/images/31012025/04/14/image_31012025_04_14_16_10411.jpg
/home/pi/Desktop/images/31012025/04/14/image_31012025_04_14_27_10347.jpg
/home/pi/Desktop/images/31012025/04/14/image_31012025_04_14_36_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":["1333193179","1333193184","1333193175","1333193082","1333193191","1333193188"],"photo_ids_order":["1333193082","1333193175","1333193179","1333193184","1333193188","1333193191"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d4c530fc58d8deff18030b30bb610b9c.jpg","text":"TemporaryFile(/tmp/multipartBody200720855859203103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293333235,"filename":"image_31012025_04_14_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/1/31/9be7bb02509e202501b610ea95418d67.jpg","text":"TemporaryFile(/tmp/multipartBody8574431360909223371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293333235,"filename":"image_31012025_04_14_16_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ee34e3ad6cc45b0264e73a1329072621.jpg","text":"TemporaryFile(/tmp/multipartBody7213746749305125616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293333235,"filename":"image_31012025_04_13_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/1/31/dbf7e3581e79720e046e21cd7d940b3b.jpg","text":"TemporaryFile(/tmp/multipartBody9192835713277097355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293333235,"filename":"image_31012025_04_13_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/1/31/509536bb47ae9e3cccebff768bf51415.jpg","text":"TemporaryFile(/tmp/multipartBody6922434916468210107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293333235,"filename":"image_31012025_04_14_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/1/31/e5935d4fabb81baed18ccbb71785ade3.jpg","text":"TemporaryFile(/tmp/multipartBody9035529724469202295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293333235,"filename":"image_31012025_04_14_27_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333193179","file1":"1333193175","file0":"1333193082","file4":"1333193188","file5":"1333193191","file3":"1333193184"},"map_files_photo_id_array":[{"photo_id":"1333193191","filename":"file5"},{"photo_id":"1333193179","filename":"file2"},{"photo_id":"1333193188","filename":"file4"},{"photo_id":"1333193175","filename":"file1"},{"photo_id":"1333193082","filename":"file0"},{"photo_id":"1333193184","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333193179":["hashtag1","hashtag2"]},{"1333193184":["hashtag1","hashtag2"]},{"1333193175":["hashtag1","hashtag2"]},{"1333193082":["hashtag1","hashtag2"]},{"1333193191":["hashtag1","hashtag2"]},{"1333193188":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333193179, 1333193184, 1333193175, 1333193082, 1333193191, 1333193188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.40057325363159 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:15:32.530416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/14/image_31012025_04_14_46_10457.jpg', '/home/pi/Desktop/images/31012025/04/14/image_31012025_04_14_56_9424.jpg', '/home/pi/Desktop/images/31012025/04/14/image_31012025_04_15_06_10440.jpg', '/home/pi/Desktop/images/31012025/04/15/image_31012025_04_15_17_10356.jpg', '/home/pi/Desktop/images/31012025/04/15/image_31012025_04_15_26_9385.jpg', '/home/pi/Desktop/images/31012025/04/15/image_31012025_04_15_36_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/14/image_31012025_04_14_46_10457.jpg
/home/pi/Desktop/images/31012025/04/14/image_31012025_04_14_56_9424.jpg
/home/pi/Desktop/images/31012025/04/14/image_31012025_04_15_06_10440.jpg
/home/pi/Desktop/images/31012025/04/15/image_31012025_04_15_17_10356.jpg
/home/pi/Desktop/images/31012025/04/15/image_31012025_04_15_26_9385.jpg
/home/pi/Desktop/images/31012025/04/15/image_31012025_04_15_36_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":["1333193239","1333193230","1333193215","1333193235","1333193210","1333193204"],"photo_ids_order":["1333193204","1333193210","1333193215","1333193230","1333193235","1333193239"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d2eba3fc24f31e1819e2a35d9721ab14.jpg","text":"TemporaryFile(/tmp/multipartBody3222396554183543147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293393467,"filename":"image_31012025_04_15_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/1/31/a7fe7228da8548b1281a507339755132.jpg","text":"TemporaryFile(/tmp/multipartBody4039400922592302114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293393467,"filename":"image_31012025_04_15_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/1/31/be68214f5a02fc1baaa605c1e2b01fe5.jpg","text":"TemporaryFile(/tmp/multipartBody4361166936575499732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293393467,"filename":"image_31012025_04_15_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/1/31/db9585124dbde1fb060700c4c2959704.jpg","text":"TemporaryFile(/tmp/multipartBody4265555136452668754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293393467,"filename":"image_31012025_04_15_26_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/16ad994ef55915f3a8c7ffa7257b61cb.jpg","text":"TemporaryFile(/tmp/multipartBody5253963384726977194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293393467,"filename":"image_31012025_04_14_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/1/31/bd97e41be13f895f2398d121317f7c79.jpg","text":"TemporaryFile(/tmp/multipartBody5839853337572220072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293393467,"filename":"image_31012025_04_14_46_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333193215","file1":"1333193210","file0":"1333193204","file4":"1333193235","file5":"1333193239","file3":"1333193230"},"map_files_photo_id_array":[{"photo_id":"1333193239","filename":"file5"},{"photo_id":"1333193215","filename":"file2"},{"photo_id":"1333193235","filename":"file4"},{"photo_id":"1333193210","filename":"file1"},{"photo_id":"1333193204","filename":"file0"},{"photo_id":"1333193230","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333193239":["hashtag1","hashtag2"]},{"1333193230":["hashtag1","hashtag2"]},{"1333193215":["hashtag1","hashtag2"]},{"1333193235":["hashtag1","hashtag2"]},{"1333193210":["hashtag1","hashtag2"]},{"1333193204":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333193239, 1333193230, 1333193215, 1333193235, 1333193210, 1333193204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.208258628845215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:16:32.807125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/15/image_31012025_04_15_46_9365.jpg', '/home/pi/Desktop/images/31012025/04/15/image_31012025_04_15_56_10438.jpg', '/home/pi/Desktop/images/31012025/04/15/image_31012025_04_16_07_10416.jpg', '/home/pi/Desktop/images/31012025/04/16/image_31012025_04_16_16_9416.jpg', '/home/pi/Desktop/images/31012025/04/16/image_31012025_04_16_26_10366.jpg', '/home/pi/Desktop/images/31012025/04/16/image_31012025_04_16_36_9427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/15/image_31012025_04_15_46_9365.jpg
/home/pi/Desktop/images/31012025/04/15/image_31012025_04_15_56_10438.jpg
/home/pi/Desktop/images/31012025/04/15/image_31012025_04_16_07_10416.jpg
/home/pi/Desktop/images/31012025/04/16/image_31012025_04_16_16_9416.jpg
/home/pi/Desktop/images/31012025/04/16/image_31012025_04_16_26_10366.jpg
/home/pi/Desktop/images/31012025/04/16/image_31012025_04_16_36_9427.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5434601306915283 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 04:16:42.772313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/15/image_31012025_04_15_46_9365.jpg', '/home/pi/Desktop/images/31012025/04/15/image_31012025_04_15_56_10438.jpg', '/home/pi/Desktop/images/31012025/04/15/image_31012025_04_16_07_10416.jpg', '/home/pi/Desktop/images/31012025/04/16/image_31012025_04_16_16_9416.jpg', '/home/pi/Desktop/images/31012025/04/16/image_31012025_04_16_26_10366.jpg', '/home/pi/Desktop/images/31012025/04/16/image_31012025_04_16_36_9427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/15/image_31012025_04_15_46_9365.jpg
/home/pi/Desktop/images/31012025/04/15/image_31012025_04_15_56_10438.jpg
/home/pi/Desktop/images/31012025/04/15/image_31012025_04_16_07_10416.jpg
/home/pi/Desktop/images/31012025/04/16/image_31012025_04_16_16_9416.jpg
/home/pi/Desktop/images/31012025/04/16/image_31012025_04_16_26_10366.jpg
/home/pi/Desktop/images/31012025/04/16/image_31012025_04_16_36_9427.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":["1333193284","1333193266","1333193271","1333193262","1333193276","1333193281"],"photo_ids_order":["1333193262","1333193266","1333193271","1333193276","1333193281","1333193284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/49d435a44090236bf395d5f08c6b6a4a.jpg","text":"TemporaryFile(/tmp/multipartBody2912943852360137163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293463681,"filename":"image_31012025_04_16_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/1/31/532bcea15583a4b86c9ddab2d06493e0.jpg","text":"TemporaryFile(/tmp/multipartBody7081057984559103467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293463681,"filename":"image_31012025_04_15_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/1/31/7e756a8edf0fa6ad138db1f3d834e2f0.jpg","text":"TemporaryFile(/tmp/multipartBody122480965241885234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293463681,"filename":"image_31012025_04_16_07_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/603c0fc2a24712779826dc9f4b0ec518.jpg","text":"TemporaryFile(/tmp/multipartBody1403845419398113815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293463681,"filename":"image_31012025_04_15_46_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f617d7b247498e2af0096f9d47b41508.jpg","text":"TemporaryFile(/tmp/multipartBody7455059236924191032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293463681,"filename":"image_31012025_04_16_16_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/181205a6c2c21019f03255de6a698943.jpg","text":"TemporaryFile(/tmp/multipartBody7658463039683789057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293463681,"filename":"image_31012025_04_16_26_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333193271","file1":"1333193266","file0":"1333193262","file4":"1333193281","file5":"1333193284","file3":"1333193276"},"map_files_photo_id_array":[{"photo_id":"1333193284","filename":"file5"},{"photo_id":"1333193271","filename":"file2"},{"photo_id":"1333193281","filename":"file4"},{"photo_id":"1333193266","filename":"file1"},{"photo_id":"1333193262","filename":"file0"},{"photo_id":"1333193276","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333193284":["hashtag1","hashtag2"]},{"1333193266":["hashtag1","hashtag2"]},{"1333193271":["hashtag1","hashtag2"]},{"1333193262":["hashtag1","hashtag2"]},{"1333193276":["hashtag1","hashtag2"]},{"1333193281":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333193284, 1333193266, 1333193271, 1333193262, 1333193276, 1333193281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45562386512756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:17:33.092389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/16/image_31012025_04_16_46_10364.jpg', '/home/pi/Desktop/images/31012025/04/16/image_31012025_04_16_56_10356.jpg', '/home/pi/Desktop/images/31012025/04/16/image_31012025_04_17_06_9410.jpg', '/home/pi/Desktop/images/31012025/04/17/image_31012025_04_17_16_10353.jpg', '/home/pi/Desktop/images/31012025/04/17/image_31012025_04_17_27_10356.jpg', '/home/pi/Desktop/images/31012025/04/17/image_31012025_04_17_36_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/16/image_31012025_04_16_46_10364.jpg
/home/pi/Desktop/images/31012025/04/16/image_31012025_04_16_56_10356.jpg
/home/pi/Desktop/images/31012025/04/16/image_31012025_04_17_06_9410.jpg
/home/pi/Desktop/images/31012025/04/17/image_31012025_04_17_16_10353.jpg
/home/pi/Desktop/images/31012025/04/17/image_31012025_04_17_27_10356.jpg
/home/pi/Desktop/images/31012025/04/17/image_31012025_04_17_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":["1333193326","1333193305","1333193308","1333193301","1333193319","1333193296"],"photo_ids_order":["1333193296","1333193301","1333193305","1333193308","1333193319","1333193326"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0662f1ac2cfdeb20c8e40687cd950cd9.jpg","text":"TemporaryFile(/tmp/multipartBody238743091843957844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293514027,"filename":"image_31012025_04_17_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/1/31/3c798cc19649a07849f495de95820f2f.jpg","text":"TemporaryFile(/tmp/multipartBody2691773709020855953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293514027,"filename":"image_31012025_04_17_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/1/31/b29a4fbc3e0ea4ddf6e307d3ea296dfc.jpg","text":"TemporaryFile(/tmp/multipartBody4279657404576098781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293514027,"filename":"image_31012025_04_17_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/1/31/849086c87c91ee149a7fbb34a09e6938.jpg","text":"TemporaryFile(/tmp/multipartBody9166012507827573999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293514027,"filename":"image_31012025_04_16_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/1/31/21a6e03616edce482470e862f9c7275f.jpg","text":"TemporaryFile(/tmp/multipartBody6601568018592058825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293514027,"filename":"image_31012025_04_17_27_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1a5329a594b71f47c31b05bce239ac71.jpg","text":"TemporaryFile(/tmp/multipartBody6953567258743893881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293514027,"filename":"image_31012025_04_16_46_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333193305","file1":"1333193301","file0":"1333193296","file4":"1333193319","file5":"1333193326","file3":"1333193308"},"map_files_photo_id_array":[{"photo_id":"1333193326","filename":"file5"},{"photo_id":"1333193305","filename":"file2"},{"photo_id":"1333193319","filename":"file4"},{"photo_id":"1333193301","filename":"file1"},{"photo_id":"1333193296","filename":"file0"},{"photo_id":"1333193308","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333193326":["hashtag1","hashtag2"]},{"1333193305":["hashtag1","hashtag2"]},{"1333193308":["hashtag1","hashtag2"]},{"1333193301":["hashtag1","hashtag2"]},{"1333193319":["hashtag1","hashtag2"]},{"1333193296":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333193326, 1333193305, 1333193308, 1333193301, 1333193319, 1333193296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.656805992126465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:18:32.192071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/17/image_31012025_04_17_46_10363.jpg', '/home/pi/Desktop/images/31012025/04/17/image_31012025_04_17_56_9475.jpg', '/home/pi/Desktop/images/31012025/04/17/image_31012025_04_18_06_10339.jpg', '/home/pi/Desktop/images/31012025/04/18/image_31012025_04_18_16_10333.jpg', '/home/pi/Desktop/images/31012025/04/18/image_31012025_04_18_26_9370.jpg', '/home/pi/Desktop/images/31012025/04/18/image_31012025_04_18_36_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/17/image_31012025_04_17_46_10363.jpg
/home/pi/Desktop/images/31012025/04/17/image_31012025_04_17_56_9475.jpg
/home/pi/Desktop/images/31012025/04/17/image_31012025_04_18_06_10339.jpg
/home/pi/Desktop/images/31012025/04/18/image_31012025_04_18_16_10333.jpg
/home/pi/Desktop/images/31012025/04/18/image_31012025_04_18_26_9370.jpg
/home/pi/Desktop/images/31012025/04/18/image_31012025_04_18_36_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":["1333193356","1333193365","1333193344","1333193352","1333193360","1333193348"],"photo_ids_order":["1333193344","1333193348","1333193352","1333193356","1333193360","1333193365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e0876309848171f2d1965c8ac91e8fab.jpg","text":"TemporaryFile(/tmp/multipartBody900464810583457167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293573096,"filename":"image_31012025_04_18_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/1/31/141cd20ea06ceba6ace6561e78787920.jpg","text":"TemporaryFile(/tmp/multipartBody406470169241787071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293573096,"filename":"image_31012025_04_18_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/1/31/b4c28ff07286fc1e8b73255ebdd99961.jpg","text":"TemporaryFile(/tmp/multipartBody3184150953586035478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293573096,"filename":"image_31012025_04_17_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/1/31/6f3e5a660d56a08a429d5a3a90898996.jpg","text":"TemporaryFile(/tmp/multipartBody5601139127969346439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293573096,"filename":"image_31012025_04_18_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/1/31/86733f5e6b1c3b05cb10ae0def084512.jpg","text":"TemporaryFile(/tmp/multipartBody7919104412947664225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293573096,"filename":"image_31012025_04_18_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/1/31/14424052c244dc70af8d3d0428d5b09b.jpg","text":"TemporaryFile(/tmp/multipartBody7725591864516374917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293573096,"filename":"image_31012025_04_17_56_9475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333193352","file1":"1333193348","file0":"1333193344","file4":"1333193360","file5":"1333193365","file3":"1333193356"},"map_files_photo_id_array":[{"photo_id":"1333193365","filename":"file5"},{"photo_id":"1333193352","filename":"file2"},{"photo_id":"1333193360","filename":"file4"},{"photo_id":"1333193348","filename":"file1"},{"photo_id":"1333193344","filename":"file0"},{"photo_id":"1333193356","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333193356":["hashtag1","hashtag2"]},{"1333193365":["hashtag1","hashtag2"]},{"1333193344":["hashtag1","hashtag2"]},{"1333193352":["hashtag1","hashtag2"]},{"1333193360":["hashtag1","hashtag2"]},{"1333193348":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333193356, 1333193365, 1333193344, 1333193352, 1333193360, 1333193348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29888296127319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:19:32.425299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/18/image_31012025_04_18_47_10429.jpg', '/home/pi/Desktop/images/31012025/04/18/image_31012025_04_18_56_9337.jpg', '/home/pi/Desktop/images/31012025/04/18/image_31012025_04_19_06_10328.jpg', '/home/pi/Desktop/images/31012025/04/19/image_31012025_04_19_17_10389.jpg', '/home/pi/Desktop/images/31012025/04/19/image_31012025_04_19_26_9339.jpg', '/home/pi/Desktop/images/31012025/04/19/image_31012025_04_19_36_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/18/image_31012025_04_18_47_10429.jpg
/home/pi/Desktop/images/31012025/04/18/image_31012025_04_18_56_9337.jpg
/home/pi/Desktop/images/31012025/04/18/image_31012025_04_19_06_10328.jpg
/home/pi/Desktop/images/31012025/04/19/image_31012025_04_19_17_10389.jpg
/home/pi/Desktop/images/31012025/04/19/image_31012025_04_19_26_9339.jpg
/home/pi/Desktop/images/31012025/04/19/image_31012025_04_19_36_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":["1333193385","1333193379","1333193423","1333193405","1333193408","1333193402"],"photo_ids_order":["1333193379","1333193385","1333193402","1333193405","1333193408","1333193423"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2e0f7467805764140b8a794493077173.jpg","text":"TemporaryFile(/tmp/multipartBody6544692248078400949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293633366,"filename":"image_31012025_04_18_56_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/60d31a23aef8e2bf3ac50bcc1716732f.jpg","text":"TemporaryFile(/tmp/multipartBody4377112315221251504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293633366,"filename":"image_31012025_04_18_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/1/31/9efaa40b7119dc3668a5f76b1e3eb7e1.jpg","text":"TemporaryFile(/tmp/multipartBody8137886600329723232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293633366,"filename":"image_31012025_04_19_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/1/31/e91332349812b0a356297c362223280e.jpg","text":"TemporaryFile(/tmp/multipartBody7743906033043703444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293633366,"filename":"image_31012025_04_19_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/1/31/4d4c37ada129fa2a64385ef49ccd8ede.jpg","text":"TemporaryFile(/tmp/multipartBody4862989664973184091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293633366,"filename":"image_31012025_04_19_26_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/52fa2e81b6a661432458e7aa8e3c74ef.jpg","text":"TemporaryFile(/tmp/multipartBody4099737693132800097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293633366,"filename":"image_31012025_04_19_06_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333193402","file1":"1333193385","file0":"1333193379","file4":"1333193408","file5":"1333193423","file3":"1333193405"},"map_files_photo_id_array":[{"photo_id":"1333193423","filename":"file5"},{"photo_id":"1333193402","filename":"file2"},{"photo_id":"1333193408","filename":"file4"},{"photo_id":"1333193385","filename":"file1"},{"photo_id":"1333193379","filename":"file0"},{"photo_id":"1333193405","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333193385":["hashtag1","hashtag2"]},{"1333193379":["hashtag1","hashtag2"]},{"1333193423":["hashtag1","hashtag2"]},{"1333193405":["hashtag1","hashtag2"]},{"1333193408":["hashtag1","hashtag2"]},{"1333193402":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333193385, 1333193379, 1333193423, 1333193405, 1333193408, 1333193402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.521005153656006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:20:32.672976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/19/image_31012025_04_19_46_9430.jpg', '/home/pi/Desktop/images/31012025/04/19/image_31012025_04_19_56_10433.jpg', '/home/pi/Desktop/images/31012025/04/19/image_31012025_04_20_06_9445.jpg', '/home/pi/Desktop/images/31012025/04/20/image_31012025_04_20_16_10418.jpg', '/home/pi/Desktop/images/31012025/04/20/image_31012025_04_20_27_10392.jpg', '/home/pi/Desktop/images/31012025/04/20/image_31012025_04_20_36_9359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/19/image_31012025_04_19_46_9430.jpg
/home/pi/Desktop/images/31012025/04/19/image_31012025_04_19_56_10433.jpg
/home/pi/Desktop/images/31012025/04/19/image_31012025_04_20_06_9445.jpg
/home/pi/Desktop/images/31012025/04/20/image_31012025_04_20_16_10418.jpg
/home/pi/Desktop/images/31012025/04/20/image_31012025_04_20_27_10392.jpg
/home/pi/Desktop/images/31012025/04/20/image_31012025_04_20_36_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5486924648284912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 04:20:42.523679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/19/image_31012025_04_19_46_9430.jpg', '/home/pi/Desktop/images/31012025/04/19/image_31012025_04_19_56_10433.jpg', '/home/pi/Desktop/images/31012025/04/19/image_31012025_04_20_06_9445.jpg', '/home/pi/Desktop/images/31012025/04/20/image_31012025_04_20_16_10418.jpg', '/home/pi/Desktop/images/31012025/04/20/image_31012025_04_20_27_10392.jpg', '/home/pi/Desktop/images/31012025/04/20/image_31012025_04_20_36_9359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/19/image_31012025_04_19_46_9430.jpg
/home/pi/Desktop/images/31012025/04/19/image_31012025_04_19_56_10433.jpg
/home/pi/Desktop/images/31012025/04/19/image_31012025_04_20_06_9445.jpg
/home/pi/Desktop/images/31012025/04/20/image_31012025_04_20_16_10418.jpg
/home/pi/Desktop/images/31012025/04/20/image_31012025_04_20_27_10392.jpg
/home/pi/Desktop/images/31012025/04/20/image_31012025_04_20_36_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":["1333193509","1333193514","1333193511","1333193505","1333193498","1333193501"],"photo_ids_order":["1333193498","1333193501","1333193505","1333193509","1333193511","1333193514"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1cbd6e542d86e4ef26223073277b4003.jpg","text":"TemporaryFile(/tmp/multipartBody1581544143953173434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293703443,"filename":"image_31012025_04_20_16_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5a5832a3c5b910e6354eef9440ccc22c.jpg","text":"TemporaryFile(/tmp/multipartBody601452748298714684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293703443,"filename":"image_31012025_04_20_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/1/31/7d698d3423c37d8a7769fd8da8e1cf09.jpg","text":"TemporaryFile(/tmp/multipartBody1445909458838537224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293703443,"filename":"image_31012025_04_20_27_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6dcdfb9c99b5083d1c5064e05def4844.jpg","text":"TemporaryFile(/tmp/multipartBody7352875694591645268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293703443,"filename":"image_31012025_04_20_06_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cdd74c4709eb183771df39166290033c.jpg","text":"TemporaryFile(/tmp/multipartBody7619765635914403865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293703443,"filename":"image_31012025_04_19_46_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4fee27b73be43012951a25d7fd7e2b45.jpg","text":"TemporaryFile(/tmp/multipartBody1413790401296291248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293703443,"filename":"image_31012025_04_19_56_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333193505","file1":"1333193501","file0":"1333193498","file4":"1333193511","file5":"1333193514","file3":"1333193509"},"map_files_photo_id_array":[{"photo_id":"1333193514","filename":"file5"},{"photo_id":"1333193505","filename":"file2"},{"photo_id":"1333193511","filename":"file4"},{"photo_id":"1333193501","filename":"file1"},{"photo_id":"1333193498","filename":"file0"},{"photo_id":"1333193509","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333193509":["hashtag1","hashtag2"]},{"1333193514":["hashtag1","hashtag2"]},{"1333193511":["hashtag1","hashtag2"]},{"1333193505":["hashtag1","hashtag2"]},{"1333193498":["hashtag1","hashtag2"]},{"1333193501":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333193509, 1333193514, 1333193511, 1333193505, 1333193498, 1333193501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.062140703201294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:21:32.775739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/20/image_31012025_04_20_46_10372.jpg', '/home/pi/Desktop/images/31012025/04/20/image_31012025_04_20_57_10383.jpg', '/home/pi/Desktop/images/31012025/04/20/image_31012025_04_21_06_9400.jpg', '/home/pi/Desktop/images/31012025/04/21/image_31012025_04_21_16_10368.jpg', '/home/pi/Desktop/images/31012025/04/21/image_31012025_04_21_26_9389.jpg', '/home/pi/Desktop/images/31012025/04/21/image_31012025_04_21_36_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/20/image_31012025_04_20_46_10372.jpg
/home/pi/Desktop/images/31012025/04/20/image_31012025_04_20_57_10383.jpg
/home/pi/Desktop/images/31012025/04/20/image_31012025_04_21_06_9400.jpg
/home/pi/Desktop/images/31012025/04/21/image_31012025_04_21_16_10368.jpg
/home/pi/Desktop/images/31012025/04/21/image_31012025_04_21_26_9389.jpg
/home/pi/Desktop/images/31012025/04/21/image_31012025_04_21_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":["1333193592","1333193562","1333193586","1333193567","1333193596","1333193590"],"photo_ids_order":["1333193562","1333193567","1333193586","1333193590","1333193592","1333193596"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/25f7c73520141aea4b12f19088ca9924.jpg","text":"TemporaryFile(/tmp/multipartBody1540922156550624085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293753685,"filename":"image_31012025_04_21_26_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7053760cbfcc7087890259e0c20f34af.jpg","text":"TemporaryFile(/tmp/multipartBody6798048084691282735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293753685,"filename":"image_31012025_04_20_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/1/31/7e535305a93f4e6fea0b58aa38a7dd6b.jpg","text":"TemporaryFile(/tmp/multipartBody5816844836053892216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293753685,"filename":"image_31012025_04_21_06_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/51330190e7e98aaf531516c248e547d5.jpg","text":"TemporaryFile(/tmp/multipartBody6652168670277302066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293753685,"filename":"image_31012025_04_20_57_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/20b9bd0d8354ea034c0a40d73f1aa068.jpg","text":"TemporaryFile(/tmp/multipartBody1509567081335965678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293753685,"filename":"image_31012025_04_21_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/1/31/44f86051670e30148d0dc71a471925b7.jpg","text":"TemporaryFile(/tmp/multipartBody5735146876512746235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293753685,"filename":"image_31012025_04_21_16_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333193586","file1":"1333193567","file0":"1333193562","file4":"1333193592","file5":"1333193596","file3":"1333193590"},"map_files_photo_id_array":[{"photo_id":"1333193596","filename":"file5"},{"photo_id":"1333193586","filename":"file2"},{"photo_id":"1333193592","filename":"file4"},{"photo_id":"1333193567","filename":"file1"},{"photo_id":"1333193562","filename":"file0"},{"photo_id":"1333193590","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333193592":["hashtag1","hashtag2"]},{"1333193562":["hashtag1","hashtag2"]},{"1333193586":["hashtag1","hashtag2"]},{"1333193567":["hashtag1","hashtag2"]},{"1333193596":["hashtag1","hashtag2"]},{"1333193590":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333193592, 1333193562, 1333193586, 1333193567, 1333193596, 1333193590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.31344175338745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:22:32.930760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/21/image_31012025_04_21_47_10416.jpg', '/home/pi/Desktop/images/31012025/04/21/image_31012025_04_21_56_9343.jpg', '/home/pi/Desktop/images/31012025/04/21/image_31012025_04_22_06_10427.jpg', '/home/pi/Desktop/images/31012025/04/22/image_31012025_04_22_16_9460.jpg', '/home/pi/Desktop/images/31012025/04/22/image_31012025_04_22_26_10421.jpg', '/home/pi/Desktop/images/31012025/04/22/image_31012025_04_22_37_10406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/21/image_31012025_04_21_47_10416.jpg
/home/pi/Desktop/images/31012025/04/21/image_31012025_04_21_56_9343.jpg
/home/pi/Desktop/images/31012025/04/21/image_31012025_04_22_06_10427.jpg
/home/pi/Desktop/images/31012025/04/22/image_31012025_04_22_16_9460.jpg
/home/pi/Desktop/images/31012025/04/22/image_31012025_04_22_26_10421.jpg
/home/pi/Desktop/images/31012025/04/22/image_31012025_04_22_37_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":["1333194424","1333194432","1333194435","1333194429","1333194332","1333194122"],"photo_ids_order":["1333194122","1333194332","1333194424","1333194429","1333194432","1333194435"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/480452fe38f162d124bd6c187aee4bb1.jpg","text":"TemporaryFile(/tmp/multipartBody3678986528254398603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293813838,"filename":"image_31012025_04_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/1/31/ad6c01888f0f1afb584b45543a566357.jpg","text":"TemporaryFile(/tmp/multipartBody4236986026457031684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293813838,"filename":"image_31012025_04_22_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/1/31/6c5f3a65545cf9d2a0cc17c63224cf87.jpg","text":"TemporaryFile(/tmp/multipartBody8525284292083013742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293813838,"filename":"image_31012025_04_22_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/1/31/66e279333a3c7682d3986c38d37bbddd.jpg","text":"TemporaryFile(/tmp/multipartBody246193324995538897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293813838,"filename":"image_31012025_04_22_16_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1ec872b2764ef668b5e258d2bc286465.jpg","text":"TemporaryFile(/tmp/multipartBody2548346590397233238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293813838,"filename":"image_31012025_04_21_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/1/31/c9df2fe5fa700f936495cc37bcde43a8.jpg","text":"TemporaryFile(/tmp/multipartBody2603459809418867564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293813838,"filename":"image_31012025_04_21_47_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333194424","file1":"1333194332","file0":"1333194122","file4":"1333194432","file5":"1333194435","file3":"1333194429"},"map_files_photo_id_array":[{"photo_id":"1333194435","filename":"file5"},{"photo_id":"1333194424","filename":"file2"},{"photo_id":"1333194432","filename":"file4"},{"photo_id":"1333194332","filename":"file1"},{"photo_id":"1333194122","filename":"file0"},{"photo_id":"1333194429","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333194424":["hashtag1","hashtag2"]},{"1333194432":["hashtag1","hashtag2"]},{"1333194435":["hashtag1","hashtag2"]},{"1333194429":["hashtag1","hashtag2"]},{"1333194332":["hashtag1","hashtag2"]},{"1333194122":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333194424, 1333194432, 1333194435, 1333194429, 1333194332, 1333194122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.33725094795227 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:23:32.251488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/22/image_31012025_04_22_46_9370.jpg', '/home/pi/Desktop/images/31012025/04/22/image_31012025_04_22_56_10426.jpg', '/home/pi/Desktop/images/31012025/04/22/image_31012025_04_23_06_9465.jpg', '/home/pi/Desktop/images/31012025/04/23/image_31012025_04_23_16_10335.jpg', '/home/pi/Desktop/images/31012025/04/23/image_31012025_04_23_27_10362.jpg', '/home/pi/Desktop/images/31012025/04/23/image_31012025_04_23_36_9417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/22/image_31012025_04_22_46_9370.jpg
/home/pi/Desktop/images/31012025/04/22/image_31012025_04_22_56_10426.jpg
/home/pi/Desktop/images/31012025/04/22/image_31012025_04_23_06_9465.jpg
/home/pi/Desktop/images/31012025/04/23/image_31012025_04_23_16_10335.jpg
/home/pi/Desktop/images/31012025/04/23/image_31012025_04_23_27_10362.jpg
/home/pi/Desktop/images/31012025/04/23/image_31012025_04_23_36_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":["1333194601","1333194450","1333194692","1333194455","1333194697","1333194463"],"photo_ids_order":["1333194450","1333194455","1333194463","1333194601","1333194692","1333194697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a5a67203f33dd514a3b3ab442d5cfb82.jpg","text":"TemporaryFile(/tmp/multipartBody1417020994208090015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293873171,"filename":"image_31012025_04_23_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/93ee6c7659a9c0b625fff9710dfa827b.jpg","text":"TemporaryFile(/tmp/multipartBody1621372181173568588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293873171,"filename":"image_31012025_04_22_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/1/31/c0031df1e38fb48ab5c2358de1165cb4.jpg","text":"TemporaryFile(/tmp/multipartBody5614308270305783977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293873171,"filename":"image_31012025_04_23_27_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c372ad48273e386737fd0a3694f4a5bf.jpg","text":"TemporaryFile(/tmp/multipartBody1597953107243244933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293873171,"filename":"image_31012025_04_22_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/1/31/792d746b138a07691683d5eda4cba90a.jpg","text":"TemporaryFile(/tmp/multipartBody5427294905801921321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293873171,"filename":"image_31012025_04_23_36_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/815d21a22a44444be1a528fc17b47d7a.jpg","text":"TemporaryFile(/tmp/multipartBody9027720638010248494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293873171,"filename":"image_31012025_04_23_06_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333194463","file1":"1333194455","file0":"1333194450","file4":"1333194692","file5":"1333194697","file3":"1333194601"},"map_files_photo_id_array":[{"photo_id":"1333194697","filename":"file5"},{"photo_id":"1333194463","filename":"file2"},{"photo_id":"1333194692","filename":"file4"},{"photo_id":"1333194455","filename":"file1"},{"photo_id":"1333194450","filename":"file0"},{"photo_id":"1333194601","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333194601":["hashtag1","hashtag2"]},{"1333194450":["hashtag1","hashtag2"]},{"1333194692":["hashtag1","hashtag2"]},{"1333194455":["hashtag1","hashtag2"]},{"1333194697":["hashtag1","hashtag2"]},{"1333194463":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333194601, 1333194450, 1333194692, 1333194455, 1333194697, 1333194463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21779489517212 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:24:32.527602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/23/image_31012025_04_23_46_10373.jpg', '/home/pi/Desktop/images/31012025/04/23/image_31012025_04_23_56_9502.jpg', '/home/pi/Desktop/images/31012025/04/23/image_31012025_04_24_06_10357.jpg', '/home/pi/Desktop/images/31012025/04/24/image_31012025_04_24_17_10344.jpg', '/home/pi/Desktop/images/31012025/04/24/image_31012025_04_24_26_9419.jpg', '/home/pi/Desktop/images/31012025/04/24/image_31012025_04_24_36_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/23/image_31012025_04_23_46_10373.jpg
/home/pi/Desktop/images/31012025/04/23/image_31012025_04_23_56_9502.jpg
/home/pi/Desktop/images/31012025/04/23/image_31012025_04_24_06_10357.jpg
/home/pi/Desktop/images/31012025/04/24/image_31012025_04_24_17_10344.jpg
/home/pi/Desktop/images/31012025/04/24/image_31012025_04_24_26_9419.jpg
/home/pi/Desktop/images/31012025/04/24/image_31012025_04_24_36_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":["1333194783","1333194777","1333194792","1333194789","1333194794","1333194795"],"photo_ids_order":["1333194777","1333194783","1333194789","1333194792","1333194794","1333194795"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9e10984881a05b78ef2728114d410f40.jpg","text":"TemporaryFile(/tmp/multipartBody2533491161473321102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293933449,"filename":"image_31012025_04_23_56_9502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0bc84f6122b0144a5481f7d9c849d02a.jpg","text":"TemporaryFile(/tmp/multipartBody6047434910927340426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293933449,"filename":"image_31012025_04_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/1/31/03ebf836c7ebbbe9a29347d4efd802cd.jpg","text":"TemporaryFile(/tmp/multipartBody7751983427045613501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293933449,"filename":"image_31012025_04_24_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/1/31/49a5a0f3f29beed6233df92261fab527.jpg","text":"TemporaryFile(/tmp/multipartBody5838846400176631358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293933449,"filename":"image_31012025_04_24_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/1/31/dcf8c3bf39706106a261d0525f5447c8.jpg","text":"TemporaryFile(/tmp/multipartBody7952820037730269706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293933449,"filename":"image_31012025_04_24_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/1/31/84405bfd16a94924248661b6390e816a.jpg","text":"TemporaryFile(/tmp/multipartBody4332111996001296530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738293933449,"filename":"image_31012025_04_24_36_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333194789","file1":"1333194783","file0":"1333194777","file4":"1333194794","file5":"1333194795","file3":"1333194792"},"map_files_photo_id_array":[{"photo_id":"1333194795","filename":"file5"},{"photo_id":"1333194789","filename":"file2"},{"photo_id":"1333194794","filename":"file4"},{"photo_id":"1333194783","filename":"file1"},{"photo_id":"1333194777","filename":"file0"},{"photo_id":"1333194792","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333194783":["hashtag1","hashtag2"]},{"1333194777":["hashtag1","hashtag2"]},{"1333194792":["hashtag1","hashtag2"]},{"1333194789":["hashtag1","hashtag2"]},{"1333194794":["hashtag1","hashtag2"]},{"1333194795":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333194783, 1333194777, 1333194792, 1333194789, 1333194794, 1333194795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.84025812149048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:25:32.709152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/24/image_31012025_04_24_46_9409.jpg', '/home/pi/Desktop/images/31012025/04/24/image_31012025_04_24_56_10346.jpg', '/home/pi/Desktop/images/31012025/04/24/image_31012025_04_25_07_10364.jpg', '/home/pi/Desktop/images/31012025/04/25/image_31012025_04_25_16_9421.jpg', '/home/pi/Desktop/images/31012025/04/25/image_31012025_04_25_26_10363.jpg', '/home/pi/Desktop/images/31012025/04/25/image_31012025_04_25_36_9472.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/24/image_31012025_04_24_46_9409.jpg
/home/pi/Desktop/images/31012025/04/24/image_31012025_04_24_56_10346.jpg
/home/pi/Desktop/images/31012025/04/24/image_31012025_04_25_07_10364.jpg
/home/pi/Desktop/images/31012025/04/25/image_31012025_04_25_16_9421.jpg
/home/pi/Desktop/images/31012025/04/25/image_31012025_04_25_26_10363.jpg
/home/pi/Desktop/images/31012025/04/25/image_31012025_04_25_36_9472.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5199155807495117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 04:25:42.696041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/24/image_31012025_04_24_46_9409.jpg', '/home/pi/Desktop/images/31012025/04/24/image_31012025_04_24_56_10346.jpg', '/home/pi/Desktop/images/31012025/04/24/image_31012025_04_25_07_10364.jpg', '/home/pi/Desktop/images/31012025/04/25/image_31012025_04_25_16_9421.jpg', '/home/pi/Desktop/images/31012025/04/25/image_31012025_04_25_26_10363.jpg', '/home/pi/Desktop/images/31012025/04/25/image_31012025_04_25_36_9472.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/24/image_31012025_04_24_46_9409.jpg
/home/pi/Desktop/images/31012025/04/24/image_31012025_04_24_56_10346.jpg
/home/pi/Desktop/images/31012025/04/24/image_31012025_04_25_07_10364.jpg
/home/pi/Desktop/images/31012025/04/25/image_31012025_04_25_16_9421.jpg
/home/pi/Desktop/images/31012025/04/25/image_31012025_04_25_26_10363.jpg
/home/pi/Desktop/images/31012025/04/25/image_31012025_04_25_36_9472.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":["1333194820","1333194831","1333194828","1333194837","1333194823","1333194826"],"photo_ids_order":["1333194820","1333194823","1333194826","1333194828","1333194831","1333194837"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a3df6bcfec662e07982e2ac60944a438.jpg","text":"TemporaryFile(/tmp/multipartBody4270907806185558309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294003597,"filename":"image_31012025_04_24_46_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cb75d62a7b5fedcc09a72d04024f653b.jpg","text":"TemporaryFile(/tmp/multipartBody3547067737153478358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294003597,"filename":"image_31012025_04_25_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/1/31/1edbcdc20e9d6fcd396f11aedeeaea2d.jpg","text":"TemporaryFile(/tmp/multipartBody482705333386782399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294003597,"filename":"image_31012025_04_25_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/1/31/a86e284fc9d4f16e7b4eb817a0aeb935.jpg","text":"TemporaryFile(/tmp/multipartBody3415875587465912660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294003597,"filename":"image_31012025_04_25_36_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/38f4698d77e12383603babcca113055a.jpg","text":"TemporaryFile(/tmp/multipartBody7197445688101671950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294003597,"filename":"image_31012025_04_24_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/1/31/cf1fbf634caad6fb4faf129b99e55343.jpg","text":"TemporaryFile(/tmp/multipartBody7371105512321654216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294003597,"filename":"image_31012025_04_25_07_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333194826","file1":"1333194823","file0":"1333194820","file4":"1333194831","file5":"1333194837","file3":"1333194828"},"map_files_photo_id_array":[{"photo_id":"1333194837","filename":"file5"},{"photo_id":"1333194826","filename":"file2"},{"photo_id":"1333194831","filename":"file4"},{"photo_id":"1333194823","filename":"file1"},{"photo_id":"1333194820","filename":"file0"},{"photo_id":"1333194828","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333194820":["hashtag1","hashtag2"]},{"1333194831":["hashtag1","hashtag2"]},{"1333194828":["hashtag1","hashtag2"]},{"1333194837":["hashtag1","hashtag2"]},{"1333194823":["hashtag1","hashtag2"]},{"1333194826":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333194820, 1333194831, 1333194828, 1333194837, 1333194823, 1333194826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.78912663459778 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:26:32.967928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/25/image_31012025_04_25_46_10370.jpg', '/home/pi/Desktop/images/31012025/04/25/image_31012025_04_25_57_10451.jpg', '/home/pi/Desktop/images/31012025/04/25/image_31012025_04_26_06_9431.jpg', '/home/pi/Desktop/images/31012025/04/26/image_31012025_04_26_26_9402.jpg', '/home/pi/Desktop/images/31012025/04/26/image_31012025_04_26_36_10376.jpg', '/home/pi/Desktop/images/31012025/04/26/image_31012025_04_26_47_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/25/image_31012025_04_25_46_10370.jpg
/home/pi/Desktop/images/31012025/04/25/image_31012025_04_25_57_10451.jpg
/home/pi/Desktop/images/31012025/04/25/image_31012025_04_26_06_9431.jpg
/home/pi/Desktop/images/31012025/04/26/image_31012025_04_26_26_9402.jpg
/home/pi/Desktop/images/31012025/04/26/image_31012025_04_26_36_10376.jpg
/home/pi/Desktop/images/31012025/04/26/image_31012025_04_26_47_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333194901","1333194906","1333194946","1333194853","1333194943","1333194850"],"photo_ids_order":["1333194850","1333194853","1333194901","1333194906","1333194943","1333194946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9e2a47a6e912a78c31f6f8d1588406c9.jpg","text":"TemporaryFile(/tmp/multipartBody3620364478958567495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294053883,"filename":"image_31012025_04_26_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/1/31/7ad8511c86058bb65f7be123f9c0d703.jpg","text":"TemporaryFile(/tmp/multipartBody2244375046346370944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294053883,"filename":"image_31012025_04_26_26_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/56a7e5b313cdaf1000275427c7fec4dc.jpg","text":"TemporaryFile(/tmp/multipartBody1763353795233596591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294053883,"filename":"image_31012025_04_26_47_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d6abe8be5f65078580584c2685a6e2b9.jpg","text":"TemporaryFile(/tmp/multipartBody2602559728939375390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294053883,"filename":"image_31012025_04_25_57_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b79eeb9a87f2368c99e97498b1746b24.jpg","text":"TemporaryFile(/tmp/multipartBody1225964927356191156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294053883,"filename":"image_31012025_04_26_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/1/31/e35099f9145c47ad29314c380b5b4194.jpg","text":"TemporaryFile(/tmp/multipartBody3652963260769146494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294053883,"filename":"image_31012025_04_25_46_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333194901","file1":"1333194853","file0":"1333194850","file4":"1333194943","file5":"1333194946","file3":"1333194906"},"map_files_photo_id_array":[{"photo_id":"1333194946","filename":"file5"},{"photo_id":"1333194901","filename":"file2"},{"photo_id":"1333194943","filename":"file4"},{"photo_id":"1333194853","filename":"file1"},{"photo_id":"1333194850","filename":"file0"},{"photo_id":"1333194906","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333194901":["hashtag1","hashtag2"]},{"1333194906":["hashtag1","hashtag2"]},{"1333194946":["hashtag1","hashtag2"]},{"1333194853":["hashtag1","hashtag2"]},{"1333194943":["hashtag1","hashtag2"]},{"1333194850":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333194901, 1333194906, 1333194946, 1333194853, 1333194943, 1333194850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.53747606277466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:27:33.143430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/26/image_31012025_04_26_56_9388.jpg', '/home/pi/Desktop/images/31012025/04/26/image_31012025_04_27_06_10354.jpg', '/home/pi/Desktop/images/31012025/04/27/image_31012025_04_27_17_10354.jpg', '/home/pi/Desktop/images/31012025/04/27/image_31012025_04_27_26_9394.jpg', '/home/pi/Desktop/images/31012025/04/27/image_31012025_04_27_36_10350.jpg', '/home/pi/Desktop/images/31012025/04/27/image_31012025_04_27_46_9465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/26/image_31012025_04_26_56_9388.jpg
/home/pi/Desktop/images/31012025/04/26/image_31012025_04_27_06_10354.jpg
/home/pi/Desktop/images/31012025/04/27/image_31012025_04_27_17_10354.jpg
/home/pi/Desktop/images/31012025/04/27/image_31012025_04_27_26_9394.jpg
/home/pi/Desktop/images/31012025/04/27/image_31012025_04_27_36_10350.jpg
/home/pi/Desktop/images/31012025/04/27/image_31012025_04_27_46_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":["1333195107","1333195029","1333195104","1333195094","1333195111","1333195080"],"photo_ids_order":["1333195029","1333195080","1333195094","1333195104","1333195107","1333195111"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e098b85cf984f5f43bf9ed53534b8f22.jpg","text":"TemporaryFile(/tmp/multipartBody1625582497735008627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294114064,"filename":"image_31012025_04_27_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/1/31/e621631b8af2ca361dd1de0e7d867209.jpg","text":"TemporaryFile(/tmp/multipartBody9095258669728505360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294114064,"filename":"image_31012025_04_26_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/1/31/a44bb86a53a3b984dc1b90a99e86e11c.jpg","text":"TemporaryFile(/tmp/multipartBody555296519245803479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294114064,"filename":"image_31012025_04_27_26_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8745b2ab39ff9d7c06bbc0e2e7580c7a.jpg","text":"TemporaryFile(/tmp/multipartBody8098439311949493806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294114064,"filename":"image_31012025_04_27_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/1/31/f17d8bef799d32e88c0ad8adf8fcd711.jpg","text":"TemporaryFile(/tmp/multipartBody4345441555053366999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294114064,"filename":"image_31012025_04_27_46_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e68c2a7d3037d48c145c5abe058a57ea.jpg","text":"TemporaryFile(/tmp/multipartBody8392975479426890409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294114064,"filename":"image_31012025_04_27_06_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333195094","file1":"1333195080","file0":"1333195029","file4":"1333195107","file5":"1333195111","file3":"1333195104"},"map_files_photo_id_array":[{"photo_id":"1333195111","filename":"file5"},{"photo_id":"1333195094","filename":"file2"},{"photo_id":"1333195107","filename":"file4"},{"photo_id":"1333195080","filename":"file1"},{"photo_id":"1333195029","filename":"file0"},{"photo_id":"1333195104","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333195107":["hashtag1","hashtag2"]},{"1333195029":["hashtag1","hashtag2"]},{"1333195104":["hashtag1","hashtag2"]},{"1333195094":["hashtag1","hashtag2"]},{"1333195111":["hashtag1","hashtag2"]},{"1333195080":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333195107, 1333195029, 1333195104, 1333195094, 1333195111, 1333195080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.4277184009552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:28:32.344347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/27/image_31012025_04_27_56_10356.jpg', '/home/pi/Desktop/images/31012025/04/27/image_31012025_04_28_07_10385.jpg', '/home/pi/Desktop/images/31012025/04/28/image_31012025_04_28_16_9407.jpg', '/home/pi/Desktop/images/31012025/04/28/image_31012025_04_28_26_10359.jpg', '/home/pi/Desktop/images/31012025/04/28/image_31012025_04_28_36_9498.jpg', '/home/pi/Desktop/images/31012025/04/28/image_31012025_04_28_46_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/27/image_31012025_04_27_56_10356.jpg
/home/pi/Desktop/images/31012025/04/27/image_31012025_04_28_07_10385.jpg
/home/pi/Desktop/images/31012025/04/28/image_31012025_04_28_16_9407.jpg
/home/pi/Desktop/images/31012025/04/28/image_31012025_04_28_26_10359.jpg
/home/pi/Desktop/images/31012025/04/28/image_31012025_04_28_36_9498.jpg
/home/pi/Desktop/images/31012025/04/28/image_31012025_04_28_46_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":["1333195263","1333195251","1333195259","1333195247","1333195267","1333195255"],"photo_ids_order":["1333195247","1333195251","1333195255","1333195259","1333195263","1333195267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7212158e03cbd0c27413eb899cbb7d44.jpg","text":"TemporaryFile(/tmp/multipartBody4873955073398604811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294173256,"filename":"image_31012025_04_28_36_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/34ff15ec5d0bb8c1c21648e957b97314.jpg","text":"TemporaryFile(/tmp/multipartBody4316671352711086404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294173256,"filename":"image_31012025_04_28_07_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/07d21184a89ffa23850b6648ea5d56ed.jpg","text":"TemporaryFile(/tmp/multipartBody9158879839347268720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294173256,"filename":"image_31012025_04_28_26_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b44e3515da5f7783c89672120978b1d6.jpg","text":"TemporaryFile(/tmp/multipartBody6743056995959081797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294173256,"filename":"image_31012025_04_27_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/1/31/e77c0f5e8642fab66b30e0179bed8fd3.jpg","text":"TemporaryFile(/tmp/multipartBody2016898308198035691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294173256,"filename":"image_31012025_04_28_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/1/31/ba6e8f79a569d2c0cafe5e24d00a6b4a.jpg","text":"TemporaryFile(/tmp/multipartBody8987921473779274185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294173256,"filename":"image_31012025_04_28_16_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333195255","file1":"1333195251","file0":"1333195247","file4":"1333195263","file5":"1333195267","file3":"1333195259"},"map_files_photo_id_array":[{"photo_id":"1333195267","filename":"file5"},{"photo_id":"1333195255","filename":"file2"},{"photo_id":"1333195263","filename":"file4"},{"photo_id":"1333195251","filename":"file1"},{"photo_id":"1333195247","filename":"file0"},{"photo_id":"1333195259","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333195263":["hashtag1","hashtag2"]},{"1333195251":["hashtag1","hashtag2"]},{"1333195259":["hashtag1","hashtag2"]},{"1333195247":["hashtag1","hashtag2"]},{"1333195267":["hashtag1","hashtag2"]},{"1333195255":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333195263, 1333195251, 1333195259, 1333195247, 1333195267, 1333195255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.38927125930786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:29:32.588688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/28/image_31012025_04_28_57_10376.jpg', '/home/pi/Desktop/images/31012025/04/28/image_31012025_04_29_06_9348.jpg', '/home/pi/Desktop/images/31012025/04/29/image_31012025_04_29_16_10379.jpg', '/home/pi/Desktop/images/31012025/04/29/image_31012025_04_29_26_9461.jpg', '/home/pi/Desktop/images/31012025/04/29/image_31012025_04_29_36_10360.jpg', '/home/pi/Desktop/images/31012025/04/29/image_31012025_04_29_47_10386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/28/image_31012025_04_28_57_10376.jpg
/home/pi/Desktop/images/31012025/04/28/image_31012025_04_29_06_9348.jpg
/home/pi/Desktop/images/31012025/04/29/image_31012025_04_29_16_10379.jpg
/home/pi/Desktop/images/31012025/04/29/image_31012025_04_29_26_9461.jpg
/home/pi/Desktop/images/31012025/04/29/image_31012025_04_29_36_10360.jpg
/home/pi/Desktop/images/31012025/04/29/image_31012025_04_29_47_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":["1333195298","1333195289","1333195301","1333195304","1333195303","1333195293"],"photo_ids_order":["1333195289","1333195293","1333195298","1333195301","1333195303","1333195304"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8138933b86ed47a2d3e49684fb73eba7.jpg","text":"TemporaryFile(/tmp/multipartBody8204595885479402613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294233495,"filename":"image_31012025_04_29_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/1/31/e7a59c75d860bf0d9b6371eb1d105a99.jpg","text":"TemporaryFile(/tmp/multipartBody6655919291999306754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294233495,"filename":"image_31012025_04_28_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/1/31/0fedd82ccaa6b4f0488d135464e45f20.jpg","text":"TemporaryFile(/tmp/multipartBody5575308890617420697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294233495,"filename":"image_31012025_04_29_26_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d99b9e4436d2bdc31f78527f127ba6d9.jpg","text":"TemporaryFile(/tmp/multipartBody7963898588168989265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294233495,"filename":"image_31012025_04_29_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/1/31/14c11e0124990fbc9c604cf73e8d3d76.jpg","text":"TemporaryFile(/tmp/multipartBody766082253869616183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294233495,"filename":"image_31012025_04_29_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/1/31/05b86f32daf4628e18f4e66d8890fef4.jpg","text":"TemporaryFile(/tmp/multipartBody7731572912870939456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294233495,"filename":"image_31012025_04_29_06_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333195298","file1":"1333195293","file0":"1333195289","file4":"1333195303","file5":"1333195304","file3":"1333195301"},"map_files_photo_id_array":[{"photo_id":"1333195304","filename":"file5"},{"photo_id":"1333195298","filename":"file2"},{"photo_id":"1333195303","filename":"file4"},{"photo_id":"1333195293","filename":"file1"},{"photo_id":"1333195289","filename":"file0"},{"photo_id":"1333195301","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333195298":["hashtag1","hashtag2"]},{"1333195289":["hashtag1","hashtag2"]},{"1333195301":["hashtag1","hashtag2"]},{"1333195304":["hashtag1","hashtag2"]},{"1333195303":["hashtag1","hashtag2"]},{"1333195293":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333195298, 1333195289, 1333195301, 1333195304, 1333195303, 1333195293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.531155824661255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:30:32.774844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/29/image_31012025_04_29_56_9417.jpg', '/home/pi/Desktop/images/31012025/04/29/image_31012025_04_30_06_10347.jpg', '/home/pi/Desktop/images/31012025/04/30/image_31012025_04_30_17_10339.jpg', '/home/pi/Desktop/images/31012025/04/30/image_31012025_04_30_26_9341.jpg', '/home/pi/Desktop/images/31012025/04/30/image_31012025_04_30_36_10380.jpg', '/home/pi/Desktop/images/31012025/04/30/image_31012025_04_30_46_9420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/29/image_31012025_04_29_56_9417.jpg
/home/pi/Desktop/images/31012025/04/29/image_31012025_04_30_06_10347.jpg
/home/pi/Desktop/images/31012025/04/30/image_31012025_04_30_17_10339.jpg
/home/pi/Desktop/images/31012025/04/30/image_31012025_04_30_26_9341.jpg
/home/pi/Desktop/images/31012025/04/30/image_31012025_04_30_36_10380.jpg
/home/pi/Desktop/images/31012025/04/30/image_31012025_04_30_46_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":["1333195328","1333195330","1333195324","1333195333","1333195336","1333195353"],"photo_ids_order":["1333195324","1333195328","1333195330","1333195333","1333195336","1333195353"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8a33a3ed083a828ed877de20616637e5.jpg","text":"TemporaryFile(/tmp/multipartBody4915347127676279229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294293672,"filename":"image_31012025_04_30_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/1/31/ca63ad89cb762e2fd0540a6ed88cea8e.jpg","text":"TemporaryFile(/tmp/multipartBody105495650895778414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294293672,"filename":"image_31012025_04_30_17_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d0cbcb203b8ec5f171f773956e6e332c.jpg","text":"TemporaryFile(/tmp/multipartBody8070951081771447887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294293672,"filename":"image_31012025_04_29_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/1/31/a79e64317b52dd9648d504367d60e8d4.jpg","text":"TemporaryFile(/tmp/multipartBody3771822172454589121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294293672,"filename":"image_31012025_04_30_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/1/31/2cd4f0fd352787854a8be212d12603f0.jpg","text":"TemporaryFile(/tmp/multipartBody1969181837636614455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294293672,"filename":"image_31012025_04_30_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/1/31/40ca742648a051d84a051ba32eefd1f6.jpg","text":"TemporaryFile(/tmp/multipartBody4074328259072909528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294293672,"filename":"image_31012025_04_30_46_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333195330","file1":"1333195328","file0":"1333195324","file4":"1333195336","file5":"1333195353","file3":"1333195333"},"map_files_photo_id_array":[{"photo_id":"1333195353","filename":"file5"},{"photo_id":"1333195330","filename":"file2"},{"photo_id":"1333195336","filename":"file4"},{"photo_id":"1333195328","filename":"file1"},{"photo_id":"1333195324","filename":"file0"},{"photo_id":"1333195333","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333195328":["hashtag1","hashtag2"]},{"1333195330":["hashtag1","hashtag2"]},{"1333195324":["hashtag1","hashtag2"]},{"1333195333":["hashtag1","hashtag2"]},{"1333195336":["hashtag1","hashtag2"]},{"1333195353":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333195328, 1333195330, 1333195324, 1333195333, 1333195336, 1333195353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.114084243774414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:31:32.978236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/30/image_31012025_04_30_56_10353.jpg', '/home/pi/Desktop/images/31012025/04/30/image_31012025_04_31_06_10333.jpg', '/home/pi/Desktop/images/31012025/04/31/image_31012025_04_31_16_9408.jpg', '/home/pi/Desktop/images/31012025/04/31/image_31012025_04_31_26_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/30/image_31012025_04_30_56_10353.jpg
/home/pi/Desktop/images/31012025/04/30/image_31012025_04_31_06_10333.jpg
/home/pi/Desktop/images/31012025/04/31/image_31012025_04_31_16_9408.jpg
/home/pi/Desktop/images/31012025/04/31/image_31012025_04_31_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":["1333195425","1333195407","1333195436","1333195453"],"photo_ids_order":["1333195407","1333195425","1333195436","1333195453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e3aef965b62495c9e4f7ca95d9d2d616.jpg","text":"TemporaryFile(/tmp/multipartBody5214490040956029556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294353848,"filename":"image_31012025_04_31_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/1/31/00ccca198cfbf9618e0e30a7248aea9b.jpg","text":"TemporaryFile(/tmp/multipartBody9149037933761135321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294353848,"filename":"image_31012025_04_30_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/1/31/d8d686962bedaca8c610df36d6826339.jpg","text":"TemporaryFile(/tmp/multipartBody2451159721419554472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294353848,"filename":"image_31012025_04_31_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/1/31/c4fb53ce7b9f92e873171390de1616b1.jpg","text":"TemporaryFile(/tmp/multipartBody2273389447382192735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294353848,"filename":"image_31012025_04_31_26_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333195436","file1":"1333195425","file0":"1333195407","file3":"1333195453"},"map_files_photo_id_array":[{"photo_id":"1333195436","filename":"file2"},{"photo_id":"1333195425","filename":"file1"},{"photo_id":"1333195407","filename":"file0"},{"photo_id":"1333195453","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333195425":["hashtag1","hashtag2"]},{"1333195407":["hashtag1","hashtag2"]},{"1333195436":["hashtag1","hashtag2"]},{"1333195453":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333195425, 1333195407, 1333195436, 1333195453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 35.62359571456909 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:32:32.264413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/31/image_31012025_04_31_37_10428.jpg', '/home/pi/Desktop/images/31012025/04/32/image_31012025_04_32_16_10345.jpg', '/home/pi/Desktop/images/31012025/04/32/image_31012025_04_32_27_10417.jpg', '/home/pi/Desktop/images/31012025/04/32/image_31012025_04_32_36_9360.jpg', '/home/pi/Desktop/images/31012025/04/32/image_31012025_04_32_46_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/31/image_31012025_04_31_37_10428.jpg
/home/pi/Desktop/images/31012025/04/32/image_31012025_04_32_16_10345.jpg
/home/pi/Desktop/images/31012025/04/32/image_31012025_04_32_27_10417.jpg
/home/pi/Desktop/images/31012025/04/32/image_31012025_04_32_36_9360.jpg
/home/pi/Desktop/images/31012025/04/32/image_31012025_04_32_46_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333195542","1333195521","1333195524","1333195528","1333195516"],"photo_ids_order":["1333195516","1333195521","1333195524","1333195528","1333195542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/467424e84919490a97566b1e2732b291.jpg","text":"TemporaryFile(/tmp/multipartBody6764546395993600619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294413174,"filename":"image_31012025_04_32_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/1/31/696f6aab672aa61c80499a6f3047f168.jpg","text":"TemporaryFile(/tmp/multipartBody4875263714748228634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294413174,"filename":"image_31012025_04_32_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/1/31/a2dd9ff6dc73e130142e4038fffa8289.jpg","text":"TemporaryFile(/tmp/multipartBody6932309848961985492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294413174,"filename":"image_31012025_04_32_27_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fc3046c572f35de888ccda27a4dba5cf.jpg","text":"TemporaryFile(/tmp/multipartBody1000461305256671678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294413174,"filename":"image_31012025_04_32_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/1/31/973622f6ae4587ee249e76737d541841.jpg","text":"TemporaryFile(/tmp/multipartBody1623545263462924357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294413174,"filename":"image_31012025_04_31_37_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333195524","file1":"1333195521","file0":"1333195516","file4":"1333195542","file3":"1333195528"},"map_files_photo_id_array":[{"photo_id":"1333195524","filename":"file2"},{"photo_id":"1333195542","filename":"file4"},{"photo_id":"1333195521","filename":"file1"},{"photo_id":"1333195516","filename":"file0"},{"photo_id":"1333195528","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333195542":["hashtag1","hashtag2"]},{"1333195521":["hashtag1","hashtag2"]},{"1333195524":["hashtag1","hashtag2"]},{"1333195528":["hashtag1","hashtag2"]},{"1333195516":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333195542, 1333195521, 1333195524, 1333195528, 1333195516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.10574150085449 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:33:32.586963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/32/image_31012025_04_32_56_9431.jpg', '/home/pi/Desktop/images/31012025/04/32/image_31012025_04_33_06_10380.jpg', '/home/pi/Desktop/images/31012025/04/33/image_31012025_04_33_17_10351.jpg', '/home/pi/Desktop/images/31012025/04/33/image_31012025_04_33_26_9354.jpg', '/home/pi/Desktop/images/31012025/04/33/image_31012025_04_33_36_10350.jpg', '/home/pi/Desktop/images/31012025/04/33/image_31012025_04_33_47_10396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/32/image_31012025_04_32_56_9431.jpg
/home/pi/Desktop/images/31012025/04/32/image_31012025_04_33_06_10380.jpg
/home/pi/Desktop/images/31012025/04/33/image_31012025_04_33_17_10351.jpg
/home/pi/Desktop/images/31012025/04/33/image_31012025_04_33_26_9354.jpg
/home/pi/Desktop/images/31012025/04/33/image_31012025_04_33_36_10350.jpg
/home/pi/Desktop/images/31012025/04/33/image_31012025_04_33_47_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":["1333195569","1333195577","1333195613","1333195591","1333195581","1333195587"],"photo_ids_order":["1333195569","1333195577","1333195581","1333195587","1333195591","1333195613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9a03f9093fb27910043d1d5479b76c2b.jpg","text":"TemporaryFile(/tmp/multipartBody1827560198835083827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294473506,"filename":"image_31012025_04_32_56_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e9507ec3783be99c6ec0ca305c92b3d0.jpg","text":"TemporaryFile(/tmp/multipartBody6063951748923107103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294473506,"filename":"image_31012025_04_33_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/1/31/964e5fcda013bc7112ff1cbef37678b1.jpg","text":"TemporaryFile(/tmp/multipartBody7568597863564494252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294473506,"filename":"image_31012025_04_33_47_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e7f6e2f62bec77ea61d341ceac6d9bbb.jpg","text":"TemporaryFile(/tmp/multipartBody489398139777096924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294473506,"filename":"image_31012025_04_33_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/1/31/fd4d509131726490d0aac2eb038ef73e.jpg","text":"TemporaryFile(/tmp/multipartBody5187027717624002768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294473506,"filename":"image_31012025_04_33_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/1/31/5f8805098fe4d8445f77c3c1f4233ff2.jpg","text":"TemporaryFile(/tmp/multipartBody4611933937073118436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294473506,"filename":"image_31012025_04_33_26_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333195581","file1":"1333195577","file0":"1333195569","file4":"1333195591","file5":"1333195613","file3":"1333195587"},"map_files_photo_id_array":[{"photo_id":"1333195613","filename":"file5"},{"photo_id":"1333195581","filename":"file2"},{"photo_id":"1333195591","filename":"file4"},{"photo_id":"1333195577","filename":"file1"},{"photo_id":"1333195569","filename":"file0"},{"photo_id":"1333195587","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333195569":["hashtag1","hashtag2"]},{"1333195577":["hashtag1","hashtag2"]},{"1333195613":["hashtag1","hashtag2"]},{"1333195591":["hashtag1","hashtag2"]},{"1333195581":["hashtag1","hashtag2"]},{"1333195587":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333195569, 1333195577, 1333195613, 1333195591, 1333195581, 1333195587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.833821296691895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:34:32.673013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/33/image_31012025_04_33_56_9395.jpg', '/home/pi/Desktop/images/31012025/04/33/image_31012025_04_34_06_10344.jpg', '/home/pi/Desktop/images/31012025/04/34/image_31012025_04_34_16_9455.jpg', '/home/pi/Desktop/images/31012025/04/34/image_31012025_04_34_26_10367.jpg', '/home/pi/Desktop/images/31012025/04/34/image_31012025_04_34_37_10422.jpg', '/home/pi/Desktop/images/31012025/04/34/image_31012025_04_34_46_9431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/33/image_31012025_04_33_56_9395.jpg
/home/pi/Desktop/images/31012025/04/33/image_31012025_04_34_06_10344.jpg
/home/pi/Desktop/images/31012025/04/34/image_31012025_04_34_16_9455.jpg
/home/pi/Desktop/images/31012025/04/34/image_31012025_04_34_26_10367.jpg
/home/pi/Desktop/images/31012025/04/34/image_31012025_04_34_37_10422.jpg
/home/pi/Desktop/images/31012025/04/34/image_31012025_04_34_46_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":["1333195685","1333195682","1333195661","1333195654","1333195657","1333195665"],"photo_ids_order":["1333195654","1333195657","1333195661","1333195665","1333195682","1333195685"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/69ec11939e73b9b7d2dea07818d4d0b4.jpg","text":"TemporaryFile(/tmp/multipartBody3359433067611599074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294533606,"filename":"image_31012025_04_34_46_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7c6e6ceedff110ef27da13a1ea73917f.jpg","text":"TemporaryFile(/tmp/multipartBody6229705928458289735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294533606,"filename":"image_31012025_04_34_37_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/254300aab46d613832e86c31c27b3456.jpg","text":"TemporaryFile(/tmp/multipartBody3687622092504122858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294533606,"filename":"image_31012025_04_34_16_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cd372079a4c50ff659ce85ecbc5e4595.jpg","text":"TemporaryFile(/tmp/multipartBody2438404331301892016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294533606,"filename":"image_31012025_04_33_56_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/21f4ddf6ff01e749075cf06cd7d6684f.jpg","text":"TemporaryFile(/tmp/multipartBody1098873999058926138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294533606,"filename":"image_31012025_04_34_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5c6689ff5d4f9cd49af601e5c56cb51f.jpg","text":"TemporaryFile(/tmp/multipartBody1000527817164092483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294533606,"filename":"image_31012025_04_34_26_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333195661","file1":"1333195657","file0":"1333195654","file4":"1333195682","file5":"1333195685","file3":"1333195665"},"map_files_photo_id_array":[{"photo_id":"1333195685","filename":"file5"},{"photo_id":"1333195661","filename":"file2"},{"photo_id":"1333195682","filename":"file4"},{"photo_id":"1333195657","filename":"file1"},{"photo_id":"1333195654","filename":"file0"},{"photo_id":"1333195665","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333195685":["hashtag1","hashtag2"]},{"1333195682":["hashtag1","hashtag2"]},{"1333195661":["hashtag1","hashtag2"]},{"1333195654":["hashtag1","hashtag2"]},{"1333195657":["hashtag1","hashtag2"]},{"1333195665":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333195685, 1333195682, 1333195661, 1333195654, 1333195657, 1333195665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.22971296310425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:35:32.902147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/34/image_31012025_04_34_57_10394.jpg', '/home/pi/Desktop/images/31012025/04/34/image_31012025_04_35_06_9424.jpg', '/home/pi/Desktop/images/31012025/04/35/image_31012025_04_35_16_10337.jpg', '/home/pi/Desktop/images/31012025/04/35/image_31012025_04_35_27_10395.jpg', '/home/pi/Desktop/images/31012025/04/35/image_31012025_04_35_36_9470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/34/image_31012025_04_34_57_10394.jpg
/home/pi/Desktop/images/31012025/04/34/image_31012025_04_35_06_9424.jpg
/home/pi/Desktop/images/31012025/04/35/image_31012025_04_35_16_10337.jpg
/home/pi/Desktop/images/31012025/04/35/image_31012025_04_35_27_10395.jpg
/home/pi/Desktop/images/31012025/04/35/image_31012025_04_35_36_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":["1333195734","1333195716","1333195704","1333195730","1333195733"],"photo_ids_order":["1333195704","1333195716","1333195730","1333195733","1333195734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/065f67c41ea96c78ab888ba69a61efb6.jpg","text":"TemporaryFile(/tmp/multipartBody4285026939916881200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294593811,"filename":"image_31012025_04_35_36_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d999f68d7ad6e9559b8c36e91f6fac9b.jpg","text":"TemporaryFile(/tmp/multipartBody4573141936476022711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294593811,"filename":"image_31012025_04_35_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/1/31/f7e49f402fe69cd373d4440eb618b539.jpg","text":"TemporaryFile(/tmp/multipartBody8023864858245767509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294593811,"filename":"image_31012025_04_34_57_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5386b44c1d54df1f19e82a24975bf613.jpg","text":"TemporaryFile(/tmp/multipartBody5228528081260897016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294593811,"filename":"image_31012025_04_35_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/1/31/ef6f6ad9b30a25710d899020a86be9da.jpg","text":"TemporaryFile(/tmp/multipartBody7372030080061325721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294593811,"filename":"image_31012025_04_35_27_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333195730","file1":"1333195716","file0":"1333195704","file4":"1333195734","file3":"1333195733"},"map_files_photo_id_array":[{"photo_id":"1333195730","filename":"file2"},{"photo_id":"1333195734","filename":"file4"},{"photo_id":"1333195716","filename":"file1"},{"photo_id":"1333195704","filename":"file0"},{"photo_id":"1333195733","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333195734":["hashtag1","hashtag2"]},{"1333195716":["hashtag1","hashtag2"]},{"1333195704":["hashtag1","hashtag2"]},{"1333195730":["hashtag1","hashtag2"]},{"1333195733":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333195734, 1333195716, 1333195704, 1333195730, 1333195733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.99681377410889 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:36:32.307317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/35/image_31012025_04_35_56_9406.jpg', '/home/pi/Desktop/images/31012025/04/35/image_31012025_04_36_06_10345.jpg', '/home/pi/Desktop/images/31012025/04/36/image_31012025_04_36_17_10411.jpg', '/home/pi/Desktop/images/31012025/04/36/image_31012025_04_36_26_9410.jpg', '/home/pi/Desktop/images/31012025/04/36/image_31012025_04_36_36_10355.jpg', '/home/pi/Desktop/images/31012025/04/36/image_31012025_04_36_46_9444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/35/image_31012025_04_35_56_9406.jpg
/home/pi/Desktop/images/31012025/04/35/image_31012025_04_36_06_10345.jpg
/home/pi/Desktop/images/31012025/04/36/image_31012025_04_36_17_10411.jpg
/home/pi/Desktop/images/31012025/04/36/image_31012025_04_36_26_9410.jpg
/home/pi/Desktop/images/31012025/04/36/image_31012025_04_36_36_10355.jpg
/home/pi/Desktop/images/31012025/04/36/image_31012025_04_36_46_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":["1333195914","1333195925","1333195919","1333195910","1333195891","1333195906"],"photo_ids_order":["1333195891","1333195906","1333195910","1333195914","1333195919","1333195925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dbf8cb9500f85ee17c8230e1fb6d9de7.jpg","text":"TemporaryFile(/tmp/multipartBody1090212135143987795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294653245,"filename":"image_31012025_04_36_26_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/18c42bfe58cda407dfaa7a24da3f5061.jpg","text":"TemporaryFile(/tmp/multipartBody3240943054221116554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294653245,"filename":"image_31012025_04_36_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/1/31/7720fe3cc63b90c51a9fdc3bdce8ea44.jpg","text":"TemporaryFile(/tmp/multipartBody2094839869030692189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294653245,"filename":"image_31012025_04_36_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/1/31/7f3378c59b695307bc43ff945622fbda.jpg","text":"TemporaryFile(/tmp/multipartBody4158085831872587647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294653245,"filename":"image_31012025_04_36_17_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6877927ed0d9427bc6dc2467415691f4.jpg","text":"TemporaryFile(/tmp/multipartBody8684154353654860081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294653245,"filename":"image_31012025_04_35_56_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5eb96b2b2fdfa363d8abb69d981de2b9.jpg","text":"TemporaryFile(/tmp/multipartBody134611809839648998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294653245,"filename":"image_31012025_04_36_06_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333195910","file1":"1333195906","file0":"1333195891","file4":"1333195919","file5":"1333195925","file3":"1333195914"},"map_files_photo_id_array":[{"photo_id":"1333195925","filename":"file5"},{"photo_id":"1333195910","filename":"file2"},{"photo_id":"1333195919","filename":"file4"},{"photo_id":"1333195906","filename":"file1"},{"photo_id":"1333195891","filename":"file0"},{"photo_id":"1333195914","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333195914":["hashtag1","hashtag2"]},{"1333195925":["hashtag1","hashtag2"]},{"1333195919":["hashtag1","hashtag2"]},{"1333195910":["hashtag1","hashtag2"]},{"1333195891":["hashtag1","hashtag2"]},{"1333195906":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333195914, 1333195925, 1333195919, 1333195910, 1333195891, 1333195906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.408652782440186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:37:32.482645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/36/image_31012025_04_36_56_10394.jpg', '/home/pi/Desktop/images/31012025/04/37/image_31012025_04_37_16_9397.jpg', '/home/pi/Desktop/images/31012025/04/37/image_31012025_04_37_36_9504.jpg', '/home/pi/Desktop/images/31012025/04/37/image_31012025_04_37_46_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/36/image_31012025_04_36_56_10394.jpg
/home/pi/Desktop/images/31012025/04/37/image_31012025_04_37_16_9397.jpg
/home/pi/Desktop/images/31012025/04/37/image_31012025_04_37_36_9504.jpg
/home/pi/Desktop/images/31012025/04/37/image_31012025_04_37_46_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":["1333196069","1333196003","1333195999","1333196017"],"photo_ids_order":["1333195999","1333196003","1333196017","1333196069"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/84a487ca7425e6b9fbb9097c138a4f53.jpg","text":"TemporaryFile(/tmp/multipartBody8563722578798186487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294713357,"filename":"image_31012025_04_37_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/1/31/a3a4d9817df706b5c1f48b375a81b0df.jpg","text":"TemporaryFile(/tmp/multipartBody1720741821338705875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294713357,"filename":"image_31012025_04_37_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/1/31/2bfd6c1261bd5ac159a0bb1a0773f09d.jpg","text":"TemporaryFile(/tmp/multipartBody7505385725946449604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294713357,"filename":"image_31012025_04_36_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/1/31/d28dd0951fce471725ec419ca36a2aa8.jpg","text":"TemporaryFile(/tmp/multipartBody8799615243809967178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294713357,"filename":"image_31012025_04_37_36_9504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333196017","file1":"1333196003","file0":"1333195999","file3":"1333196069"},"map_files_photo_id_array":[{"photo_id":"1333196017","filename":"file2"},{"photo_id":"1333196003","filename":"file1"},{"photo_id":"1333195999","filename":"file0"},{"photo_id":"1333196069","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333196069":["hashtag1","hashtag2"]},{"1333196003":["hashtag1","hashtag2"]},{"1333195999":["hashtag1","hashtag2"]},{"1333196017":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333196069, 1333196003, 1333195999, 1333196017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 32.95184397697449 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:38:32.723511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/37/image_31012025_04_37_57_10418.jpg', '/home/pi/Desktop/images/31012025/04/37/image_31012025_04_38_06_9323.jpg', '/home/pi/Desktop/images/31012025/04/38/image_31012025_04_38_16_10349.jpg', '/home/pi/Desktop/images/31012025/04/38/image_31012025_04_38_26_9401.jpg', '/home/pi/Desktop/images/31012025/04/38/image_31012025_04_38_36_10343.jpg', '/home/pi/Desktop/images/31012025/04/38/image_31012025_04_38_46_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/37/image_31012025_04_37_57_10418.jpg
/home/pi/Desktop/images/31012025/04/37/image_31012025_04_38_06_9323.jpg
/home/pi/Desktop/images/31012025/04/38/image_31012025_04_38_16_10349.jpg
/home/pi/Desktop/images/31012025/04/38/image_31012025_04_38_26_9401.jpg
/home/pi/Desktop/images/31012025/04/38/image_31012025_04_38_36_10343.jpg
/home/pi/Desktop/images/31012025/04/38/image_31012025_04_38_46_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":["1333196492","1333196474","1333196258","1333196382","1333196499","1333196490"],"photo_ids_order":["1333196258","1333196382","1333196474","1333196490","1333196492","1333196499"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e728101534579f02bc682580e2e0d467.jpg","text":"TemporaryFile(/tmp/multipartBody6516107753002591245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294773623,"filename":"image_31012025_04_38_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/1/31/0f9af385fbd1d0de629067ef550c09f0.jpg","text":"TemporaryFile(/tmp/multipartBody2970655714520017169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294773623,"filename":"image_31012025_04_38_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/1/31/985f7679c11a134edd59c0f2f09dc87b.jpg","text":"TemporaryFile(/tmp/multipartBody1105552276264707564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294773623,"filename":"image_31012025_04_37_57_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ed9724dd1701aecd1e9850cc1f71a6c9.jpg","text":"TemporaryFile(/tmp/multipartBody1010017630735638979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294773623,"filename":"image_31012025_04_38_06_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5db150aad757408a9ee22f6cb1bfd68f.jpg","text":"TemporaryFile(/tmp/multipartBody5728117319303721800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294773623,"filename":"image_31012025_04_38_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/1/31/be7d5c56bec47da54248f91e73fe8d26.jpg","text":"TemporaryFile(/tmp/multipartBody5417387618284990875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294773623,"filename":"image_31012025_04_38_26_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333196474","file1":"1333196382","file0":"1333196258","file4":"1333196492","file5":"1333196499","file3":"1333196490"},"map_files_photo_id_array":[{"photo_id":"1333196499","filename":"file5"},{"photo_id":"1333196474","filename":"file2"},{"photo_id":"1333196492","filename":"file4"},{"photo_id":"1333196382","filename":"file1"},{"photo_id":"1333196258","filename":"file0"},{"photo_id":"1333196490","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333196492":["hashtag1","hashtag2"]},{"1333196474":["hashtag1","hashtag2"]},{"1333196258":["hashtag1","hashtag2"]},{"1333196382":["hashtag1","hashtag2"]},{"1333196499":["hashtag1","hashtag2"]},{"1333196490":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333196492, 1333196474, 1333196258, 1333196382, 1333196499, 1333196490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.600149631500244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:39:32.971602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/38/image_31012025_04_38_56_9423.jpg', '/home/pi/Desktop/images/31012025/04/38/image_31012025_04_39_06_10342.jpg', '/home/pi/Desktop/images/31012025/04/39/image_31012025_04_39_17_10331.jpg', '/home/pi/Desktop/images/31012025/04/39/image_31012025_04_39_36_10407.jpg', '/home/pi/Desktop/images/31012025/04/39/image_31012025_04_39_46_9481.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/38/image_31012025_04_38_56_9423.jpg
/home/pi/Desktop/images/31012025/04/38/image_31012025_04_39_06_10342.jpg
/home/pi/Desktop/images/31012025/04/39/image_31012025_04_39_17_10331.jpg
/home/pi/Desktop/images/31012025/04/39/image_31012025_04_39_36_10407.jpg
/home/pi/Desktop/images/31012025/04/39/image_31012025_04_39_46_9481.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333196546","1333196533","1333196542","1333196536","1333196530"],"photo_ids_order":["1333196530","1333196533","1333196536","1333196542","1333196546"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/397976d789f04c505519c9e6fa9972f8.jpg","text":"TemporaryFile(/tmp/multipartBody6201682342311547816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294833862,"filename":"image_31012025_04_39_46_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7c553e5afdbd3690a6f8bffac06f65d1.jpg","text":"TemporaryFile(/tmp/multipartBody7317842350565650277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294833862,"filename":"image_31012025_04_39_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/1/31/28675e3f0c982eac056e2353ecb478f8.jpg","text":"TemporaryFile(/tmp/multipartBody2102836442760383114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294833862,"filename":"image_31012025_04_39_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/1/31/5d4c441549c276aca97f9d277a7d59c3.jpg","text":"TemporaryFile(/tmp/multipartBody1864414742771138242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294833862,"filename":"image_31012025_04_39_17_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3db114a15c4656468010c299e4577830.jpg","text":"TemporaryFile(/tmp/multipartBody2943732323679854300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294833862,"filename":"image_31012025_04_38_56_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333196536","file1":"1333196533","file0":"1333196530","file4":"1333196546","file3":"1333196542"},"map_files_photo_id_array":[{"photo_id":"1333196536","filename":"file2"},{"photo_id":"1333196546","filename":"file4"},{"photo_id":"1333196533","filename":"file1"},{"photo_id":"1333196530","filename":"file0"},{"photo_id":"1333196542","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333196546":["hashtag1","hashtag2"]},{"1333196533":["hashtag1","hashtag2"]},{"1333196542":["hashtag1","hashtag2"]},{"1333196536":["hashtag1","hashtag2"]},{"1333196530":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333196546, 1333196533, 1333196542, 1333196536, 1333196530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.80856990814209 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:40:32.270830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/39/image_31012025_04_39_56_10364.jpg', '/home/pi/Desktop/images/31012025/04/39/image_31012025_04_40_07_10359.jpg', '/home/pi/Desktop/images/31012025/04/40/image_31012025_04_40_16_9414.jpg', '/home/pi/Desktop/images/31012025/04/40/image_31012025_04_40_26_10343.jpg', '/home/pi/Desktop/images/31012025/04/40/image_31012025_04_40_36_9449.jpg', '/home/pi/Desktop/images/31012025/04/40/image_31012025_04_40_46_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/39/image_31012025_04_39_56_10364.jpg
/home/pi/Desktop/images/31012025/04/39/image_31012025_04_40_07_10359.jpg
/home/pi/Desktop/images/31012025/04/40/image_31012025_04_40_16_9414.jpg
/home/pi/Desktop/images/31012025/04/40/image_31012025_04_40_26_10343.jpg
/home/pi/Desktop/images/31012025/04/40/image_31012025_04_40_36_9449.jpg
/home/pi/Desktop/images/31012025/04/40/image_31012025_04_40_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":["1333196603","1333196596","1333196581","1333196600","1333196673","1333196589"],"photo_ids_order":["1333196581","1333196589","1333196596","1333196600","1333196603","1333196673"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9fa9b91cb686ed0cc0b7a8d3e3df9fbf.jpg","text":"TemporaryFile(/tmp/multipartBody6040748388145677392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294893202,"filename":"image_31012025_04_40_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/1/31/3e5c7c78c3acab990aa435d81afd8ec3.jpg","text":"TemporaryFile(/tmp/multipartBody6221789144034870255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294893202,"filename":"image_31012025_04_40_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/1/31/64559005a07d24e89e8ffdaf8d447204.jpg","text":"TemporaryFile(/tmp/multipartBody6169000262581951167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294893202,"filename":"image_31012025_04_39_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/1/31/c114487fe157595695954bc0aeff4ef9.jpg","text":"TemporaryFile(/tmp/multipartBody121301830974099884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294893202,"filename":"image_31012025_04_40_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/1/31/dd4e46675be3a50dba23941cb75ac61b.jpg","text":"TemporaryFile(/tmp/multipartBody5212250467676358703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294893202,"filename":"image_31012025_04_40_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/1/31/5c0cf248f7b3206aeac08043ac0f18ad.jpg","text":"TemporaryFile(/tmp/multipartBody4247701710392732751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294893202,"filename":"image_31012025_04_40_07_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333196596","file1":"1333196589","file0":"1333196581","file4":"1333196603","file5":"1333196673","file3":"1333196600"},"map_files_photo_id_array":[{"photo_id":"1333196673","filename":"file5"},{"photo_id":"1333196596","filename":"file2"},{"photo_id":"1333196603","filename":"file4"},{"photo_id":"1333196589","filename":"file1"},{"photo_id":"1333196581","filename":"file0"},{"photo_id":"1333196600","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333196603":["hashtag1","hashtag2"]},{"1333196596":["hashtag1","hashtag2"]},{"1333196581":["hashtag1","hashtag2"]},{"1333196600":["hashtag1","hashtag2"]},{"1333196673":["hashtag1","hashtag2"]},{"1333196589":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333196603, 1333196596, 1333196581, 1333196600, 1333196673, 1333196589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.165507793426514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:41:32.574022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/40/image_31012025_04_40_57_10398.jpg', '/home/pi/Desktop/images/31012025/04/40/image_31012025_04_41_06_9380.jpg', '/home/pi/Desktop/images/31012025/04/41/image_31012025_04_41_16_10432.jpg', '/home/pi/Desktop/images/31012025/04/41/image_31012025_04_41_26_9433.jpg', '/home/pi/Desktop/images/31012025/04/41/image_31012025_04_41_36_10358.jpg', '/home/pi/Desktop/images/31012025/04/41/image_31012025_04_41_47_10440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/40/image_31012025_04_40_57_10398.jpg
/home/pi/Desktop/images/31012025/04/40/image_31012025_04_41_06_9380.jpg
/home/pi/Desktop/images/31012025/04/41/image_31012025_04_41_16_10432.jpg
/home/pi/Desktop/images/31012025/04/41/image_31012025_04_41_26_9433.jpg
/home/pi/Desktop/images/31012025/04/41/image_31012025_04_41_36_10358.jpg
/home/pi/Desktop/images/31012025/04/41/image_31012025_04_41_47_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":["1333196709","1333196732","1333196735","1333196729","1333196720","1333196736"],"photo_ids_order":["1333196709","1333196720","1333196729","1333196732","1333196735","1333196736"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1a3397ab13fa36f11aa25538fa376558.jpg","text":"TemporaryFile(/tmp/multipartBody4102529400845905007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294953501,"filename":"image_31012025_04_40_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/1/31/97c131b85b402f2f4da541a5aeb2e0d0.jpg","text":"TemporaryFile(/tmp/multipartBody5327847131801846924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294953501,"filename":"image_31012025_04_41_26_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7a5404498566e7639c6c40ed28f6390f.jpg","text":"TemporaryFile(/tmp/multipartBody3372529949558833187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294953501,"filename":"image_31012025_04_41_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/1/31/f84cb572ff6d757e1ddce554a4ab7cf4.jpg","text":"TemporaryFile(/tmp/multipartBody3892997189796045142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294953501,"filename":"image_31012025_04_41_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/1/31/6cc8cdfe29a0aff5434cae1bb28c8dbb.jpg","text":"TemporaryFile(/tmp/multipartBody7795424910674751492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294953501,"filename":"image_31012025_04_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/1/31/3518350eddddac62bb4ac1cb1dc0ed8e.jpg","text":"TemporaryFile(/tmp/multipartBody5866563480730350043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738294953501,"filename":"image_31012025_04_41_47_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333196729","file1":"1333196720","file0":"1333196709","file4":"1333196735","file5":"1333196736","file3":"1333196732"},"map_files_photo_id_array":[{"photo_id":"1333196736","filename":"file5"},{"photo_id":"1333196729","filename":"file2"},{"photo_id":"1333196735","filename":"file4"},{"photo_id":"1333196720","filename":"file1"},{"photo_id":"1333196709","filename":"file0"},{"photo_id":"1333196732","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333196709":["hashtag1","hashtag2"]},{"1333196732":["hashtag1","hashtag2"]},{"1333196735":["hashtag1","hashtag2"]},{"1333196729":["hashtag1","hashtag2"]},{"1333196720":["hashtag1","hashtag2"]},{"1333196736":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333196709, 1333196732, 1333196735, 1333196729, 1333196720, 1333196736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60146379470825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:42:32.694218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/41/image_31012025_04_41_56_9424.jpg', '/home/pi/Desktop/images/31012025/04/41/image_31012025_04_42_06_10335.jpg', '/home/pi/Desktop/images/31012025/04/42/image_31012025_04_42_16_9400.jpg', '/home/pi/Desktop/images/31012025/04/42/image_31012025_04_42_26_10379.jpg', '/home/pi/Desktop/images/31012025/04/42/image_31012025_04_42_37_10341.jpg', '/home/pi/Desktop/images/31012025/04/42/image_31012025_04_42_46_9370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/41/image_31012025_04_41_56_9424.jpg
/home/pi/Desktop/images/31012025/04/41/image_31012025_04_42_06_10335.jpg
/home/pi/Desktop/images/31012025/04/42/image_31012025_04_42_16_9400.jpg
/home/pi/Desktop/images/31012025/04/42/image_31012025_04_42_26_10379.jpg
/home/pi/Desktop/images/31012025/04/42/image_31012025_04_42_37_10341.jpg
/home/pi/Desktop/images/31012025/04/42/image_31012025_04_42_46_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":["1333196870","1333196900","1333196878","1333196848","1333196833","1333196853"],"photo_ids_order":["1333196833","1333196848","1333196853","1333196870","1333196878","1333196900"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/413ab5c6c350d730ab3c0f43d70d280d.jpg","text":"TemporaryFile(/tmp/multipartBody4380872298445371188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295013625,"filename":"image_31012025_04_42_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/1/31/121f1e62c04d68ca06de72131a9b1962.jpg","text":"TemporaryFile(/tmp/multipartBody5833906836672232447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295013625,"filename":"image_31012025_04_42_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/1/31/d9f81719eb7ff7ada8249b23ededc9f1.jpg","text":"TemporaryFile(/tmp/multipartBody7377991277513468011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295013625,"filename":"image_31012025_04_42_37_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6c9e33ae3f3b5fdf1856eb23dadb7a6b.jpg","text":"TemporaryFile(/tmp/multipartBody1258446366177121269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295013625,"filename":"image_31012025_04_42_06_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cad73529e5186ceea0ba7c297a25748c.jpg","text":"TemporaryFile(/tmp/multipartBody5721404685179007475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295013625,"filename":"image_31012025_04_41_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/1/31/54c01bc0a0d33bbbcd9e599bde8457e3.jpg","text":"TemporaryFile(/tmp/multipartBody2423344016019316954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295013625,"filename":"image_31012025_04_42_16_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333196853","file1":"1333196848","file0":"1333196833","file4":"1333196878","file5":"1333196900","file3":"1333196870"},"map_files_photo_id_array":[{"photo_id":"1333196900","filename":"file5"},{"photo_id":"1333196853","filename":"file2"},{"photo_id":"1333196878","filename":"file4"},{"photo_id":"1333196848","filename":"file1"},{"photo_id":"1333196833","filename":"file0"},{"photo_id":"1333196870","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333196870":["hashtag1","hashtag2"]},{"1333196900":["hashtag1","hashtag2"]},{"1333196878":["hashtag1","hashtag2"]},{"1333196848":["hashtag1","hashtag2"]},{"1333196833":["hashtag1","hashtag2"]},{"1333196853":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333196870, 1333196900, 1333196878, 1333196848, 1333196833, 1333196853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.14241003990173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:43:32.852229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/42/image_31012025_04_42_56_10396.jpg', '/home/pi/Desktop/images/31012025/04/42/image_31012025_04_43_07_10368.jpg', '/home/pi/Desktop/images/31012025/04/43/image_31012025_04_43_16_9417.jpg', '/home/pi/Desktop/images/31012025/04/43/image_31012025_04_43_26_10415.jpg', '/home/pi/Desktop/images/31012025/04/43/image_31012025_04_43_36_9348.jpg', '/home/pi/Desktop/images/31012025/04/43/image_31012025_04_43_46_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/42/image_31012025_04_42_56_10396.jpg
/home/pi/Desktop/images/31012025/04/42/image_31012025_04_43_07_10368.jpg
/home/pi/Desktop/images/31012025/04/43/image_31012025_04_43_16_9417.jpg
/home/pi/Desktop/images/31012025/04/43/image_31012025_04_43_26_10415.jpg
/home/pi/Desktop/images/31012025/04/43/image_31012025_04_43_36_9348.jpg
/home/pi/Desktop/images/31012025/04/43/image_31012025_04_43_46_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":["1333196972","1333197037","1333197028","1333196997","1333197056","1333196993"],"photo_ids_order":["1333196972","1333196993","1333196997","1333197028","1333197037","1333197056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/008ed14b0d58ca33391e30c37c458a95.jpg","text":"TemporaryFile(/tmp/multipartBody2723272043806769428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295073761,"filename":"image_31012025_04_42_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/1/31/69844efd08ef347e65a2650754a16f9f.jpg","text":"TemporaryFile(/tmp/multipartBody4117478802314983795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295073761,"filename":"image_31012025_04_43_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/1/31/2aaa06fd94fb768ccaa9fee16e1cce3b.jpg","text":"TemporaryFile(/tmp/multipartBody1809541003798403643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295073761,"filename":"image_31012025_04_43_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/1/31/a71ac128f02b85ee9c70a9fe48cfc8cc.jpg","text":"TemporaryFile(/tmp/multipartBody3202459762553836410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295073761,"filename":"image_31012025_04_43_16_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/34909c165cda683ef394573014570749.jpg","text":"TemporaryFile(/tmp/multipartBody4478724301272990794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295073761,"filename":"image_31012025_04_43_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/1/31/b0f52e015812b8fb95f85f1e7b025f4a.jpg","text":"TemporaryFile(/tmp/multipartBody8776810748526327937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295073761,"filename":"image_31012025_04_43_07_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333196997","file1":"1333196993","file0":"1333196972","file4":"1333197037","file5":"1333197056","file3":"1333197028"},"map_files_photo_id_array":[{"photo_id":"1333197056","filename":"file5"},{"photo_id":"1333196997","filename":"file2"},{"photo_id":"1333197037","filename":"file4"},{"photo_id":"1333196993","filename":"file1"},{"photo_id":"1333196972","filename":"file0"},{"photo_id":"1333197028","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333196972":["hashtag1","hashtag2"]},{"1333197037":["hashtag1","hashtag2"]},{"1333197028":["hashtag1","hashtag2"]},{"1333196997":["hashtag1","hashtag2"]},{"1333197056":["hashtag1","hashtag2"]},{"1333196993":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333196972, 1333197037, 1333197028, 1333196997, 1333197056, 1333196993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.00680708885193 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:44:33.128472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/43/image_31012025_04_43_57_10353.jpg', '/home/pi/Desktop/images/31012025/04/43/image_31012025_04_44_06_9422.jpg', '/home/pi/Desktop/images/31012025/04/44/image_31012025_04_44_16_10407.jpg', '/home/pi/Desktop/images/31012025/04/44/image_31012025_04_44_26_9384.jpg', '/home/pi/Desktop/images/31012025/04/44/image_31012025_04_44_36_10401.jpg', '/home/pi/Desktop/images/31012025/04/44/image_31012025_04_44_47_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/43/image_31012025_04_43_57_10353.jpg
/home/pi/Desktop/images/31012025/04/43/image_31012025_04_44_06_9422.jpg
/home/pi/Desktop/images/31012025/04/44/image_31012025_04_44_16_10407.jpg
/home/pi/Desktop/images/31012025/04/44/image_31012025_04_44_26_9384.jpg
/home/pi/Desktop/images/31012025/04/44/image_31012025_04_44_36_10401.jpg
/home/pi/Desktop/images/31012025/04/44/image_31012025_04_44_47_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":["1333197091","1333197094","1333197081","1333197075","1333197086","1333197095"],"photo_ids_order":["1333197075","1333197081","1333197086","1333197091","1333197094","1333197095"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/82cd19d4bce2b4c317009fb10d41bd69.jpg","text":"TemporaryFile(/tmp/multipartBody1351005373652793533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295134034,"filename":"image_31012025_04_44_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/1/31/d405ab39e2e5632d71e28708de0a4341.jpg","text":"TemporaryFile(/tmp/multipartBody6663223078500409353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295134034,"filename":"image_31012025_04_44_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/1/31/b99fe68a6c9f836a87053124bfe267ce.jpg","text":"TemporaryFile(/tmp/multipartBody6687808282055652082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295134034,"filename":"image_31012025_04_44_06_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/83258af0f24e7acd7ab6a7bb98d899a1.jpg","text":"TemporaryFile(/tmp/multipartBody5638526978177440798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295134034,"filename":"image_31012025_04_43_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/1/31/6848e00e938bd7baf4da89571280a687.jpg","text":"TemporaryFile(/tmp/multipartBody3312580888916484764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295134034,"filename":"image_31012025_04_44_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/1/31/ba7847e5734f466ba0f4e71ea9729905.jpg","text":"TemporaryFile(/tmp/multipartBody807091540546737242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295134034,"filename":"image_31012025_04_44_47_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333197086","file1":"1333197081","file0":"1333197075","file4":"1333197094","file5":"1333197095","file3":"1333197091"},"map_files_photo_id_array":[{"photo_id":"1333197095","filename":"file5"},{"photo_id":"1333197086","filename":"file2"},{"photo_id":"1333197094","filename":"file4"},{"photo_id":"1333197081","filename":"file1"},{"photo_id":"1333197075","filename":"file0"},{"photo_id":"1333197091","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333197091":["hashtag1","hashtag2"]},{"1333197094":["hashtag1","hashtag2"]},{"1333197081":["hashtag1","hashtag2"]},{"1333197075":["hashtag1","hashtag2"]},{"1333197086":["hashtag1","hashtag2"]},{"1333197095":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333197091, 1333197094, 1333197081, 1333197075, 1333197086, 1333197095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30778408050537 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:45:32.397410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/44/image_31012025_04_44_56_9337.jpg', '/home/pi/Desktop/images/31012025/04/44/image_31012025_04_45_06_10342.jpg', '/home/pi/Desktop/images/31012025/04/45/image_31012025_04_45_17_10354.jpg', '/home/pi/Desktop/images/31012025/04/45/image_31012025_04_45_26_9344.jpg', '/home/pi/Desktop/images/31012025/04/45/image_31012025_04_45_36_10355.jpg', '/home/pi/Desktop/images/31012025/04/45/image_31012025_04_45_47_10414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/44/image_31012025_04_44_56_9337.jpg
/home/pi/Desktop/images/31012025/04/44/image_31012025_04_45_06_10342.jpg
/home/pi/Desktop/images/31012025/04/45/image_31012025_04_45_17_10354.jpg
/home/pi/Desktop/images/31012025/04/45/image_31012025_04_45_26_9344.jpg
/home/pi/Desktop/images/31012025/04/45/image_31012025_04_45_36_10355.jpg
/home/pi/Desktop/images/31012025/04/45/image_31012025_04_45_47_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":["1333197203","1333197172","1333197205","1333197159","1333197201","1333197176"],"photo_ids_order":["1333197159","1333197172","1333197176","1333197201","1333197203","1333197205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/211516d065f7f897e772e7ed2a92cf06.jpg","text":"TemporaryFile(/tmp/multipartBody1397340134483994711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295193329,"filename":"image_31012025_04_45_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/1/31/6427cbe72a89841c7e41edec12154cd2.jpg","text":"TemporaryFile(/tmp/multipartBody8718456189347309031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295193329,"filename":"image_31012025_04_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/1/31/72688b830681ca5a7f99c2d7dbcb9541.jpg","text":"TemporaryFile(/tmp/multipartBody6620384797059553965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295193329,"filename":"image_31012025_04_45_47_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5baf5f52d2dcdc62a3434f6329844017.jpg","text":"TemporaryFile(/tmp/multipartBody4060400921011014361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295193329,"filename":"image_31012025_04_44_56_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/266809be2848fbd7ee83afbe854108b5.jpg","text":"TemporaryFile(/tmp/multipartBody1863244100405485593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295193329,"filename":"image_31012025_04_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/1/31/b9e06b66aa3f094215d8940aeacabb86.jpg","text":"TemporaryFile(/tmp/multipartBody1275350772085127305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295193329,"filename":"image_31012025_04_45_17_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333197176","file1":"1333197172","file0":"1333197159","file4":"1333197203","file5":"1333197205","file3":"1333197201"},"map_files_photo_id_array":[{"photo_id":"1333197205","filename":"file5"},{"photo_id":"1333197176","filename":"file2"},{"photo_id":"1333197203","filename":"file4"},{"photo_id":"1333197172","filename":"file1"},{"photo_id":"1333197159","filename":"file0"},{"photo_id":"1333197201","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333197203":["hashtag1","hashtag2"]},{"1333197172":["hashtag1","hashtag2"]},{"1333197205":["hashtag1","hashtag2"]},{"1333197159":["hashtag1","hashtag2"]},{"1333197201":["hashtag1","hashtag2"]},{"1333197176":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333197203, 1333197172, 1333197205, 1333197159, 1333197201, 1333197176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.04765820503235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:46:32.630217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/45/image_31012025_04_45_56_9333.jpg', '/home/pi/Desktop/images/31012025/04/45/image_31012025_04_46_06_10333.jpg', '/home/pi/Desktop/images/31012025/04/46/image_31012025_04_46_16_9459.jpg', '/home/pi/Desktop/images/31012025/04/46/image_31012025_04_46_26_10344.jpg', '/home/pi/Desktop/images/31012025/04/46/image_31012025_04_46_37_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/45/image_31012025_04_45_56_9333.jpg
/home/pi/Desktop/images/31012025/04/45/image_31012025_04_46_06_10333.jpg
/home/pi/Desktop/images/31012025/04/46/image_31012025_04_46_16_9459.jpg
/home/pi/Desktop/images/31012025/04/46/image_31012025_04_46_26_10344.jpg
/home/pi/Desktop/images/31012025/04/46/image_31012025_04_46_37_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":["1333197277","1333197265","1333197253","1333197288","1333197260"],"photo_ids_order":["1333197253","1333197260","1333197265","1333197277","1333197288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fdba7130775accb73a9579d55a0ddade.jpg","text":"TemporaryFile(/tmp/multipartBody2977301229279454676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295253534,"filename":"image_31012025_04_46_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/1/31/166e0b85e979e35c2b110265553afcc2.jpg","text":"TemporaryFile(/tmp/multipartBody3697294288460695535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295253534,"filename":"image_31012025_04_46_16_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3927e157aa5e72f2700d3017c8338d5d.jpg","text":"TemporaryFile(/tmp/multipartBody1098411799069503579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295253534,"filename":"image_31012025_04_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/1/31/2231986c61752cc7d1106c412d4e1cbf.jpg","text":"TemporaryFile(/tmp/multipartBody2220522454444869927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295253534,"filename":"image_31012025_04_46_37_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/840e2c469566477bd832d6442eb85918.jpg","text":"TemporaryFile(/tmp/multipartBody1995595779869616754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295253534,"filename":"image_31012025_04_46_06_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333197265","file1":"1333197260","file0":"1333197253","file4":"1333197288","file3":"1333197277"},"map_files_photo_id_array":[{"photo_id":"1333197265","filename":"file2"},{"photo_id":"1333197288","filename":"file4"},{"photo_id":"1333197260","filename":"file1"},{"photo_id":"1333197253","filename":"file0"},{"photo_id":"1333197277","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333197277":["hashtag1","hashtag2"]},{"1333197265":["hashtag1","hashtag2"]},{"1333197253":["hashtag1","hashtag2"]},{"1333197288":["hashtag1","hashtag2"]},{"1333197260":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333197277, 1333197265, 1333197253, 1333197288, 1333197260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.040292739868164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:47:32.794799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/46/image_31012025_04_46_46_9419.jpg', '/home/pi/Desktop/images/31012025/04/46/image_31012025_04_47_07_10363.jpg', '/home/pi/Desktop/images/31012025/04/47/image_31012025_04_47_16_9343.jpg', '/home/pi/Desktop/images/31012025/04/47/image_31012025_04_47_26_10408.jpg', '/home/pi/Desktop/images/31012025/04/47/image_31012025_04_47_36_9429.jpg', '/home/pi/Desktop/images/31012025/04/47/image_31012025_04_47_46_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/46/image_31012025_04_46_46_9419.jpg
/home/pi/Desktop/images/31012025/04/46/image_31012025_04_47_07_10363.jpg
/home/pi/Desktop/images/31012025/04/47/image_31012025_04_47_16_9343.jpg
/home/pi/Desktop/images/31012025/04/47/image_31012025_04_47_26_10408.jpg
/home/pi/Desktop/images/31012025/04/47/image_31012025_04_47_36_9429.jpg
/home/pi/Desktop/images/31012025/04/47/image_31012025_04_47_46_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":["1333197617","1333197693","1333197342","1333197531","1333197432","1333197348"],"photo_ids_order":["1333197342","1333197348","1333197432","1333197531","1333197617","1333197693"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ed503e17c4a71281828f7b101e6d48ad.jpg","text":"TemporaryFile(/tmp/multipartBody2787605873081116902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295313695,"filename":"image_31012025_04_47_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/1/31/1d035f01ca9b475e948bb027c932569d.jpg","text":"TemporaryFile(/tmp/multipartBody5115938655852712811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295313695,"filename":"image_31012025_04_47_46_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/847f52e64d6ee62923aa214a21e6350a.jpg","text":"TemporaryFile(/tmp/multipartBody4939332320745334525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295313695,"filename":"image_31012025_04_46_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/1/31/d174c423f1ff9759e80d165ae5c20ac5.jpg","text":"TemporaryFile(/tmp/multipartBody2397333432174863561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295313695,"filename":"image_31012025_04_47_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/1/31/a8a71c1666a6c6812d4752f14814c076.jpg","text":"TemporaryFile(/tmp/multipartBody5822176151104996260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295313695,"filename":"image_31012025_04_47_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/1/31/2eb89848625be425ae2b2123dfc289e5.jpg","text":"TemporaryFile(/tmp/multipartBody3008567475065019358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295313695,"filename":"image_31012025_04_47_07_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333197432","file1":"1333197348","file0":"1333197342","file4":"1333197617","file5":"1333197693","file3":"1333197531"},"map_files_photo_id_array":[{"photo_id":"1333197693","filename":"file5"},{"photo_id":"1333197432","filename":"file2"},{"photo_id":"1333197617","filename":"file4"},{"photo_id":"1333197348","filename":"file1"},{"photo_id":"1333197342","filename":"file0"},{"photo_id":"1333197531","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333197617":["hashtag1","hashtag2"]},{"1333197693":["hashtag1","hashtag2"]},{"1333197342":["hashtag1","hashtag2"]},{"1333197531":["hashtag1","hashtag2"]},{"1333197432":["hashtag1","hashtag2"]},{"1333197348":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333197617, 1333197693, 1333197342, 1333197531, 1333197432, 1333197348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.57108807563782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:48:32.961000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/47/image_31012025_04_47_57_10356.jpg', '/home/pi/Desktop/images/31012025/04/47/image_31012025_04_48_06_9407.jpg', '/home/pi/Desktop/images/31012025/04/48/image_31012025_04_48_26_9426.jpg', '/home/pi/Desktop/images/31012025/04/48/image_31012025_04_48_36_10399.jpg', '/home/pi/Desktop/images/31012025/04/48/image_31012025_04_48_47_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/47/image_31012025_04_47_57_10356.jpg
/home/pi/Desktop/images/31012025/04/47/image_31012025_04_48_06_9407.jpg
/home/pi/Desktop/images/31012025/04/48/image_31012025_04_48_26_9426.jpg
/home/pi/Desktop/images/31012025/04/48/image_31012025_04_48_36_10399.jpg
/home/pi/Desktop/images/31012025/04/48/image_31012025_04_48_47_10419.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5283129215240479 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 04:48:43.023612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/47/image_31012025_04_47_57_10356.jpg', '/home/pi/Desktop/images/31012025/04/47/image_31012025_04_48_06_9407.jpg', '/home/pi/Desktop/images/31012025/04/48/image_31012025_04_48_26_9426.jpg', '/home/pi/Desktop/images/31012025/04/48/image_31012025_04_48_36_10399.jpg', '/home/pi/Desktop/images/31012025/04/48/image_31012025_04_48_47_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/47/image_31012025_04_47_57_10356.jpg
/home/pi/Desktop/images/31012025/04/47/image_31012025_04_48_06_9407.jpg
/home/pi/Desktop/images/31012025/04/48/image_31012025_04_48_26_9426.jpg
/home/pi/Desktop/images/31012025/04/48/image_31012025_04_48_36_10399.jpg
/home/pi/Desktop/images/31012025/04/48/image_31012025_04_48_47_10419.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":["1333198502","1333198205","1333198582","1333198309","1333198406"],"photo_ids_order":["1333198205","1333198309","1333198406","1333198502","1333198582"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/58ecca6743e462b36448e5e9b262e93a.jpg","text":"TemporaryFile(/tmp/multipartBody8983871153589950585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295383928,"filename":"image_31012025_04_48_36_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/690d2da7f770aebd8a7188ebf152ff0c.jpg","text":"TemporaryFile(/tmp/multipartBody6340732570525483195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295383928,"filename":"image_31012025_04_47_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/1/31/b814593acfc01974bf984811a782fff0.jpg","text":"TemporaryFile(/tmp/multipartBody6077742895146257256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295383928,"filename":"image_31012025_04_48_47_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c0b0a84efb968fea80d2c460de3de3f1.jpg","text":"TemporaryFile(/tmp/multipartBody8795090839770889083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295383928,"filename":"image_31012025_04_48_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/1/31/70e9077dc66ba1506613f43c66ae5dc2.jpg","text":"TemporaryFile(/tmp/multipartBody2464485152786584135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295383928,"filename":"image_31012025_04_48_26_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333198406","file1":"1333198309","file0":"1333198205","file4":"1333198582","file3":"1333198502"},"map_files_photo_id_array":[{"photo_id":"1333198406","filename":"file2"},{"photo_id":"1333198582","filename":"file4"},{"photo_id":"1333198309","filename":"file1"},{"photo_id":"1333198205","filename":"file0"},{"photo_id":"1333198502","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333198502":["hashtag1","hashtag2"]},{"1333198205":["hashtag1","hashtag2"]},{"1333198582":["hashtag1","hashtag2"]},{"1333198309":["hashtag1","hashtag2"]},{"1333198406":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333198502, 1333198205, 1333198582, 1333198309, 1333198406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.558257818222046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:49:32.245821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/48/image_31012025_04_48_56_9409.jpg', '/home/pi/Desktop/images/31012025/04/48/image_31012025_04_49_06_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/48/image_31012025_04_48_56_9409.jpg
/home/pi/Desktop/images/31012025/04/48/image_31012025_04_49_06_10347.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333199118","1333199027"],"photo_ids_order":["1333199027","1333199118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8a5427702c4430fe562ff8371b7e2a18.jpg","text":"TemporaryFile(/tmp/multipartBody2558908731910176797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295433094,"filename":"image_31012025_04_49_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/1/31/f22bf67c87864ef55d20761ba20af187.jpg","text":"TemporaryFile(/tmp/multipartBody2869450207116325488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295433094,"filename":"image_31012025_04_48_56_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1333199118","file0":"1333199027"},"map_files_photo_id_array":[{"photo_id":"1333199118","filename":"file1"},{"photo_id":"1333199027","filename":"file0"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333199118":["hashtag1","hashtag2"]},{"1333199027":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333199118, 1333199027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.351110458374023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:49:52.187127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/09/image_28012025_22_09_44_9433.jpg', '/home/pi/Desktop/images/28012025/22/09/image_28012025_22_09_55_10376.jpg', '/home/pi/Desktop/images/28012025/22/10/image_28012025_22_10_14_9383.jpg', '/home/pi/Desktop/images/28012025/22/10/image_28012025_22_10_44_9438.jpg', '/home/pi/Desktop/images/28012025/22/10/image_28012025_22_10_55_10453.jpg', '/home/pi/Desktop/images/28012025/22/10/image_28012025_22_11_04_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/09/image_28012025_22_09_44_9433.jpg
/home/pi/Desktop/images/28012025/22/09/image_28012025_22_09_55_10376.jpg
/home/pi/Desktop/images/28012025/22/10/image_28012025_22_10_14_9383.jpg
/home/pi/Desktop/images/28012025/22/10/image_28012025_22_10_44_9438.jpg
/home/pi/Desktop/images/28012025/22/10/image_28012025_22_10_55_10453.jpg
/home/pi/Desktop/images/28012025/22/10/image_28012025_22_11_04_9338.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":["1333199574","1333199763","1333199387","1333199660","1333199476","1333199863"],"photo_ids_order":["1333199387","1333199476","1333199574","1333199660","1333199763","1333199863"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8f1b73039f5d7fda74d24f845cbc55bb.jpg","text":"TemporaryFile(/tmp/multipartBody2946371278647051984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295454543,"filename":"image_28012025_22_10_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/1/31/2a471e1f65682d3d7c3b122211ef361d.jpg","text":"TemporaryFile(/tmp/multipartBody8729290120934334967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295454543,"filename":"image_28012025_22_10_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/1/31/957606ac861682ef5fd2d3e01d305f7c.jpg","text":"TemporaryFile(/tmp/multipartBody3193475263596539764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295454543,"filename":"image_28012025_22_09_44_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/711c7fe4819d50059adf41582ec31521.jpg","text":"TemporaryFile(/tmp/multipartBody2361326007926364614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295454543,"filename":"image_28012025_22_10_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/1/31/9743f0a4b7f4db32bc360dbfe8528133.jpg","text":"TemporaryFile(/tmp/multipartBody8204070593034567285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295454543,"filename":"image_28012025_22_09_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/1/31/0a6230e600231e6a6a7044e732feb44a.jpg","text":"TemporaryFile(/tmp/multipartBody3105531337524099954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295454543,"filename":"image_28012025_22_11_04_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333199574","file1":"1333199476","file0":"1333199387","file4":"1333199763","file5":"1333199863","file3":"1333199660"},"map_files_photo_id_array":[{"photo_id":"1333199863","filename":"file5"},{"photo_id":"1333199574","filename":"file2"},{"photo_id":"1333199763","filename":"file4"},{"photo_id":"1333199476","filename":"file1"},{"photo_id":"1333199387","filename":"file0"},{"photo_id":"1333199660","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333199574":["hashtag1","hashtag2"]},{"1333199763":["hashtag1","hashtag2"]},{"1333199387":["hashtag1","hashtag2"]},{"1333199660":["hashtag1","hashtag2"]},{"1333199476":["hashtag1","hashtag2"]},{"1333199863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333199574, 1333199763, 1333199387, 1333199660, 1333199476, 1333199863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.240803480148315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 04:50:42.520347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/49/image_31012025_04_49_16_9395.jpg', '/home/pi/Desktop/images/31012025/04/49/image_31012025_04_50_06_9410.jpg', '/home/pi/Desktop/images/31012025/04/50/image_31012025_04_50_26_10335.jpg', '/home/pi/Desktop/images/31012025/04/50/image_31012025_04_50_36_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/49/image_31012025_04_49_16_9395.jpg
/home/pi/Desktop/images/31012025/04/49/image_31012025_04_50_06_9410.jpg
/home/pi/Desktop/images/31012025/04/50/image_31012025_04_50_26_10335.jpg
/home/pi/Desktop/images/31012025/04/50/image_31012025_04_50_36_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":["1333200350","1333200244","1333200297","1333200186"],"photo_ids_order":["1333200186","1333200244","1333200297","1333200350"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/78e2db92b60ab297f57ec1e5e46e2143.jpg","text":"TemporaryFile(/tmp/multipartBody2171075672464578799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295503395,"filename":"image_31012025_04_50_36_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/91456669aae6a59b895f238d9bdd7161.jpg","text":"TemporaryFile(/tmp/multipartBody2431406354546851090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295503395,"filename":"image_31012025_04_50_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/1/31/7a5ed5d5e931c5c2e709e4210a4d936d.jpg","text":"TemporaryFile(/tmp/multipartBody455366274012598806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295503395,"filename":"image_31012025_04_50_26_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bf3874ab62d4a2778e02c34bb2de3ef5.jpg","text":"TemporaryFile(/tmp/multipartBody1463985780209543172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295503395,"filename":"image_31012025_04_49_16_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333200297","file1":"1333200244","file0":"1333200186","file3":"1333200350"},"map_files_photo_id_array":[{"photo_id":"1333200297","filename":"file2"},{"photo_id":"1333200244","filename":"file1"},{"photo_id":"1333200186","filename":"file0"},{"photo_id":"1333200350","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333200350":["hashtag1","hashtag2"]},{"1333200244":["hashtag1","hashtag2"]},{"1333200297":["hashtag1","hashtag2"]},{"1333200186":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333200350, 1333200244, 1333200297, 1333200186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 33.41393423080444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:51:32.637189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/50/image_31012025_04_50_57_10341.jpg', '/home/pi/Desktop/images/31012025/04/50/image_31012025_04_51_06_9344.jpg', '/home/pi/Desktop/images/31012025/04/51/image_31012025_04_51_26_9481.jpg', '/home/pi/Desktop/images/31012025/04/51/image_31012025_04_51_36_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/50/image_31012025_04_50_57_10341.jpg
/home/pi/Desktop/images/31012025/04/50/image_31012025_04_51_06_9344.jpg
/home/pi/Desktop/images/31012025/04/51/image_31012025_04_51_26_9481.jpg
/home/pi/Desktop/images/31012025/04/51/image_31012025_04_51_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":["1333200569","1333200562","1333200550","1333200558"],"photo_ids_order":["1333200550","1333200558","1333200562","1333200569"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/792169a19ad8bda7d0b92725e403e6f3.jpg","text":"TemporaryFile(/tmp/multipartBody2342328766485776855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295553519,"filename":"image_31012025_04_51_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/1/31/7cb0978a25a3c2e06c4145dde96f2284.jpg","text":"TemporaryFile(/tmp/multipartBody7889476582748162829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295553519,"filename":"image_31012025_04_51_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/1/31/42c8a378a7a1ad7b6a508f94c8b6ec71.jpg","text":"TemporaryFile(/tmp/multipartBody5266919557565841478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295553519,"filename":"image_31012025_04_50_57_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/211bb666665482e73e7ca4a5068e8bca.jpg","text":"TemporaryFile(/tmp/multipartBody4157198500596197872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295553519,"filename":"image_31012025_04_51_06_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333200562","file1":"1333200558","file0":"1333200550","file3":"1333200569"},"map_files_photo_id_array":[{"photo_id":"1333200562","filename":"file2"},{"photo_id":"1333200558","filename":"file1"},{"photo_id":"1333200550","filename":"file0"},{"photo_id":"1333200569","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333200569":["hashtag1","hashtag2"]},{"1333200562":["hashtag1","hashtag2"]},{"1333200550":["hashtag1","hashtag2"]},{"1333200558":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333200569, 1333200562, 1333200550, 1333200558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.3608820438385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:52:32.718387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/51/image_31012025_04_51_46_10353.jpg', '/home/pi/Desktop/images/31012025/04/51/image_31012025_04_52_06_10429.jpg', '/home/pi/Desktop/images/31012025/04/52/image_31012025_04_52_16_9516.jpg', '/home/pi/Desktop/images/31012025/04/52/image_31012025_04_52_46_9472.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/51/image_31012025_04_51_46_10353.jpg
/home/pi/Desktop/images/31012025/04/51/image_31012025_04_52_06_10429.jpg
/home/pi/Desktop/images/31012025/04/52/image_31012025_04_52_16_9516.jpg
/home/pi/Desktop/images/31012025/04/52/image_31012025_04_52_46_9472.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4951939582824707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 04:52:42.797625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/51/image_31012025_04_51_46_10353.jpg', '/home/pi/Desktop/images/31012025/04/51/image_31012025_04_52_06_10429.jpg', '/home/pi/Desktop/images/31012025/04/52/image_31012025_04_52_16_9516.jpg', '/home/pi/Desktop/images/31012025/04/52/image_31012025_04_52_46_9472.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/51/image_31012025_04_51_46_10353.jpg
/home/pi/Desktop/images/31012025/04/51/image_31012025_04_52_06_10429.jpg
/home/pi/Desktop/images/31012025/04/52/image_31012025_04_52_16_9516.jpg
/home/pi/Desktop/images/31012025/04/52/image_31012025_04_52_46_9472.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":["1333200753","1333200720","1333200596","1333200657"],"photo_ids_order":["1333200596","1333200657","1333200720","1333200753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a2dd42fbcb646b62f4b1bce1d841b904.jpg","text":"TemporaryFile(/tmp/multipartBody3654293946758604387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295623695,"filename":"image_31012025_04_52_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/1/31/2c20df8eb6408c4a038233285c60db73.jpg","text":"TemporaryFile(/tmp/multipartBody8708665383612498337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295623695,"filename":"image_31012025_04_52_16_9516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7de92f14e929c40fe0c5ee823a20eaa5.jpg","text":"TemporaryFile(/tmp/multipartBody1304034470337716812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295623695,"filename":"image_31012025_04_51_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/1/31/85d4bf468f4c66830c30a915b8fab4f4.jpg","text":"TemporaryFile(/tmp/multipartBody6803324404566317195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295623695,"filename":"image_31012025_04_52_06_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333200720","file1":"1333200657","file0":"1333200596","file3":"1333200753"},"map_files_photo_id_array":[{"photo_id":"1333200720","filename":"file2"},{"photo_id":"1333200657","filename":"file1"},{"photo_id":"1333200596","filename":"file0"},{"photo_id":"1333200753","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333200753":["hashtag1","hashtag2"]},{"1333200720":["hashtag1","hashtag2"]},{"1333200596":["hashtag1","hashtag2"]},{"1333200657":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333200753, 1333200720, 1333200596, 1333200657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.623543977737427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:53:32.927482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/52/image_31012025_04_52_56_10356.jpg', '/home/pi/Desktop/images/31012025/04/52/image_31012025_04_53_06_9480.jpg', '/home/pi/Desktop/images/31012025/04/53/image_31012025_04_53_16_10367.jpg', '/home/pi/Desktop/images/31012025/04/53/image_31012025_04_53_27_10361.jpg', '/home/pi/Desktop/images/31012025/04/53/image_31012025_04_53_36_9342.jpg', '/home/pi/Desktop/images/31012025/04/53/image_31012025_04_53_46_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/52/image_31012025_04_52_56_10356.jpg
/home/pi/Desktop/images/31012025/04/52/image_31012025_04_53_06_9480.jpg
/home/pi/Desktop/images/31012025/04/53/image_31012025_04_53_16_10367.jpg
/home/pi/Desktop/images/31012025/04/53/image_31012025_04_53_27_10361.jpg
/home/pi/Desktop/images/31012025/04/53/image_31012025_04_53_36_9342.jpg
/home/pi/Desktop/images/31012025/04/53/image_31012025_04_53_46_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":["1333200779","1333200773","1333200790","1333200787","1333200792","1333200795"],"photo_ids_order":["1333200773","1333200779","1333200787","1333200790","1333200792","1333200795"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/56ec42716191f93e674c84a054520ab4.jpg","text":"TemporaryFile(/tmp/multipartBody1894880452289600112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295673843,"filename":"image_31012025_04_53_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/1/31/cd8063c81215d287db5b4f19e02bf5d8.jpg","text":"TemporaryFile(/tmp/multipartBody2372397042459130848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295673843,"filename":"image_31012025_04_52_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/1/31/dd5030849e5f8997814ddcdd6c2ad85b.jpg","text":"TemporaryFile(/tmp/multipartBody6329701962829825834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295673843,"filename":"image_31012025_04_53_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/1/31/501507bd94a724bac8aa19007c4b14d4.jpg","text":"TemporaryFile(/tmp/multipartBody6834577869870249025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295673843,"filename":"image_31012025_04_53_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/1/31/cdb3409896b03914892263c294459ec4.jpg","text":"TemporaryFile(/tmp/multipartBody5166153222170019301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295673843,"filename":"image_31012025_04_53_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/1/31/8f553e05b9c19ed72efc9e72f567eaa8.jpg","text":"TemporaryFile(/tmp/multipartBody3486056978383836188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295673843,"filename":"image_31012025_04_53_46_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333200787","file1":"1333200779","file0":"1333200773","file4":"1333200792","file5":"1333200795","file3":"1333200790"},"map_files_photo_id_array":[{"photo_id":"1333200795","filename":"file5"},{"photo_id":"1333200787","filename":"file2"},{"photo_id":"1333200792","filename":"file4"},{"photo_id":"1333200779","filename":"file1"},{"photo_id":"1333200773","filename":"file0"},{"photo_id":"1333200790","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333200779":["hashtag1","hashtag2"]},{"1333200773":["hashtag1","hashtag2"]},{"1333200790":["hashtag1","hashtag2"]},{"1333200787":["hashtag1","hashtag2"]},{"1333200792":["hashtag1","hashtag2"]},{"1333200795":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333200779, 1333200773, 1333200790, 1333200787, 1333200792, 1333200795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.60444402694702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:54:33.218514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/53/image_31012025_04_53_56_9399.jpg', '/home/pi/Desktop/images/31012025/04/53/image_31012025_04_54_06_10346.jpg', '/home/pi/Desktop/images/31012025/04/54/image_31012025_04_54_16_10332.jpg', '/home/pi/Desktop/images/31012025/04/54/image_31012025_04_54_26_9409.jpg', '/home/pi/Desktop/images/31012025/04/54/image_31012025_04_54_36_10367.jpg', '/home/pi/Desktop/images/31012025/04/54/image_31012025_04_54_47_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/53/image_31012025_04_53_56_9399.jpg
/home/pi/Desktop/images/31012025/04/53/image_31012025_04_54_06_10346.jpg
/home/pi/Desktop/images/31012025/04/54/image_31012025_04_54_16_10332.jpg
/home/pi/Desktop/images/31012025/04/54/image_31012025_04_54_26_9409.jpg
/home/pi/Desktop/images/31012025/04/54/image_31012025_04_54_36_10367.jpg
/home/pi/Desktop/images/31012025/04/54/image_31012025_04_54_47_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":["1333200822","1333201181","1333200915","1333201083","1333200820","1333200996"],"photo_ids_order":["1333200820","1333200822","1333200915","1333200996","1333201083","1333201181"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d9e9265cad86b089e442106854c7b42b.jpg","text":"TemporaryFile(/tmp/multipartBody3636316384858548806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295734140,"filename":"image_31012025_04_54_06_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c4d0397f9e8417424c7cb262a36695ea.jpg","text":"TemporaryFile(/tmp/multipartBody7642545570526572931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295734140,"filename":"image_31012025_04_54_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/1/31/505d6ed8819bf2805fb284b15f26ea63.jpg","text":"TemporaryFile(/tmp/multipartBody524234685560934242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295734140,"filename":"image_31012025_04_54_16_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7f31348ef830ebd427c1d3a6c1c3a433.jpg","text":"TemporaryFile(/tmp/multipartBody24243472121393788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295734140,"filename":"image_31012025_04_54_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/1/31/357d2ba0b229481692824025dd764deb.jpg","text":"TemporaryFile(/tmp/multipartBody824073945484764537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295734140,"filename":"image_31012025_04_53_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/1/31/f5d0c3fca32fa98a34c12ffb55dd2dd9.jpg","text":"TemporaryFile(/tmp/multipartBody7088168646360484210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295734140,"filename":"image_31012025_04_54_26_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333200915","file1":"1333200822","file0":"1333200820","file4":"1333201083","file5":"1333201181","file3":"1333200996"},"map_files_photo_id_array":[{"photo_id":"1333201181","filename":"file5"},{"photo_id":"1333200915","filename":"file2"},{"photo_id":"1333201083","filename":"file4"},{"photo_id":"1333200822","filename":"file1"},{"photo_id":"1333200820","filename":"file0"},{"photo_id":"1333200996","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333200822":["hashtag1","hashtag2"]},{"1333201181":["hashtag1","hashtag2"]},{"1333200915":["hashtag1","hashtag2"]},{"1333201083":["hashtag1","hashtag2"]},{"1333200820":["hashtag1","hashtag2"]},{"1333200996":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333200822, 1333201181, 1333200915, 1333201083, 1333200820, 1333200996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.134055376052856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:55:32.405533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/54/image_31012025_04_54_56_9339.jpg', '/home/pi/Desktop/images/31012025/04/54/image_31012025_04_55_06_10377.jpg', '/home/pi/Desktop/images/31012025/04/55/image_31012025_04_55_16_9428.jpg', '/home/pi/Desktop/images/31012025/04/55/image_31012025_04_55_26_10410.jpg', '/home/pi/Desktop/images/31012025/04/55/image_31012025_04_55_37_10408.jpg', '/home/pi/Desktop/images/31012025/04/55/image_31012025_04_55_46_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/54/image_31012025_04_54_56_9339.jpg
/home/pi/Desktop/images/31012025/04/54/image_31012025_04_55_06_10377.jpg
/home/pi/Desktop/images/31012025/04/55/image_31012025_04_55_16_9428.jpg
/home/pi/Desktop/images/31012025/04/55/image_31012025_04_55_26_10410.jpg
/home/pi/Desktop/images/31012025/04/55/image_31012025_04_55_37_10408.jpg
/home/pi/Desktop/images/31012025/04/55/image_31012025_04_55_46_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":["1333201442","1333201358","1333201399","1333201444","1333201363","1333201353"],"photo_ids_order":["1333201353","1333201358","1333201363","1333201399","1333201442","1333201444"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5e7df753d27936d5374e4862b5181a53.jpg","text":"TemporaryFile(/tmp/multipartBody8568134868884518264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295793321,"filename":"image_31012025_04_55_37_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8771b682280c2401b2b4a02a3e9c86f2.jpg","text":"TemporaryFile(/tmp/multipartBody1453792230813033195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295793321,"filename":"image_31012025_04_55_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/1/31/dae552b3032978ad007a9bea4171a955.jpg","text":"TemporaryFile(/tmp/multipartBody4941564307778470131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295793321,"filename":"image_31012025_04_55_26_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/170acdb4b4d5bd9611b9d70f98a6bb3b.jpg","text":"TemporaryFile(/tmp/multipartBody3559968196162052977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295793321,"filename":"image_31012025_04_55_46_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/409ff50cc34d0c7186f6ad3554606ab8.jpg","text":"TemporaryFile(/tmp/multipartBody1089958114969866250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295793321,"filename":"image_31012025_04_55_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/1/31/2369bebfb1a6f451b10d7afdc09ec762.jpg","text":"TemporaryFile(/tmp/multipartBody484951219551427292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295793321,"filename":"image_31012025_04_54_56_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333201363","file1":"1333201358","file0":"1333201353","file4":"1333201442","file5":"1333201444","file3":"1333201399"},"map_files_photo_id_array":[{"photo_id":"1333201444","filename":"file5"},{"photo_id":"1333201363","filename":"file2"},{"photo_id":"1333201442","filename":"file4"},{"photo_id":"1333201358","filename":"file1"},{"photo_id":"1333201353","filename":"file0"},{"photo_id":"1333201399","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333201442":["hashtag1","hashtag2"]},{"1333201358":["hashtag1","hashtag2"]},{"1333201399":["hashtag1","hashtag2"]},{"1333201444":["hashtag1","hashtag2"]},{"1333201363":["hashtag1","hashtag2"]},{"1333201353":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333201442, 1333201358, 1333201399, 1333201444, 1333201363, 1333201353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.55317282676697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:56:32.496946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/55/image_31012025_04_55_56_10352.jpg', '/home/pi/Desktop/images/31012025/04/55/image_31012025_04_56_06_9480.jpg', '/home/pi/Desktop/images/31012025/04/56/image_31012025_04_56_16_10419.jpg', '/home/pi/Desktop/images/31012025/04/56/image_31012025_04_56_27_10367.jpg', '/home/pi/Desktop/images/31012025/04/56/image_31012025_04_56_36_9357.jpg', '/home/pi/Desktop/images/31012025/04/56/image_31012025_04_56_46_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/55/image_31012025_04_55_56_10352.jpg
/home/pi/Desktop/images/31012025/04/55/image_31012025_04_56_06_9480.jpg
/home/pi/Desktop/images/31012025/04/56/image_31012025_04_56_16_10419.jpg
/home/pi/Desktop/images/31012025/04/56/image_31012025_04_56_27_10367.jpg
/home/pi/Desktop/images/31012025/04/56/image_31012025_04_56_36_9357.jpg
/home/pi/Desktop/images/31012025/04/56/image_31012025_04_56_46_10359.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.1251912117004395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 04:56:42.551287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/55/image_31012025_04_55_56_10352.jpg', '/home/pi/Desktop/images/31012025/04/55/image_31012025_04_56_06_9480.jpg', '/home/pi/Desktop/images/31012025/04/56/image_31012025_04_56_16_10419.jpg', '/home/pi/Desktop/images/31012025/04/56/image_31012025_04_56_27_10367.jpg', '/home/pi/Desktop/images/31012025/04/56/image_31012025_04_56_36_9357.jpg', '/home/pi/Desktop/images/31012025/04/56/image_31012025_04_56_46_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/55/image_31012025_04_55_56_10352.jpg
/home/pi/Desktop/images/31012025/04/55/image_31012025_04_56_06_9480.jpg
/home/pi/Desktop/images/31012025/04/56/image_31012025_04_56_16_10419.jpg
/home/pi/Desktop/images/31012025/04/56/image_31012025_04_56_27_10367.jpg
/home/pi/Desktop/images/31012025/04/56/image_31012025_04_56_36_9357.jpg
/home/pi/Desktop/images/31012025/04/56/image_31012025_04_56_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":["1333201484","1333201469","1333201474","1333201485","1333201479","1333201464"],"photo_ids_order":["1333201464","1333201469","1333201474","1333201479","1333201484","1333201485"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5ad0b68faec0bd32c0a4cffe8efaa643.jpg","text":"TemporaryFile(/tmp/multipartBody5856609204993474190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295863462,"filename":"image_31012025_04_56_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/1/31/08f25cfed2198df5327486815ddc4b9b.jpg","text":"TemporaryFile(/tmp/multipartBody363643108538680142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295863462,"filename":"image_31012025_04_56_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/1/31/158775ea7ca5e44279d2ac015c946533.jpg","text":"TemporaryFile(/tmp/multipartBody7154554238270688696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295863462,"filename":"image_31012025_04_56_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/1/31/344adde6146816f3ca4f396ee3b9c9fb.jpg","text":"TemporaryFile(/tmp/multipartBody9060301196582622139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295863462,"filename":"image_31012025_04_56_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/1/31/6293190abe291f02978129450d607c06.jpg","text":"TemporaryFile(/tmp/multipartBody5655243580434580848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295863462,"filename":"image_31012025_04_56_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/1/31/ff390708bdba34ac05c388372894c1b5.jpg","text":"TemporaryFile(/tmp/multipartBody8787181985122550203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738295863462,"filename":"image_31012025_04_55_56_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333201474","file1":"1333201469","file0":"1333201464","file4":"1333201484","file5":"1333201485","file3":"1333201479"},"map_files_photo_id_array":[{"photo_id":"1333201485","filename":"file5"},{"photo_id":"1333201474","filename":"file2"},{"photo_id":"1333201484","filename":"file4"},{"photo_id":"1333201469","filename":"file1"},{"photo_id":"1333201464","filename":"file0"},{"photo_id":"1333201479","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333201484":["hashtag1","hashtag2"]},{"1333201469":["hashtag1","hashtag2"]},{"1333201474":["hashtag1","hashtag2"]},{"1333201485":["hashtag1","hashtag2"]},{"1333201479":["hashtag1","hashtag2"]},{"1333201464":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333201484, 1333201469, 1333201474, 1333201485, 1333201479, 1333201464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1354706287384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:57:32.763621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/56/image_31012025_04_56_57_10359.jpg', '/home/pi/Desktop/images/31012025/04/56/image_31012025_04_57_06_9352.jpg', '/home/pi/Desktop/images/31012025/04/57/image_31012025_04_57_16_10331.jpg', '/home/pi/Desktop/images/31012025/04/57/image_31012025_04_57_26_9473.jpg', '/home/pi/Desktop/images/31012025/04/57/image_31012025_04_57_36_10452.jpg', '/home/pi/Desktop/images/31012025/04/57/image_31012025_04_57_47_10389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/56/image_31012025_04_56_57_10359.jpg
/home/pi/Desktop/images/31012025/04/56/image_31012025_04_57_06_9352.jpg
/home/pi/Desktop/images/31012025/04/57/image_31012025_04_57_16_10331.jpg
/home/pi/Desktop/images/31012025/04/57/image_31012025_04_57_26_9473.jpg
/home/pi/Desktop/images/31012025/04/57/image_31012025_04_57_36_10452.jpg
/home/pi/Desktop/images/31012025/04/57/image_31012025_04_57_47_10389.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 www.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-01-31 04:59:03.870361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/56/image_31012025_04_56_57_10359.jpg', '/home/pi/Desktop/images/31012025/04/56/image_31012025_04_57_06_9352.jpg', '/home/pi/Desktop/images/31012025/04/57/image_31012025_04_57_16_10331.jpg', '/home/pi/Desktop/images/31012025/04/57/image_31012025_04_57_26_9473.jpg', '/home/pi/Desktop/images/31012025/04/57/image_31012025_04_57_36_10452.jpg', '/home/pi/Desktop/images/31012025/04/57/image_31012025_04_57_47_10389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/56/image_31012025_04_56_57_10359.jpg
/home/pi/Desktop/images/31012025/04/56/image_31012025_04_57_06_9352.jpg
/home/pi/Desktop/images/31012025/04/57/image_31012025_04_57_16_10331.jpg
/home/pi/Desktop/images/31012025/04/57/image_31012025_04_57_26_9473.jpg
/home/pi/Desktop/images/31012025/04/57/image_31012025_04_57_36_10452.jpg
/home/pi/Desktop/images/31012025/04/57/image_31012025_04_57_47_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":["1333201799","1333201802","1333201792","1333201810","1333201797","1333201788"],"photo_ids_order":["1333201788","1333201792","1333201797","1333201799","1333201802","1333201810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f5a2f6c3976ec8b0a9e833649a45bcd9.jpg","text":"TemporaryFile(/tmp/multipartBody5666129173225291031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296004938,"filename":"image_31012025_04_57_26_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ec9b85d40b2d32405d6c51397bb0050f.jpg","text":"TemporaryFile(/tmp/multipartBody2599757092038285637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296004938,"filename":"image_31012025_04_57_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/1/31/d66d95ef98973acecc2104b545523d81.jpg","text":"TemporaryFile(/tmp/multipartBody2732749365644676059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296004938,"filename":"image_31012025_04_57_06_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3595501e7521c42b7935a35ce7d6d163.jpg","text":"TemporaryFile(/tmp/multipartBody5700141199435380281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296004938,"filename":"image_31012025_04_57_47_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fa0185155ca34f3cf244a4f8bb40a049.jpg","text":"TemporaryFile(/tmp/multipartBody7893190686522919812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296004938,"filename":"image_31012025_04_57_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/1/31/b7b82f1c15366fc21c113afd1a8e1326.jpg","text":"TemporaryFile(/tmp/multipartBody1581636977256336872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296004938,"filename":"image_31012025_04_56_57_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333201797","file1":"1333201792","file0":"1333201788","file4":"1333201802","file5":"1333201810","file3":"1333201799"},"map_files_photo_id_array":[{"photo_id":"1333201810","filename":"file5"},{"photo_id":"1333201797","filename":"file2"},{"photo_id":"1333201802","filename":"file4"},{"photo_id":"1333201792","filename":"file1"},{"photo_id":"1333201788","filename":"file0"},{"photo_id":"1333201799","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333201799":["hashtag1","hashtag2"]},{"1333201802":["hashtag1","hashtag2"]},{"1333201792":["hashtag1","hashtag2"]},{"1333201810":["hashtag1","hashtag2"]},{"1333201797":["hashtag1","hashtag2"]},{"1333201788":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333201799, 1333201802, 1333201792, 1333201810, 1333201797, 1333201788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.08079957962036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 04:59:52.157186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/57/image_31012025_04_57_56_9414.jpg', '/home/pi/Desktop/images/31012025/04/57/image_31012025_04_58_06_9931.jpg', '/home/pi/Desktop/images/31012025/04/58/image_31012025_04_58_16_10492.jpg', '/home/pi/Desktop/images/31012025/04/58/image_31012025_04_58_26_9439.jpg', '/home/pi/Desktop/images/31012025/04/58/image_31012025_04_58_36_10345.jpg', '/home/pi/Desktop/images/31012025/04/58/image_31012025_04_58_47_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/57/image_31012025_04_57_56_9414.jpg
/home/pi/Desktop/images/31012025/04/57/image_31012025_04_58_06_9931.jpg
/home/pi/Desktop/images/31012025/04/58/image_31012025_04_58_16_10492.jpg
/home/pi/Desktop/images/31012025/04/58/image_31012025_04_58_26_9439.jpg
/home/pi/Desktop/images/31012025/04/58/image_31012025_04_58_36_10345.jpg
/home/pi/Desktop/images/31012025/04/58/image_31012025_04_58_47_10359.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333201877","1333201885","1333201896","1333201881","1333201887","1333201869"],"photo_ids_order":["1333201869","1333201877","1333201881","1333201885","1333201887","1333201896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f74e2e116686c18e323f00f3723b722e.jpg","text":"TemporaryFile(/tmp/multipartBody9020531002015998162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296053065,"filename":"image_31012025_04_58_06_9931.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/958dcb5e70551418954068e0c782b471.jpg","text":"TemporaryFile(/tmp/multipartBody5278922967544187712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296053065,"filename":"image_31012025_04_58_26_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b6f20254a74f90374a29b9c928d55a6d.jpg","text":"TemporaryFile(/tmp/multipartBody2466707262992925222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296053065,"filename":"image_31012025_04_58_47_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5c76abe7640cb7a6a55ee1a1328d2739.jpg","text":"TemporaryFile(/tmp/multipartBody6661164436212945360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296053065,"filename":"image_31012025_04_58_16_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/005b20ffa1235594e0802f42a20e8ffb.jpg","text":"TemporaryFile(/tmp/multipartBody6265974147517000807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296053065,"filename":"image_31012025_04_58_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/1/31/5b5738524844d34ddcacb795534b042b.jpg","text":"TemporaryFile(/tmp/multipartBody275892126147326113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296053065,"filename":"image_31012025_04_57_56_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333201881","file1":"1333201877","file0":"1333201869","file4":"1333201887","file5":"1333201896","file3":"1333201885"},"map_files_photo_id_array":[{"photo_id":"1333201896","filename":"file5"},{"photo_id":"1333201881","filename":"file2"},{"photo_id":"1333201887","filename":"file4"},{"photo_id":"1333201877","filename":"file1"},{"photo_id":"1333201869","filename":"file0"},{"photo_id":"1333201885","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333201877":["hashtag1","hashtag2"]},{"1333201885":["hashtag1","hashtag2"]},{"1333201896":["hashtag1","hashtag2"]},{"1333201881":["hashtag1","hashtag2"]},{"1333201887":["hashtag1","hashtag2"]},{"1333201869":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333201877, 1333201885, 1333201896, 1333201881, 1333201887, 1333201869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12424302101135 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 05:00:42.449958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/04/58/image_31012025_04_58_56_9341.jpg', '/home/pi/Desktop/images/31012025/04/58/image_31012025_04_59_06_10391.jpg', '/home/pi/Desktop/images/31012025/04/59/image_31012025_04_59_16_9469.jpg', '/home/pi/Desktop/images/31012025/04/59/image_31012025_04_59_37_10363.jpg', '/home/pi/Desktop/images/31012025/04/59/image_31012025_04_59_46_9349.jpg', '/home/pi/Desktop/images/31012025/04/59/image_31012025_04_59_56_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/04/58/image_31012025_04_58_56_9341.jpg
/home/pi/Desktop/images/31012025/04/58/image_31012025_04_59_06_10391.jpg
/home/pi/Desktop/images/31012025/04/59/image_31012025_04_59_16_9469.jpg
/home/pi/Desktop/images/31012025/04/59/image_31012025_04_59_37_10363.jpg
/home/pi/Desktop/images/31012025/04/59/image_31012025_04_59_46_9349.jpg
/home/pi/Desktop/images/31012025/04/59/image_31012025_04_59_56_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":["1333201931","1333201928","1333201933","1333201915","1333201926","1333201920"],"photo_ids_order":["1333201915","1333201920","1333201926","1333201928","1333201931","1333201933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e1124141ed24a36876c142dcae69852e.jpg","text":"TemporaryFile(/tmp/multipartBody3828476422457093298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296103351,"filename":"image_31012025_04_59_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/1/31/f60c760a28a29618be71ef6adced5821.jpg","text":"TemporaryFile(/tmp/multipartBody224807778399746669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296103351,"filename":"image_31012025_04_59_37_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/86c87872411f005ab19d420d2dcfb64f.jpg","text":"TemporaryFile(/tmp/multipartBody1462624200025427142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296103351,"filename":"image_31012025_04_59_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/1/31/9524d352d2377af1f8c92b83f99caa29.jpg","text":"TemporaryFile(/tmp/multipartBody8816484399101136880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296103351,"filename":"image_31012025_04_58_56_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1546ac05fb34d5fbf9071d4d987d87ba.jpg","text":"TemporaryFile(/tmp/multipartBody4690059085149081977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296103351,"filename":"image_31012025_04_59_16_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/774677f5f957c4baab55a3b01df5a629.jpg","text":"TemporaryFile(/tmp/multipartBody7875169100606870415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296103351,"filename":"image_31012025_04_59_06_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333201926","file1":"1333201920","file0":"1333201915","file4":"1333201931","file5":"1333201933","file3":"1333201928"},"map_files_photo_id_array":[{"photo_id":"1333201933","filename":"file5"},{"photo_id":"1333201926","filename":"file2"},{"photo_id":"1333201931","filename":"file4"},{"photo_id":"1333201920","filename":"file1"},{"photo_id":"1333201915","filename":"file0"},{"photo_id":"1333201928","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333201931":["hashtag1","hashtag2"]},{"1333201928":["hashtag1","hashtag2"]},{"1333201933":["hashtag1","hashtag2"]},{"1333201915":["hashtag1","hashtag2"]},{"1333201926":["hashtag1","hashtag2"]},{"1333201920":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333201931, 1333201928, 1333201933, 1333201915, 1333201926, 1333201920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.753275632858276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:01:32.681838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/00/image_31012025_05_00_36_10355.jpg', '/home/pi/Desktop/images/31012025/05/00/image_31012025_05_00_45_9375.jpg', '/home/pi/Desktop/images/31012025/05/00/image_31012025_05_00_56_10443.jpg', '/home/pi/Desktop/images/31012025/05/00/image_31012025_05_01_06_10339.jpg', '/home/pi/Desktop/images/31012025/05/01/image_31012025_05_01_16_9340.jpg', '/home/pi/Desktop/images/31012025/05/01/image_31012025_05_01_26_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/00/image_31012025_05_00_36_10355.jpg
/home/pi/Desktop/images/31012025/05/00/image_31012025_05_00_45_9375.jpg
/home/pi/Desktop/images/31012025/05/00/image_31012025_05_00_56_10443.jpg
/home/pi/Desktop/images/31012025/05/00/image_31012025_05_01_06_10339.jpg
/home/pi/Desktop/images/31012025/05/01/image_31012025_05_01_16_9340.jpg
/home/pi/Desktop/images/31012025/05/01/image_31012025_05_01_26_10432.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5486643314361572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 05:01:42.675672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/00/image_31012025_05_00_36_10355.jpg', '/home/pi/Desktop/images/31012025/05/00/image_31012025_05_00_45_9375.jpg', '/home/pi/Desktop/images/31012025/05/00/image_31012025_05_00_56_10443.jpg', '/home/pi/Desktop/images/31012025/05/00/image_31012025_05_01_06_10339.jpg', '/home/pi/Desktop/images/31012025/05/01/image_31012025_05_01_16_9340.jpg', '/home/pi/Desktop/images/31012025/05/01/image_31012025_05_01_26_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/00/image_31012025_05_00_36_10355.jpg
/home/pi/Desktop/images/31012025/05/00/image_31012025_05_00_45_9375.jpg
/home/pi/Desktop/images/31012025/05/00/image_31012025_05_00_56_10443.jpg
/home/pi/Desktop/images/31012025/05/00/image_31012025_05_01_06_10339.jpg
/home/pi/Desktop/images/31012025/05/01/image_31012025_05_01_16_9340.jpg
/home/pi/Desktop/images/31012025/05/01/image_31012025_05_01_26_10432.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":["1333201958","1333201949","1333201954","1333201962","1333201965","1333201968"],"photo_ids_order":["1333201949","1333201954","1333201958","1333201962","1333201965","1333201968"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3ae116096a758099834089c8b1a57ec6.jpg","text":"TemporaryFile(/tmp/multipartBody3266491517531896758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296163608,"filename":"image_31012025_05_00_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/1/31/cab4648250ea01b7b24cd81774fabbc6.jpg","text":"TemporaryFile(/tmp/multipartBody3397635103470178183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296163608,"filename":"image_31012025_05_00_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/1/31/77711fa20af1171e90a3889313b8fbf9.jpg","text":"TemporaryFile(/tmp/multipartBody5161027865770168663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296163608,"filename":"image_31012025_05_00_45_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/319f0cec5c22d5381781ac7bbb3e9539.jpg","text":"TemporaryFile(/tmp/multipartBody6361017577841977722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296163608,"filename":"image_31012025_05_01_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/1/31/459fea5c8149a2dace354ba39c9f3f61.jpg","text":"TemporaryFile(/tmp/multipartBody4281817377717451333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296163608,"filename":"image_31012025_05_01_16_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c85c7660d28c96d1497d6e41f713eb4a.jpg","text":"TemporaryFile(/tmp/multipartBody125307924398124203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296163608,"filename":"image_31012025_05_01_26_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333201958","file1":"1333201954","file0":"1333201949","file4":"1333201965","file5":"1333201968","file3":"1333201962"},"map_files_photo_id_array":[{"photo_id":"1333201968","filename":"file5"},{"photo_id":"1333201958","filename":"file2"},{"photo_id":"1333201965","filename":"file4"},{"photo_id":"1333201954","filename":"file1"},{"photo_id":"1333201949","filename":"file0"},{"photo_id":"1333201962","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333201958":["hashtag1","hashtag2"]},{"1333201949":["hashtag1","hashtag2"]},{"1333201954":["hashtag1","hashtag2"]},{"1333201962":["hashtag1","hashtag2"]},{"1333201965":["hashtag1","hashtag2"]},{"1333201968":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333201958, 1333201949, 1333201954, 1333201962, 1333201965, 1333201968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.27218270301819 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:02:32.911479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/01/image_31012025_05_01_35_9332.jpg', '/home/pi/Desktop/images/31012025/05/01/image_31012025_05_01_56_10409.jpg', '/home/pi/Desktop/images/31012025/05/01/image_31012025_05_02_05_9404.jpg', '/home/pi/Desktop/images/31012025/05/02/image_31012025_05_02_25_9344.jpg', '/home/pi/Desktop/images/31012025/05/02/image_31012025_05_02_36_10367.jpg', '/home/pi/Desktop/images/31012025/05/02/image_31012025_05_02_46_10380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/01/image_31012025_05_01_35_9332.jpg
/home/pi/Desktop/images/31012025/05/01/image_31012025_05_01_56_10409.jpg
/home/pi/Desktop/images/31012025/05/01/image_31012025_05_02_05_9404.jpg
/home/pi/Desktop/images/31012025/05/02/image_31012025_05_02_25_9344.jpg
/home/pi/Desktop/images/31012025/05/02/image_31012025_05_02_36_10367.jpg
/home/pi/Desktop/images/31012025/05/02/image_31012025_05_02_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":["1333202018","1333202023","1333201975","1333201989","1333201980","1333202013"],"photo_ids_order":["1333201975","1333201980","1333201989","1333202013","1333202018","1333202023"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4c7fd571a23811362a8fb7207d58108f.jpg","text":"TemporaryFile(/tmp/multipartBody4558195702581776371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296213825,"filename":"image_31012025_05_02_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/1/31/56df8f57bc7c8392f1b61f66274fb7b2.jpg","text":"TemporaryFile(/tmp/multipartBody535035899111435589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296213825,"filename":"image_31012025_05_02_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/1/31/d98774a88e6b3a109a68382fca924fec.jpg","text":"TemporaryFile(/tmp/multipartBody3690715598136834960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296213825,"filename":"image_31012025_05_01_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/1/31/3851f401b5db3ac11f1f80a9f0777989.jpg","text":"TemporaryFile(/tmp/multipartBody1683292184933307784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296213825,"filename":"image_31012025_05_02_05_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d39684d3c378a67df7804b14a8c2d0ab.jpg","text":"TemporaryFile(/tmp/multipartBody8546026489611377005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296213825,"filename":"image_31012025_05_01_56_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/96ed52d0dfd9383276f8bf6f045ab509.jpg","text":"TemporaryFile(/tmp/multipartBody3599142206809776454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296213825,"filename":"image_31012025_05_02_25_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333201989","file1":"1333201980","file0":"1333201975","file4":"1333202018","file5":"1333202023","file3":"1333202013"},"map_files_photo_id_array":[{"photo_id":"1333202023","filename":"file5"},{"photo_id":"1333201989","filename":"file2"},{"photo_id":"1333202018","filename":"file4"},{"photo_id":"1333201980","filename":"file1"},{"photo_id":"1333201975","filename":"file0"},{"photo_id":"1333202013","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333202018":["hashtag1","hashtag2"]},{"1333202023":["hashtag1","hashtag2"]},{"1333201975":["hashtag1","hashtag2"]},{"1333201989":["hashtag1","hashtag2"]},{"1333201980":["hashtag1","hashtag2"]},{"1333202013":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333202018, 1333202023, 1333201975, 1333201989, 1333201980, 1333202013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.826199769973755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:03:33.128942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/02/image_31012025_05_02_55_9391.jpg', '/home/pi/Desktop/images/31012025/05/02/image_31012025_05_03_06_10452.jpg', '/home/pi/Desktop/images/31012025/05/03/image_31012025_05_03_15_9339.jpg', '/home/pi/Desktop/images/31012025/05/03/image_31012025_05_03_26_10370.jpg', '/home/pi/Desktop/images/31012025/05/03/image_31012025_05_03_36_10352.jpg', '/home/pi/Desktop/images/31012025/05/03/image_31012025_05_03_45_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/02/image_31012025_05_02_55_9391.jpg
/home/pi/Desktop/images/31012025/05/02/image_31012025_05_03_06_10452.jpg
/home/pi/Desktop/images/31012025/05/03/image_31012025_05_03_15_9339.jpg
/home/pi/Desktop/images/31012025/05/03/image_31012025_05_03_26_10370.jpg
/home/pi/Desktop/images/31012025/05/03/image_31012025_05_03_36_10352.jpg
/home/pi/Desktop/images/31012025/05/03/image_31012025_05_03_45_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":["1333202165","1333202170","1333202155","1333202160","1333202151","1333202186"],"photo_ids_order":["1333202151","1333202155","1333202160","1333202165","1333202170","1333202186"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3f85d9660f22a02cdc779e36b3a1521c.jpg","text":"TemporaryFile(/tmp/multipartBody3245530932981855489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296274031,"filename":"image_31012025_05_03_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/1/31/bddee5d9a186784a8a9fd5861539d9bd.jpg","text":"TemporaryFile(/tmp/multipartBody2258166487753127438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296274031,"filename":"image_31012025_05_03_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/1/31/d5418bd79ffc007e6173494cdee6e369.jpg","text":"TemporaryFile(/tmp/multipartBody4325789663823333978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296274031,"filename":"image_31012025_05_03_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/1/31/9e989bc8caac511d83344f79cc1a9b54.jpg","text":"TemporaryFile(/tmp/multipartBody6585097310276456001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296274031,"filename":"image_31012025_05_03_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/1/31/4e7ab8c1b1ece58e11fcd7cf4e441fb9.jpg","text":"TemporaryFile(/tmp/multipartBody2931020000546791860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296274031,"filename":"image_31012025_05_02_55_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f80d5932d36c96f8745aeffbe73f502b.jpg","text":"TemporaryFile(/tmp/multipartBody2010172087970632464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296274031,"filename":"image_31012025_05_03_45_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333202160","file1":"1333202155","file0":"1333202151","file4":"1333202170","file5":"1333202186","file3":"1333202165"},"map_files_photo_id_array":[{"photo_id":"1333202186","filename":"file5"},{"photo_id":"1333202160","filename":"file2"},{"photo_id":"1333202170","filename":"file4"},{"photo_id":"1333202155","filename":"file1"},{"photo_id":"1333202151","filename":"file0"},{"photo_id":"1333202165","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333202165":["hashtag1","hashtag2"]},{"1333202170":["hashtag1","hashtag2"]},{"1333202155":["hashtag1","hashtag2"]},{"1333202160":["hashtag1","hashtag2"]},{"1333202151":["hashtag1","hashtag2"]},{"1333202186":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333202165, 1333202170, 1333202155, 1333202160, 1333202151, 1333202186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.91799354553223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:04:32.511677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/03/image_31012025_05_03_56_10414.jpg', '/home/pi/Desktop/images/31012025/05/03/image_31012025_05_04_06_10367.jpg', '/home/pi/Desktop/images/31012025/05/04/image_31012025_05_04_15_9396.jpg', '/home/pi/Desktop/images/31012025/05/04/image_31012025_05_04_26_10489.jpg', '/home/pi/Desktop/images/31012025/05/04/image_31012025_05_04_35_9338.jpg', '/home/pi/Desktop/images/31012025/05/04/image_31012025_05_04_46_10425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/03/image_31012025_05_03_56_10414.jpg
/home/pi/Desktop/images/31012025/05/03/image_31012025_05_04_06_10367.jpg
/home/pi/Desktop/images/31012025/05/04/image_31012025_05_04_15_9396.jpg
/home/pi/Desktop/images/31012025/05/04/image_31012025_05_04_26_10489.jpg
/home/pi/Desktop/images/31012025/05/04/image_31012025_05_04_35_9338.jpg
/home/pi/Desktop/images/31012025/05/04/image_31012025_05_04_46_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":["1333202213","1333202207","1333202227","1333202218","1333202223","1333202229"],"photo_ids_order":["1333202207","1333202213","1333202218","1333202223","1333202227","1333202229"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/21d3ebd4038b7a3c28ad3ff505e0258d.jpg","text":"TemporaryFile(/tmp/multipartBody3175809513870287134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296333445,"filename":"image_31012025_05_04_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/1/31/3835e902047ecc6e6e382406f494a9b4.jpg","text":"TemporaryFile(/tmp/multipartBody6358165937264324255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296333445,"filename":"image_31012025_05_03_56_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/72ae69566d2823d0f90b617d8831e2bc.jpg","text":"TemporaryFile(/tmp/multipartBody3206082018228254589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296333445,"filename":"image_31012025_05_04_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/1/31/ea34e6a1bd867a105fd252a58fc175e6.jpg","text":"TemporaryFile(/tmp/multipartBody1305500078077637476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296333445,"filename":"image_31012025_05_04_15_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a0fa77ef4da3cd1f3751cd7d8b85ef36.jpg","text":"TemporaryFile(/tmp/multipartBody700595784129781919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296333445,"filename":"image_31012025_05_04_26_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5ef30725b6782cbdb283724ad216dacf.jpg","text":"TemporaryFile(/tmp/multipartBody1413695262087381932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296333445,"filename":"image_31012025_05_04_46_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333202218","file1":"1333202213","file0":"1333202207","file4":"1333202227","file5":"1333202229","file3":"1333202223"},"map_files_photo_id_array":[{"photo_id":"1333202229","filename":"file5"},{"photo_id":"1333202218","filename":"file2"},{"photo_id":"1333202227","filename":"file4"},{"photo_id":"1333202213","filename":"file1"},{"photo_id":"1333202207","filename":"file0"},{"photo_id":"1333202223","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333202213":["hashtag1","hashtag2"]},{"1333202207":["hashtag1","hashtag2"]},{"1333202227":["hashtag1","hashtag2"]},{"1333202218":["hashtag1","hashtag2"]},{"1333202223":["hashtag1","hashtag2"]},{"1333202229":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333202213, 1333202207, 1333202227, 1333202218, 1333202223, 1333202229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.47781229019165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:05:32.775529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/04/image_31012025_05_04_56_10340.jpg', '/home/pi/Desktop/images/31012025/05/05/image_31012025_05_05_25_9359.jpg', '/home/pi/Desktop/images/31012025/05/05/image_31012025_05_05_36_10409.jpg', '/home/pi/Desktop/images/31012025/05/05/image_31012025_05_05_46_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/04/image_31012025_05_04_56_10340.jpg
/home/pi/Desktop/images/31012025/05/05/image_31012025_05_05_25_9359.jpg
/home/pi/Desktop/images/31012025/05/05/image_31012025_05_05_36_10409.jpg
/home/pi/Desktop/images/31012025/05/05/image_31012025_05_05_46_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":["1333202402","1333202368","1333202400","1333202372"],"photo_ids_order":["1333202368","1333202372","1333202400","1333202402"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bd31e2b56fd8357bb4ca26a834c078cf.jpg","text":"TemporaryFile(/tmp/multipartBody129816679029571114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296393656,"filename":"image_31012025_05_05_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/1/31/1a6f931f8200f7f040bacd48b9a29883.jpg","text":"TemporaryFile(/tmp/multipartBody3081631354794815792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296393656,"filename":"image_31012025_05_04_56_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4dd6c8d9cc181ea2002b158cdcd96803.jpg","text":"TemporaryFile(/tmp/multipartBody2704991365265768852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296393656,"filename":"image_31012025_05_05_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/1/31/ec4167b902ae7b64d4680bd5c876bebe.jpg","text":"TemporaryFile(/tmp/multipartBody8521256938379905260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296393656,"filename":"image_31012025_05_05_25_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333202400","file1":"1333202372","file0":"1333202368","file3":"1333202402"},"map_files_photo_id_array":[{"photo_id":"1333202400","filename":"file2"},{"photo_id":"1333202372","filename":"file1"},{"photo_id":"1333202368","filename":"file0"},{"photo_id":"1333202402","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333202402":["hashtag1","hashtag2"]},{"1333202368":["hashtag1","hashtag2"]},{"1333202400":["hashtag1","hashtag2"]},{"1333202372":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333202402, 1333202368, 1333202400, 1333202372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.077385187149048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 05:06:03.607128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/11/image_28012025_22_11_34_9462.jpg', '/home/pi/Desktop/images/28012025/22/11/image_28012025_22_11_45_10426.jpg', '/home/pi/Desktop/images/28012025/22/12/image_28012025_22_12_14_9417.jpg', '/home/pi/Desktop/images/28012025/22/12/image_28012025_22_12_35_10350.jpg', '/home/pi/Desktop/images/28012025/22/12/image_28012025_22_13_05_10400.jpg', '/home/pi/Desktop/images/28012025/22/13/image_28012025_22_13_14_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/11/image_28012025_22_11_34_9462.jpg
/home/pi/Desktop/images/28012025/22/11/image_28012025_22_11_45_10426.jpg
/home/pi/Desktop/images/28012025/22/12/image_28012025_22_12_14_9417.jpg
/home/pi/Desktop/images/28012025/22/12/image_28012025_22_12_35_10350.jpg
/home/pi/Desktop/images/28012025/22/12/image_28012025_22_13_05_10400.jpg
/home/pi/Desktop/images/28012025/22/13/image_28012025_22_13_14_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":["1333202438","1333202417","1333202428","1333202442","1333202433","1333202406"],"photo_ids_order":["1333202406","1333202417","1333202428","1333202433","1333202438","1333202442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/831f762a2a29b96984deedb0a92c02ed.jpg","text":"TemporaryFile(/tmp/multipartBody1224048386128133693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296425190,"filename":"image_28012025_22_13_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/1/31/00bc1ef2de84c58c3a367bb6111dcd35.jpg","text":"TemporaryFile(/tmp/multipartBody3717149321697570862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296425190,"filename":"image_28012025_22_11_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/1/31/c19543f31b07de922e9b113d3b7536eb.jpg","text":"TemporaryFile(/tmp/multipartBody7236535261043981037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296425190,"filename":"image_28012025_22_12_14_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5a7c0e104c1c297134c875e07022cf26.jpg","text":"TemporaryFile(/tmp/multipartBody7552700039334810111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296425190,"filename":"image_28012025_22_13_14_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3f89e4d4561f3563f61d1cd84e553715.jpg","text":"TemporaryFile(/tmp/multipartBody1992743096923058036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296425190,"filename":"image_28012025_22_12_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/1/31/8389854314cdaffbc979b9edcf84a08e.jpg","text":"TemporaryFile(/tmp/multipartBody1498872068535479122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296425190,"filename":"image_28012025_22_11_34_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333202428","file1":"1333202417","file0":"1333202406","file4":"1333202438","file5":"1333202442","file3":"1333202433"},"map_files_photo_id_array":[{"photo_id":"1333202442","filename":"file5"},{"photo_id":"1333202428","filename":"file2"},{"photo_id":"1333202438","filename":"file4"},{"photo_id":"1333202417","filename":"file1"},{"photo_id":"1333202406","filename":"file0"},{"photo_id":"1333202433","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333202438":["hashtag1","hashtag2"]},{"1333202417":["hashtag1","hashtag2"]},{"1333202428":["hashtag1","hashtag2"]},{"1333202442":["hashtag1","hashtag2"]},{"1333202433":["hashtag1","hashtag2"]},{"1333202406":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333202438, 1333202417, 1333202428, 1333202442, 1333202433, 1333202406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.72364330291748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:06:52.928724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/05/image_31012025_05_05_55_9332.jpg', '/home/pi/Desktop/images/31012025/05/05/image_31012025_05_06_06_10345.jpg', '/home/pi/Desktop/images/31012025/05/06/image_31012025_05_06_16_10414.jpg', '/home/pi/Desktop/images/31012025/05/06/image_31012025_05_06_25_9326.jpg', '/home/pi/Desktop/images/31012025/05/06/image_31012025_05_06_36_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/05/image_31012025_05_05_55_9332.jpg
/home/pi/Desktop/images/31012025/05/05/image_31012025_05_06_06_10345.jpg
/home/pi/Desktop/images/31012025/05/06/image_31012025_05_06_16_10414.jpg
/home/pi/Desktop/images/31012025/05/06/image_31012025_05_06_25_9326.jpg
/home/pi/Desktop/images/31012025/05/06/image_31012025_05_06_36_10447.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333202468","1333202453","1333202472","1333202529","1333202459"],"photo_ids_order":["1333202453","1333202459","1333202468","1333202472","1333202529"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fb278dd4b71a68b07c3e68c558dc0034.jpg","text":"TemporaryFile(/tmp/multipartBody6756140123823689293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296473826,"filename":"image_31012025_05_06_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/1/31/ba0d91a778014e8491d0cb02febd2316.jpg","text":"TemporaryFile(/tmp/multipartBody3311822310944832902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296473826,"filename":"image_31012025_05_05_55_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fbda40121b13d15a1737ad4c12e946b2.jpg","text":"TemporaryFile(/tmp/multipartBody5920190266623984058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296473826,"filename":"image_31012025_05_06_25_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cc76f7e24ca954363902f72db24b3ad7.jpg","text":"TemporaryFile(/tmp/multipartBody7791963728153014741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296473826,"filename":"image_31012025_05_06_36_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b0427bdf83cb1fa93ff979ce204594a2.jpg","text":"TemporaryFile(/tmp/multipartBody1681579097435642347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296473826,"filename":"image_31012025_05_06_06_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333202468","file1":"1333202459","file0":"1333202453","file4":"1333202529","file3":"1333202472"},"map_files_photo_id_array":[{"photo_id":"1333202468","filename":"file2"},{"photo_id":"1333202529","filename":"file4"},{"photo_id":"1333202459","filename":"file1"},{"photo_id":"1333202453","filename":"file0"},{"photo_id":"1333202472","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333202468":["hashtag1","hashtag2"]},{"1333202453":["hashtag1","hashtag2"]},{"1333202472":["hashtag1","hashtag2"]},{"1333202529":["hashtag1","hashtag2"]},{"1333202459":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333202468, 1333202453, 1333202472, 1333202529, 1333202459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.424477338790894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:07:33.201300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/06/image_31012025_05_06_56_10348.jpg', '/home/pi/Desktop/images/31012025/05/06/image_31012025_05_07_06_10445.jpg', '/home/pi/Desktop/images/31012025/05/07/image_31012025_05_07_15_9332.jpg', '/home/pi/Desktop/images/31012025/05/07/image_31012025_05_07_26_10412.jpg', '/home/pi/Desktop/images/31012025/05/07/image_31012025_05_07_36_10367.jpg', '/home/pi/Desktop/images/31012025/05/07/image_31012025_05_07_45_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/06/image_31012025_05_06_56_10348.jpg
/home/pi/Desktop/images/31012025/05/06/image_31012025_05_07_06_10445.jpg
/home/pi/Desktop/images/31012025/05/07/image_31012025_05_07_15_9332.jpg
/home/pi/Desktop/images/31012025/05/07/image_31012025_05_07_26_10412.jpg
/home/pi/Desktop/images/31012025/05/07/image_31012025_05_07_36_10367.jpg
/home/pi/Desktop/images/31012025/05/07/image_31012025_05_07_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":["1333202624","1333202627","1333202578","1333202539","1333202620","1333202535"],"photo_ids_order":["1333202535","1333202539","1333202578","1333202620","1333202624","1333202627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8fc30e84aee9c8ca6b7b6872e48b2140.jpg","text":"TemporaryFile(/tmp/multipartBody4513286850803071709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296514121,"filename":"image_31012025_05_07_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/1/31/590385b41313a23eab274a25450a8c70.jpg","text":"TemporaryFile(/tmp/multipartBody6415572629227554379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296514121,"filename":"image_31012025_05_07_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/1/31/11b528281cea82880852f481fc3b6a66.jpg","text":"TemporaryFile(/tmp/multipartBody5364167976155871715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296514121,"filename":"image_31012025_05_07_15_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5235fa4e7fa10eacf07b80c8aef00967.jpg","text":"TemporaryFile(/tmp/multipartBody7857310081760229689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296514121,"filename":"image_31012025_05_07_06_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/723e46d9ff280002bb8f2de90246292b.jpg","text":"TemporaryFile(/tmp/multipartBody8393705316701363289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296514121,"filename":"image_31012025_05_07_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/1/31/0d82fa0cf0478623fba906d462bb2039.jpg","text":"TemporaryFile(/tmp/multipartBody4361542429290559738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296514121,"filename":"image_31012025_05_06_56_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333202578","file1":"1333202539","file0":"1333202535","file4":"1333202624","file5":"1333202627","file3":"1333202620"},"map_files_photo_id_array":[{"photo_id":"1333202627","filename":"file5"},{"photo_id":"1333202578","filename":"file2"},{"photo_id":"1333202624","filename":"file4"},{"photo_id":"1333202539","filename":"file1"},{"photo_id":"1333202535","filename":"file0"},{"photo_id":"1333202620","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333202624":["hashtag1","hashtag2"]},{"1333202627":["hashtag1","hashtag2"]},{"1333202578":["hashtag1","hashtag2"]},{"1333202539":["hashtag1","hashtag2"]},{"1333202620":["hashtag1","hashtag2"]},{"1333202535":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333202624, 1333202627, 1333202578, 1333202539, 1333202620, 1333202535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.40131115913391 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:08:32.481343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/07/image_31012025_05_07_56_10498.jpg', '/home/pi/Desktop/images/31012025/05/07/image_31012025_05_08_05_9349.jpg', '/home/pi/Desktop/images/31012025/05/08/image_31012025_05_08_16_10363.jpg', '/home/pi/Desktop/images/31012025/05/08/image_31012025_05_08_26_10446.jpg', '/home/pi/Desktop/images/31012025/05/08/image_31012025_05_08_35_9339.jpg', '/home/pi/Desktop/images/31012025/05/08/image_31012025_05_08_46_10461.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/07/image_31012025_05_07_56_10498.jpg
/home/pi/Desktop/images/31012025/05/07/image_31012025_05_08_05_9349.jpg
/home/pi/Desktop/images/31012025/05/08/image_31012025_05_08_16_10363.jpg
/home/pi/Desktop/images/31012025/05/08/image_31012025_05_08_26_10446.jpg
/home/pi/Desktop/images/31012025/05/08/image_31012025_05_08_35_9339.jpg
/home/pi/Desktop/images/31012025/05/08/image_31012025_05_08_46_10461.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5238425731658936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 05:08:42.464005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/07/image_31012025_05_07_56_10498.jpg', '/home/pi/Desktop/images/31012025/05/07/image_31012025_05_08_05_9349.jpg', '/home/pi/Desktop/images/31012025/05/08/image_31012025_05_08_16_10363.jpg', '/home/pi/Desktop/images/31012025/05/08/image_31012025_05_08_26_10446.jpg', '/home/pi/Desktop/images/31012025/05/08/image_31012025_05_08_35_9339.jpg', '/home/pi/Desktop/images/31012025/05/08/image_31012025_05_08_46_10461.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/07/image_31012025_05_07_56_10498.jpg
/home/pi/Desktop/images/31012025/05/07/image_31012025_05_08_05_9349.jpg
/home/pi/Desktop/images/31012025/05/08/image_31012025_05_08_16_10363.jpg
/home/pi/Desktop/images/31012025/05/08/image_31012025_05_08_26_10446.jpg
/home/pi/Desktop/images/31012025/05/08/image_31012025_05_08_35_9339.jpg
/home/pi/Desktop/images/31012025/05/08/image_31012025_05_08_46_10461.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":["1333202785","1333202770","1333202794","1333202790","1333202778","1333202774"],"photo_ids_order":["1333202770","1333202774","1333202778","1333202785","1333202790","1333202794"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f842dd06d0d59f90d3026222fbb5a556.jpg","text":"TemporaryFile(/tmp/multipartBody6366463650380592627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296583378,"filename":"image_31012025_05_08_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/1/31/d6dd131e17736552c5c3583be26ab89d.jpg","text":"TemporaryFile(/tmp/multipartBody2096677826123331139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296583378,"filename":"image_31012025_05_07_56_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9a606a4e51bfef6ebf69706a2726e466.jpg","text":"TemporaryFile(/tmp/multipartBody6824855484049124648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296583378,"filename":"image_31012025_05_08_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/1/31/39ad5120bf4524745e87efbeecd8dfcd.jpg","text":"TemporaryFile(/tmp/multipartBody1250335932384249389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296583378,"filename":"image_31012025_05_08_35_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/da8e345e9858a1bcdcd7aaf8adcd39a1.jpg","text":"TemporaryFile(/tmp/multipartBody3409666338094312476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296583378,"filename":"image_31012025_05_08_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/1/31/e107ffcdc4d941769acbed31b38ddf00.jpg","text":"TemporaryFile(/tmp/multipartBody5504445616635502066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296583378,"filename":"image_31012025_05_08_05_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333202778","file1":"1333202774","file0":"1333202770","file4":"1333202790","file5":"1333202794","file3":"1333202785"},"map_files_photo_id_array":[{"photo_id":"1333202794","filename":"file5"},{"photo_id":"1333202778","filename":"file2"},{"photo_id":"1333202790","filename":"file4"},{"photo_id":"1333202774","filename":"file1"},{"photo_id":"1333202770","filename":"file0"},{"photo_id":"1333202785","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333202785":["hashtag1","hashtag2"]},{"1333202770":["hashtag1","hashtag2"]},{"1333202794":["hashtag1","hashtag2"]},{"1333202790":["hashtag1","hashtag2"]},{"1333202778":["hashtag1","hashtag2"]},{"1333202774":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333202785, 1333202770, 1333202794, 1333202790, 1333202778, 1333202774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.63744306564331 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:09:32.764967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/08/image_31012025_05_08_55_9348.jpg', '/home/pi/Desktop/images/31012025/05/09/image_31012025_05_09_16_10420.jpg', '/home/pi/Desktop/images/31012025/05/09/image_31012025_05_09_25_9358.jpg', '/home/pi/Desktop/images/31012025/05/09/image_31012025_05_09_36_10488.jpg', '/home/pi/Desktop/images/31012025/05/09/image_31012025_05_09_45_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/08/image_31012025_05_08_55_9348.jpg
/home/pi/Desktop/images/31012025/05/09/image_31012025_05_09_16_10420.jpg
/home/pi/Desktop/images/31012025/05/09/image_31012025_05_09_25_9358.jpg
/home/pi/Desktop/images/31012025/05/09/image_31012025_05_09_36_10488.jpg
/home/pi/Desktop/images/31012025/05/09/image_31012025_05_09_45_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":["1333202804","1333202813","1333202807","1333202809","1333202803"],"photo_ids_order":["1333202803","1333202804","1333202807","1333202809","1333202813"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/938a5bcf09adcc851829099c7c234f83.jpg","text":"TemporaryFile(/tmp/multipartBody8212265090376727364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296633653,"filename":"image_31012025_05_09_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/1/31/e56c355c20a8ec056db128b5a4ab3811.jpg","text":"TemporaryFile(/tmp/multipartBody1762752429300944383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296633653,"filename":"image_31012025_05_09_45_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/78ad49921365ad6ec83e65021451ffcb.jpg","text":"TemporaryFile(/tmp/multipartBody1691866623428954013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296633653,"filename":"image_31012025_05_09_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/1/31/b807736d8705ebe896d900eb082cd77c.jpg","text":"TemporaryFile(/tmp/multipartBody181373548479300007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296633653,"filename":"image_31012025_05_09_36_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c4f8bd6a14665839df70bf93b17bd268.jpg","text":"TemporaryFile(/tmp/multipartBody3420332901978368543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296633653,"filename":"image_31012025_05_08_55_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333202807","file1":"1333202804","file0":"1333202803","file4":"1333202813","file3":"1333202809"},"map_files_photo_id_array":[{"photo_id":"1333202807","filename":"file2"},{"photo_id":"1333202813","filename":"file4"},{"photo_id":"1333202804","filename":"file1"},{"photo_id":"1333202803","filename":"file0"},{"photo_id":"1333202809","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333202804":["hashtag1","hashtag2"]},{"1333202813":["hashtag1","hashtag2"]},{"1333202807":["hashtag1","hashtag2"]},{"1333202809":["hashtag1","hashtag2"]},{"1333202803":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333202804, 1333202813, 1333202807, 1333202809, 1333202803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.60911965370178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:10:33.047840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/09/image_31012025_05_09_56_10359.jpg', '/home/pi/Desktop/images/31012025/05/09/image_31012025_05_10_06_10448.jpg', '/home/pi/Desktop/images/31012025/05/10/image_31012025_05_10_15_9329.jpg', '/home/pi/Desktop/images/31012025/05/10/image_31012025_05_10_26_10462.jpg', '/home/pi/Desktop/images/31012025/05/10/image_31012025_05_10_35_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/09/image_31012025_05_09_56_10359.jpg
/home/pi/Desktop/images/31012025/05/09/image_31012025_05_10_06_10448.jpg
/home/pi/Desktop/images/31012025/05/10/image_31012025_05_10_15_9329.jpg
/home/pi/Desktop/images/31012025/05/10/image_31012025_05_10_26_10462.jpg
/home/pi/Desktop/images/31012025/05/10/image_31012025_05_10_35_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":["1333203052","1333203106","1333203086","1333203068","1333203062"],"photo_ids_order":["1333203052","1333203062","1333203068","1333203086","1333203106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cb6b58c717ca7a524f89ac39b44268df.jpg","text":"TemporaryFile(/tmp/multipartBody2913099124959956917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296693951,"filename":"image_31012025_05_09_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/1/31/11f9f0f65db6295f84df345c8dd71048.jpg","text":"TemporaryFile(/tmp/multipartBody4527454249076123084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296693951,"filename":"image_31012025_05_10_35_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e549519d1d6e9f8148c39ff952184c7a.jpg","text":"TemporaryFile(/tmp/multipartBody6821547050580951931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296693951,"filename":"image_31012025_05_10_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/1/31/8cea855e1aaa1b8abd902f63a83f6ffc.jpg","text":"TemporaryFile(/tmp/multipartBody1766199104049999615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296693951,"filename":"image_31012025_05_10_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/1/31/187810617ffc7eb206ae2106d372bfd8.jpg","text":"TemporaryFile(/tmp/multipartBody4906701868123513586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296693951,"filename":"image_31012025_05_10_06_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333203068","file1":"1333203062","file0":"1333203052","file4":"1333203106","file3":"1333203086"},"map_files_photo_id_array":[{"photo_id":"1333203068","filename":"file2"},{"photo_id":"1333203106","filename":"file4"},{"photo_id":"1333203062","filename":"file1"},{"photo_id":"1333203052","filename":"file0"},{"photo_id":"1333203086","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333203052":["hashtag1","hashtag2"]},{"1333203106":["hashtag1","hashtag2"]},{"1333203086":["hashtag1","hashtag2"]},{"1333203068":["hashtag1","hashtag2"]},{"1333203062":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333203052, 1333203106, 1333203086, 1333203068, 1333203062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.67984080314636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:11:32.440654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/10/image_31012025_05_10_46_10454.jpg', '/home/pi/Desktop/images/31012025/05/10/image_31012025_05_11_05_9341.jpg', '/home/pi/Desktop/images/31012025/05/11/image_31012025_05_11_16_10395.jpg', '/home/pi/Desktop/images/31012025/05/11/image_31012025_05_11_25_9401.jpg', '/home/pi/Desktop/images/31012025/05/11/image_31012025_05_11_36_10361.jpg', '/home/pi/Desktop/images/31012025/05/11/image_31012025_05_11_46_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/10/image_31012025_05_10_46_10454.jpg
/home/pi/Desktop/images/31012025/05/10/image_31012025_05_11_05_9341.jpg
/home/pi/Desktop/images/31012025/05/11/image_31012025_05_11_16_10395.jpg
/home/pi/Desktop/images/31012025/05/11/image_31012025_05_11_25_9401.jpg
/home/pi/Desktop/images/31012025/05/11/image_31012025_05_11_36_10361.jpg
/home/pi/Desktop/images/31012025/05/11/image_31012025_05_11_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":["1333203193","1333203178","1333203205","1333203154","1333203245","1333203209"],"photo_ids_order":["1333203154","1333203178","1333203193","1333203205","1333203209","1333203245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bc93a9735e5c79ecc7f4b299deeddd4d.jpg","text":"TemporaryFile(/tmp/multipartBody4861807835995322653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296753379,"filename":"image_31012025_05_11_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/1/31/ca50b36ddb5c56527aeeedf1bba29f09.jpg","text":"TemporaryFile(/tmp/multipartBody7182747777529612121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296753379,"filename":"image_31012025_05_11_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/1/31/ff0002db76c9f0dafe13f5be4c05c57c.jpg","text":"TemporaryFile(/tmp/multipartBody7300360636006676269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296753379,"filename":"image_31012025_05_11_25_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4f6da32c34009a8a86e5174379bb58b4.jpg","text":"TemporaryFile(/tmp/multipartBody4700859777364694664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296753379,"filename":"image_31012025_05_10_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/1/31/3d6efa91cf338e59bb3d5471ed7551f9.jpg","text":"TemporaryFile(/tmp/multipartBody1454675171602607737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296753379,"filename":"image_31012025_05_11_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/1/31/1378e3192fd3f325723f66454587ad28.jpg","text":"TemporaryFile(/tmp/multipartBody4204125306768713532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296753379,"filename":"image_31012025_05_11_36_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333203193","file1":"1333203178","file0":"1333203154","file4":"1333203209","file5":"1333203245","file3":"1333203205"},"map_files_photo_id_array":[{"photo_id":"1333203245","filename":"file5"},{"photo_id":"1333203193","filename":"file2"},{"photo_id":"1333203209","filename":"file4"},{"photo_id":"1333203178","filename":"file1"},{"photo_id":"1333203154","filename":"file0"},{"photo_id":"1333203205","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333203193":["hashtag1","hashtag2"]},{"1333203178":["hashtag1","hashtag2"]},{"1333203205":["hashtag1","hashtag2"]},{"1333203154":["hashtag1","hashtag2"]},{"1333203245":["hashtag1","hashtag2"]},{"1333203209":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333203193, 1333203178, 1333203205, 1333203154, 1333203245, 1333203209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.649606466293335 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:12:32.535218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/11/image_31012025_05_11_55_9333.jpg', '/home/pi/Desktop/images/31012025/05/11/image_31012025_05_12_06_10342.jpg', '/home/pi/Desktop/images/31012025/05/12/image_31012025_05_12_16_10366.jpg', '/home/pi/Desktop/images/31012025/05/12/image_31012025_05_12_25_9334.jpg', '/home/pi/Desktop/images/31012025/05/12/image_31012025_05_12_36_10521.jpg', '/home/pi/Desktop/images/31012025/05/12/image_31012025_05_12_45_9436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/11/image_31012025_05_11_55_9333.jpg
/home/pi/Desktop/images/31012025/05/11/image_31012025_05_12_06_10342.jpg
/home/pi/Desktop/images/31012025/05/12/image_31012025_05_12_16_10366.jpg
/home/pi/Desktop/images/31012025/05/12/image_31012025_05_12_25_9334.jpg
/home/pi/Desktop/images/31012025/05/12/image_31012025_05_12_36_10521.jpg
/home/pi/Desktop/images/31012025/05/12/image_31012025_05_12_45_9436.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5255100727081299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 05:12:42.501204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/11/image_31012025_05_11_55_9333.jpg', '/home/pi/Desktop/images/31012025/05/11/image_31012025_05_12_06_10342.jpg', '/home/pi/Desktop/images/31012025/05/12/image_31012025_05_12_16_10366.jpg', '/home/pi/Desktop/images/31012025/05/12/image_31012025_05_12_25_9334.jpg', '/home/pi/Desktop/images/31012025/05/12/image_31012025_05_12_36_10521.jpg', '/home/pi/Desktop/images/31012025/05/12/image_31012025_05_12_45_9436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/11/image_31012025_05_11_55_9333.jpg
/home/pi/Desktop/images/31012025/05/11/image_31012025_05_12_06_10342.jpg
/home/pi/Desktop/images/31012025/05/12/image_31012025_05_12_16_10366.jpg
/home/pi/Desktop/images/31012025/05/12/image_31012025_05_12_25_9334.jpg
/home/pi/Desktop/images/31012025/05/12/image_31012025_05_12_36_10521.jpg
/home/pi/Desktop/images/31012025/05/12/image_31012025_05_12_45_9436.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":["1333203394","1333203305","1333203289","1333203526","1333203294","1333203299"],"photo_ids_order":["1333203289","1333203294","1333203299","1333203305","1333203394","1333203526"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7fe8e1c3298aa8fc792f94d58025d675.jpg","text":"TemporaryFile(/tmp/multipartBody9080672293186663439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296823447,"filename":"image_31012025_05_12_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/1/31/5f66c11e0469d8403f9b4a2518c0ec52.jpg","text":"TemporaryFile(/tmp/multipartBody4562457993546862599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296823447,"filename":"image_31012025_05_12_25_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fbbb4da9c54ccec4479391fdc8fb125d.jpg","text":"TemporaryFile(/tmp/multipartBody8608564861685974378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296823447,"filename":"image_31012025_05_11_55_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e9bbe903c29e0123909c142b40af1667.jpg","text":"TemporaryFile(/tmp/multipartBody4094568380975504595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296823447,"filename":"image_31012025_05_12_45_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/eb7fb9c4b86d31706d28e011f7a292d6.jpg","text":"TemporaryFile(/tmp/multipartBody7060677690572422690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296823447,"filename":"image_31012025_05_12_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/1/31/a07a4bbffe1151739cf6769a56b5c6d4.jpg","text":"TemporaryFile(/tmp/multipartBody4389666366366608973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296823447,"filename":"image_31012025_05_12_16_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333203299","file1":"1333203294","file0":"1333203289","file4":"1333203394","file5":"1333203526","file3":"1333203305"},"map_files_photo_id_array":[{"photo_id":"1333203526","filename":"file5"},{"photo_id":"1333203299","filename":"file2"},{"photo_id":"1333203394","filename":"file4"},{"photo_id":"1333203294","filename":"file1"},{"photo_id":"1333203289","filename":"file0"},{"photo_id":"1333203305","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333203394":["hashtag1","hashtag2"]},{"1333203305":["hashtag1","hashtag2"]},{"1333203289":["hashtag1","hashtag2"]},{"1333203526":["hashtag1","hashtag2"]},{"1333203294":["hashtag1","hashtag2"]},{"1333203299":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333203394, 1333203305, 1333203289, 1333203526, 1333203294, 1333203299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.76592016220093 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:13:32.874687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/12/image_31012025_05_12_56_10366.jpg', '/home/pi/Desktop/images/31012025/05/12/image_31012025_05_13_06_10385.jpg', '/home/pi/Desktop/images/31012025/05/13/image_31012025_05_13_15_9363.jpg', '/home/pi/Desktop/images/31012025/05/13/image_31012025_05_13_26_10431.jpg', '/home/pi/Desktop/images/31012025/05/13/image_31012025_05_13_35_9421.jpg', '/home/pi/Desktop/images/31012025/05/13/image_31012025_05_13_46_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/12/image_31012025_05_12_56_10366.jpg
/home/pi/Desktop/images/31012025/05/12/image_31012025_05_13_06_10385.jpg
/home/pi/Desktop/images/31012025/05/13/image_31012025_05_13_15_9363.jpg
/home/pi/Desktop/images/31012025/05/13/image_31012025_05_13_26_10431.jpg
/home/pi/Desktop/images/31012025/05/13/image_31012025_05_13_35_9421.jpg
/home/pi/Desktop/images/31012025/05/13/image_31012025_05_13_46_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":["1333204324","1333204451","1333204634","1333203848","1333204066","1333204189"],"photo_ids_order":["1333203848","1333204066","1333204189","1333204324","1333204451","1333204634"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7fa9c8b395d1580c8af2af4e16c2043f.jpg","text":"TemporaryFile(/tmp/multipartBody4347646673672481445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296873795,"filename":"image_31012025_05_13_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/1/31/3b76984c9a3742d37568ec8f3474b29c.jpg","text":"TemporaryFile(/tmp/multipartBody2913877230893128664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296873795,"filename":"image_31012025_05_13_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/1/31/9c2ecd50ba47d0e52debcf7dd22576a1.jpg","text":"TemporaryFile(/tmp/multipartBody5901211707249608941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296873795,"filename":"image_31012025_05_13_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/1/31/0228e1e8b758c80e2a8c8ce0dd1ac72d.jpg","text":"TemporaryFile(/tmp/multipartBody6130636763627457473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296873795,"filename":"image_31012025_05_12_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/1/31/95f3c842026849067edd1b556e3e984d.jpg","text":"TemporaryFile(/tmp/multipartBody6080418704262636096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296873795,"filename":"image_31012025_05_13_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/1/31/f53e3fbb8ffcccc6b537f2efcd9035be.jpg","text":"TemporaryFile(/tmp/multipartBody4990750448779520334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296873795,"filename":"image_31012025_05_13_15_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333204189","file1":"1333204066","file0":"1333203848","file4":"1333204451","file5":"1333204634","file3":"1333204324"},"map_files_photo_id_array":[{"photo_id":"1333204634","filename":"file5"},{"photo_id":"1333204189","filename":"file2"},{"photo_id":"1333204451","filename":"file4"},{"photo_id":"1333204066","filename":"file1"},{"photo_id":"1333203848","filename":"file0"},{"photo_id":"1333204324","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333204324":["hashtag1","hashtag2"]},{"1333204451":["hashtag1","hashtag2"]},{"1333204634":["hashtag1","hashtag2"]},{"1333203848":["hashtag1","hashtag2"]},{"1333204066":["hashtag1","hashtag2"]},{"1333204189":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333204324, 1333204451, 1333204634, 1333203848, 1333204066, 1333204189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.03171753883362 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:14:32.968645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/13/image_31012025_05_13_56_10427.jpg', '/home/pi/Desktop/images/31012025/05/13/image_31012025_05_14_05_9403.jpg', '/home/pi/Desktop/images/31012025/05/14/image_31012025_05_14_16_10411.jpg', '/home/pi/Desktop/images/31012025/05/14/image_31012025_05_14_25_9340.jpg', '/home/pi/Desktop/images/31012025/05/14/image_31012025_05_14_36_10400.jpg', '/home/pi/Desktop/images/31012025/05/14/image_31012025_05_14_46_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/13/image_31012025_05_13_56_10427.jpg
/home/pi/Desktop/images/31012025/05/13/image_31012025_05_14_05_9403.jpg
/home/pi/Desktop/images/31012025/05/14/image_31012025_05_14_16_10411.jpg
/home/pi/Desktop/images/31012025/05/14/image_31012025_05_14_25_9340.jpg
/home/pi/Desktop/images/31012025/05/14/image_31012025_05_14_36_10400.jpg
/home/pi/Desktop/images/31012025/05/14/image_31012025_05_14_46_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":["1333204892","1333204886","1333204889","1333204874","1333204871","1333204879"],"photo_ids_order":["1333204871","1333204874","1333204879","1333204886","1333204889","1333204892"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b8f0f0f4826d3032c0cef6f32e6603fa.jpg","text":"TemporaryFile(/tmp/multipartBody5039765761109303868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296933914,"filename":"image_31012025_05_14_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/1/31/ea9608186709a0f557849269eab116f5.jpg","text":"TemporaryFile(/tmp/multipartBody2350080991318092751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296933914,"filename":"image_31012025_05_14_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/1/31/1de513f13c93bd2aafca177b4e718905.jpg","text":"TemporaryFile(/tmp/multipartBody5301240707378431002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296933914,"filename":"image_31012025_05_14_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/1/31/5b479e57b08dca281a68aaf684b85f82.jpg","text":"TemporaryFile(/tmp/multipartBody7741051711622990276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296933914,"filename":"image_31012025_05_14_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/1/31/95905fa2cc56c791eef19468e333daac.jpg","text":"TemporaryFile(/tmp/multipartBody8225408950143343210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296933914,"filename":"image_31012025_05_13_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/1/31/eb450700e91f1b80ca1eaf9bf8c52f16.jpg","text":"TemporaryFile(/tmp/multipartBody2684383533700593138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296933914,"filename":"image_31012025_05_14_16_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333204879","file1":"1333204874","file0":"1333204871","file4":"1333204889","file5":"1333204892","file3":"1333204886"},"map_files_photo_id_array":[{"photo_id":"1333204892","filename":"file5"},{"photo_id":"1333204879","filename":"file2"},{"photo_id":"1333204889","filename":"file4"},{"photo_id":"1333204874","filename":"file1"},{"photo_id":"1333204871","filename":"file0"},{"photo_id":"1333204886","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333204892":["hashtag1","hashtag2"]},{"1333204886":["hashtag1","hashtag2"]},{"1333204889":["hashtag1","hashtag2"]},{"1333204874":["hashtag1","hashtag2"]},{"1333204871":["hashtag1","hashtag2"]},{"1333204879":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333204892, 1333204886, 1333204889, 1333204874, 1333204871, 1333204879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.583765745162964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:15:32.295929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/14/image_31012025_05_14_55_9415.jpg', '/home/pi/Desktop/images/31012025/05/14/image_31012025_05_15_06_10541.jpg', '/home/pi/Desktop/images/31012025/05/15/image_31012025_05_15_15_9333.jpg', '/home/pi/Desktop/images/31012025/05/15/image_31012025_05_15_26_10397.jpg', '/home/pi/Desktop/images/31012025/05/15/image_31012025_05_15_36_10378.jpg', '/home/pi/Desktop/images/31012025/05/15/image_31012025_05_15_45_9462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/14/image_31012025_05_14_55_9415.jpg
/home/pi/Desktop/images/31012025/05/14/image_31012025_05_15_06_10541.jpg
/home/pi/Desktop/images/31012025/05/15/image_31012025_05_15_15_9333.jpg
/home/pi/Desktop/images/31012025/05/15/image_31012025_05_15_26_10397.jpg
/home/pi/Desktop/images/31012025/05/15/image_31012025_05_15_36_10378.jpg
/home/pi/Desktop/images/31012025/05/15/image_31012025_05_15_45_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":["1333204924","1333204920","1333204911","1333204922","1333204907","1333204916"],"photo_ids_order":["1333204907","1333204911","1333204916","1333204920","1333204922","1333204924"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0f6f12186c46f690483ac8a547c8b25d.jpg","text":"TemporaryFile(/tmp/multipartBody5523179603241265904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296993217,"filename":"image_31012025_05_15_45_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/97c5248c08232ef4a2caae95e11e2198.jpg","text":"TemporaryFile(/tmp/multipartBody1834811497288742779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296993217,"filename":"image_31012025_05_15_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/1/31/6e5fe80a7efb8f1555661d3b69ef54c9.jpg","text":"TemporaryFile(/tmp/multipartBody8834499245460933222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296993217,"filename":"image_31012025_05_15_06_10541.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/56bf6fb4c31be16896575853450a8356.jpg","text":"TemporaryFile(/tmp/multipartBody7500614192582113808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296993217,"filename":"image_31012025_05_15_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/1/31/65bd9dc7ad2544486e76067eb20be60b.jpg","text":"TemporaryFile(/tmp/multipartBody2232849256291585516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296993217,"filename":"image_31012025_05_14_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/1/31/48ec005d26fb18d27e60f89c04b794ac.jpg","text":"TemporaryFile(/tmp/multipartBody8566671002709473354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738296993217,"filename":"image_31012025_05_15_15_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333204916","file1":"1333204911","file0":"1333204907","file4":"1333204922","file5":"1333204924","file3":"1333204920"},"map_files_photo_id_array":[{"photo_id":"1333204924","filename":"file5"},{"photo_id":"1333204916","filename":"file2"},{"photo_id":"1333204922","filename":"file4"},{"photo_id":"1333204911","filename":"file1"},{"photo_id":"1333204907","filename":"file0"},{"photo_id":"1333204920","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333204924":["hashtag1","hashtag2"]},{"1333204920":["hashtag1","hashtag2"]},{"1333204911":["hashtag1","hashtag2"]},{"1333204922":["hashtag1","hashtag2"]},{"1333204907":["hashtag1","hashtag2"]},{"1333204916":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333204924, 1333204920, 1333204911, 1333204922, 1333204907, 1333204916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.731993675231934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:16:32.719946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/15/image_31012025_05_15_56_10356.jpg', '/home/pi/Desktop/images/31012025/05/15/image_31012025_05_16_05_9422.jpg', '/home/pi/Desktop/images/31012025/05/16/image_31012025_05_16_16_10325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/15/image_31012025_05_15_56_10356.jpg
/home/pi/Desktop/images/31012025/05/15/image_31012025_05_16_05_9422.jpg
/home/pi/Desktop/images/31012025/05/16/image_31012025_05_16_16_10325.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":["1333205495","1333205168","1333205362"],"photo_ids_order":["1333205168","1333205362","1333205495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9a14915e5628252322d162b49878fee5.jpg","text":"TemporaryFile(/tmp/multipartBody7070185555651220375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297053582,"filename":"image_31012025_05_16_16_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/147688ad61fc8e27d3ef6ba7ec2e78af.jpg","text":"TemporaryFile(/tmp/multipartBody5131603639489449621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297053582,"filename":"image_31012025_05_15_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/1/31/6659a70f8b44d47ac38d150759e0b822.jpg","text":"TemporaryFile(/tmp/multipartBody9312486902743196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297053582,"filename":"image_31012025_05_16_05_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333205495","file1":"1333205362","file0":"1333205168"},"map_files_photo_id_array":[{"photo_id":"1333205495","filename":"file2"},{"photo_id":"1333205362","filename":"file1"},{"photo_id":"1333205168","filename":"file0"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333205495":["hashtag1","hashtag2"]},{"1333205168":["hashtag1","hashtag2"]},{"1333205362":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333205495, 1333205168, 1333205362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 26.48227572441101 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 05:17:04.516110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/13/image_28012025_22_13_25_10392.jpg', '/home/pi/Desktop/images/28012025/22/13/image_28012025_22_13_34_9395.jpg', '/home/pi/Desktop/images/28012025/22/13/image_28012025_22_13_45_10397.jpg', '/home/pi/Desktop/images/28012025/22/13/image_28012025_22_13_55_10367.jpg', '/home/pi/Desktop/images/28012025/22/13/image_28012025_22_14_04_9352.jpg', '/home/pi/Desktop/images/28012025/22/14/image_28012025_22_14_15_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/13/image_28012025_22_13_25_10392.jpg
/home/pi/Desktop/images/28012025/22/13/image_28012025_22_13_34_9395.jpg
/home/pi/Desktop/images/28012025/22/13/image_28012025_22_13_45_10397.jpg
/home/pi/Desktop/images/28012025/22/13/image_28012025_22_13_55_10367.jpg
/home/pi/Desktop/images/28012025/22/13/image_28012025_22_14_04_9352.jpg
/home/pi/Desktop/images/28012025/22/14/image_28012025_22_14_15_10347.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":["1333205577","1333205588","1333205607","1333205657","1333205584","1333205542"],"photo_ids_order":["1333205542","1333205577","1333205584","1333205588","1333205607","1333205657"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5a19295d7725e69860387dfafa091966.jpg","text":"TemporaryFile(/tmp/multipartBody2684059131786564088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297086301,"filename":"image_28012025_22_13_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/1/31/072e1298d58a2b43e97a87e4ebcffd6a.jpg","text":"TemporaryFile(/tmp/multipartBody7767490602904703357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297086301,"filename":"image_28012025_22_13_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/1/31/53b5c6a1054cf7a6453779f35989d258.jpg","text":"TemporaryFile(/tmp/multipartBody3375674681703983967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297086301,"filename":"image_28012025_22_14_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/1/31/a1e005dc135eb8c44d49ee5a8072612a.jpg","text":"TemporaryFile(/tmp/multipartBody3189424602930870285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297086301,"filename":"image_28012025_22_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/1/31/7f73612d3d182c78c5d2f0ef72955b61.jpg","text":"TemporaryFile(/tmp/multipartBody5392536461136483844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297086301,"filename":"image_28012025_22_13_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/1/31/9aed62be9521b1fde2b970c6d4032d44.jpg","text":"TemporaryFile(/tmp/multipartBody8233922223899260621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297086301,"filename":"image_28012025_22_13_25_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333205584","file1":"1333205577","file0":"1333205542","file4":"1333205607","file5":"1333205657","file3":"1333205588"},"map_files_photo_id_array":[{"photo_id":"1333205657","filename":"file5"},{"photo_id":"1333205584","filename":"file2"},{"photo_id":"1333205607","filename":"file4"},{"photo_id":"1333205577","filename":"file1"},{"photo_id":"1333205542","filename":"file0"},{"photo_id":"1333205588","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333205577":["hashtag1","hashtag2"]},{"1333205588":["hashtag1","hashtag2"]},{"1333205607":["hashtag1","hashtag2"]},{"1333205657":["hashtag1","hashtag2"]},{"1333205584":["hashtag1","hashtag2"]},{"1333205542":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333205577, 1333205588, 1333205607, 1333205657, 1333205584, 1333205542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.115172386169434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:17:52.888118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/16/image_31012025_05_16_26_10364.jpg', '/home/pi/Desktop/images/31012025/05/16/image_31012025_05_17_06_10365.jpg', '/home/pi/Desktop/images/31012025/05/17/image_31012025_05_17_16_10382.jpg', '/home/pi/Desktop/images/31012025/05/17/image_31012025_05_17_25_9343.jpg', '/home/pi/Desktop/images/31012025/05/17/image_31012025_05_17_36_10472.jpg', '/home/pi/Desktop/images/31012025/05/17/image_31012025_05_17_45_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/16/image_31012025_05_16_26_10364.jpg
/home/pi/Desktop/images/31012025/05/16/image_31012025_05_17_06_10365.jpg
/home/pi/Desktop/images/31012025/05/17/image_31012025_05_17_16_10382.jpg
/home/pi/Desktop/images/31012025/05/17/image_31012025_05_17_25_9343.jpg
/home/pi/Desktop/images/31012025/05/17/image_31012025_05_17_36_10472.jpg
/home/pi/Desktop/images/31012025/05/17/image_31012025_05_17_45_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":["1333205760","1333205730","1333205733","1333205770","1333205755","1333205737"],"photo_ids_order":["1333205730","1333205733","1333205737","1333205755","1333205760","1333205770"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9ed172cf09fe99a0dce1755653295119.jpg","text":"TemporaryFile(/tmp/multipartBody7720728193342297572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297133801,"filename":"image_31012025_05_17_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/1/31/40d305d2a0ef3834b071627db0383e9a.jpg","text":"TemporaryFile(/tmp/multipartBody4142071098270635233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297133801,"filename":"image_31012025_05_16_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/1/31/1f05cb15ebe376f3389440a6dcd28aab.jpg","text":"TemporaryFile(/tmp/multipartBody4664308843257020777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297133801,"filename":"image_31012025_05_17_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/1/31/a6e5e77c08fbcf32a0d5440995ea8a90.jpg","text":"TemporaryFile(/tmp/multipartBody230484862542557959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297133801,"filename":"image_31012025_05_17_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/1/31/a27f7bba8d6d6e405da76e7920026220.jpg","text":"TemporaryFile(/tmp/multipartBody7853982835322304961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297133801,"filename":"image_31012025_05_17_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/1/31/80bb966cc7cb7da5b39da46bfaa7c206.jpg","text":"TemporaryFile(/tmp/multipartBody5245512492021190531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297133801,"filename":"image_31012025_05_17_16_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333205737","file1":"1333205733","file0":"1333205730","file4":"1333205760","file5":"1333205770","file3":"1333205755"},"map_files_photo_id_array":[{"photo_id":"1333205770","filename":"file5"},{"photo_id":"1333205737","filename":"file2"},{"photo_id":"1333205760","filename":"file4"},{"photo_id":"1333205733","filename":"file1"},{"photo_id":"1333205730","filename":"file0"},{"photo_id":"1333205755","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333205760":["hashtag1","hashtag2"]},{"1333205730":["hashtag1","hashtag2"]},{"1333205733":["hashtag1","hashtag2"]},{"1333205770":["hashtag1","hashtag2"]},{"1333205755":["hashtag1","hashtag2"]},{"1333205737":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333205760, 1333205730, 1333205733, 1333205770, 1333205755, 1333205737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.48292636871338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 05:18:43.108989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/17/image_31012025_05_17_56_10360.jpg', '/home/pi/Desktop/images/31012025/05/17/image_31012025_05_18_06_10438.jpg', '/home/pi/Desktop/images/31012025/05/18/image_31012025_05_18_15_9396.jpg', '/home/pi/Desktop/images/31012025/05/18/image_31012025_05_18_26_10472.jpg', '/home/pi/Desktop/images/31012025/05/18/image_31012025_05_18_35_9345.jpg', '/home/pi/Desktop/images/31012025/05/18/image_31012025_05_18_46_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/17/image_31012025_05_17_56_10360.jpg
/home/pi/Desktop/images/31012025/05/17/image_31012025_05_18_06_10438.jpg
/home/pi/Desktop/images/31012025/05/18/image_31012025_05_18_15_9396.jpg
/home/pi/Desktop/images/31012025/05/18/image_31012025_05_18_26_10472.jpg
/home/pi/Desktop/images/31012025/05/18/image_31012025_05_18_35_9345.jpg
/home/pi/Desktop/images/31012025/05/18/image_31012025_05_18_46_10353.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":["1333205811","1333205805","1333205808","1333205802","1333205813","1333205809"],"photo_ids_order":["1333205802","1333205805","1333205808","1333205809","1333205811","1333205813"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8b68288cf3ba4130739d1ca8798808e0.jpg","text":"TemporaryFile(/tmp/multipartBody7885786259628346959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297184011,"filename":"image_31012025_05_18_35_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6e411856b956bf932df1bec479e7f578.jpg","text":"TemporaryFile(/tmp/multipartBody9084238224079567783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297184011,"filename":"image_31012025_05_18_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/1/31/21c27b183244f9f2571f61cec4f332b3.jpg","text":"TemporaryFile(/tmp/multipartBody1273570502151891288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297184011,"filename":"image_31012025_05_18_15_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/acb51bde7c6682a1cb71344a3595b2c9.jpg","text":"TemporaryFile(/tmp/multipartBody1100459117138917533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297184011,"filename":"image_31012025_05_17_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/1/31/73ee28b323cefd6b6b30d80fa4c3ff25.jpg","text":"TemporaryFile(/tmp/multipartBody2074002812888204364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297184011,"filename":"image_31012025_05_18_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/1/31/0c37d96353a3b3fc84328adffe8ef253.jpg","text":"TemporaryFile(/tmp/multipartBody1584461702829363679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297184011,"filename":"image_31012025_05_18_26_10472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333205808","file1":"1333205805","file0":"1333205802","file4":"1333205811","file5":"1333205813","file3":"1333205809"},"map_files_photo_id_array":[{"photo_id":"1333205813","filename":"file5"},{"photo_id":"1333205808","filename":"file2"},{"photo_id":"1333205811","filename":"file4"},{"photo_id":"1333205805","filename":"file1"},{"photo_id":"1333205802","filename":"file0"},{"photo_id":"1333205809","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333205811":["hashtag1","hashtag2"]},{"1333205805":["hashtag1","hashtag2"]},{"1333205808":["hashtag1","hashtag2"]},{"1333205802":["hashtag1","hashtag2"]},{"1333205813":["hashtag1","hashtag2"]},{"1333205809":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333205811, 1333205805, 1333205808, 1333205802, 1333205813, 1333205809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4468457698822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:19:32.310972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/18/image_31012025_05_18_56_10339.jpg', '/home/pi/Desktop/images/31012025/05/18/image_31012025_05_19_05_9450.jpg', '/home/pi/Desktop/images/31012025/05/19/image_31012025_05_19_16_10459.jpg', '/home/pi/Desktop/images/31012025/05/19/image_31012025_05_19_25_9392.jpg', '/home/pi/Desktop/images/31012025/05/19/image_31012025_05_19_36_10422.jpg', '/home/pi/Desktop/images/31012025/05/19/image_31012025_05_19_46_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/18/image_31012025_05_18_56_10339.jpg
/home/pi/Desktop/images/31012025/05/18/image_31012025_05_19_05_9450.jpg
/home/pi/Desktop/images/31012025/05/19/image_31012025_05_19_16_10459.jpg
/home/pi/Desktop/images/31012025/05/19/image_31012025_05_19_25_9392.jpg
/home/pi/Desktop/images/31012025/05/19/image_31012025_05_19_36_10422.jpg
/home/pi/Desktop/images/31012025/05/19/image_31012025_05_19_46_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":["1333205853","1333206653","1333206050","1333206371","1333206529","1333206211"],"photo_ids_order":["1333205853","1333206050","1333206211","1333206371","1333206529","1333206653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c520e79f526a63a0a97f7a090d602a3b.jpg","text":"TemporaryFile(/tmp/multipartBody6619986810461245853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297233230,"filename":"image_31012025_05_18_56_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c7a8ab457db137b0ccbe404cd987af1d.jpg","text":"TemporaryFile(/tmp/multipartBody5777982493154906583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297233230,"filename":"image_31012025_05_19_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/1/31/5c5efcc5808be42b6f980804f7d6590c.jpg","text":"TemporaryFile(/tmp/multipartBody8088110737580882487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297233230,"filename":"image_31012025_05_19_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/1/31/c0eb4357b9628e95eed13204228e510f.jpg","text":"TemporaryFile(/tmp/multipartBody2939753417139246843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297233230,"filename":"image_31012025_05_19_25_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a50be58bc5e62da71bcbfe4d3382193b.jpg","text":"TemporaryFile(/tmp/multipartBody1972245485738167636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297233230,"filename":"image_31012025_05_19_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/1/31/b304d820e479aa1e0a779a3472189db9.jpg","text":"TemporaryFile(/tmp/multipartBody2164946293308492920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297233230,"filename":"image_31012025_05_19_16_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333206211","file1":"1333206050","file0":"1333205853","file4":"1333206529","file5":"1333206653","file3":"1333206371"},"map_files_photo_id_array":[{"photo_id":"1333206653","filename":"file5"},{"photo_id":"1333206211","filename":"file2"},{"photo_id":"1333206529","filename":"file4"},{"photo_id":"1333206050","filename":"file1"},{"photo_id":"1333205853","filename":"file0"},{"photo_id":"1333206371","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333205853":["hashtag1","hashtag2"]},{"1333206653":["hashtag1","hashtag2"]},{"1333206050":["hashtag1","hashtag2"]},{"1333206371":["hashtag1","hashtag2"]},{"1333206529":["hashtag1","hashtag2"]},{"1333206211":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333205853, 1333206653, 1333206050, 1333206371, 1333206529, 1333206211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.58083963394165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:20:32.550393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/19/image_31012025_05_19_55_9349.jpg', '/home/pi/Desktop/images/31012025/05/19/image_31012025_05_20_06_10468.jpg', '/home/pi/Desktop/images/31012025/05/20/image_31012025_05_20_15_9433.jpg', '/home/pi/Desktop/images/31012025/05/20/image_31012025_05_20_26_10449.jpg', '/home/pi/Desktop/images/31012025/05/20/image_31012025_05_20_36_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/19/image_31012025_05_19_55_9349.jpg
/home/pi/Desktop/images/31012025/05/19/image_31012025_05_20_06_10468.jpg
/home/pi/Desktop/images/31012025/05/20/image_31012025_05_20_15_9433.jpg
/home/pi/Desktop/images/31012025/05/20/image_31012025_05_20_26_10449.jpg
/home/pi/Desktop/images/31012025/05/20/image_31012025_05_20_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":["1333206843","1333206767","1333206676","1333206792","1333206969"],"photo_ids_order":["1333206676","1333206767","1333206792","1333206843","1333206969"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/328f1d791a0db40e96ca6adc783a383a.jpg","text":"TemporaryFile(/tmp/multipartBody1962848136633601072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297293452,"filename":"image_31012025_05_20_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/1/31/ab64dd96a6f4499e1dd8adb35a7c1f61.jpg","text":"TemporaryFile(/tmp/multipartBody6942198766890464638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297293452,"filename":"image_31012025_05_20_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/1/31/a5d32c8023a21a122d5422c65cd3f717.jpg","text":"TemporaryFile(/tmp/multipartBody2726715039995834698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297293452,"filename":"image_31012025_05_19_55_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/db9a194674e3bc621327f8bbaeea8812.jpg","text":"TemporaryFile(/tmp/multipartBody8881340975161578839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297293452,"filename":"image_31012025_05_20_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/1/31/c0fdd63e1ea748c50db1d8dcc6814c3f.jpg","text":"TemporaryFile(/tmp/multipartBody6298724854936554337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297293452,"filename":"image_31012025_05_20_36_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333206792","file1":"1333206767","file0":"1333206676","file4":"1333206969","file3":"1333206843"},"map_files_photo_id_array":[{"photo_id":"1333206792","filename":"file2"},{"photo_id":"1333206969","filename":"file4"},{"photo_id":"1333206767","filename":"file1"},{"photo_id":"1333206676","filename":"file0"},{"photo_id":"1333206843","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333206843":["hashtag1","hashtag2"]},{"1333206767":["hashtag1","hashtag2"]},{"1333206676":["hashtag1","hashtag2"]},{"1333206792":["hashtag1","hashtag2"]},{"1333206969":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333206843, 1333206767, 1333206676, 1333206792, 1333206969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.38911724090576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:21:32.803275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/20/image_31012025_05_20_56_10370.jpg', '/home/pi/Desktop/images/31012025/05/21/image_31012025_05_21_16_10455.jpg', '/home/pi/Desktop/images/31012025/05/21/image_31012025_05_21_25_9360.jpg', '/home/pi/Desktop/images/31012025/05/21/image_31012025_05_21_36_10368.jpg', '/home/pi/Desktop/images/31012025/05/21/image_31012025_05_21_46_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/20/image_31012025_05_20_56_10370.jpg
/home/pi/Desktop/images/31012025/05/21/image_31012025_05_21_16_10455.jpg
/home/pi/Desktop/images/31012025/05/21/image_31012025_05_21_25_9360.jpg
/home/pi/Desktop/images/31012025/05/21/image_31012025_05_21_36_10368.jpg
/home/pi/Desktop/images/31012025/05/21/image_31012025_05_21_46_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":["1333207121","1333207135","1333207129","1333207126","1333207134"],"photo_ids_order":["1333207121","1333207126","1333207129","1333207134","1333207135"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1e49f0dc1732e0a8f0821cd65b6d15d3.jpg","text":"TemporaryFile(/tmp/multipartBody891436192957917432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297353701,"filename":"image_31012025_05_20_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/1/31/dabc738ae9d0f46a6dbaa2729ef81e29.jpg","text":"TemporaryFile(/tmp/multipartBody8476846517698810170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297353701,"filename":"image_31012025_05_21_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/1/31/8e4af62102d417469d8fbbea1d1eef98.jpg","text":"TemporaryFile(/tmp/multipartBody1450296751439613571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297353701,"filename":"image_31012025_05_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/1/31/3c34d863971b5134119ff44f34a3ff21.jpg","text":"TemporaryFile(/tmp/multipartBody8884902252218095312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297353701,"filename":"image_31012025_05_21_16_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e0d9b2b9b029be17bce007a600e0a80d.jpg","text":"TemporaryFile(/tmp/multipartBody3131430019308486181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297353701,"filename":"image_31012025_05_21_36_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333207129","file1":"1333207126","file0":"1333207121","file4":"1333207135","file3":"1333207134"},"map_files_photo_id_array":[{"photo_id":"1333207129","filename":"file2"},{"photo_id":"1333207135","filename":"file4"},{"photo_id":"1333207126","filename":"file1"},{"photo_id":"1333207121","filename":"file0"},{"photo_id":"1333207134","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333207121":["hashtag1","hashtag2"]},{"1333207135":["hashtag1","hashtag2"]},{"1333207129":["hashtag1","hashtag2"]},{"1333207126":["hashtag1","hashtag2"]},{"1333207134":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333207121, 1333207135, 1333207129, 1333207126, 1333207134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.3210985660553 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:22:32.851278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/21/image_31012025_05_21_55_9366.jpg', '/home/pi/Desktop/images/31012025/05/21/image_31012025_05_22_06_10353.jpg', '/home/pi/Desktop/images/31012025/05/22/image_31012025_05_22_16_10346.jpg', '/home/pi/Desktop/images/31012025/05/22/image_31012025_05_22_36_10347.jpg', '/home/pi/Desktop/images/31012025/05/22/image_31012025_05_22_46_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/21/image_31012025_05_21_55_9366.jpg
/home/pi/Desktop/images/31012025/05/21/image_31012025_05_22_06_10353.jpg
/home/pi/Desktop/images/31012025/05/22/image_31012025_05_22_16_10346.jpg
/home/pi/Desktop/images/31012025/05/22/image_31012025_05_22_36_10347.jpg
/home/pi/Desktop/images/31012025/05/22/image_31012025_05_22_46_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":["1333207157","1333207180","1333207153","1333207161","1333207167"],"photo_ids_order":["1333207153","1333207157","1333207161","1333207167","1333207180"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b7d392c3cf3af453dcffbbf7a420972a.jpg","text":"TemporaryFile(/tmp/multipartBody8137444579226132563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297413749,"filename":"image_31012025_05_22_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/1/31/b4518577020777b76b75844687fac6e7.jpg","text":"TemporaryFile(/tmp/multipartBody6532961815179931835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297413749,"filename":"image_31012025_05_22_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/1/31/cef49e32a1b28ecb837d77495c32a77b.jpg","text":"TemporaryFile(/tmp/multipartBody8067639860607165802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297413749,"filename":"image_31012025_05_21_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/1/31/1a0993c989ea73cb1dc916f490064b3f.jpg","text":"TemporaryFile(/tmp/multipartBody3138036039836716569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297413749,"filename":"image_31012025_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/1/31/898e364a6a18b898aa1585fc71b21d0e.jpg","text":"TemporaryFile(/tmp/multipartBody3449158819326403800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297413749,"filename":"image_31012025_05_22_36_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333207161","file1":"1333207157","file0":"1333207153","file4":"1333207180","file3":"1333207167"},"map_files_photo_id_array":[{"photo_id":"1333207161","filename":"file2"},{"photo_id":"1333207180","filename":"file4"},{"photo_id":"1333207157","filename":"file1"},{"photo_id":"1333207153","filename":"file0"},{"photo_id":"1333207167","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333207157":["hashtag1","hashtag2"]},{"1333207180":["hashtag1","hashtag2"]},{"1333207153":["hashtag1","hashtag2"]},{"1333207161":["hashtag1","hashtag2"]},{"1333207167":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333207157, 1333207180, 1333207153, 1333207161, 1333207167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.0033860206604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:23:33.107321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/22/image_31012025_05_22_55_9347.jpg', '/home/pi/Desktop/images/31012025/05/22/image_31012025_05_23_06_10446.jpg', '/home/pi/Desktop/images/31012025/05/23/image_31012025_05_23_36_10368.jpg', '/home/pi/Desktop/images/31012025/05/23/image_31012025_05_23_45_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/22/image_31012025_05_22_55_9347.jpg
/home/pi/Desktop/images/31012025/05/22/image_31012025_05_23_06_10446.jpg
/home/pi/Desktop/images/31012025/05/23/image_31012025_05_23_36_10368.jpg
/home/pi/Desktop/images/31012025/05/23/image_31012025_05_23_45_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":["1333207195","1333207202","1333207207","1333207191"],"photo_ids_order":["1333207191","1333207195","1333207202","1333207207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dd6fbf985b2688dc74ecf83010b64469.jpg","text":"TemporaryFile(/tmp/multipartBody438146111358029857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297473989,"filename":"image_31012025_05_23_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/1/31/ac4c1da4191af1252c6b5b17f10041c8.jpg","text":"TemporaryFile(/tmp/multipartBody6857863752709220414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297473989,"filename":"image_31012025_05_23_36_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bfa471ce7dbf9469f76651b4882cfaee.jpg","text":"TemporaryFile(/tmp/multipartBody2556261836241666439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297473989,"filename":"image_31012025_05_23_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/1/31/40c40ceb24102b10507985bac7bf28d2.jpg","text":"TemporaryFile(/tmp/multipartBody6652117389382325568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297473989,"filename":"image_31012025_05_22_55_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333207202","file1":"1333207195","file0":"1333207191","file3":"1333207207"},"map_files_photo_id_array":[{"photo_id":"1333207202","filename":"file2"},{"photo_id":"1333207195","filename":"file1"},{"photo_id":"1333207191","filename":"file0"},{"photo_id":"1333207207","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333207195":["hashtag1","hashtag2"]},{"1333207202":["hashtag1","hashtag2"]},{"1333207207":["hashtag1","hashtag2"]},{"1333207191":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333207195, 1333207202, 1333207207, 1333207191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.424941301345825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:24:32.323568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/23/image_31012025_05_23_56_10369.jpg', '/home/pi/Desktop/images/31012025/05/23/image_31012025_05_24_06_10425.jpg', '/home/pi/Desktop/images/31012025/05/24/image_31012025_05_24_15_9385.jpg', '/home/pi/Desktop/images/31012025/05/24/image_31012025_05_24_26_10477.jpg', '/home/pi/Desktop/images/31012025/05/24/image_31012025_05_24_35_9352.jpg', '/home/pi/Desktop/images/31012025/05/24/image_31012025_05_24_46_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/23/image_31012025_05_23_56_10369.jpg
/home/pi/Desktop/images/31012025/05/23/image_31012025_05_24_06_10425.jpg
/home/pi/Desktop/images/31012025/05/24/image_31012025_05_24_15_9385.jpg
/home/pi/Desktop/images/31012025/05/24/image_31012025_05_24_26_10477.jpg
/home/pi/Desktop/images/31012025/05/24/image_31012025_05_24_35_9352.jpg
/home/pi/Desktop/images/31012025/05/24/image_31012025_05_24_46_10351.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5439982414245605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 05:24:42.325176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/23/image_31012025_05_23_56_10369.jpg', '/home/pi/Desktop/images/31012025/05/23/image_31012025_05_24_06_10425.jpg', '/home/pi/Desktop/images/31012025/05/24/image_31012025_05_24_15_9385.jpg', '/home/pi/Desktop/images/31012025/05/24/image_31012025_05_24_26_10477.jpg', '/home/pi/Desktop/images/31012025/05/24/image_31012025_05_24_35_9352.jpg', '/home/pi/Desktop/images/31012025/05/24/image_31012025_05_24_46_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/23/image_31012025_05_23_56_10369.jpg
/home/pi/Desktop/images/31012025/05/23/image_31012025_05_24_06_10425.jpg
/home/pi/Desktop/images/31012025/05/24/image_31012025_05_24_15_9385.jpg
/home/pi/Desktop/images/31012025/05/24/image_31012025_05_24_26_10477.jpg
/home/pi/Desktop/images/31012025/05/24/image_31012025_05_24_35_9352.jpg
/home/pi/Desktop/images/31012025/05/24/image_31012025_05_24_46_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":["1333207285","1333207255","1333207293","1333207296","1333207281","1333207290"],"photo_ids_order":["1333207255","1333207281","1333207285","1333207290","1333207293","1333207296"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8720f56ff36639185bb8f857267d6e4c.jpg","text":"TemporaryFile(/tmp/multipartBody3566388746876787577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297543238,"filename":"image_31012025_05_24_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/1/31/bc1e2e4699111fa15c62b963bbfc6920.jpg","text":"TemporaryFile(/tmp/multipartBody45102053893226694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297543238,"filename":"image_31012025_05_23_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/1/31/af9ecae6c432eba999f54a92f3ebf80b.jpg","text":"TemporaryFile(/tmp/multipartBody3205671967325581077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297543238,"filename":"image_31012025_05_24_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/1/31/5b1fbdb65bded4245b0a19678cff5047.jpg","text":"TemporaryFile(/tmp/multipartBody4327954392508588431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297543238,"filename":"image_31012025_05_24_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/1/31/de42ee502519a1b6155ad6d927df32de.jpg","text":"TemporaryFile(/tmp/multipartBody6825965099172973971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297543238,"filename":"image_31012025_05_24_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/1/31/6bd784660ba37d3d10c29b373bf5daa1.jpg","text":"TemporaryFile(/tmp/multipartBody82950806847538580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297543238,"filename":"image_31012025_05_24_26_10477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333207285","file1":"1333207281","file0":"1333207255","file4":"1333207293","file5":"1333207296","file3":"1333207290"},"map_files_photo_id_array":[{"photo_id":"1333207296","filename":"file5"},{"photo_id":"1333207285","filename":"file2"},{"photo_id":"1333207293","filename":"file4"},{"photo_id":"1333207281","filename":"file1"},{"photo_id":"1333207255","filename":"file0"},{"photo_id":"1333207290","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333207285":["hashtag1","hashtag2"]},{"1333207255":["hashtag1","hashtag2"]},{"1333207293":["hashtag1","hashtag2"]},{"1333207296":["hashtag1","hashtag2"]},{"1333207281":["hashtag1","hashtag2"]},{"1333207290":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333207285, 1333207255, 1333207293, 1333207296, 1333207281, 1333207290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98402404785156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:25:32.523590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/24/image_31012025_05_24_56_10455.jpg', '/home/pi/Desktop/images/31012025/05/24/image_31012025_05_25_05_9429.jpg', '/home/pi/Desktop/images/31012025/05/25/image_31012025_05_25_16_10494.jpg', '/home/pi/Desktop/images/31012025/05/25/image_31012025_05_25_25_9408.jpg', '/home/pi/Desktop/images/31012025/05/25/image_31012025_05_25_36_10480.jpg', '/home/pi/Desktop/images/31012025/05/25/image_31012025_05_25_45_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/24/image_31012025_05_24_56_10455.jpg
/home/pi/Desktop/images/31012025/05/24/image_31012025_05_25_05_9429.jpg
/home/pi/Desktop/images/31012025/05/25/image_31012025_05_25_16_10494.jpg
/home/pi/Desktop/images/31012025/05/25/image_31012025_05_25_25_9408.jpg
/home/pi/Desktop/images/31012025/05/25/image_31012025_05_25_36_10480.jpg
/home/pi/Desktop/images/31012025/05/25/image_31012025_05_25_45_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":["1333207385","1333207312","1333207359","1333207323","1333207382","1333207308"],"photo_ids_order":["1333207308","1333207312","1333207323","1333207359","1333207382","1333207385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a34ef94ca882124845fb1375141d60a9.jpg","text":"TemporaryFile(/tmp/multipartBody9117605314854042516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297593464,"filename":"image_31012025_05_25_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/1/31/e15a3ff645cbadabadf0af7257730ac9.jpg","text":"TemporaryFile(/tmp/multipartBody9154987372746270655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297593464,"filename":"image_31012025_05_25_05_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f25d6caf2ca563938996b6b8e2b36076.jpg","text":"TemporaryFile(/tmp/multipartBody11790319926328559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297593464,"filename":"image_31012025_05_25_25_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/070f6cbcf7834588088ce0131ac758bd.jpg","text":"TemporaryFile(/tmp/multipartBody7661306355930828903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297593464,"filename":"image_31012025_05_25_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/1/31/a7966316f8d17d14f76f4eb9bcc51460.jpg","text":"TemporaryFile(/tmp/multipartBody7069327201823969238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297593464,"filename":"image_31012025_05_25_36_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5babdc372b523df039b6a574fa1ac1c1.jpg","text":"TemporaryFile(/tmp/multipartBody307591808219189629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297593464,"filename":"image_31012025_05_24_56_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333207323","file1":"1333207312","file0":"1333207308","file4":"1333207382","file5":"1333207385","file3":"1333207359"},"map_files_photo_id_array":[{"photo_id":"1333207385","filename":"file5"},{"photo_id":"1333207323","filename":"file2"},{"photo_id":"1333207382","filename":"file4"},{"photo_id":"1333207312","filename":"file1"},{"photo_id":"1333207308","filename":"file0"},{"photo_id":"1333207359","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333207385":["hashtag1","hashtag2"]},{"1333207312":["hashtag1","hashtag2"]},{"1333207359":["hashtag1","hashtag2"]},{"1333207323":["hashtag1","hashtag2"]},{"1333207382":["hashtag1","hashtag2"]},{"1333207308":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333207385, 1333207312, 1333207359, 1333207323, 1333207382, 1333207308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.99993538856506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:26:32.827930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/25/image_31012025_05_25_56_10346.jpg', '/home/pi/Desktop/images/31012025/05/25/image_31012025_05_26_06_10359.jpg', '/home/pi/Desktop/images/31012025/05/26/image_31012025_05_26_15_9330.jpg', '/home/pi/Desktop/images/31012025/05/26/image_31012025_05_26_36_10444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/25/image_31012025_05_25_56_10346.jpg
/home/pi/Desktop/images/31012025/05/25/image_31012025_05_26_06_10359.jpg
/home/pi/Desktop/images/31012025/05/26/image_31012025_05_26_15_9330.jpg
/home/pi/Desktop/images/31012025/05/26/image_31012025_05_26_36_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":["1333207484","1333207472","1333207482","1333207476"],"photo_ids_order":["1333207472","1333207476","1333207482","1333207484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3e9f51e4a5126b83b16504068f213599.jpg","text":"TemporaryFile(/tmp/multipartBody7409268513495424677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297653701,"filename":"image_31012025_05_26_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/1/31/b2c8977a442aab542607e3d8d4384525.jpg","text":"TemporaryFile(/tmp/multipartBody3869705280237626898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297653701,"filename":"image_31012025_05_25_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/1/31/86c5c3658b1c8eccf5d536c9047eb2d8.jpg","text":"TemporaryFile(/tmp/multipartBody1454860753983725943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297653701,"filename":"image_31012025_05_26_15_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/eea976d12ba747ac4fc434cc249aa7a5.jpg","text":"TemporaryFile(/tmp/multipartBody691607634944797830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297653701,"filename":"image_31012025_05_26_06_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333207482","file1":"1333207476","file0":"1333207472","file3":"1333207484"},"map_files_photo_id_array":[{"photo_id":"1333207482","filename":"file2"},{"photo_id":"1333207476","filename":"file1"},{"photo_id":"1333207472","filename":"file0"},{"photo_id":"1333207484","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333207484":["hashtag1","hashtag2"]},{"1333207472":["hashtag1","hashtag2"]},{"1333207482":["hashtag1","hashtag2"]},{"1333207476":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333207484, 1333207472, 1333207482, 1333207476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 34.234687089920044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:27:32.971767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/26/image_31012025_05_26_45_9355.jpg', '/home/pi/Desktop/images/31012025/05/26/image_31012025_05_27_05_9414.jpg', '/home/pi/Desktop/images/31012025/05/27/image_31012025_05_27_16_10372.jpg', '/home/pi/Desktop/images/31012025/05/27/image_31012025_05_27_26_10365.jpg', '/home/pi/Desktop/images/31012025/05/27/image_31012025_05_27_35_9336.jpg', '/home/pi/Desktop/images/31012025/05/27/image_31012025_05_27_46_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/26/image_31012025_05_26_45_9355.jpg
/home/pi/Desktop/images/31012025/05/26/image_31012025_05_27_05_9414.jpg
/home/pi/Desktop/images/31012025/05/27/image_31012025_05_27_16_10372.jpg
/home/pi/Desktop/images/31012025/05/27/image_31012025_05_27_26_10365.jpg
/home/pi/Desktop/images/31012025/05/27/image_31012025_05_27_35_9336.jpg
/home/pi/Desktop/images/31012025/05/27/image_31012025_05_27_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":["1333207847","1333207715","1333207852","1333207711","1333207793","1333207719"],"photo_ids_order":["1333207711","1333207715","1333207719","1333207793","1333207847","1333207852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6def9424eb81ecee3adc29ca69add14d.jpg","text":"TemporaryFile(/tmp/multipartBody3321523935567942451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297713884,"filename":"image_31012025_05_27_35_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/29bcffb570fa17230ab3f92fd1955fb1.jpg","text":"TemporaryFile(/tmp/multipartBody1226600316227637928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297713884,"filename":"image_31012025_05_27_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/1/31/af1ef3fab264852a95f0bb40f1436eea.jpg","text":"TemporaryFile(/tmp/multipartBody4824217840143296792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297713884,"filename":"image_31012025_05_27_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/1/31/4632ee64e51a1791f336dedc112fa892.jpg","text":"TemporaryFile(/tmp/multipartBody3797906424516853834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297713884,"filename":"image_31012025_05_26_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/1/31/9a6fe222c651a3e3696adf98820df6df.jpg","text":"TemporaryFile(/tmp/multipartBody9199227102519154179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297713884,"filename":"image_31012025_05_27_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/1/31/bef957ef1cf931926f37ef082908954a.jpg","text":"TemporaryFile(/tmp/multipartBody619676204237440073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297713884,"filename":"image_31012025_05_27_16_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333207719","file1":"1333207715","file0":"1333207711","file4":"1333207847","file5":"1333207852","file3":"1333207793"},"map_files_photo_id_array":[{"photo_id":"1333207852","filename":"file5"},{"photo_id":"1333207719","filename":"file2"},{"photo_id":"1333207847","filename":"file4"},{"photo_id":"1333207715","filename":"file1"},{"photo_id":"1333207711","filename":"file0"},{"photo_id":"1333207793","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333207847":["hashtag1","hashtag2"]},{"1333207715":["hashtag1","hashtag2"]},{"1333207852":["hashtag1","hashtag2"]},{"1333207711":["hashtag1","hashtag2"]},{"1333207793":["hashtag1","hashtag2"]},{"1333207719":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333207847, 1333207715, 1333207852, 1333207711, 1333207793, 1333207719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.129234313964844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:28:32.290705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/27/image_31012025_05_27_56_10395.jpg', '/home/pi/Desktop/images/31012025/05/28/image_31012025_05_28_16_10453.jpg', '/home/pi/Desktop/images/31012025/05/28/image_31012025_05_28_25_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/27/image_31012025_05_27_56_10395.jpg
/home/pi/Desktop/images/31012025/05/28/image_31012025_05_28_16_10453.jpg
/home/pi/Desktop/images/31012025/05/28/image_31012025_05_28_25_9354.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4770209789276123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 05:28:42.224064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/27/image_31012025_05_27_56_10395.jpg', '/home/pi/Desktop/images/31012025/05/28/image_31012025_05_28_16_10453.jpg', '/home/pi/Desktop/images/31012025/05/28/image_31012025_05_28_25_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/27/image_31012025_05_27_56_10395.jpg
/home/pi/Desktop/images/31012025/05/28/image_31012025_05_28_16_10453.jpg
/home/pi/Desktop/images/31012025/05/28/image_31012025_05_28_25_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":["1333207992","1333207989","1333207997"],"photo_ids_order":["1333207989","1333207992","1333207997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4763dba30a0cfbe3b6f4def10284ea3a.jpg","text":"TemporaryFile(/tmp/multipartBody310364707607353081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297784199,"filename":"image_31012025_05_28_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/1/31/144239226370b26e8e1a062c8803dd62.jpg","text":"TemporaryFile(/tmp/multipartBody2556857956362620828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297784199,"filename":"image_31012025_05_27_56_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/175f0e8ed6616378ee427f85c24a08cd.jpg","text":"TemporaryFile(/tmp/multipartBody8496377540702218136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297784199,"filename":"image_31012025_05_28_25_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333207997","file1":"1333207992","file0":"1333207989"},"map_files_photo_id_array":[{"photo_id":"1333207997","filename":"file2"},{"photo_id":"1333207992","filename":"file1"},{"photo_id":"1333207989","filename":"file0"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333207992":["hashtag1","hashtag2"]},{"1333207989":["hashtag1","hashtag2"]},{"1333207997":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333207992, 1333207989, 1333207997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 26.461697101593018 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:29:32.427380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/28/image_31012025_05_28_36_10387.jpg', '/home/pi/Desktop/images/31012025/05/28/image_31012025_05_29_06_10393.jpg', '/home/pi/Desktop/images/31012025/05/29/image_31012025_05_29_26_9374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/28/image_31012025_05_28_36_10387.jpg
/home/pi/Desktop/images/31012025/05/28/image_31012025_05_29_06_10393.jpg
/home/pi/Desktop/images/31012025/05/29/image_31012025_05_29_26_9374.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":["1333208024","1333208031","1333208019"],"photo_ids_order":["1333208019","1333208024","1333208031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/133bfd2c0f3d90ab7d137432e0013f70.jpg","text":"TemporaryFile(/tmp/multipartBody3768710222011495988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297833292,"filename":"image_31012025_05_29_06_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/de69672fe01de100b24e9c413e2d18fc.jpg","text":"TemporaryFile(/tmp/multipartBody4231005158461659064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297833292,"filename":"image_31012025_05_29_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/1/31/8f1c97a75cdb42edb688ede9fa8f7972.jpg","text":"TemporaryFile(/tmp/multipartBody8470437532763329295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297833292,"filename":"image_31012025_05_28_36_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333208031","file1":"1333208024","file0":"1333208019"},"map_files_photo_id_array":[{"photo_id":"1333208031","filename":"file2"},{"photo_id":"1333208024","filename":"file1"},{"photo_id":"1333208019","filename":"file0"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333208024":["hashtag1","hashtag2"]},{"1333208031":["hashtag1","hashtag2"]},{"1333208019":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333208024, 1333208031, 1333208019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.534801721572876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 05:30:03.274032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/14/image_28012025_22_14_24_9356.jpg', '/home/pi/Desktop/images/28012025/22/14/image_28012025_22_14_34_10387.jpg', '/home/pi/Desktop/images/28012025/22/14/image_28012025_22_14_45_10329.jpg', '/home/pi/Desktop/images/28012025/22/14/image_28012025_22_14_54_9459.jpg', '/home/pi/Desktop/images/28012025/22/14/image_28012025_22_15_05_10363.jpg', '/home/pi/Desktop/images/28012025/22/15/image_28012025_22_15_15_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/14/image_28012025_22_14_24_9356.jpg
/home/pi/Desktop/images/28012025/22/14/image_28012025_22_14_34_10387.jpg
/home/pi/Desktop/images/28012025/22/14/image_28012025_22_14_45_10329.jpg
/home/pi/Desktop/images/28012025/22/14/image_28012025_22_14_54_9459.jpg
/home/pi/Desktop/images/28012025/22/14/image_28012025_22_15_05_10363.jpg
/home/pi/Desktop/images/28012025/22/15/image_28012025_22_15_15_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":["1333208045","1333208062","1333208058","1333208052","1333208046","1333208048"],"photo_ids_order":["1333208045","1333208046","1333208048","1333208052","1333208058","1333208062"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4a221ff38cb59e8a6193158e71d9d395.jpg","text":"TemporaryFile(/tmp/multipartBody5323964737895574364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297864860,"filename":"image_28012025_22_14_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/1/31/277ca251f46fc49e4cf5ab90f2696c9c.jpg","text":"TemporaryFile(/tmp/multipartBody5281907558692369773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297864860,"filename":"image_28012025_22_15_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/1/31/606cfebca41e31da549edaf54e6d7fd3.jpg","text":"TemporaryFile(/tmp/multipartBody7711677301772574144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297864860,"filename":"image_28012025_22_15_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/1/31/32b2871c11cd99e83aab159054e8891a.jpg","text":"TemporaryFile(/tmp/multipartBody7463600512758351497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297864860,"filename":"image_28012025_22_14_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/1/31/db12e14247b2e25adfde41f89a4fec0d.jpg","text":"TemporaryFile(/tmp/multipartBody6606636583551724093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297864860,"filename":"image_28012025_22_14_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/1/31/0efbf3f38f71cbb9916b60fa1df1ce7b.jpg","text":"TemporaryFile(/tmp/multipartBody4031990512261669493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297864860,"filename":"image_28012025_22_14_45_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333208048","file1":"1333208046","file0":"1333208045","file4":"1333208058","file5":"1333208062","file3":"1333208052"},"map_files_photo_id_array":[{"photo_id":"1333208062","filename":"file5"},{"photo_id":"1333208048","filename":"file2"},{"photo_id":"1333208058","filename":"file4"},{"photo_id":"1333208046","filename":"file1"},{"photo_id":"1333208045","filename":"file0"},{"photo_id":"1333208052","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333208045":["hashtag1","hashtag2"]},{"1333208062":["hashtag1","hashtag2"]},{"1333208058":["hashtag1","hashtag2"]},{"1333208052":["hashtag1","hashtag2"]},{"1333208046":["hashtag1","hashtag2"]},{"1333208048":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333208045, 1333208062, 1333208058, 1333208052, 1333208046, 1333208048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.617592334747314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:30:52.601604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/29/image_31012025_05_29_36_10379.jpg', '/home/pi/Desktop/images/31012025/05/29/image_31012025_05_30_05_9352.jpg', '/home/pi/Desktop/images/31012025/05/30/image_31012025_05_30_16_10345.jpg', '/home/pi/Desktop/images/31012025/05/30/image_31012025_05_30_35_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/29/image_31012025_05_29_36_10379.jpg
/home/pi/Desktop/images/31012025/05/29/image_31012025_05_30_05_9352.jpg
/home/pi/Desktop/images/31012025/05/30/image_31012025_05_30_16_10345.jpg
/home/pi/Desktop/images/31012025/05/30/image_31012025_05_30_35_9335.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333208084","1333208087","1333208072","1333208081"],"photo_ids_order":["1333208072","1333208081","1333208084","1333208087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0db182dce9651b8bddbd2e2ae4662ac7.jpg","text":"TemporaryFile(/tmp/multipartBody8512432479447926206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297913489,"filename":"image_31012025_05_30_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/1/31/49c03f017faab336a172c7aa27dd16af.jpg","text":"TemporaryFile(/tmp/multipartBody2689121867084788811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297913489,"filename":"image_31012025_05_30_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/1/31/b6b3d843a3d1f55aebb32db36267f82e.jpg","text":"TemporaryFile(/tmp/multipartBody930025269487631759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297913489,"filename":"image_31012025_05_29_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/1/31/80579ef9cc72d4384d4f8133c5e632c2.jpg","text":"TemporaryFile(/tmp/multipartBody4437045881255542425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297913489,"filename":"image_31012025_05_30_05_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333208084","file1":"1333208081","file0":"1333208072","file3":"1333208087"},"map_files_photo_id_array":[{"photo_id":"1333208084","filename":"file2"},{"photo_id":"1333208081","filename":"file1"},{"photo_id":"1333208072","filename":"file0"},{"photo_id":"1333208087","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333208084":["hashtag1","hashtag2"]},{"1333208087":["hashtag1","hashtag2"]},{"1333208072":["hashtag1","hashtag2"]},{"1333208081":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333208084, 1333208087, 1333208072, 1333208081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.368292093276978 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:31:32.870525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/30/image_31012025_05_30_46_10390.jpg', '/home/pi/Desktop/images/31012025/05/31/image_31012025_05_31_16_10489.jpg', '/home/pi/Desktop/images/31012025/05/31/image_31012025_05_31_25_9365.jpg', '/home/pi/Desktop/images/31012025/05/31/image_31012025_05_31_36_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/30/image_31012025_05_30_46_10390.jpg
/home/pi/Desktop/images/31012025/05/31/image_31012025_05_31_16_10489.jpg
/home/pi/Desktop/images/31012025/05/31/image_31012025_05_31_25_9365.jpg
/home/pi/Desktop/images/31012025/05/31/image_31012025_05_31_36_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":["1333208321","1333208458","1333208413","1333208385"],"photo_ids_order":["1333208321","1333208385","1333208413","1333208458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/be2831ab2c9da22b6defa8a39bb426d3.jpg","text":"TemporaryFile(/tmp/multipartBody941972930323829673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297953752,"filename":"image_31012025_05_30_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/1/31/61f5c58607f1b12baec83d169710b9fc.jpg","text":"TemporaryFile(/tmp/multipartBody1858282607080556934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297953752,"filename":"image_31012025_05_31_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/1/31/912060cdc07f43f46bb8fe334d42eefe.jpg","text":"TemporaryFile(/tmp/multipartBody6871970578019218958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297953752,"filename":"image_31012025_05_31_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/1/31/0a074a4539e77831b63f8581db021f45.jpg","text":"TemporaryFile(/tmp/multipartBody1709162631618149661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738297953752,"filename":"image_31012025_05_31_16_10489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333208413","file1":"1333208385","file0":"1333208321","file3":"1333208458"},"map_files_photo_id_array":[{"photo_id":"1333208413","filename":"file2"},{"photo_id":"1333208385","filename":"file1"},{"photo_id":"1333208321","filename":"file0"},{"photo_id":"1333208458","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333208321":["hashtag1","hashtag2"]},{"1333208458":["hashtag1","hashtag2"]},{"1333208413":["hashtag1","hashtag2"]},{"1333208385":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333208321, 1333208458, 1333208413, 1333208385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.29792070388794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:32:33.156112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/31/image_31012025_05_31_55_9335.jpg', '/home/pi/Desktop/images/31012025/05/31/image_31012025_05_32_06_10354.jpg', '/home/pi/Desktop/images/31012025/05/32/image_31012025_05_32_16_10424.jpg', '/home/pi/Desktop/images/31012025/05/32/image_31012025_05_32_25_9359.jpg', '/home/pi/Desktop/images/31012025/05/32/image_31012025_05_32_36_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/31/image_31012025_05_31_55_9335.jpg
/home/pi/Desktop/images/31012025/05/31/image_31012025_05_32_06_10354.jpg
/home/pi/Desktop/images/31012025/05/32/image_31012025_05_32_16_10424.jpg
/home/pi/Desktop/images/31012025/05/32/image_31012025_05_32_25_9359.jpg
/home/pi/Desktop/images/31012025/05/32/image_31012025_05_32_36_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":["1333208581","1333208563","1333208530","1333208583","1333208573"],"photo_ids_order":["1333208530","1333208563","1333208573","1333208581","1333208583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2741c17bc570fe1627fc7dfe61bf6c9d.jpg","text":"TemporaryFile(/tmp/multipartBody8728832817161915264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298014064,"filename":"image_31012025_05_32_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/1/31/3b5a3e661f612efaf8a89530a398e35b.jpg","text":"TemporaryFile(/tmp/multipartBody78421821056731060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298014064,"filename":"image_31012025_05_32_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/1/31/29ea3c6777fdba2b646f99ef72173466.jpg","text":"TemporaryFile(/tmp/multipartBody77399082230145784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298014064,"filename":"image_31012025_05_31_55_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/190d0f4a700b8c651b69c261b5a5f228.jpg","text":"TemporaryFile(/tmp/multipartBody3720898273600780524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298014064,"filename":"image_31012025_05_32_36_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7a2c13a0365059808d591b639ab5c31f.jpg","text":"TemporaryFile(/tmp/multipartBody1902729524659438207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298014064,"filename":"image_31012025_05_32_16_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333208573","file1":"1333208563","file0":"1333208530","file4":"1333208583","file3":"1333208581"},"map_files_photo_id_array":[{"photo_id":"1333208573","filename":"file2"},{"photo_id":"1333208583","filename":"file4"},{"photo_id":"1333208563","filename":"file1"},{"photo_id":"1333208530","filename":"file0"},{"photo_id":"1333208581","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333208581":["hashtag1","hashtag2"]},{"1333208563":["hashtag1","hashtag2"]},{"1333208530":["hashtag1","hashtag2"]},{"1333208583":["hashtag1","hashtag2"]},{"1333208573":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333208581, 1333208563, 1333208530, 1333208583, 1333208573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 40.664334297180176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:33:32.314356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/32/image_31012025_05_32_56_10356.jpg', '/home/pi/Desktop/images/31012025/05/32/image_31012025_05_33_06_10353.jpg', '/home/pi/Desktop/images/31012025/05/33/image_31012025_05_33_26_10474.jpg', '/home/pi/Desktop/images/31012025/05/33/image_31012025_05_33_36_10359.jpg', '/home/pi/Desktop/images/31012025/05/33/image_31012025_05_33_45_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/32/image_31012025_05_32_56_10356.jpg
/home/pi/Desktop/images/31012025/05/32/image_31012025_05_33_06_10353.jpg
/home/pi/Desktop/images/31012025/05/33/image_31012025_05_33_26_10474.jpg
/home/pi/Desktop/images/31012025/05/33/image_31012025_05_33_36_10359.jpg
/home/pi/Desktop/images/31012025/05/33/image_31012025_05_33_45_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":["1333208612","1333208599","1333208603","1333208608","1333208616"],"photo_ids_order":["1333208599","1333208603","1333208608","1333208612","1333208616"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dc292d23f3a0d3c8981601c6b03c091e.jpg","text":"TemporaryFile(/tmp/multipartBody2112002312232258707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298073210,"filename":"image_31012025_05_33_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/1/31/4be5d963d6da832d8e347894c1d429f8.jpg","text":"TemporaryFile(/tmp/multipartBody1017689301100142896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298073210,"filename":"image_31012025_05_32_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/1/31/640b992c1ce245f2ea3a99836daf55a3.jpg","text":"TemporaryFile(/tmp/multipartBody5648511613110668767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298073210,"filename":"image_31012025_05_33_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/1/31/561803b108586b45be480a68ca1ddd74.jpg","text":"TemporaryFile(/tmp/multipartBody7379098894152843892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298073210,"filename":"image_31012025_05_33_26_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/91a0fd63b92f05b8a3cb5f8bef83f115.jpg","text":"TemporaryFile(/tmp/multipartBody1361601212092889078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298073210,"filename":"image_31012025_05_33_45_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333208608","file1":"1333208603","file0":"1333208599","file4":"1333208616","file3":"1333208612"},"map_files_photo_id_array":[{"photo_id":"1333208608","filename":"file2"},{"photo_id":"1333208616","filename":"file4"},{"photo_id":"1333208603","filename":"file1"},{"photo_id":"1333208599","filename":"file0"},{"photo_id":"1333208612","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333208612":["hashtag1","hashtag2"]},{"1333208599":["hashtag1","hashtag2"]},{"1333208603":["hashtag1","hashtag2"]},{"1333208608":["hashtag1","hashtag2"]},{"1333208616":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333208612, 1333208599, 1333208603, 1333208608, 1333208616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 41.45855379104614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:34:32.554787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/33/image_31012025_05_33_56_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/33/image_31012025_05_33_56_10351.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333208631"],"photo_id":"1333208631","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4f264c489ccc7a24fbb609cbc05baa92.jpg","text":"TemporaryFile(/tmp/multipartBody7564130751361118086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298133368,"filename":"image_31012025_05_33_56_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1333208631"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1333208631"}],"hashtags":[],"portfolio_id":"20089544","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.312290906906128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:34:52.677390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/15/image_28012025_22_15_24_9423.jpg', '/home/pi/Desktop/images/28012025/22/15/image_28012025_22_15_35_10358.jpg', '/home/pi/Desktop/images/28012025/22/15/image_28012025_22_15_45_10227.jpg', '/home/pi/Desktop/images/28012025/22/15/image_28012025_22_15_54_9430.jpg', '/home/pi/Desktop/images/28012025/22/15/image_28012025_22_16_05_10357.jpg', '/home/pi/Desktop/images/28012025/22/16/image_28012025_22_16_14_9450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/15/image_28012025_22_15_24_9423.jpg
/home/pi/Desktop/images/28012025/22/15/image_28012025_22_15_35_10358.jpg
/home/pi/Desktop/images/28012025/22/15/image_28012025_22_15_45_10227.jpg
/home/pi/Desktop/images/28012025/22/15/image_28012025_22_15_54_9430.jpg
/home/pi/Desktop/images/28012025/22/15/image_28012025_22_16_05_10357.jpg
/home/pi/Desktop/images/28012025/22/16/image_28012025_22_16_14_9450.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":["1333208723","1333208725","1333208790","1333208727","1333208786","1333208735"],"photo_ids_order":["1333208723","1333208725","1333208727","1333208735","1333208786","1333208790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/da07e7ece0433bd9581ed55a83f92501.jpg","text":"TemporaryFile(/tmp/multipartBody4001808481719957999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298155040,"filename":"image_28012025_22_15_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/1/31/cab829e60514d7711de4b12d578ced87.jpg","text":"TemporaryFile(/tmp/multipartBody8185137143005291940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298155040,"filename":"image_28012025_22_15_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/1/31/46ddf0bc532b8de1c4eb4c0f0b077a9d.jpg","text":"TemporaryFile(/tmp/multipartBody8663182222860709973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298155040,"filename":"image_28012025_22_16_14_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3512f70d1bc072fb42818e0a7e74536e.jpg","text":"TemporaryFile(/tmp/multipartBody5636322153264715945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298155040,"filename":"image_28012025_22_15_45_10227.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e193a7076931b4a6494d2b5bdb7c1326.jpg","text":"TemporaryFile(/tmp/multipartBody7393733783373064421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298155040,"filename":"image_28012025_22_16_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/1/31/fb14f54e50201aa25f247d9def62571a.jpg","text":"TemporaryFile(/tmp/multipartBody8078866176577658863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298155040,"filename":"image_28012025_22_15_54_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333208727","file1":"1333208725","file0":"1333208723","file4":"1333208786","file5":"1333208790","file3":"1333208735"},"map_files_photo_id_array":[{"photo_id":"1333208790","filename":"file5"},{"photo_id":"1333208727","filename":"file2"},{"photo_id":"1333208786","filename":"file4"},{"photo_id":"1333208725","filename":"file1"},{"photo_id":"1333208723","filename":"file0"},{"photo_id":"1333208735","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333208723":["hashtag1","hashtag2"]},{"1333208725":["hashtag1","hashtag2"]},{"1333208790":["hashtag1","hashtag2"]},{"1333208727":["hashtag1","hashtag2"]},{"1333208786":["hashtag1","hashtag2"]},{"1333208735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333208723, 1333208725, 1333208790, 1333208727, 1333208786, 1333208735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.78513050079346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 05:35:42.907973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/33/image_31012025_05_34_05_9349.jpg', '/home/pi/Desktop/images/31012025/05/35/image_31012025_05_35_46_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/33/image_31012025_05_34_05_9349.jpg
/home/pi/Desktop/images/31012025/05/35/image_31012025_05_35_46_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4525892734527588 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:35:52.895415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/33/image_31012025_05_34_05_9349.jpg', '/home/pi/Desktop/images/31012025/05/35/image_31012025_05_35_46_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/33/image_31012025_05_34_05_9349.jpg
/home/pi/Desktop/images/31012025/05/35/image_31012025_05_35_46_10357.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333208825","1333208821"],"photo_ids_order":["1333208821","1333208825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1f969c9f8990f30b053b251ba181be0b.jpg","text":"TemporaryFile(/tmp/multipartBody610623033952780419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298213742,"filename":"image_31012025_05_35_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/1/31/b48e02d771f4fd6c3854c3579e203642.jpg","text":"TemporaryFile(/tmp/multipartBody1562528380709512501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298213742,"filename":"image_31012025_05_34_05_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1333208825","file0":"1333208821"},"map_files_photo_id_array":[{"photo_id":"1333208825","filename":"file1"},{"photo_id":"1333208821","filename":"file0"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333208825":["hashtag1","hashtag2"]},{"1333208821":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333208825, 1333208821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.96789312362671 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:36:33.031355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/35/image_31012025_05_35_55_9348.jpg', '/home/pi/Desktop/images/31012025/05/35/image_31012025_05_36_06_10350.jpg', '/home/pi/Desktop/images/31012025/05/36/image_31012025_05_36_16_10359.jpg', '/home/pi/Desktop/images/31012025/05/36/image_31012025_05_36_25_9403.jpg', '/home/pi/Desktop/images/31012025/05/36/image_31012025_05_36_36_10421.jpg', '/home/pi/Desktop/images/31012025/05/36/image_31012025_05_36_45_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/35/image_31012025_05_35_55_9348.jpg
/home/pi/Desktop/images/31012025/05/35/image_31012025_05_36_06_10350.jpg
/home/pi/Desktop/images/31012025/05/36/image_31012025_05_36_16_10359.jpg
/home/pi/Desktop/images/31012025/05/36/image_31012025_05_36_25_9403.jpg
/home/pi/Desktop/images/31012025/05/36/image_31012025_05_36_36_10421.jpg
/home/pi/Desktop/images/31012025/05/36/image_31012025_05_36_45_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":["1333208851","1333208860","1333208862","1333208856","1333208864","1333208846"],"photo_ids_order":["1333208846","1333208851","1333208856","1333208860","1333208862","1333208864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/82da7db1e3478c9f8391958cd967302b.jpg","text":"TemporaryFile(/tmp/multipartBody5807641052366683739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298253967,"filename":"image_31012025_05_36_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/1/31/3b0c9ad688536debae5e3a4abd0469ce.jpg","text":"TemporaryFile(/tmp/multipartBody6050380195567448536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298253967,"filename":"image_31012025_05_36_25_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e6ae9106ad4d3d9cdce2e810dda4cde5.jpg","text":"TemporaryFile(/tmp/multipartBody4193806910825638356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298253967,"filename":"image_31012025_05_36_36_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a916b5048c832ca18f1469efc12a1eb0.jpg","text":"TemporaryFile(/tmp/multipartBody2383473663109947178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298253967,"filename":"image_31012025_05_36_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/1/31/b07e01ab458d671ba40dad7860ec4738.jpg","text":"TemporaryFile(/tmp/multipartBody2165378939070470849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298253967,"filename":"image_31012025_05_36_45_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3196be73d9782edc1d5ec71a764e5bd9.jpg","text":"TemporaryFile(/tmp/multipartBody3708455928584834267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298253967,"filename":"image_31012025_05_35_55_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333208856","file1":"1333208851","file0":"1333208846","file4":"1333208862","file5":"1333208864","file3":"1333208860"},"map_files_photo_id_array":[{"photo_id":"1333208864","filename":"file5"},{"photo_id":"1333208856","filename":"file2"},{"photo_id":"1333208862","filename":"file4"},{"photo_id":"1333208851","filename":"file1"},{"photo_id":"1333208846","filename":"file0"},{"photo_id":"1333208860","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333208851":["hashtag1","hashtag2"]},{"1333208860":["hashtag1","hashtag2"]},{"1333208862":["hashtag1","hashtag2"]},{"1333208856":["hashtag1","hashtag2"]},{"1333208864":["hashtag1","hashtag2"]},{"1333208846":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333208851, 1333208860, 1333208862, 1333208856, 1333208864, 1333208846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86122417449951 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:37:32.320577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/36/image_31012025_05_36_56_10401.jpg', '/home/pi/Desktop/images/31012025/05/36/image_31012025_05_37_06_10369.jpg', '/home/pi/Desktop/images/31012025/05/37/image_31012025_05_37_15_9379.jpg', '/home/pi/Desktop/images/31012025/05/37/image_31012025_05_37_26_10355.jpg', '/home/pi/Desktop/images/31012025/05/37/image_31012025_05_37_36_10455.jpg', '/home/pi/Desktop/images/31012025/05/37/image_31012025_05_37_45_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/36/image_31012025_05_36_56_10401.jpg
/home/pi/Desktop/images/31012025/05/36/image_31012025_05_37_06_10369.jpg
/home/pi/Desktop/images/31012025/05/37/image_31012025_05_37_15_9379.jpg
/home/pi/Desktop/images/31012025/05/37/image_31012025_05_37_26_10355.jpg
/home/pi/Desktop/images/31012025/05/37/image_31012025_05_37_36_10455.jpg
/home/pi/Desktop/images/31012025/05/37/image_31012025_05_37_45_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":["1333209289","1333209247","1333209297","1333209222","1333209230","1333209314"],"photo_ids_order":["1333209222","1333209230","1333209247","1333209289","1333209297","1333209314"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1883354ef02580a9285a950c4575614f.jpg","text":"TemporaryFile(/tmp/multipartBody6291763965484898554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298313230,"filename":"image_31012025_05_37_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/1/31/7b544b8bd73c8c3924ab73211b1443a0.jpg","text":"TemporaryFile(/tmp/multipartBody713551247936441354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298313230,"filename":"image_31012025_05_37_15_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ff90128120bc9111ff283e0e194af456.jpg","text":"TemporaryFile(/tmp/multipartBody3495513829633917294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298313230,"filename":"image_31012025_05_37_36_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/51c7d55d409b504fc96eb8548d10707a.jpg","text":"TemporaryFile(/tmp/multipartBody2027512184582960452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298313230,"filename":"image_31012025_05_36_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/1/31/ac6889861f164c5e93ec501493ba42ea.jpg","text":"TemporaryFile(/tmp/multipartBody541888468376656629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298313230,"filename":"image_31012025_05_37_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/1/31/2b484fdcb40616c5840f108636005004.jpg","text":"TemporaryFile(/tmp/multipartBody7762423269666510552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298313230,"filename":"image_31012025_05_37_45_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333209247","file1":"1333209230","file0":"1333209222","file4":"1333209297","file5":"1333209314","file3":"1333209289"},"map_files_photo_id_array":[{"photo_id":"1333209314","filename":"file5"},{"photo_id":"1333209247","filename":"file2"},{"photo_id":"1333209297","filename":"file4"},{"photo_id":"1333209230","filename":"file1"},{"photo_id":"1333209222","filename":"file0"},{"photo_id":"1333209289","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333209289":["hashtag1","hashtag2"]},{"1333209247":["hashtag1","hashtag2"]},{"1333209297":["hashtag1","hashtag2"]},{"1333209222":["hashtag1","hashtag2"]},{"1333209230":["hashtag1","hashtag2"]},{"1333209314":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333209289, 1333209247, 1333209297, 1333209222, 1333209230, 1333209314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.005428314208984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:38:32.599666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/37/image_31012025_05_37_56_10433.jpg', '/home/pi/Desktop/images/31012025/05/37/image_31012025_05_38_05_9345.jpg', '/home/pi/Desktop/images/31012025/05/38/image_31012025_05_38_16_10389.jpg', '/home/pi/Desktop/images/31012025/05/38/image_31012025_05_38_26_10422.jpg', '/home/pi/Desktop/images/31012025/05/38/image_31012025_05_38_35_9379.jpg', '/home/pi/Desktop/images/31012025/05/38/image_31012025_05_38_46_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/37/image_31012025_05_37_56_10433.jpg
/home/pi/Desktop/images/31012025/05/37/image_31012025_05_38_05_9345.jpg
/home/pi/Desktop/images/31012025/05/38/image_31012025_05_38_16_10389.jpg
/home/pi/Desktop/images/31012025/05/38/image_31012025_05_38_26_10422.jpg
/home/pi/Desktop/images/31012025/05/38/image_31012025_05_38_35_9379.jpg
/home/pi/Desktop/images/31012025/05/38/image_31012025_05_38_46_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":["1333210166","1333210046","1333210148","1333209852","1333210143","1333210152"],"photo_ids_order":["1333209852","1333210046","1333210143","1333210148","1333210152","1333210166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/391dbf3e8dc3759518f8f02b3343b541.jpg","text":"TemporaryFile(/tmp/multipartBody4850535304508790300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298373533,"filename":"image_31012025_05_38_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/1/31/e442487dfd9fd00f7e77db68d0883a61.jpg","text":"TemporaryFile(/tmp/multipartBody3336389464386357321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298373533,"filename":"image_31012025_05_38_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/1/31/86aacde25c5c10b39a6ead18d80fac56.jpg","text":"TemporaryFile(/tmp/multipartBody8592543122388571858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298373533,"filename":"image_31012025_05_38_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/1/31/c776f9e39ade3e1f8dbc11e31bc521cb.jpg","text":"TemporaryFile(/tmp/multipartBody6350464123111088579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298373533,"filename":"image_31012025_05_37_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/1/31/bfedc3abb38fe9752d593d063941d0b9.jpg","text":"TemporaryFile(/tmp/multipartBody1328941408463698287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298373533,"filename":"image_31012025_05_38_16_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a22436247e7ce196b94d42a574be9ca5.jpg","text":"TemporaryFile(/tmp/multipartBody4061854563611182756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298373533,"filename":"image_31012025_05_38_35_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333210143","file1":"1333210046","file0":"1333209852","file4":"1333210152","file5":"1333210166","file3":"1333210148"},"map_files_photo_id_array":[{"photo_id":"1333210166","filename":"file5"},{"photo_id":"1333210143","filename":"file2"},{"photo_id":"1333210152","filename":"file4"},{"photo_id":"1333210046","filename":"file1"},{"photo_id":"1333209852","filename":"file0"},{"photo_id":"1333210148","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333210166":["hashtag1","hashtag2"]},{"1333210046":["hashtag1","hashtag2"]},{"1333210148":["hashtag1","hashtag2"]},{"1333209852":["hashtag1","hashtag2"]},{"1333210143":["hashtag1","hashtag2"]},{"1333210152":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333210166, 1333210046, 1333210148, 1333209852, 1333210143, 1333210152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.649126291275024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:39:32.851595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/38/image_31012025_05_38_55_9346.jpg', '/home/pi/Desktop/images/31012025/05/38/image_31012025_05_39_06_10363.jpg', '/home/pi/Desktop/images/31012025/05/39/image_31012025_05_39_16_10447.jpg', '/home/pi/Desktop/images/31012025/05/39/image_31012025_05_39_25_9349.jpg', '/home/pi/Desktop/images/31012025/05/39/image_31012025_05_39_36_10471.jpg', '/home/pi/Desktop/images/31012025/05/39/image_31012025_05_39_45_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/38/image_31012025_05_38_55_9346.jpg
/home/pi/Desktop/images/31012025/05/38/image_31012025_05_39_06_10363.jpg
/home/pi/Desktop/images/31012025/05/39/image_31012025_05_39_16_10447.jpg
/home/pi/Desktop/images/31012025/05/39/image_31012025_05_39_25_9349.jpg
/home/pi/Desktop/images/31012025/05/39/image_31012025_05_39_36_10471.jpg
/home/pi/Desktop/images/31012025/05/39/image_31012025_05_39_45_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":["1333210415","1333210378","1333210449","1333210383","1333210425","1333210428"],"photo_ids_order":["1333210378","1333210383","1333210415","1333210425","1333210428","1333210449"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fd9bf7e6c08580e007dba7c290356c86.jpg","text":"TemporaryFile(/tmp/multipartBody689195713486008986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298433759,"filename":"image_31012025_05_39_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/1/31/25f6d8c06489f5d463d4f5c92efae028.jpg","text":"TemporaryFile(/tmp/multipartBody5170437804446933921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298433759,"filename":"image_31012025_05_38_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/1/31/414f2264cd03adff113bebe1483079d8.jpg","text":"TemporaryFile(/tmp/multipartBody1984496296743285175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298433759,"filename":"image_31012025_05_39_45_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1f62750ee128ee9b988d68fb378200ce.jpg","text":"TemporaryFile(/tmp/multipartBody3489826907906755514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298433759,"filename":"image_31012025_05_39_06_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c50fff00774b604496b2b4ca8f926db5.jpg","text":"TemporaryFile(/tmp/multipartBody7949748524226928802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298433759,"filename":"image_31012025_05_39_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/1/31/0969d569ce62b9e14a80a9d36b07440c.jpg","text":"TemporaryFile(/tmp/multipartBody5433267646647766944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298433759,"filename":"image_31012025_05_39_36_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333210415","file1":"1333210383","file0":"1333210378","file4":"1333210428","file5":"1333210449","file3":"1333210425"},"map_files_photo_id_array":[{"photo_id":"1333210449","filename":"file5"},{"photo_id":"1333210415","filename":"file2"},{"photo_id":"1333210428","filename":"file4"},{"photo_id":"1333210383","filename":"file1"},{"photo_id":"1333210378","filename":"file0"},{"photo_id":"1333210425","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333210415":["hashtag1","hashtag2"]},{"1333210378":["hashtag1","hashtag2"]},{"1333210449":["hashtag1","hashtag2"]},{"1333210383":["hashtag1","hashtag2"]},{"1333210425":["hashtag1","hashtag2"]},{"1333210428":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333210415, 1333210378, 1333210449, 1333210383, 1333210425, 1333210428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.17691922187805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:40:33.038600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/39/image_31012025_05_39_56_10365.jpg', '/home/pi/Desktop/images/31012025/05/39/image_31012025_05_40_06_10418.jpg', '/home/pi/Desktop/images/31012025/05/40/image_31012025_05_40_15_9379.jpg', '/home/pi/Desktop/images/31012025/05/40/image_31012025_05_40_46_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/39/image_31012025_05_39_56_10365.jpg
/home/pi/Desktop/images/31012025/05/39/image_31012025_05_40_06_10418.jpg
/home/pi/Desktop/images/31012025/05/40/image_31012025_05_40_15_9379.jpg
/home/pi/Desktop/images/31012025/05/40/image_31012025_05_40_46_10409.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":["1333210573","1333210579","1333210564","1333210568"],"photo_ids_order":["1333210564","1333210568","1333210573","1333210579"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/770af626a5e6a57a1c270d5ad05d8f50.jpg","text":"TemporaryFile(/tmp/multipartBody4116676681003344039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298493910,"filename":"image_31012025_05_40_15_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/341f3c7063318b1def06602e970a5002.jpg","text":"TemporaryFile(/tmp/multipartBody3924263111846820437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298493910,"filename":"image_31012025_05_40_46_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e52034950868dc56cfac29311752eff4.jpg","text":"TemporaryFile(/tmp/multipartBody8734592088887417590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298493910,"filename":"image_31012025_05_39_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/1/31/008e90f78a73aa4f84f8ae09fb297b16.jpg","text":"TemporaryFile(/tmp/multipartBody8608863736560158347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298493910,"filename":"image_31012025_05_40_06_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333210573","file1":"1333210568","file0":"1333210564","file3":"1333210579"},"map_files_photo_id_array":[{"photo_id":"1333210573","filename":"file2"},{"photo_id":"1333210568","filename":"file1"},{"photo_id":"1333210564","filename":"file0"},{"photo_id":"1333210579","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333210573":["hashtag1","hashtag2"]},{"1333210579":["hashtag1","hashtag2"]},{"1333210564":["hashtag1","hashtag2"]},{"1333210568":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333210573, 1333210579, 1333210564, 1333210568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.33342742919922 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:41:32.279261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/40/image_31012025_05_40_56_10438.jpg', '/home/pi/Desktop/images/31012025/05/40/image_31012025_05_41_05_9367.jpg', '/home/pi/Desktop/images/31012025/05/41/image_31012025_05_41_16_10376.jpg', '/home/pi/Desktop/images/31012025/05/41/image_31012025_05_41_25_9447.jpg', '/home/pi/Desktop/images/31012025/05/41/image_31012025_05_41_36_10577.jpg', '/home/pi/Desktop/images/31012025/05/41/image_31012025_05_41_45_9385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/40/image_31012025_05_40_56_10438.jpg
/home/pi/Desktop/images/31012025/05/40/image_31012025_05_41_05_9367.jpg
/home/pi/Desktop/images/31012025/05/41/image_31012025_05_41_16_10376.jpg
/home/pi/Desktop/images/31012025/05/41/image_31012025_05_41_25_9447.jpg
/home/pi/Desktop/images/31012025/05/41/image_31012025_05_41_36_10577.jpg
/home/pi/Desktop/images/31012025/05/41/image_31012025_05_41_45_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":["1333210628","1333210622","1333210616","1333210636","1333210639","1333210633"],"photo_ids_order":["1333210616","1333210622","1333210628","1333210633","1333210636","1333210639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bef285944c41c5507a9b28ce96344173.jpg","text":"TemporaryFile(/tmp/multipartBody2281457807747498079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298553195,"filename":"image_31012025_05_41_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/1/31/2be0b593cd5b66fc2f208b70c700cf5b.jpg","text":"TemporaryFile(/tmp/multipartBody7724232082328241415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298553195,"filename":"image_31012025_05_41_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/1/31/dadde9a51abb6afdd502d7110d109d8c.jpg","text":"TemporaryFile(/tmp/multipartBody7711229583539905895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298553195,"filename":"image_31012025_05_40_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/1/31/74b74989d5fc23690d33f4a3815294ba.jpg","text":"TemporaryFile(/tmp/multipartBody4224460233349625962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298553195,"filename":"image_31012025_05_41_36_10577.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/94763a934d742146c3e10e436d19e21c.jpg","text":"TemporaryFile(/tmp/multipartBody6861583478093343435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298553195,"filename":"image_31012025_05_41_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/1/31/ad2fabc58495c79f5834775accd8bfcf.jpg","text":"TemporaryFile(/tmp/multipartBody381364593685835746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298553195,"filename":"image_31012025_05_41_25_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333210628","file1":"1333210622","file0":"1333210616","file4":"1333210636","file5":"1333210639","file3":"1333210633"},"map_files_photo_id_array":[{"photo_id":"1333210639","filename":"file5"},{"photo_id":"1333210628","filename":"file2"},{"photo_id":"1333210636","filename":"file4"},{"photo_id":"1333210622","filename":"file1"},{"photo_id":"1333210616","filename":"file0"},{"photo_id":"1333210633","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333210628":["hashtag1","hashtag2"]},{"1333210622":["hashtag1","hashtag2"]},{"1333210616":["hashtag1","hashtag2"]},{"1333210636":["hashtag1","hashtag2"]},{"1333210639":["hashtag1","hashtag2"]},{"1333210633":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333210628, 1333210622, 1333210616, 1333210636, 1333210639, 1333210633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.27397608757019 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:42:32.469054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/41/image_31012025_05_41_56_10356.jpg', '/home/pi/Desktop/images/31012025/05/41/image_31012025_05_42_06_10410.jpg', '/home/pi/Desktop/images/31012025/05/42/image_31012025_05_42_15_9368.jpg', '/home/pi/Desktop/images/31012025/05/42/image_31012025_05_42_26_10372.jpg', '/home/pi/Desktop/images/31012025/05/42/image_31012025_05_42_36_10399.jpg', '/home/pi/Desktop/images/31012025/05/42/image_31012025_05_42_45_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/41/image_31012025_05_41_56_10356.jpg
/home/pi/Desktop/images/31012025/05/41/image_31012025_05_42_06_10410.jpg
/home/pi/Desktop/images/31012025/05/42/image_31012025_05_42_15_9368.jpg
/home/pi/Desktop/images/31012025/05/42/image_31012025_05_42_26_10372.jpg
/home/pi/Desktop/images/31012025/05/42/image_31012025_05_42_36_10399.jpg
/home/pi/Desktop/images/31012025/05/42/image_31012025_05_42_45_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":["1333210671","1333210665","1333210674","1333210668","1333210661","1333210685"],"photo_ids_order":["1333210661","1333210665","1333210668","1333210671","1333210674","1333210685"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/338a523b17adae92ecb0f8a0a5b91f93.jpg","text":"TemporaryFile(/tmp/multipartBody2554335033863852416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298613395,"filename":"image_31012025_05_42_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/1/31/c4cd7477ceec9baf230a696197e23877.jpg","text":"TemporaryFile(/tmp/multipartBody7536498787499504680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298613395,"filename":"image_31012025_05_42_06_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/77b66dd797db70ff18a957146ba2a7cd.jpg","text":"TemporaryFile(/tmp/multipartBody8623659289021441181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298613395,"filename":"image_31012025_05_42_36_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e7110474682570d5ce00351a5f4ca1af.jpg","text":"TemporaryFile(/tmp/multipartBody3994387000799136028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298613395,"filename":"image_31012025_05_42_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/1/31/fb67db337b347a09c258298ed45a4e10.jpg","text":"TemporaryFile(/tmp/multipartBody4636437464818979170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298613395,"filename":"image_31012025_05_41_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/1/31/2fc0c80856c4bcf4691edeae86bc26de.jpg","text":"TemporaryFile(/tmp/multipartBody4601595195255123590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298613395,"filename":"image_31012025_05_42_45_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333210668","file1":"1333210665","file0":"1333210661","file4":"1333210674","file5":"1333210685","file3":"1333210671"},"map_files_photo_id_array":[{"photo_id":"1333210685","filename":"file5"},{"photo_id":"1333210668","filename":"file2"},{"photo_id":"1333210674","filename":"file4"},{"photo_id":"1333210665","filename":"file1"},{"photo_id":"1333210661","filename":"file0"},{"photo_id":"1333210671","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333210671":["hashtag1","hashtag2"]},{"1333210665":["hashtag1","hashtag2"]},{"1333210674":["hashtag1","hashtag2"]},{"1333210668":["hashtag1","hashtag2"]},{"1333210661":["hashtag1","hashtag2"]},{"1333210685":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333210671, 1333210665, 1333210674, 1333210668, 1333210661, 1333210685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.68199372291565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:43:32.827175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/42/image_31012025_05_42_56_10424.jpg', '/home/pi/Desktop/images/31012025/05/42/image_31012025_05_43_05_9368.jpg', '/home/pi/Desktop/images/31012025/05/43/image_31012025_05_43_16_10344.jpg', '/home/pi/Desktop/images/31012025/05/43/image_31012025_05_43_35_9450.jpg', '/home/pi/Desktop/images/31012025/05/43/image_31012025_05_43_46_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/42/image_31012025_05_42_56_10424.jpg
/home/pi/Desktop/images/31012025/05/42/image_31012025_05_43_05_9368.jpg
/home/pi/Desktop/images/31012025/05/43/image_31012025_05_43_16_10344.jpg
/home/pi/Desktop/images/31012025/05/43/image_31012025_05_43_35_9450.jpg
/home/pi/Desktop/images/31012025/05/43/image_31012025_05_43_46_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":["1333210727","1333210720","1333210713","1333210730","1333210724"],"photo_ids_order":["1333210713","1333210720","1333210724","1333210727","1333210730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2de24ffab75b6291fef9c9c4b41c9eae.jpg","text":"TemporaryFile(/tmp/multipartBody6957231995867705206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298673741,"filename":"image_31012025_05_43_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/1/31/294f539a9155ecc7f02d92bfa3bc7ac1.jpg","text":"TemporaryFile(/tmp/multipartBody2661715374205732215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298673741,"filename":"image_31012025_05_43_05_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0b54b9ea89ffe32894eb9825c057f32e.jpg","text":"TemporaryFile(/tmp/multipartBody5580773941771999200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298673741,"filename":"image_31012025_05_42_56_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/59d45045f63810b3e32fcb1fcfa9f0da.jpg","text":"TemporaryFile(/tmp/multipartBody9175747302104214301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298673741,"filename":"image_31012025_05_43_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/1/31/2f999fd9bfe8dd6820d1f408fa5af2a6.jpg","text":"TemporaryFile(/tmp/multipartBody7315197015969547757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298673741,"filename":"image_31012025_05_43_16_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333210724","file1":"1333210720","file0":"1333210713","file4":"1333210730","file3":"1333210727"},"map_files_photo_id_array":[{"photo_id":"1333210724","filename":"file2"},{"photo_id":"1333210730","filename":"file4"},{"photo_id":"1333210720","filename":"file1"},{"photo_id":"1333210713","filename":"file0"},{"photo_id":"1333210727","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333210727":["hashtag1","hashtag2"]},{"1333210720":["hashtag1","hashtag2"]},{"1333210713":["hashtag1","hashtag2"]},{"1333210730":["hashtag1","hashtag2"]},{"1333210724":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333210727, 1333210720, 1333210713, 1333210730, 1333210724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.27945256233215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:44:32.957791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/43/image_31012025_05_43_55_9339.jpg', '/home/pi/Desktop/images/31012025/05/43/image_31012025_05_44_06_10465.jpg', '/home/pi/Desktop/images/31012025/05/44/image_31012025_05_44_16_10384.jpg', '/home/pi/Desktop/images/31012025/05/44/image_31012025_05_44_25_9349.jpg', '/home/pi/Desktop/images/31012025/05/44/image_31012025_05_44_45_9389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/43/image_31012025_05_43_55_9339.jpg
/home/pi/Desktop/images/31012025/05/43/image_31012025_05_44_06_10465.jpg
/home/pi/Desktop/images/31012025/05/44/image_31012025_05_44_16_10384.jpg
/home/pi/Desktop/images/31012025/05/44/image_31012025_05_44_25_9349.jpg
/home/pi/Desktop/images/31012025/05/44/image_31012025_05_44_45_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":["1333210754","1333210814","1333210786","1333210768","1333210797"],"photo_ids_order":["1333210754","1333210768","1333210786","1333210797","1333210814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d13dea58f4840d5ff1811815a626bd4b.jpg","text":"TemporaryFile(/tmp/multipartBody4428618305851158182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298733854,"filename":"image_31012025_05_43_55_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3c1395b1682e42ecc1bdcfd427efa4f0.jpg","text":"TemporaryFile(/tmp/multipartBody4782998211125907642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298733854,"filename":"image_31012025_05_44_45_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ac3f0868f52204b6f940a633d8270cf2.jpg","text":"TemporaryFile(/tmp/multipartBody6355274987933863124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298733854,"filename":"image_31012025_05_44_16_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/889bc2bb26df780980de51389d3f74fd.jpg","text":"TemporaryFile(/tmp/multipartBody3356980322133970529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298733854,"filename":"image_31012025_05_44_06_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/83b4c837e0694f20cb83dc30051d1343.jpg","text":"TemporaryFile(/tmp/multipartBody2504762790313460265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298733854,"filename":"image_31012025_05_44_25_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333210786","file1":"1333210768","file0":"1333210754","file4":"1333210814","file3":"1333210797"},"map_files_photo_id_array":[{"photo_id":"1333210786","filename":"file2"},{"photo_id":"1333210814","filename":"file4"},{"photo_id":"1333210768","filename":"file1"},{"photo_id":"1333210754","filename":"file0"},{"photo_id":"1333210797","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333210754":["hashtag1","hashtag2"]},{"1333210814":["hashtag1","hashtag2"]},{"1333210786":["hashtag1","hashtag2"]},{"1333210768":["hashtag1","hashtag2"]},{"1333210797":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333210754, 1333210814, 1333210786, 1333210768, 1333210797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.398946046829224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:45:32.239020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/44/image_31012025_05_44_56_10493.jpg', '/home/pi/Desktop/images/31012025/05/44/image_31012025_05_45_05_9411.jpg', '/home/pi/Desktop/images/31012025/05/45/image_31012025_05_45_16_10416.jpg', '/home/pi/Desktop/images/31012025/05/45/image_31012025_05_45_26_10365.jpg', '/home/pi/Desktop/images/31012025/05/45/image_31012025_05_45_46_10465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/44/image_31012025_05_44_56_10493.jpg
/home/pi/Desktop/images/31012025/05/44/image_31012025_05_45_05_9411.jpg
/home/pi/Desktop/images/31012025/05/45/image_31012025_05_45_16_10416.jpg
/home/pi/Desktop/images/31012025/05/45/image_31012025_05_45_26_10365.jpg
/home/pi/Desktop/images/31012025/05/45/image_31012025_05_45_46_10465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333210894","1333210888","1333210873","1333210899","1333210880"],"photo_ids_order":["1333210873","1333210880","1333210888","1333210894","1333210899"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b5841ce53e826ef4c6fb8c1a42c900d6.jpg","text":"TemporaryFile(/tmp/multipartBody3245276781320988682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298793126,"filename":"image_31012025_05_45_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/1/31/04489cfba57f48aa3981786b8792dee5.jpg","text":"TemporaryFile(/tmp/multipartBody8390549463152115592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298793126,"filename":"image_31012025_05_45_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/1/31/11a5142d46a6c73b30799910046262c8.jpg","text":"TemporaryFile(/tmp/multipartBody8086844588817229119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298793126,"filename":"image_31012025_05_44_56_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aea79e05b3c805cd539412970db14198.jpg","text":"TemporaryFile(/tmp/multipartBody2498575761368611248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298793126,"filename":"image_31012025_05_45_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/1/31/b348caaa3d7dd2e15ae8408e798b73fc.jpg","text":"TemporaryFile(/tmp/multipartBody5947979820859458380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298793126,"filename":"image_31012025_05_45_05_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333210888","file1":"1333210880","file0":"1333210873","file4":"1333210899","file3":"1333210894"},"map_files_photo_id_array":[{"photo_id":"1333210888","filename":"file2"},{"photo_id":"1333210899","filename":"file4"},{"photo_id":"1333210880","filename":"file1"},{"photo_id":"1333210873","filename":"file0"},{"photo_id":"1333210894","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333210894":["hashtag1","hashtag2"]},{"1333210888":["hashtag1","hashtag2"]},{"1333210873":["hashtag1","hashtag2"]},{"1333210899":["hashtag1","hashtag2"]},{"1333210880":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333210894, 1333210888, 1333210873, 1333210899, 1333210880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.34346556663513 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:46:32.415137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/45/image_31012025_05_45_56_10337.jpg', '/home/pi/Desktop/images/31012025/05/45/image_31012025_05_46_05_9333.jpg', '/home/pi/Desktop/images/31012025/05/46/image_31012025_05_46_16_10385.jpg', '/home/pi/Desktop/images/31012025/05/46/image_31012025_05_46_36_10405.jpg', '/home/pi/Desktop/images/31012025/05/46/image_31012025_05_46_46_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/45/image_31012025_05_45_56_10337.jpg
/home/pi/Desktop/images/31012025/05/45/image_31012025_05_46_05_9333.jpg
/home/pi/Desktop/images/31012025/05/46/image_31012025_05_46_16_10385.jpg
/home/pi/Desktop/images/31012025/05/46/image_31012025_05_46_36_10405.jpg
/home/pi/Desktop/images/31012025/05/46/image_31012025_05_46_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":["1333211140","1333211035","1333211025","1333211133","1333211112"],"photo_ids_order":["1333211025","1333211035","1333211112","1333211133","1333211140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b2bd1c0e655f53e18e2c8f5b4fe8aac2.jpg","text":"TemporaryFile(/tmp/multipartBody3597201403856123747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298853330,"filename":"image_31012025_05_46_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/1/31/a918cd31e9c14f511914cc86ad780eee.jpg","text":"TemporaryFile(/tmp/multipartBody8235607044268217377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298853330,"filename":"image_31012025_05_46_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/1/31/54b44fbc0b181d81b1a7aa6fba5bba83.jpg","text":"TemporaryFile(/tmp/multipartBody7716217327215973498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298853330,"filename":"image_31012025_05_45_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/1/31/a8078fdcdb40dec3a6caf07ee456bf2a.jpg","text":"TemporaryFile(/tmp/multipartBody6727929477506547499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298853330,"filename":"image_31012025_05_46_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/1/31/ec1d72fbbf5a96c04152c224abdf3413.jpg","text":"TemporaryFile(/tmp/multipartBody4709900028679446069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298853330,"filename":"image_31012025_05_46_16_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333211112","file1":"1333211035","file0":"1333211025","file4":"1333211140","file3":"1333211133"},"map_files_photo_id_array":[{"photo_id":"1333211112","filename":"file2"},{"photo_id":"1333211140","filename":"file4"},{"photo_id":"1333211035","filename":"file1"},{"photo_id":"1333211025","filename":"file0"},{"photo_id":"1333211133","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333211140":["hashtag1","hashtag2"]},{"1333211035":["hashtag1","hashtag2"]},{"1333211025":["hashtag1","hashtag2"]},{"1333211133":["hashtag1","hashtag2"]},{"1333211112":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333211140, 1333211035, 1333211025, 1333211133, 1333211112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.333478689193726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:47:32.720661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/46/image_31012025_05_46_55_9346.jpg', '/home/pi/Desktop/images/31012025/05/47/image_31012025_05_47_26_9429.jpg', '/home/pi/Desktop/images/31012025/05/47/image_31012025_05_47_36_10413.jpg', '/home/pi/Desktop/images/31012025/05/47/image_31012025_05_47_45_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/46/image_31012025_05_46_55_9346.jpg
/home/pi/Desktop/images/31012025/05/47/image_31012025_05_47_26_9429.jpg
/home/pi/Desktop/images/31012025/05/47/image_31012025_05_47_36_10413.jpg
/home/pi/Desktop/images/31012025/05/47/image_31012025_05_47_45_9348.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":["1333211275","1333211227","1333211329","1333211401"],"photo_ids_order":["1333211227","1333211275","1333211329","1333211401"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/15ec410c13015393532f0d380d54344f.jpg","text":"TemporaryFile(/tmp/multipartBody1191325818636449709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298913603,"filename":"image_31012025_05_47_26_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/643d4df3862f8ad4bbd879ccf8866c0b.jpg","text":"TemporaryFile(/tmp/multipartBody183197230775979205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298913603,"filename":"image_31012025_05_46_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/1/31/c5818b1c3d5fc81b581e37b3da1c0e08.jpg","text":"TemporaryFile(/tmp/multipartBody152639313958315942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298913603,"filename":"image_31012025_05_47_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/1/31/3ec23197a5f681a88728c470712720a9.jpg","text":"TemporaryFile(/tmp/multipartBody1152452485698936801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298913603,"filename":"image_31012025_05_47_45_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333211329","file1":"1333211275","file0":"1333211227","file3":"1333211401"},"map_files_photo_id_array":[{"photo_id":"1333211329","filename":"file2"},{"photo_id":"1333211275","filename":"file1"},{"photo_id":"1333211227","filename":"file0"},{"photo_id":"1333211401","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333211275":["hashtag1","hashtag2"]},{"1333211227":["hashtag1","hashtag2"]},{"1333211329":["hashtag1","hashtag2"]},{"1333211401":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333211275, 1333211227, 1333211329, 1333211401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.071312189102173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 05:48:03.778128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/16/image_28012025_22_16_25_10357.jpg', '/home/pi/Desktop/images/28012025/22/16/image_28012025_22_16_35_10361.jpg', '/home/pi/Desktop/images/28012025/22/16/image_28012025_22_16_44_9360.jpg', '/home/pi/Desktop/images/28012025/22/16/image_28012025_22_16_55_10391.jpg', '/home/pi/Desktop/images/28012025/22/16/image_28012025_22_17_05_10341.jpg', '/home/pi/Desktop/images/28012025/22/17/image_28012025_22_17_14_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/16/image_28012025_22_16_25_10357.jpg
/home/pi/Desktop/images/28012025/22/16/image_28012025_22_16_35_10361.jpg
/home/pi/Desktop/images/28012025/22/16/image_28012025_22_16_44_9360.jpg
/home/pi/Desktop/images/28012025/22/16/image_28012025_22_16_55_10391.jpg
/home/pi/Desktop/images/28012025/22/16/image_28012025_22_17_05_10341.jpg
/home/pi/Desktop/images/28012025/22/17/image_28012025_22_17_14_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":["1333211458","1333211503","1333211500","1333211463","1333211466","1333211439"],"photo_ids_order":["1333211439","1333211458","1333211463","1333211466","1333211500","1333211503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/833de754dfc7ab76aac4e18fefb10e6b.jpg","text":"TemporaryFile(/tmp/multipartBody2501750066410863266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298945345,"filename":"image_28012025_22_16_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/1/31/3630177d352b17456c0f97964dcc37c6.jpg","text":"TemporaryFile(/tmp/multipartBody6454306970438052063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298945345,"filename":"image_28012025_22_17_14_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/17ffbecb8c05954093062f457f54b36f.jpg","text":"TemporaryFile(/tmp/multipartBody574253026761491119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298945345,"filename":"image_28012025_22_17_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/1/31/7d822fd455767148c54e9eefe11bd8ac.jpg","text":"TemporaryFile(/tmp/multipartBody6041053421588450655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298945345,"filename":"image_28012025_22_16_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/1/31/aba5f287ec6125335d9a7a400556a4f9.jpg","text":"TemporaryFile(/tmp/multipartBody1130158697756534372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298945345,"filename":"image_28012025_22_16_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/1/31/e8db0392428acdcba6130dd15c79dffc.jpg","text":"TemporaryFile(/tmp/multipartBody8186580883011204953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298945345,"filename":"image_28012025_22_16_25_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333211463","file1":"1333211458","file0":"1333211439","file4":"1333211500","file5":"1333211503","file3":"1333211466"},"map_files_photo_id_array":[{"photo_id":"1333211503","filename":"file5"},{"photo_id":"1333211463","filename":"file2"},{"photo_id":"1333211500","filename":"file4"},{"photo_id":"1333211458","filename":"file1"},{"photo_id":"1333211439","filename":"file0"},{"photo_id":"1333211466","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333211458":["hashtag1","hashtag2"]},{"1333211503":["hashtag1","hashtag2"]},{"1333211500":["hashtag1","hashtag2"]},{"1333211463":["hashtag1","hashtag2"]},{"1333211466":["hashtag1","hashtag2"]},{"1333211439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333211458, 1333211503, 1333211500, 1333211463, 1333211466, 1333211439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.62810277938843 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:48:52.911395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/47/image_31012025_05_47_56_10486.jpg', '/home/pi/Desktop/images/31012025/05/47/image_31012025_05_48_05_9354.jpg', '/home/pi/Desktop/images/31012025/05/48/image_31012025_05_48_16_10417.jpg', '/home/pi/Desktop/images/31012025/05/48/image_31012025_05_48_26_10349.jpg', '/home/pi/Desktop/images/31012025/05/48/image_31012025_05_48_35_9326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/47/image_31012025_05_47_56_10486.jpg
/home/pi/Desktop/images/31012025/05/47/image_31012025_05_48_05_9354.jpg
/home/pi/Desktop/images/31012025/05/48/image_31012025_05_48_16_10417.jpg
/home/pi/Desktop/images/31012025/05/48/image_31012025_05_48_26_10349.jpg
/home/pi/Desktop/images/31012025/05/48/image_31012025_05_48_35_9326.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":["1333211551","1333211554","1333211547","1333211541","1333211549"],"photo_ids_order":["1333211541","1333211547","1333211549","1333211551","1333211554"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fcb40413fe2a18568ef530c53157baa5.jpg","text":"TemporaryFile(/tmp/multipartBody9119502085978728180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298993808,"filename":"image_31012025_05_48_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/1/31/b979e702042cdce4df63321e398676a0.jpg","text":"TemporaryFile(/tmp/multipartBody1548415786017978862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298993808,"filename":"image_31012025_05_48_35_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/63f73b5255d282246dcfe8e0541fd836.jpg","text":"TemporaryFile(/tmp/multipartBody7040749501729832240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298993808,"filename":"image_31012025_05_48_05_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2b6360b66a16f0d31697393ae69179f9.jpg","text":"TemporaryFile(/tmp/multipartBody9024331360825151217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298993808,"filename":"image_31012025_05_47_56_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3c5149e5dbfb76d4bb2b0627f01649bf.jpg","text":"TemporaryFile(/tmp/multipartBody2452507641945514296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738298993808,"filename":"image_31012025_05_48_16_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333211549","file1":"1333211547","file0":"1333211541","file4":"1333211554","file3":"1333211551"},"map_files_photo_id_array":[{"photo_id":"1333211549","filename":"file2"},{"photo_id":"1333211554","filename":"file4"},{"photo_id":"1333211547","filename":"file1"},{"photo_id":"1333211541","filename":"file0"},{"photo_id":"1333211551","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333211551":["hashtag1","hashtag2"]},{"1333211554":["hashtag1","hashtag2"]},{"1333211547":["hashtag1","hashtag2"]},{"1333211541":["hashtag1","hashtag2"]},{"1333211549":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333211551, 1333211554, 1333211547, 1333211541, 1333211549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 42.5821692943573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 05:49:43.141230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/48/image_31012025_05_48_56_10430.jpg', '/home/pi/Desktop/images/31012025/05/48/image_31012025_05_49_05_9341.jpg', '/home/pi/Desktop/images/31012025/05/49/image_31012025_05_49_25_9354.jpg', '/home/pi/Desktop/images/31012025/05/49/image_31012025_05_49_36_10350.jpg', '/home/pi/Desktop/images/31012025/05/49/image_31012025_05_49_46_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/48/image_31012025_05_48_56_10430.jpg
/home/pi/Desktop/images/31012025/05/48/image_31012025_05_49_05_9341.jpg
/home/pi/Desktop/images/31012025/05/49/image_31012025_05_49_25_9354.jpg
/home/pi/Desktop/images/31012025/05/49/image_31012025_05_49_36_10350.jpg
/home/pi/Desktop/images/31012025/05/49/image_31012025_05_49_46_10446.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":["1333211575","1333211592","1333211582","1333211579","1333211600"],"photo_ids_order":["1333211575","1333211579","1333211582","1333211592","1333211600"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3bba1bef19aa1dab56d199d642347174.jpg","text":"TemporaryFile(/tmp/multipartBody2601417184786556035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299044042,"filename":"image_31012025_05_48_56_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/51f1ba4ed89f53093363eb619a8132a8.jpg","text":"TemporaryFile(/tmp/multipartBody2737274098574463022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299044042,"filename":"image_31012025_05_49_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/1/31/94dd28223ca3b4bdd50117f29955a21d.jpg","text":"TemporaryFile(/tmp/multipartBody1805011478301135428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299044042,"filename":"image_31012025_05_49_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/1/31/39c8d8925892070126af424813563ec6.jpg","text":"TemporaryFile(/tmp/multipartBody4772131044444052703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299044042,"filename":"image_31012025_05_49_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/1/31/e89228b63a46b85ffff4d7f0bad94a44.jpg","text":"TemporaryFile(/tmp/multipartBody3368512562087429902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299044042,"filename":"image_31012025_05_49_46_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333211582","file1":"1333211579","file0":"1333211575","file4":"1333211600","file3":"1333211592"},"map_files_photo_id_array":[{"photo_id":"1333211582","filename":"file2"},{"photo_id":"1333211600","filename":"file4"},{"photo_id":"1333211579","filename":"file1"},{"photo_id":"1333211575","filename":"file0"},{"photo_id":"1333211592","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333211575":["hashtag1","hashtag2"]},{"1333211592":["hashtag1","hashtag2"]},{"1333211582":["hashtag1","hashtag2"]},{"1333211579":["hashtag1","hashtag2"]},{"1333211600":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333211575, 1333211592, 1333211582, 1333211579, 1333211600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.33535432815552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:50:32.545878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/49/image_31012025_05_49_55_9336.jpg', '/home/pi/Desktop/images/31012025/05/49/image_31012025_05_50_06_10352.jpg', '/home/pi/Desktop/images/31012025/05/50/image_31012025_05_50_25_9360.jpg', '/home/pi/Desktop/images/31012025/05/50/image_31012025_05_50_36_10406.jpg', '/home/pi/Desktop/images/31012025/05/50/image_31012025_05_50_46_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/49/image_31012025_05_49_55_9336.jpg
/home/pi/Desktop/images/31012025/05/49/image_31012025_05_50_06_10352.jpg
/home/pi/Desktop/images/31012025/05/50/image_31012025_05_50_25_9360.jpg
/home/pi/Desktop/images/31012025/05/50/image_31012025_05_50_36_10406.jpg
/home/pi/Desktop/images/31012025/05/50/image_31012025_05_50_46_10370.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.506253719329834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 05:50:42.524729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/49/image_31012025_05_49_55_9336.jpg', '/home/pi/Desktop/images/31012025/05/49/image_31012025_05_50_06_10352.jpg', '/home/pi/Desktop/images/31012025/05/50/image_31012025_05_50_25_9360.jpg', '/home/pi/Desktop/images/31012025/05/50/image_31012025_05_50_36_10406.jpg', '/home/pi/Desktop/images/31012025/05/50/image_31012025_05_50_46_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/49/image_31012025_05_49_55_9336.jpg
/home/pi/Desktop/images/31012025/05/49/image_31012025_05_50_06_10352.jpg
/home/pi/Desktop/images/31012025/05/50/image_31012025_05_50_25_9360.jpg
/home/pi/Desktop/images/31012025/05/50/image_31012025_05_50_36_10406.jpg
/home/pi/Desktop/images/31012025/05/50/image_31012025_05_50_46_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":["1333211760","1333211721","1333211700","1333211714","1333211683"],"photo_ids_order":["1333211683","1333211700","1333211714","1333211721","1333211760"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bf9ffac556f0e33d2af16f2a5f0392f4.jpg","text":"TemporaryFile(/tmp/multipartBody6675114838079732889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299103433,"filename":"image_31012025_05_50_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/1/31/154b5322f870c7046390533c9b3a9aa0.jpg","text":"TemporaryFile(/tmp/multipartBody3167745649829955139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299103433,"filename":"image_31012025_05_50_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/1/31/6d7e2deb6782da797ac2678bd6c3834d.jpg","text":"TemporaryFile(/tmp/multipartBody4834218477569035935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299103433,"filename":"image_31012025_05_50_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/1/31/d94c99d24a993abbd83b970088b80e41.jpg","text":"TemporaryFile(/tmp/multipartBody9142361914469417617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299103433,"filename":"image_31012025_05_50_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/1/31/9fd1690eb32cfcd42d6dfffb4190108c.jpg","text":"TemporaryFile(/tmp/multipartBody2598913583654042026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299103433,"filename":"image_31012025_05_49_55_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333211714","file1":"1333211700","file0":"1333211683","file4":"1333211760","file3":"1333211721"},"map_files_photo_id_array":[{"photo_id":"1333211714","filename":"file2"},{"photo_id":"1333211760","filename":"file4"},{"photo_id":"1333211700","filename":"file1"},{"photo_id":"1333211683","filename":"file0"},{"photo_id":"1333211721","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333211760":["hashtag1","hashtag2"]},{"1333211721":["hashtag1","hashtag2"]},{"1333211700":["hashtag1","hashtag2"]},{"1333211714":["hashtag1","hashtag2"]},{"1333211683":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333211760, 1333211721, 1333211700, 1333211714, 1333211683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.55007767677307 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:51:32.794735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/50/image_31012025_05_50_55_9350.jpg', '/home/pi/Desktop/images/31012025/05/50/image_31012025_05_51_06_10357.jpg', '/home/pi/Desktop/images/31012025/05/51/image_31012025_05_51_15_9394.jpg', '/home/pi/Desktop/images/31012025/05/51/image_31012025_05_51_26_10412.jpg', '/home/pi/Desktop/images/31012025/05/51/image_31012025_05_51_36_10407.jpg', '/home/pi/Desktop/images/31012025/05/51/image_31012025_05_51_45_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/50/image_31012025_05_50_55_9350.jpg
/home/pi/Desktop/images/31012025/05/50/image_31012025_05_51_06_10357.jpg
/home/pi/Desktop/images/31012025/05/51/image_31012025_05_51_15_9394.jpg
/home/pi/Desktop/images/31012025/05/51/image_31012025_05_51_26_10412.jpg
/home/pi/Desktop/images/31012025/05/51/image_31012025_05_51_36_10407.jpg
/home/pi/Desktop/images/31012025/05/51/image_31012025_05_51_45_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":["1333211791","1333211788","1333211775","1333211784","1333211792","1333211780"],"photo_ids_order":["1333211775","1333211780","1333211784","1333211788","1333211791","1333211792"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/472456359ee6a967690bb7c6aa3787d6.jpg","text":"TemporaryFile(/tmp/multipartBody4216802745004964447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299153698,"filename":"image_31012025_05_51_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/1/31/2896083453bdee6769ed9083953fb3cc.jpg","text":"TemporaryFile(/tmp/multipartBody7506777086236537157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299153698,"filename":"image_31012025_05_51_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/1/31/9db4abb67853b9a48b975e4b21d9c46c.jpg","text":"TemporaryFile(/tmp/multipartBody3976947268605792843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299153698,"filename":"image_31012025_05_50_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/1/31/5ef3e2e8a5767eb77f0eb247aa878b64.jpg","text":"TemporaryFile(/tmp/multipartBody2312413744477297769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299153698,"filename":"image_31012025_05_51_15_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/875fcf4ffb4be8aa72503788176ea8fc.jpg","text":"TemporaryFile(/tmp/multipartBody735069870739267049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299153698,"filename":"image_31012025_05_51_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/1/31/e9032eb17ab112f4585803cc194f770f.jpg","text":"TemporaryFile(/tmp/multipartBody2375368850830834985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299153698,"filename":"image_31012025_05_51_06_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333211784","file1":"1333211780","file0":"1333211775","file4":"1333211791","file5":"1333211792","file3":"1333211788"},"map_files_photo_id_array":[{"photo_id":"1333211792","filename":"file5"},{"photo_id":"1333211784","filename":"file2"},{"photo_id":"1333211791","filename":"file4"},{"photo_id":"1333211780","filename":"file1"},{"photo_id":"1333211775","filename":"file0"},{"photo_id":"1333211788","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333211791":["hashtag1","hashtag2"]},{"1333211788":["hashtag1","hashtag2"]},{"1333211775":["hashtag1","hashtag2"]},{"1333211784":["hashtag1","hashtag2"]},{"1333211792":["hashtag1","hashtag2"]},{"1333211780":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333211791, 1333211788, 1333211775, 1333211784, 1333211792, 1333211780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.17661166191101 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:52:32.996334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/51/image_31012025_05_51_56_10408.jpg', '/home/pi/Desktop/images/31012025/05/51/image_31012025_05_52_05_9428.jpg', '/home/pi/Desktop/images/31012025/05/52/image_31012025_05_52_16_10364.jpg', '/home/pi/Desktop/images/31012025/05/52/image_31012025_05_52_26_10410.jpg', '/home/pi/Desktop/images/31012025/05/52/image_31012025_05_52_35_9345.jpg', '/home/pi/Desktop/images/31012025/05/52/image_31012025_05_52_46_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/51/image_31012025_05_51_56_10408.jpg
/home/pi/Desktop/images/31012025/05/51/image_31012025_05_52_05_9428.jpg
/home/pi/Desktop/images/31012025/05/52/image_31012025_05_52_16_10364.jpg
/home/pi/Desktop/images/31012025/05/52/image_31012025_05_52_26_10410.jpg
/home/pi/Desktop/images/31012025/05/52/image_31012025_05_52_35_9345.jpg
/home/pi/Desktop/images/31012025/05/52/image_31012025_05_52_46_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":["1333211830","1333211868","1333211862","1333211871","1333211838","1333211808"],"photo_ids_order":["1333211808","1333211830","1333211838","1333211862","1333211868","1333211871"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/839f932c646c161b933efd08fd2d9c33.jpg","text":"TemporaryFile(/tmp/multipartBody7157457124508410544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299213897,"filename":"image_31012025_05_52_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/1/31/824ba5e272ff61af2e50b17d079c4601.jpg","text":"TemporaryFile(/tmp/multipartBody5306925333362699358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299213897,"filename":"image_31012025_05_52_35_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9fc40f3a2b7b25efb021f68f430175e6.jpg","text":"TemporaryFile(/tmp/multipartBody5202485459904043518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299213897,"filename":"image_31012025_05_52_26_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5c3f286b5a420aa109cb761c9700535f.jpg","text":"TemporaryFile(/tmp/multipartBody2346608889670668567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299213897,"filename":"image_31012025_05_52_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/1/31/731d169d010b33e59791c0f356570a78.jpg","text":"TemporaryFile(/tmp/multipartBody248353317870352892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299213897,"filename":"image_31012025_05_52_16_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/433c235ff8c81f13ebb72603cffaeac8.jpg","text":"TemporaryFile(/tmp/multipartBody4774976868993807874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299213897,"filename":"image_31012025_05_51_56_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333211838","file1":"1333211830","file0":"1333211808","file4":"1333211868","file5":"1333211871","file3":"1333211862"},"map_files_photo_id_array":[{"photo_id":"1333211871","filename":"file5"},{"photo_id":"1333211838","filename":"file2"},{"photo_id":"1333211868","filename":"file4"},{"photo_id":"1333211830","filename":"file1"},{"photo_id":"1333211808","filename":"file0"},{"photo_id":"1333211862","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333211830":["hashtag1","hashtag2"]},{"1333211868":["hashtag1","hashtag2"]},{"1333211862":["hashtag1","hashtag2"]},{"1333211871":["hashtag1","hashtag2"]},{"1333211838":["hashtag1","hashtag2"]},{"1333211808":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333211830, 1333211868, 1333211862, 1333211871, 1333211838, 1333211808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.099984645843506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:53:32.263985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/52/image_31012025_05_52_56_10355.jpg', '/home/pi/Desktop/images/31012025/05/52/image_31012025_05_53_06_9428.jpg', '/home/pi/Desktop/images/31012025/05/53/image_31012025_05_53_16_10418.jpg', '/home/pi/Desktop/images/31012025/05/53/image_31012025_05_53_25_9353.jpg', '/home/pi/Desktop/images/31012025/05/53/image_31012025_05_53_36_10401.jpg', '/home/pi/Desktop/images/31012025/05/53/image_31012025_05_53_46_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/52/image_31012025_05_52_56_10355.jpg
/home/pi/Desktop/images/31012025/05/52/image_31012025_05_53_06_9428.jpg
/home/pi/Desktop/images/31012025/05/53/image_31012025_05_53_16_10418.jpg
/home/pi/Desktop/images/31012025/05/53/image_31012025_05_53_25_9353.jpg
/home/pi/Desktop/images/31012025/05/53/image_31012025_05_53_36_10401.jpg
/home/pi/Desktop/images/31012025/05/53/image_31012025_05_53_46_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":["1333211926","1333211911","1333211920","1333211905","1333211922","1333211915"],"photo_ids_order":["1333211905","1333211911","1333211915","1333211920","1333211922","1333211926"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2af8bfc957f82b7bfd832616f46ef1ac.jpg","text":"TemporaryFile(/tmp/multipartBody3709581379996996457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299273205,"filename":"image_31012025_05_53_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/1/31/b08c6424e93b83729d067db5f19cf7f3.jpg","text":"TemporaryFile(/tmp/multipartBody8722995810626779298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299273205,"filename":"image_31012025_05_53_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/1/31/b80f3a979fed38895348d48a16be186d.jpg","text":"TemporaryFile(/tmp/multipartBody2856260035837320889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299273205,"filename":"image_31012025_05_53_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/1/31/ce8928618847258c49d5302adb8a4ccc.jpg","text":"TemporaryFile(/tmp/multipartBody8926083219555313041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299273205,"filename":"image_31012025_05_52_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/1/31/80430c45d0e54bd037f83357f443464d.jpg","text":"TemporaryFile(/tmp/multipartBody7062348278385501755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299273205,"filename":"image_31012025_05_53_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/1/31/d9cc651ba39cca7162709e9de20170c0.jpg","text":"TemporaryFile(/tmp/multipartBody3125025180637384552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299273205,"filename":"image_31012025_05_53_16_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333211915","file1":"1333211911","file0":"1333211905","file4":"1333211922","file5":"1333211926","file3":"1333211920"},"map_files_photo_id_array":[{"photo_id":"1333211926","filename":"file5"},{"photo_id":"1333211915","filename":"file2"},{"photo_id":"1333211922","filename":"file4"},{"photo_id":"1333211911","filename":"file1"},{"photo_id":"1333211905","filename":"file0"},{"photo_id":"1333211920","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333211926":["hashtag1","hashtag2"]},{"1333211911":["hashtag1","hashtag2"]},{"1333211920":["hashtag1","hashtag2"]},{"1333211905":["hashtag1","hashtag2"]},{"1333211922":["hashtag1","hashtag2"]},{"1333211915":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333211926, 1333211911, 1333211920, 1333211905, 1333211922, 1333211915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30669331550598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:54:32.636654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/53/image_31012025_05_53_56_9432.jpg', '/home/pi/Desktop/images/31012025/05/53/image_31012025_05_54_06_10357.jpg', '/home/pi/Desktop/images/31012025/05/54/image_31012025_05_54_15_9350.jpg', '/home/pi/Desktop/images/31012025/05/54/image_31012025_05_54_26_10356.jpg', '/home/pi/Desktop/images/31012025/05/54/image_31012025_05_54_36_10354.jpg', '/home/pi/Desktop/images/31012025/05/54/image_31012025_05_54_45_9372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/53/image_31012025_05_53_56_9432.jpg
/home/pi/Desktop/images/31012025/05/53/image_31012025_05_54_06_10357.jpg
/home/pi/Desktop/images/31012025/05/54/image_31012025_05_54_15_9350.jpg
/home/pi/Desktop/images/31012025/05/54/image_31012025_05_54_26_10356.jpg
/home/pi/Desktop/images/31012025/05/54/image_31012025_05_54_36_10354.jpg
/home/pi/Desktop/images/31012025/05/54/image_31012025_05_54_45_9372.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5530662536621094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 05:54:42.706572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/53/image_31012025_05_53_56_9432.jpg', '/home/pi/Desktop/images/31012025/05/53/image_31012025_05_54_06_10357.jpg', '/home/pi/Desktop/images/31012025/05/54/image_31012025_05_54_15_9350.jpg', '/home/pi/Desktop/images/31012025/05/54/image_31012025_05_54_26_10356.jpg', '/home/pi/Desktop/images/31012025/05/54/image_31012025_05_54_36_10354.jpg', '/home/pi/Desktop/images/31012025/05/54/image_31012025_05_54_45_9372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/53/image_31012025_05_53_56_9432.jpg
/home/pi/Desktop/images/31012025/05/53/image_31012025_05_54_06_10357.jpg
/home/pi/Desktop/images/31012025/05/54/image_31012025_05_54_15_9350.jpg
/home/pi/Desktop/images/31012025/05/54/image_31012025_05_54_26_10356.jpg
/home/pi/Desktop/images/31012025/05/54/image_31012025_05_54_36_10354.jpg
/home/pi/Desktop/images/31012025/05/54/image_31012025_05_54_45_9372.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":["1333211971","1333211973","1333211964","1333211960","1333211954","1333211968"],"photo_ids_order":["1333211954","1333211960","1333211964","1333211968","1333211971","1333211973"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9bfd3fbdf9aa05b3db7c8cefefada3d4.jpg","text":"TemporaryFile(/tmp/multipartBody3749240631055377896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299343624,"filename":"image_31012025_05_54_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/1/31/1bd3ca5b42baad67ec2405ee00eede5e.jpg","text":"TemporaryFile(/tmp/multipartBody1805139393496360806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299343624,"filename":"image_31012025_05_54_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/1/31/e54b27457af5e98963da16c0fdbdc401.jpg","text":"TemporaryFile(/tmp/multipartBody8459016999618360079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299343624,"filename":"image_31012025_05_54_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/1/31/0a3ca4643450586cb4f67df9e5e0feee.jpg","text":"TemporaryFile(/tmp/multipartBody5383021541781500450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299343624,"filename":"image_31012025_05_54_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/1/31/bd6b4d58c0e3cb9fee08e4e1b5bf4cc8.jpg","text":"TemporaryFile(/tmp/multipartBody3013875437955077018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299343624,"filename":"image_31012025_05_53_56_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9d96097c94ad3ce36e571c6b007ea7e3.jpg","text":"TemporaryFile(/tmp/multipartBody4718597481185765425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299343624,"filename":"image_31012025_05_54_26_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333211964","file1":"1333211960","file0":"1333211954","file4":"1333211971","file5":"1333211973","file3":"1333211968"},"map_files_photo_id_array":[{"photo_id":"1333211973","filename":"file5"},{"photo_id":"1333211964","filename":"file2"},{"photo_id":"1333211971","filename":"file4"},{"photo_id":"1333211960","filename":"file1"},{"photo_id":"1333211954","filename":"file0"},{"photo_id":"1333211968","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333211971":["hashtag1","hashtag2"]},{"1333211973":["hashtag1","hashtag2"]},{"1333211964":["hashtag1","hashtag2"]},{"1333211960":["hashtag1","hashtag2"]},{"1333211954":["hashtag1","hashtag2"]},{"1333211968":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333211971, 1333211973, 1333211964, 1333211960, 1333211954, 1333211968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.900209188461304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:55:32.807739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/54/image_31012025_05_54_56_10452.jpg', '/home/pi/Desktop/images/31012025/05/54/image_31012025_05_55_05_9430.jpg', '/home/pi/Desktop/images/31012025/05/55/image_31012025_05_55_16_10375.jpg', '/home/pi/Desktop/images/31012025/05/55/image_31012025_05_55_26_10356.jpg', '/home/pi/Desktop/images/31012025/05/55/image_31012025_05_55_35_9362.jpg', '/home/pi/Desktop/images/31012025/05/55/image_31012025_05_55_46_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/54/image_31012025_05_54_56_10452.jpg
/home/pi/Desktop/images/31012025/05/54/image_31012025_05_55_05_9430.jpg
/home/pi/Desktop/images/31012025/05/55/image_31012025_05_55_16_10375.jpg
/home/pi/Desktop/images/31012025/05/55/image_31012025_05_55_26_10356.jpg
/home/pi/Desktop/images/31012025/05/55/image_31012025_05_55_35_9362.jpg
/home/pi/Desktop/images/31012025/05/55/image_31012025_05_55_46_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":["1333211998","1333212001","1333211991","1333211994","1333211988","1333212005"],"photo_ids_order":["1333211988","1333211991","1333211994","1333211998","1333212001","1333212005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/472ba3ca0f35acf503fc65824c5cb254.jpg","text":"TemporaryFile(/tmp/multipartBody2978321198625136431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299393729,"filename":"image_31012025_05_55_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/1/31/895984204ce74a53683327188ca12f64.jpg","text":"TemporaryFile(/tmp/multipartBody2161943864450985642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299393729,"filename":"image_31012025_05_55_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/1/31/800d8be97a79805a35b7d312925caae5.jpg","text":"TemporaryFile(/tmp/multipartBody3792769967760753102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299393729,"filename":"image_31012025_05_55_05_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/64b001c9e14d1afc0bd3e2b2c6ac1566.jpg","text":"TemporaryFile(/tmp/multipartBody4163105819909522511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299393729,"filename":"image_31012025_05_55_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/1/31/253d1a4fd647c1b7364bebe4428b3f7c.jpg","text":"TemporaryFile(/tmp/multipartBody7780324189291141015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299393729,"filename":"image_31012025_05_54_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/1/31/21129e00c36475838a7c215cf611d1d1.jpg","text":"TemporaryFile(/tmp/multipartBody2929725264877144797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299393729,"filename":"image_31012025_05_55_46_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333211994","file1":"1333211991","file0":"1333211988","file4":"1333212001","file5":"1333212005","file3":"1333211998"},"map_files_photo_id_array":[{"photo_id":"1333212005","filename":"file5"},{"photo_id":"1333211994","filename":"file2"},{"photo_id":"1333212001","filename":"file4"},{"photo_id":"1333211991","filename":"file1"},{"photo_id":"1333211988","filename":"file0"},{"photo_id":"1333211998","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333211998":["hashtag1","hashtag2"]},{"1333212001":["hashtag1","hashtag2"]},{"1333211991":["hashtag1","hashtag2"]},{"1333211994":["hashtag1","hashtag2"]},{"1333211988":["hashtag1","hashtag2"]},{"1333212005":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333211998, 1333212001, 1333211991, 1333211994, 1333211988, 1333212005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.478638648986816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:56:32.925024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/55/image_31012025_05_55_56_10366.jpg', '/home/pi/Desktop/images/31012025/05/55/image_31012025_05_56_05_9338.jpg', '/home/pi/Desktop/images/31012025/05/56/image_31012025_05_56_16_10451.jpg', '/home/pi/Desktop/images/31012025/05/56/image_31012025_05_56_25_9439.jpg', '/home/pi/Desktop/images/31012025/05/56/image_31012025_05_56_36_10358.jpg', '/home/pi/Desktop/images/31012025/05/56/image_31012025_05_56_46_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/55/image_31012025_05_55_56_10366.jpg
/home/pi/Desktop/images/31012025/05/55/image_31012025_05_56_05_9338.jpg
/home/pi/Desktop/images/31012025/05/56/image_31012025_05_56_16_10451.jpg
/home/pi/Desktop/images/31012025/05/56/image_31012025_05_56_25_9439.jpg
/home/pi/Desktop/images/31012025/05/56/image_31012025_05_56_36_10358.jpg
/home/pi/Desktop/images/31012025/05/56/image_31012025_05_56_46_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":["1333212054","1333212057","1333212042","1333212059","1333212047","1333212037"],"photo_ids_order":["1333212037","1333212042","1333212047","1333212054","1333212057","1333212059"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5dca0cf5f3855a85cfaf2102b293d431.jpg","text":"TemporaryFile(/tmp/multipartBody836701451890427021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299453864,"filename":"image_31012025_05_56_25_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/653bdf6f1c64fb0e67b55a107e7bfdc3.jpg","text":"TemporaryFile(/tmp/multipartBody8664948669053238111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299453864,"filename":"image_31012025_05_56_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/1/31/ca6eafef3468ff5aba736428867aa89a.jpg","text":"TemporaryFile(/tmp/multipartBody3116564442474591353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299453864,"filename":"image_31012025_05_56_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/1/31/84842d57f5e0b83987f2a2cf16f4cd3f.jpg","text":"TemporaryFile(/tmp/multipartBody4974994586482715993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299453864,"filename":"image_31012025_05_56_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/1/31/7de6d0aef5437babf1366e12ae8ab1e7.jpg","text":"TemporaryFile(/tmp/multipartBody3716829108856611680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299453864,"filename":"image_31012025_05_56_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/1/31/cc0ed1438a657cca03fc5f06a0666377.jpg","text":"TemporaryFile(/tmp/multipartBody7559905168422642444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299453864,"filename":"image_31012025_05_55_56_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333212047","file1":"1333212042","file0":"1333212037","file4":"1333212057","file5":"1333212059","file3":"1333212054"},"map_files_photo_id_array":[{"photo_id":"1333212059","filename":"file5"},{"photo_id":"1333212047","filename":"file2"},{"photo_id":"1333212057","filename":"file4"},{"photo_id":"1333212042","filename":"file1"},{"photo_id":"1333212037","filename":"file0"},{"photo_id":"1333212054","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333212054":["hashtag1","hashtag2"]},{"1333212057":["hashtag1","hashtag2"]},{"1333212042":["hashtag1","hashtag2"]},{"1333212059":["hashtag1","hashtag2"]},{"1333212047":["hashtag1","hashtag2"]},{"1333212037":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333212054, 1333212057, 1333212042, 1333212059, 1333212047, 1333212037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.97422933578491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:57:32.265126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/56/image_31012025_05_56_55_9350.jpg', '/home/pi/Desktop/images/31012025/05/56/image_31012025_05_57_06_10423.jpg', '/home/pi/Desktop/images/31012025/05/57/image_31012025_05_57_16_10357.jpg', '/home/pi/Desktop/images/31012025/05/57/image_31012025_05_57_26_9433.jpg', '/home/pi/Desktop/images/31012025/05/57/image_31012025_05_57_36_10462.jpg', '/home/pi/Desktop/images/31012025/05/57/image_31012025_05_57_45_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/56/image_31012025_05_56_55_9350.jpg
/home/pi/Desktop/images/31012025/05/56/image_31012025_05_57_06_10423.jpg
/home/pi/Desktop/images/31012025/05/57/image_31012025_05_57_16_10357.jpg
/home/pi/Desktop/images/31012025/05/57/image_31012025_05_57_26_9433.jpg
/home/pi/Desktop/images/31012025/05/57/image_31012025_05_57_36_10462.jpg
/home/pi/Desktop/images/31012025/05/57/image_31012025_05_57_45_9351.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 www.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-01-31 05:59:04.503918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/56/image_31012025_05_56_55_9350.jpg', '/home/pi/Desktop/images/31012025/05/56/image_31012025_05_57_06_10423.jpg', '/home/pi/Desktop/images/31012025/05/57/image_31012025_05_57_16_10357.jpg', '/home/pi/Desktop/images/31012025/05/57/image_31012025_05_57_26_9433.jpg', '/home/pi/Desktop/images/31012025/05/57/image_31012025_05_57_36_10462.jpg', '/home/pi/Desktop/images/31012025/05/57/image_31012025_05_57_45_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/56/image_31012025_05_56_55_9350.jpg
/home/pi/Desktop/images/31012025/05/56/image_31012025_05_57_06_10423.jpg
/home/pi/Desktop/images/31012025/05/57/image_31012025_05_57_16_10357.jpg
/home/pi/Desktop/images/31012025/05/57/image_31012025_05_57_26_9433.jpg
/home/pi/Desktop/images/31012025/05/57/image_31012025_05_57_36_10462.jpg
/home/pi/Desktop/images/31012025/05/57/image_31012025_05_57_45_9351.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":["1333212415","1333212434","1333212422","1333212431","1333212419","1333212407"],"photo_ids_order":["1333212407","1333212415","1333212419","1333212422","1333212431","1333212434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/700f2ffdf4fad4a172a814b3a9f6fc9e.jpg","text":"TemporaryFile(/tmp/multipartBody9046383979472012001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299605543,"filename":"image_31012025_05_57_06_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d4ac64dc3086b6d5747fc51fc9ec907c.jpg","text":"TemporaryFile(/tmp/multipartBody4689422373196798263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299605543,"filename":"image_31012025_05_57_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/1/31/d14582f704bf9ef4fc8e950c182a89e7.jpg","text":"TemporaryFile(/tmp/multipartBody8884420399954380186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299605543,"filename":"image_31012025_05_57_26_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/24028e78302b03b09f0e94fced5cbdd1.jpg","text":"TemporaryFile(/tmp/multipartBody1553223075109590983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299605543,"filename":"image_31012025_05_57_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/1/31/0fe405e9f66d74ff6299521ad004f0fe.jpg","text":"TemporaryFile(/tmp/multipartBody659716051445904083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299605543,"filename":"image_31012025_05_57_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/1/31/5f314555bb7c398906ae3dc78f6edc73.jpg","text":"TemporaryFile(/tmp/multipartBody1434101031395224744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299605543,"filename":"image_31012025_05_56_55_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333212419","file1":"1333212415","file0":"1333212407","file4":"1333212431","file5":"1333212434","file3":"1333212422"},"map_files_photo_id_array":[{"photo_id":"1333212434","filename":"file5"},{"photo_id":"1333212419","filename":"file2"},{"photo_id":"1333212431","filename":"file4"},{"photo_id":"1333212415","filename":"file1"},{"photo_id":"1333212407","filename":"file0"},{"photo_id":"1333212422","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333212415":["hashtag1","hashtag2"]},{"1333212434":["hashtag1","hashtag2"]},{"1333212422":["hashtag1","hashtag2"]},{"1333212431":["hashtag1","hashtag2"]},{"1333212419":["hashtag1","hashtag2"]},{"1333212407":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333212415, 1333212434, 1333212422, 1333212431, 1333212419, 1333212407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.7787606716156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 05:59:53.089251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/57/image_31012025_05_57_56_10420.jpg', '/home/pi/Desktop/images/31012025/05/58/image_31012025_05_58_16_10505.jpg', '/home/pi/Desktop/images/31012025/05/58/image_31012025_05_58_35_9336.jpg', '/home/pi/Desktop/images/31012025/05/58/image_31012025_05_58_46_10452.jpg', '/home/pi/Desktop/images/31012025/05/58/image_31012025_05_58_55_9418.jpg', '/home/pi/Desktop/images/31012025/05/58/image_31012025_05_59_06_10430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/57/image_31012025_05_57_56_10420.jpg
/home/pi/Desktop/images/31012025/05/58/image_31012025_05_58_16_10505.jpg
/home/pi/Desktop/images/31012025/05/58/image_31012025_05_58_35_9336.jpg
/home/pi/Desktop/images/31012025/05/58/image_31012025_05_58_46_10452.jpg
/home/pi/Desktop/images/31012025/05/58/image_31012025_05_58_55_9418.jpg
/home/pi/Desktop/images/31012025/05/58/image_31012025_05_59_06_10430.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":["1333212442","1333212444","1333212467","1333212458","1333212496","1333212463"],"photo_ids_order":["1333212442","1333212444","1333212458","1333212463","1333212467","1333212496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/480cb0226e1ca5922794e1746dfd1f56.jpg","text":"TemporaryFile(/tmp/multipartBody6481526183537118228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299654042,"filename":"image_31012025_05_57_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/1/31/55704d6db3b35dde1d71e8a678c14c20.jpg","text":"TemporaryFile(/tmp/multipartBody3345303510441584969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299654042,"filename":"image_31012025_05_58_16_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0e998ae72d37c05e767738823849c6c9.jpg","text":"TemporaryFile(/tmp/multipartBody8253394380009789170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299654042,"filename":"image_31012025_05_58_55_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e46163a2b15769023d87c8310d5c0067.jpg","text":"TemporaryFile(/tmp/multipartBody8681591986550424699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299654042,"filename":"image_31012025_05_58_35_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2e9d2b22a7c01fc837cd64bbb25067cb.jpg","text":"TemporaryFile(/tmp/multipartBody268175419089727357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299654042,"filename":"image_31012025_05_59_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/1/31/94c6de5964fb892a9af71439723f3281.jpg","text":"TemporaryFile(/tmp/multipartBody7652139436738470894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299654042,"filename":"image_31012025_05_58_46_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333212458","file1":"1333212444","file0":"1333212442","file4":"1333212467","file5":"1333212496","file3":"1333212463"},"map_files_photo_id_array":[{"photo_id":"1333212496","filename":"file5"},{"photo_id":"1333212458","filename":"file2"},{"photo_id":"1333212467","filename":"file4"},{"photo_id":"1333212444","filename":"file1"},{"photo_id":"1333212442","filename":"file0"},{"photo_id":"1333212463","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333212442":["hashtag1","hashtag2"]},{"1333212444":["hashtag1","hashtag2"]},{"1333212467":["hashtag1","hashtag2"]},{"1333212458":["hashtag1","hashtag2"]},{"1333212496":["hashtag1","hashtag2"]},{"1333212463":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333212442, 1333212444, 1333212467, 1333212458, 1333212496, 1333212463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.502792835235596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 06:00:42.356296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/05/59/image_31012025_05_59_15_9455.jpg', '/home/pi/Desktop/images/31012025/05/59/image_31012025_05_59_26_10371.jpg', '/home/pi/Desktop/images/31012025/05/59/image_31012025_05_59_36_10428.jpg', '/home/pi/Desktop/images/31012025/05/59/image_31012025_05_59_45_9391.jpg', '/home/pi/Desktop/images/31012025/05/59/image_31012025_05_59_56_10453.jpg', '/home/pi/Desktop/images/31012025/06/00/image_31012025_06_00_16_10072.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/05/59/image_31012025_05_59_15_9455.jpg
/home/pi/Desktop/images/31012025/05/59/image_31012025_05_59_26_10371.jpg
/home/pi/Desktop/images/31012025/05/59/image_31012025_05_59_36_10428.jpg
/home/pi/Desktop/images/31012025/05/59/image_31012025_05_59_45_9391.jpg
/home/pi/Desktop/images/31012025/05/59/image_31012025_05_59_56_10453.jpg
/home/pi/Desktop/images/31012025/06/00/image_31012025_06_00_16_10072.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":["1333212573","1333212567","1333212510","1333212589","1333212598","1333212592"],"photo_ids_order":["1333212510","1333212567","1333212573","1333212589","1333212592","1333212598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2c1bdb1a792d6b8b3f4ad14c99dbe5ce.jpg","text":"TemporaryFile(/tmp/multipartBody200360414153974239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299703289,"filename":"image_31012025_05_59_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/1/31/e51e252f75b181d4f519991a52c4df8c.jpg","text":"TemporaryFile(/tmp/multipartBody1214716907704108399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299703289,"filename":"image_31012025_05_59_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/1/31/e7a33035893b5b936892d70650466beb.jpg","text":"TemporaryFile(/tmp/multipartBody124465330726113403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299703289,"filename":"image_31012025_05_59_15_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7d26fbf27379878fc0d83a014d1b5266.jpg","text":"TemporaryFile(/tmp/multipartBody7700622543688733842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299703289,"filename":"image_31012025_05_59_45_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/745cdd73fe4d73a11b1b4d66e4259734.jpg","text":"TemporaryFile(/tmp/multipartBody289920067763856843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299703289,"filename":"image_31012025_06_00_16_10072.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d9d3fad5437f7a5ffcf67574c866da1b.jpg","text":"TemporaryFile(/tmp/multipartBody5730096602329250848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299703289,"filename":"image_31012025_05_59_56_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333212573","file1":"1333212567","file0":"1333212510","file4":"1333212592","file5":"1333212598","file3":"1333212589"},"map_files_photo_id_array":[{"photo_id":"1333212598","filename":"file5"},{"photo_id":"1333212573","filename":"file2"},{"photo_id":"1333212592","filename":"file4"},{"photo_id":"1333212567","filename":"file1"},{"photo_id":"1333212510","filename":"file0"},{"photo_id":"1333212589","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333212573":["hashtag1","hashtag2"]},{"1333212567":["hashtag1","hashtag2"]},{"1333212510":["hashtag1","hashtag2"]},{"1333212589":["hashtag1","hashtag2"]},{"1333212598":["hashtag1","hashtag2"]},{"1333212592":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333212573, 1333212567, 1333212510, 1333212589, 1333212598, 1333212592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.63421964645386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:01:32.644878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/00/image_31012025_06_00_27_10343.jpg', '/home/pi/Desktop/images/31012025/06/00/image_31012025_06_00_37_10435.jpg', '/home/pi/Desktop/images/31012025/06/00/image_31012025_06_00_46_9339.jpg', '/home/pi/Desktop/images/31012025/06/00/image_31012025_06_00_57_10433.jpg', '/home/pi/Desktop/images/31012025/06/00/image_31012025_06_01_07_10354.jpg', '/home/pi/Desktop/images/31012025/06/01/image_31012025_06_01_17_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/00/image_31012025_06_00_27_10343.jpg
/home/pi/Desktop/images/31012025/06/00/image_31012025_06_00_37_10435.jpg
/home/pi/Desktop/images/31012025/06/00/image_31012025_06_00_46_9339.jpg
/home/pi/Desktop/images/31012025/06/00/image_31012025_06_00_57_10433.jpg
/home/pi/Desktop/images/31012025/06/00/image_31012025_06_01_07_10354.jpg
/home/pi/Desktop/images/31012025/06/01/image_31012025_06_01_17_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":["1333212619","1333212624","1333212627","1333212609","1333212629","1333212614"],"photo_ids_order":["1333212609","1333212614","1333212619","1333212624","1333212627","1333212629"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a2d8231197aa4079b5d1449234c02fe5.jpg","text":"TemporaryFile(/tmp/multipartBody276224897411918172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299753553,"filename":"image_31012025_06_00_46_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/56f4250e0482f93125028c661403670d.jpg","text":"TemporaryFile(/tmp/multipartBody4774766230910382300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299753553,"filename":"image_31012025_06_00_57_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/abf729a889ac03d6d33015c25912e3c7.jpg","text":"TemporaryFile(/tmp/multipartBody6101917906523256194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299753553,"filename":"image_31012025_06_01_07_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fb7659aa6029817ef5df76ce617d27df.jpg","text":"TemporaryFile(/tmp/multipartBody2951651015878144366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299753553,"filename":"image_31012025_06_00_27_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fdb45e77e8380c173b3e58a946f905ae.jpg","text":"TemporaryFile(/tmp/multipartBody1935143429090940686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299753553,"filename":"image_31012025_06_01_17_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/da5639db1d6e579f413fb54692cfd92f.jpg","text":"TemporaryFile(/tmp/multipartBody7709509152874092432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299753553,"filename":"image_31012025_06_00_37_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333212619","file1":"1333212614","file0":"1333212609","file4":"1333212627","file5":"1333212629","file3":"1333212624"},"map_files_photo_id_array":[{"photo_id":"1333212629","filename":"file5"},{"photo_id":"1333212619","filename":"file2"},{"photo_id":"1333212627","filename":"file4"},{"photo_id":"1333212614","filename":"file1"},{"photo_id":"1333212609","filename":"file0"},{"photo_id":"1333212624","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333212619":["hashtag1","hashtag2"]},{"1333212624":["hashtag1","hashtag2"]},{"1333212627":["hashtag1","hashtag2"]},{"1333212609":["hashtag1","hashtag2"]},{"1333212629":["hashtag1","hashtag2"]},{"1333212614":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333212619, 1333212624, 1333212627, 1333212609, 1333212629, 1333212614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06787586212158 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:02:32.713703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/01/image_31012025_06_01_27_10379.jpg', '/home/pi/Desktop/images/31012025/06/01/image_31012025_06_01_36_9397.jpg', '/home/pi/Desktop/images/31012025/06/01/image_31012025_06_01_47_10446.jpg', '/home/pi/Desktop/images/31012025/06/01/image_31012025_06_01_57_10340.jpg', '/home/pi/Desktop/images/31012025/06/01/image_31012025_06_02_06_9336.jpg', '/home/pi/Desktop/images/31012025/06/02/image_31012025_06_02_17_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/01/image_31012025_06_01_27_10379.jpg
/home/pi/Desktop/images/31012025/06/01/image_31012025_06_01_36_9397.jpg
/home/pi/Desktop/images/31012025/06/01/image_31012025_06_01_47_10446.jpg
/home/pi/Desktop/images/31012025/06/01/image_31012025_06_01_57_10340.jpg
/home/pi/Desktop/images/31012025/06/01/image_31012025_06_02_06_9336.jpg
/home/pi/Desktop/images/31012025/06/02/image_31012025_06_02_17_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":["1333212654","1333212648","1333212651","1333212665","1333212668","1333212664"],"photo_ids_order":["1333212648","1333212651","1333212654","1333212664","1333212665","1333212668"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b492c1d690915d3d07f2adae702c66b9.jpg","text":"TemporaryFile(/tmp/multipartBody7310125851977108446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299813630,"filename":"image_31012025_06_01_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/1/31/586d60dcd9e1a6312cb55de27bba5e91.jpg","text":"TemporaryFile(/tmp/multipartBody2119407207817834489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299813630,"filename":"image_31012025_06_01_27_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dc509e116196b301f48a22a73d926485.jpg","text":"TemporaryFile(/tmp/multipartBody1495955296575734287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299813630,"filename":"image_31012025_06_01_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/1/31/3c26f17ddc291fdee77c6970cea8f5a8.jpg","text":"TemporaryFile(/tmp/multipartBody349235819528336746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299813630,"filename":"image_31012025_06_02_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/1/31/4575e082e32fa89decfde8a6a27e8081.jpg","text":"TemporaryFile(/tmp/multipartBody1954980517213759324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299813630,"filename":"image_31012025_06_02_17_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b63557115e8f42a933fc436df9f681f6.jpg","text":"TemporaryFile(/tmp/multipartBody8352268293464516635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299813630,"filename":"image_31012025_06_01_57_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333212654","file1":"1333212651","file0":"1333212648","file4":"1333212665","file5":"1333212668","file3":"1333212664"},"map_files_photo_id_array":[{"photo_id":"1333212668","filename":"file5"},{"photo_id":"1333212654","filename":"file2"},{"photo_id":"1333212665","filename":"file4"},{"photo_id":"1333212651","filename":"file1"},{"photo_id":"1333212648","filename":"file0"},{"photo_id":"1333212664","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333212654":["hashtag1","hashtag2"]},{"1333212648":["hashtag1","hashtag2"]},{"1333212651":["hashtag1","hashtag2"]},{"1333212665":["hashtag1","hashtag2"]},{"1333212668":["hashtag1","hashtag2"]},{"1333212664":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333212654, 1333212648, 1333212651, 1333212665, 1333212668, 1333212664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.84266996383667 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:03:32.891867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/02/image_31012025_06_02_26_9363.jpg', '/home/pi/Desktop/images/31012025/06/02/image_31012025_06_02_37_10347.jpg', '/home/pi/Desktop/images/31012025/06/02/image_31012025_06_02_47_10086.jpg', '/home/pi/Desktop/images/31012025/06/02/image_31012025_06_02_57_10337.jpg', '/home/pi/Desktop/images/31012025/06/02/image_31012025_06_03_07_9710.jpg', '/home/pi/Desktop/images/31012025/06/03/image_31012025_06_03_17_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/02/image_31012025_06_02_26_9363.jpg
/home/pi/Desktop/images/31012025/06/02/image_31012025_06_02_37_10347.jpg
/home/pi/Desktop/images/31012025/06/02/image_31012025_06_02_47_10086.jpg
/home/pi/Desktop/images/31012025/06/02/image_31012025_06_02_57_10337.jpg
/home/pi/Desktop/images/31012025/06/02/image_31012025_06_03_07_9710.jpg
/home/pi/Desktop/images/31012025/06/03/image_31012025_06_03_17_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":["1333212712","1333212715","1333212720","1333212717","1333212708","1333212710"],"photo_ids_order":["1333212708","1333212710","1333212712","1333212715","1333212717","1333212720"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1af489fdbeb32b71f01a36bb6c2f5ab8.jpg","text":"TemporaryFile(/tmp/multipartBody3799000087222088131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299873805,"filename":"image_31012025_06_02_47_10086.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f119abe538dfb34332f5a7df5869fb8d.jpg","text":"TemporaryFile(/tmp/multipartBody3976275684798461876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299873805,"filename":"image_31012025_06_02_57_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/65564733c316c97bfb0138b36cbdc690.jpg","text":"TemporaryFile(/tmp/multipartBody7254030645650136211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299873805,"filename":"image_31012025_06_03_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/1/31/d0f0a3832b184ce9779b42ea789d2b5b.jpg","text":"TemporaryFile(/tmp/multipartBody8974699298181193213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299873805,"filename":"image_31012025_06_03_07_9710.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/893189d0d6f20a4a71a8efff8087201e.jpg","text":"TemporaryFile(/tmp/multipartBody5534190342832064551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299873805,"filename":"image_31012025_06_02_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/1/31/6adc75e8f29619e7f7e51180b82d78aa.jpg","text":"TemporaryFile(/tmp/multipartBody1592504078157066558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299873805,"filename":"image_31012025_06_02_37_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333212712","file1":"1333212710","file0":"1333212708","file4":"1333212717","file5":"1333212720","file3":"1333212715"},"map_files_photo_id_array":[{"photo_id":"1333212720","filename":"file5"},{"photo_id":"1333212712","filename":"file2"},{"photo_id":"1333212717","filename":"file4"},{"photo_id":"1333212710","filename":"file1"},{"photo_id":"1333212708","filename":"file0"},{"photo_id":"1333212715","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333212712":["hashtag1","hashtag2"]},{"1333212715":["hashtag1","hashtag2"]},{"1333212720":["hashtag1","hashtag2"]},{"1333212717":["hashtag1","hashtag2"]},{"1333212708":["hashtag1","hashtag2"]},{"1333212710":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333212712, 1333212715, 1333212720, 1333212717, 1333212708, 1333212710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.047364711761475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:04:33.067572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/03/image_31012025_06_03_26_9346.jpg', '/home/pi/Desktop/images/31012025/06/03/image_31012025_06_03_37_10415.jpg', '/home/pi/Desktop/images/31012025/06/03/image_31012025_06_03_46_9352.jpg', '/home/pi/Desktop/images/31012025/06/03/image_31012025_06_03_57_10362.jpg', '/home/pi/Desktop/images/31012025/06/03/image_31012025_06_04_07_10416.jpg', '/home/pi/Desktop/images/31012025/06/04/image_31012025_06_04_16_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/03/image_31012025_06_03_26_9346.jpg
/home/pi/Desktop/images/31012025/06/03/image_31012025_06_03_37_10415.jpg
/home/pi/Desktop/images/31012025/06/03/image_31012025_06_03_46_9352.jpg
/home/pi/Desktop/images/31012025/06/03/image_31012025_06_03_57_10362.jpg
/home/pi/Desktop/images/31012025/06/03/image_31012025_06_04_07_10416.jpg
/home/pi/Desktop/images/31012025/06/04/image_31012025_06_04_16_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":["1333212768","1333212746","1333212761","1333212754","1333212757","1333212751"],"photo_ids_order":["1333212746","1333212751","1333212754","1333212757","1333212761","1333212768"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5e49d2559cbec4012745bb210813a8f9.jpg","text":"TemporaryFile(/tmp/multipartBody582936203092150794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299933978,"filename":"image_31012025_06_04_16_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d0d7fcfd436ad2c44cd2069db57db82e.jpg","text":"TemporaryFile(/tmp/multipartBody8819478183265935249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299933978,"filename":"image_31012025_06_03_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/1/31/b7e37a2300e5e016fed1959906c81aa6.jpg","text":"TemporaryFile(/tmp/multipartBody4593757842518007194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299933978,"filename":"image_31012025_06_04_07_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/40c96fed96708f45918449f3800fc2a9.jpg","text":"TemporaryFile(/tmp/multipartBody65634751626670909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299933978,"filename":"image_31012025_06_03_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/1/31/bddc432535810e3edb61e7d43e5e7fab.jpg","text":"TemporaryFile(/tmp/multipartBody7453521514973833783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299933978,"filename":"image_31012025_06_03_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/1/31/20342fa88578f848dbc71b06f08f3587.jpg","text":"TemporaryFile(/tmp/multipartBody4963352286206894042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738299933978,"filename":"image_31012025_06_03_37_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333212754","file1":"1333212751","file0":"1333212746","file4":"1333212761","file5":"1333212768","file3":"1333212757"},"map_files_photo_id_array":[{"photo_id":"1333212768","filename":"file5"},{"photo_id":"1333212754","filename":"file2"},{"photo_id":"1333212761","filename":"file4"},{"photo_id":"1333212751","filename":"file1"},{"photo_id":"1333212746","filename":"file0"},{"photo_id":"1333212757","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333212768":["hashtag1","hashtag2"]},{"1333212746":["hashtag1","hashtag2"]},{"1333212761":["hashtag1","hashtag2"]},{"1333212754":["hashtag1","hashtag2"]},{"1333212757":["hashtag1","hashtag2"]},{"1333212751":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333212768, 1333212746, 1333212761, 1333212754, 1333212757, 1333212751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.25857090950012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:05:32.444342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/04/image_31012025_06_04_27_10473.jpg', '/home/pi/Desktop/images/31012025/06/04/image_31012025_06_04_36_9437.jpg', '/home/pi/Desktop/images/31012025/06/04/image_31012025_06_04_47_10367.jpg', '/home/pi/Desktop/images/31012025/06/04/image_31012025_06_04_57_10358.jpg', '/home/pi/Desktop/images/31012025/06/04/image_31012025_06_05_06_9382.jpg', '/home/pi/Desktop/images/31012025/06/05/image_31012025_06_05_17_10455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/04/image_31012025_06_04_27_10473.jpg
/home/pi/Desktop/images/31012025/06/04/image_31012025_06_04_36_9437.jpg
/home/pi/Desktop/images/31012025/06/04/image_31012025_06_04_47_10367.jpg
/home/pi/Desktop/images/31012025/06/04/image_31012025_06_04_57_10358.jpg
/home/pi/Desktop/images/31012025/06/04/image_31012025_06_05_06_9382.jpg
/home/pi/Desktop/images/31012025/06/05/image_31012025_06_05_17_10455.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.54892897605896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 06:05:42.451481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/04/image_31012025_06_04_27_10473.jpg', '/home/pi/Desktop/images/31012025/06/04/image_31012025_06_04_36_9437.jpg', '/home/pi/Desktop/images/31012025/06/04/image_31012025_06_04_47_10367.jpg', '/home/pi/Desktop/images/31012025/06/04/image_31012025_06_04_57_10358.jpg', '/home/pi/Desktop/images/31012025/06/04/image_31012025_06_05_06_9382.jpg', '/home/pi/Desktop/images/31012025/06/05/image_31012025_06_05_17_10455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/04/image_31012025_06_04_27_10473.jpg
/home/pi/Desktop/images/31012025/06/04/image_31012025_06_04_36_9437.jpg
/home/pi/Desktop/images/31012025/06/04/image_31012025_06_04_47_10367.jpg
/home/pi/Desktop/images/31012025/06/04/image_31012025_06_04_57_10358.jpg
/home/pi/Desktop/images/31012025/06/04/image_31012025_06_05_06_9382.jpg
/home/pi/Desktop/images/31012025/06/05/image_31012025_06_05_17_10455.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":["1333212822","1333212830","1333212833","1333212827","1333212824","1333212838"],"photo_ids_order":["1333212822","1333212824","1333212827","1333212830","1333212833","1333212838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/50018a7d10be1d41b58a27eb229de7c1.jpg","text":"TemporaryFile(/tmp/multipartBody4796935115111907912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300003358,"filename":"image_31012025_06_04_27_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f3bac81725c84ecab35587eacbae44d8.jpg","text":"TemporaryFile(/tmp/multipartBody3068387162864408600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300003358,"filename":"image_31012025_06_04_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/1/31/b0deb3fffcc85909997758ce8077f3b8.jpg","text":"TemporaryFile(/tmp/multipartBody6321333595658870179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300003358,"filename":"image_31012025_06_05_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/1/31/baafb4456f531fe6eaa06b2b809c6f8c.jpg","text":"TemporaryFile(/tmp/multipartBody372242903836508382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300003358,"filename":"image_31012025_06_04_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/1/31/ce8e21535c48cb349dcbf7e46db56474.jpg","text":"TemporaryFile(/tmp/multipartBody4162604223485047135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300003358,"filename":"image_31012025_06_04_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/1/31/d0ec502619dd7cc8c2ece614f540e948.jpg","text":"TemporaryFile(/tmp/multipartBody8343917169587083828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300003358,"filename":"image_31012025_06_05_17_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333212827","file1":"1333212824","file0":"1333212822","file4":"1333212833","file5":"1333212838","file3":"1333212830"},"map_files_photo_id_array":[{"photo_id":"1333212838","filename":"file5"},{"photo_id":"1333212827","filename":"file2"},{"photo_id":"1333212833","filename":"file4"},{"photo_id":"1333212824","filename":"file1"},{"photo_id":"1333212822","filename":"file0"},{"photo_id":"1333212830","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333212822":["hashtag1","hashtag2"]},{"1333212830":["hashtag1","hashtag2"]},{"1333212833":["hashtag1","hashtag2"]},{"1333212827":["hashtag1","hashtag2"]},{"1333212824":["hashtag1","hashtag2"]},{"1333212838":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333212822, 1333212830, 1333212833, 1333212827, 1333212824, 1333212838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.492796659469604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:06:32.715920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/05/image_31012025_06_05_26_9355.jpg', '/home/pi/Desktop/images/31012025/06/05/image_31012025_06_05_37_10415.jpg', '/home/pi/Desktop/images/31012025/06/05/image_31012025_06_05_47_10365.jpg', '/home/pi/Desktop/images/31012025/06/05/image_31012025_06_05_56_9333.jpg', '/home/pi/Desktop/images/31012025/06/05/image_31012025_06_06_07_10460.jpg', '/home/pi/Desktop/images/31012025/06/06/image_31012025_06_06_16_9431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/05/image_31012025_06_05_26_9355.jpg
/home/pi/Desktop/images/31012025/06/05/image_31012025_06_05_37_10415.jpg
/home/pi/Desktop/images/31012025/06/05/image_31012025_06_05_47_10365.jpg
/home/pi/Desktop/images/31012025/06/05/image_31012025_06_05_56_9333.jpg
/home/pi/Desktop/images/31012025/06/05/image_31012025_06_06_07_10460.jpg
/home/pi/Desktop/images/31012025/06/06/image_31012025_06_06_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":["1333212996","1333213032","1333212986","1333212989","1333212983","1333213034"],"photo_ids_order":["1333212983","1333212986","1333212989","1333212996","1333213032","1333213034"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4e945bc2a8f83c64c735e6b90f78bef2.jpg","text":"TemporaryFile(/tmp/multipartBody5107276790604821620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300053654,"filename":"image_31012025_06_05_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/1/31/2f274f3e1341c91db0bacf6f083eb44e.jpg","text":"TemporaryFile(/tmp/multipartBody3346331253765222360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300053654,"filename":"image_31012025_06_06_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/1/31/b521867d0bf3159f876a87d5ba5fc1b9.jpg","text":"TemporaryFile(/tmp/multipartBody7620216074387801676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300053654,"filename":"image_31012025_06_05_37_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/50bb76668050ebe55d53548debf4cbd3.jpg","text":"TemporaryFile(/tmp/multipartBody2719167292515512557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300053654,"filename":"image_31012025_06_05_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/1/31/fef42b68a01b79e4fff5cdfb7def6165.jpg","text":"TemporaryFile(/tmp/multipartBody2187751913137732996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300053654,"filename":"image_31012025_06_05_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/1/31/4b3824c2e1cae066c77299b87c720156.jpg","text":"TemporaryFile(/tmp/multipartBody2034736658908891373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300053654,"filename":"image_31012025_06_06_16_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333212989","file1":"1333212986","file0":"1333212983","file4":"1333213032","file5":"1333213034","file3":"1333212996"},"map_files_photo_id_array":[{"photo_id":"1333213034","filename":"file5"},{"photo_id":"1333212989","filename":"file2"},{"photo_id":"1333213032","filename":"file4"},{"photo_id":"1333212986","filename":"file1"},{"photo_id":"1333212983","filename":"file0"},{"photo_id":"1333212996","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333212996":["hashtag1","hashtag2"]},{"1333213032":["hashtag1","hashtag2"]},{"1333212986":["hashtag1","hashtag2"]},{"1333212989":["hashtag1","hashtag2"]},{"1333212983":["hashtag1","hashtag2"]},{"1333213034":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333212996, 1333213032, 1333212986, 1333212989, 1333212983, 1333213034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.560489892959595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:07:32.839937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/06/image_31012025_06_06_27_10351.jpg', '/home/pi/Desktop/images/31012025/06/06/image_31012025_06_06_37_10345.jpg', '/home/pi/Desktop/images/31012025/06/06/image_31012025_06_06_46_9375.jpg', '/home/pi/Desktop/images/31012025/06/06/image_31012025_06_06_57_10379.jpg', '/home/pi/Desktop/images/31012025/06/06/image_31012025_06_07_07_10354.jpg', '/home/pi/Desktop/images/31012025/06/07/image_31012025_06_07_16_9368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/06/image_31012025_06_06_27_10351.jpg
/home/pi/Desktop/images/31012025/06/06/image_31012025_06_06_37_10345.jpg
/home/pi/Desktop/images/31012025/06/06/image_31012025_06_06_46_9375.jpg
/home/pi/Desktop/images/31012025/06/06/image_31012025_06_06_57_10379.jpg
/home/pi/Desktop/images/31012025/06/06/image_31012025_06_07_07_10354.jpg
/home/pi/Desktop/images/31012025/06/07/image_31012025_06_07_16_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":["1333213182","1333213187","1333213196","1333213178","1333213250","1333213214"],"photo_ids_order":["1333213178","1333213182","1333213187","1333213196","1333213214","1333213250"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/57508624ca53890ad080e6a5daff3976.jpg","text":"TemporaryFile(/tmp/multipartBody1758048108786658929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300113764,"filename":"image_31012025_06_06_37_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5cb25ce5d7d206c0a37b51a977560d03.jpg","text":"TemporaryFile(/tmp/multipartBody7973466178132335604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300113764,"filename":"image_31012025_06_06_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/1/31/36ab00aed833e3cd338f5c5b675bdb09.jpg","text":"TemporaryFile(/tmp/multipartBody3732155066705378995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300113764,"filename":"image_31012025_06_06_57_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/032669236ab46a0c80f7227a817e4230.jpg","text":"TemporaryFile(/tmp/multipartBody8191146769041158251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300113764,"filename":"image_31012025_06_06_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/1/31/110eef33567ee6f44b0110f6660d1d0c.jpg","text":"TemporaryFile(/tmp/multipartBody7897865716862374287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300113764,"filename":"image_31012025_06_07_16_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f3f7c6412f928179cdcb0b9a75d1a0c8.jpg","text":"TemporaryFile(/tmp/multipartBody5161551801274577117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300113764,"filename":"image_31012025_06_07_07_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333213187","file1":"1333213182","file0":"1333213178","file4":"1333213214","file5":"1333213250","file3":"1333213196"},"map_files_photo_id_array":[{"photo_id":"1333213250","filename":"file5"},{"photo_id":"1333213187","filename":"file2"},{"photo_id":"1333213214","filename":"file4"},{"photo_id":"1333213182","filename":"file1"},{"photo_id":"1333213178","filename":"file0"},{"photo_id":"1333213196","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333213182":["hashtag1","hashtag2"]},{"1333213187":["hashtag1","hashtag2"]},{"1333213196":["hashtag1","hashtag2"]},{"1333213178":["hashtag1","hashtag2"]},{"1333213250":["hashtag1","hashtag2"]},{"1333213214":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333213182, 1333213187, 1333213196, 1333213178, 1333213250, 1333213214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98350763320923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:08:32.999349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/07/image_31012025_06_07_27_10479.jpg', '/home/pi/Desktop/images/31012025/06/07/image_31012025_06_07_36_9344.jpg', '/home/pi/Desktop/images/31012025/06/07/image_31012025_06_07_47_10351.jpg', '/home/pi/Desktop/images/31012025/06/07/image_31012025_06_07_57_10333.jpg', '/home/pi/Desktop/images/31012025/06/07/image_31012025_06_08_06_9361.jpg', '/home/pi/Desktop/images/31012025/06/08/image_31012025_06_08_17_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/07/image_31012025_06_07_27_10479.jpg
/home/pi/Desktop/images/31012025/06/07/image_31012025_06_07_36_9344.jpg
/home/pi/Desktop/images/31012025/06/07/image_31012025_06_07_47_10351.jpg
/home/pi/Desktop/images/31012025/06/07/image_31012025_06_07_57_10333.jpg
/home/pi/Desktop/images/31012025/06/07/image_31012025_06_08_06_9361.jpg
/home/pi/Desktop/images/31012025/06/08/image_31012025_06_08_17_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":["1333213646","1333213553","1333213640","1333213607","1333213561","1333213485"],"photo_ids_order":["1333213485","1333213553","1333213561","1333213607","1333213640","1333213646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a955c4b800117ef7892aab346a8142ea.jpg","text":"TemporaryFile(/tmp/multipartBody7831799076034068968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300173906,"filename":"image_31012025_06_08_17_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c74e7605645616128e718a6b982d5112.jpg","text":"TemporaryFile(/tmp/multipartBody5972481175472278556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300173906,"filename":"image_31012025_06_07_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/1/31/fae7f870b58e6da74ad381dc087ab048.jpg","text":"TemporaryFile(/tmp/multipartBody7395523406994879547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300173906,"filename":"image_31012025_06_08_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/1/31/c3f3e59ae8dd30f718e51827bfa22611.jpg","text":"TemporaryFile(/tmp/multipartBody1356634419746093630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300173906,"filename":"image_31012025_06_07_57_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2be13ccdf83b77bec34aab9ea26b3db9.jpg","text":"TemporaryFile(/tmp/multipartBody7573867143298245115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300173906,"filename":"image_31012025_06_07_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/1/31/05225ff1f41b8fd75da2aa5eb69c613b.jpg","text":"TemporaryFile(/tmp/multipartBody5982595373532626047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300173906,"filename":"image_31012025_06_07_27_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333213561","file1":"1333213553","file0":"1333213485","file4":"1333213640","file5":"1333213646","file3":"1333213607"},"map_files_photo_id_array":[{"photo_id":"1333213646","filename":"file5"},{"photo_id":"1333213561","filename":"file2"},{"photo_id":"1333213640","filename":"file4"},{"photo_id":"1333213553","filename":"file1"},{"photo_id":"1333213485","filename":"file0"},{"photo_id":"1333213607","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333213646":["hashtag1","hashtag2"]},{"1333213553":["hashtag1","hashtag2"]},{"1333213640":["hashtag1","hashtag2"]},{"1333213607":["hashtag1","hashtag2"]},{"1333213561":["hashtag1","hashtag2"]},{"1333213485":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333213646, 1333213553, 1333213640, 1333213607, 1333213561, 1333213485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.88516545295715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:09:32.390023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/08/image_31012025_06_08_27_10348.jpg', '/home/pi/Desktop/images/31012025/06/08/image_31012025_06_08_36_9343.jpg', '/home/pi/Desktop/images/31012025/06/08/image_31012025_06_08_47_10540.jpg', '/home/pi/Desktop/images/31012025/06/08/image_31012025_06_08_56_9431.jpg', '/home/pi/Desktop/images/31012025/06/08/image_31012025_06_09_07_10528.jpg', '/home/pi/Desktop/images/31012025/06/09/image_31012025_06_09_16_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/08/image_31012025_06_08_27_10348.jpg
/home/pi/Desktop/images/31012025/06/08/image_31012025_06_08_36_9343.jpg
/home/pi/Desktop/images/31012025/06/08/image_31012025_06_08_47_10540.jpg
/home/pi/Desktop/images/31012025/06/08/image_31012025_06_08_56_9431.jpg
/home/pi/Desktop/images/31012025/06/08/image_31012025_06_09_07_10528.jpg
/home/pi/Desktop/images/31012025/06/09/image_31012025_06_09_16_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":["1333213671","1333213664","1333213684","1333213681","1333213678","1333213683"],"photo_ids_order":["1333213664","1333213671","1333213678","1333213681","1333213683","1333213684"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a453beaf3accfd0b7bb4f3c2e8c5b7cd.jpg","text":"TemporaryFile(/tmp/multipartBody8555941571980211544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300233297,"filename":"image_31012025_06_08_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/1/31/45590977a67393838305d8c7b74822c9.jpg","text":"TemporaryFile(/tmp/multipartBody264982210682233966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300233297,"filename":"image_31012025_06_08_27_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7c3bf47c8b460315f07f1c8b4e63c7f4.jpg","text":"TemporaryFile(/tmp/multipartBody6513089876087368096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300233297,"filename":"image_31012025_06_09_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/1/31/d75ed61faaef94ba4e392800cd018515.jpg","text":"TemporaryFile(/tmp/multipartBody304568216093245733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300233297,"filename":"image_31012025_06_08_56_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/80d4fc4f6359446082204a2905479b67.jpg","text":"TemporaryFile(/tmp/multipartBody2069657733775833382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300233297,"filename":"image_31012025_06_08_47_10540.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3f8c39482307b9d0cba6862886bf54b8.jpg","text":"TemporaryFile(/tmp/multipartBody40201581770726970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300233297,"filename":"image_31012025_06_09_07_10528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333213678","file1":"1333213671","file0":"1333213664","file4":"1333213683","file5":"1333213684","file3":"1333213681"},"map_files_photo_id_array":[{"photo_id":"1333213684","filename":"file5"},{"photo_id":"1333213678","filename":"file2"},{"photo_id":"1333213683","filename":"file4"},{"photo_id":"1333213671","filename":"file1"},{"photo_id":"1333213664","filename":"file0"},{"photo_id":"1333213681","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333213671":["hashtag1","hashtag2"]},{"1333213664":["hashtag1","hashtag2"]},{"1333213684":["hashtag1","hashtag2"]},{"1333213681":["hashtag1","hashtag2"]},{"1333213678":["hashtag1","hashtag2"]},{"1333213683":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333213671, 1333213664, 1333213684, 1333213681, 1333213678, 1333213683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.29959058761597 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:10:32.630494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/09/image_31012025_06_09_27_10414.jpg', '/home/pi/Desktop/images/31012025/06/09/image_31012025_06_09_37_10364.jpg', '/home/pi/Desktop/images/31012025/06/09/image_31012025_06_09_46_9350.jpg', '/home/pi/Desktop/images/31012025/06/09/image_31012025_06_09_57_10362.jpg', '/home/pi/Desktop/images/31012025/06/09/image_31012025_06_10_07_10363.jpg', '/home/pi/Desktop/images/31012025/06/10/image_31012025_06_10_16_9400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/09/image_31012025_06_09_27_10414.jpg
/home/pi/Desktop/images/31012025/06/09/image_31012025_06_09_37_10364.jpg
/home/pi/Desktop/images/31012025/06/09/image_31012025_06_09_46_9350.jpg
/home/pi/Desktop/images/31012025/06/09/image_31012025_06_09_57_10362.jpg
/home/pi/Desktop/images/31012025/06/09/image_31012025_06_10_07_10363.jpg
/home/pi/Desktop/images/31012025/06/10/image_31012025_06_10_16_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":["1333213725","1333213719","1333213736","1333213730","1333213733","1333213729"],"photo_ids_order":["1333213719","1333213725","1333213729","1333213730","1333213733","1333213736"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8c794468e15cf186843f3b09a7b5521e.jpg","text":"TemporaryFile(/tmp/multipartBody6464276062476991789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300293565,"filename":"image_31012025_06_09_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/1/31/268d7f16da371587e12806811816bfe2.jpg","text":"TemporaryFile(/tmp/multipartBody1067872462343381526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300293565,"filename":"image_31012025_06_09_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/1/31/da86c6a9e218b8b7923470318979d401.jpg","text":"TemporaryFile(/tmp/multipartBody5783144372873163615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300293565,"filename":"image_31012025_06_10_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/1/31/eb06fd88848ade5ddb1246e8331d6ef4.jpg","text":"TemporaryFile(/tmp/multipartBody8238694798607598345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300293565,"filename":"image_31012025_06_09_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/1/31/467e8df85212476ac0b8cf6ff0444531.jpg","text":"TemporaryFile(/tmp/multipartBody1819601991927643689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300293565,"filename":"image_31012025_06_10_07_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0376204ffd7e4199957080ee302b0c38.jpg","text":"TemporaryFile(/tmp/multipartBody639871889408107958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300293565,"filename":"image_31012025_06_09_46_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333213729","file1":"1333213725","file0":"1333213719","file4":"1333213733","file5":"1333213736","file3":"1333213730"},"map_files_photo_id_array":[{"photo_id":"1333213736","filename":"file5"},{"photo_id":"1333213729","filename":"file2"},{"photo_id":"1333213733","filename":"file4"},{"photo_id":"1333213725","filename":"file1"},{"photo_id":"1333213719","filename":"file0"},{"photo_id":"1333213730","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333213725":["hashtag1","hashtag2"]},{"1333213719":["hashtag1","hashtag2"]},{"1333213736":["hashtag1","hashtag2"]},{"1333213730":["hashtag1","hashtag2"]},{"1333213733":["hashtag1","hashtag2"]},{"1333213729":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333213725, 1333213719, 1333213736, 1333213730, 1333213733, 1333213729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.02373194694519 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:11:32.811473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/10/image_31012025_06_10_27_10472.jpg', '/home/pi/Desktop/images/31012025/06/10/image_31012025_06_10_36_9355.jpg', '/home/pi/Desktop/images/31012025/06/10/image_31012025_06_10_47_10364.jpg', '/home/pi/Desktop/images/31012025/06/10/image_31012025_06_10_57_10370.jpg', '/home/pi/Desktop/images/31012025/06/10/image_31012025_06_11_06_9382.jpg', '/home/pi/Desktop/images/31012025/06/11/image_31012025_06_11_17_10473.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/10/image_31012025_06_10_27_10472.jpg
/home/pi/Desktop/images/31012025/06/10/image_31012025_06_10_36_9355.jpg
/home/pi/Desktop/images/31012025/06/10/image_31012025_06_10_47_10364.jpg
/home/pi/Desktop/images/31012025/06/10/image_31012025_06_10_57_10370.jpg
/home/pi/Desktop/images/31012025/06/10/image_31012025_06_11_06_9382.jpg
/home/pi/Desktop/images/31012025/06/11/image_31012025_06_11_17_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":["1333213791","1333213755","1333213787","1333213778","1333213814","1333213795"],"photo_ids_order":["1333213755","1333213778","1333213787","1333213791","1333213795","1333213814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/543b906e28007f4b55f4b30e794668b5.jpg","text":"TemporaryFile(/tmp/multipartBody313446561915388779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300353718,"filename":"image_31012025_06_10_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/1/31/7cf966c2c9b61df723581ceba278a8bf.jpg","text":"TemporaryFile(/tmp/multipartBody1167363824700406494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300353718,"filename":"image_31012025_06_10_27_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/28ebaf4da8e284a681f47a16081bea4e.jpg","text":"TemporaryFile(/tmp/multipartBody8743959291117707059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300353718,"filename":"image_31012025_06_10_47_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/14c61c46741d28e84e435e7be8db8a1f.jpg","text":"TemporaryFile(/tmp/multipartBody652899181468583246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300353718,"filename":"image_31012025_06_10_36_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/949764d47b026d342ee4e1d3d441ed3d.jpg","text":"TemporaryFile(/tmp/multipartBody993685732917532898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300353718,"filename":"image_31012025_06_11_17_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/44704783e059ae1b8f4e54eb1ceb1f99.jpg","text":"TemporaryFile(/tmp/multipartBody5649486846500401705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300353718,"filename":"image_31012025_06_11_06_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333213787","file1":"1333213778","file0":"1333213755","file4":"1333213795","file5":"1333213814","file3":"1333213791"},"map_files_photo_id_array":[{"photo_id":"1333213814","filename":"file5"},{"photo_id":"1333213787","filename":"file2"},{"photo_id":"1333213795","filename":"file4"},{"photo_id":"1333213778","filename":"file1"},{"photo_id":"1333213755","filename":"file0"},{"photo_id":"1333213791","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333213791":["hashtag1","hashtag2"]},{"1333213755":["hashtag1","hashtag2"]},{"1333213787":["hashtag1","hashtag2"]},{"1333213778":["hashtag1","hashtag2"]},{"1333213814":["hashtag1","hashtag2"]},{"1333213795":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333213791, 1333213755, 1333213787, 1333213778, 1333213814, 1333213795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66247773170471 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:12:32.951206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/11/image_31012025_06_11_26_9347.jpg', '/home/pi/Desktop/images/31012025/06/11/image_31012025_06_11_37_10351.jpg', '/home/pi/Desktop/images/31012025/06/11/image_31012025_06_11_47_10366.jpg', '/home/pi/Desktop/images/31012025/06/11/image_31012025_06_11_56_9324.jpg', '/home/pi/Desktop/images/31012025/06/11/image_31012025_06_12_07_10359.jpg', '/home/pi/Desktop/images/31012025/06/12/image_31012025_06_12_17_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/11/image_31012025_06_11_26_9347.jpg
/home/pi/Desktop/images/31012025/06/11/image_31012025_06_11_37_10351.jpg
/home/pi/Desktop/images/31012025/06/11/image_31012025_06_11_47_10366.jpg
/home/pi/Desktop/images/31012025/06/11/image_31012025_06_11_56_9324.jpg
/home/pi/Desktop/images/31012025/06/11/image_31012025_06_12_07_10359.jpg
/home/pi/Desktop/images/31012025/06/12/image_31012025_06_12_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":["1333213932","1333214051","1333213929","1333213886","1333213919","1333213924"],"photo_ids_order":["1333213886","1333213919","1333213924","1333213929","1333213932","1333214051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/073a51868b7852ee72a3d1f88b51fe06.jpg","text":"TemporaryFile(/tmp/multipartBody7763005707816402780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300413893,"filename":"image_31012025_06_12_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/1/31/df648a09650ef53737bd2af5bb70dff7.jpg","text":"TemporaryFile(/tmp/multipartBody2813095245255257324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300413893,"filename":"image_31012025_06_12_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/1/31/adc6c11893e4a88e15e9e7938ac66b9e.jpg","text":"TemporaryFile(/tmp/multipartBody1433623816811791223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300413893,"filename":"image_31012025_06_11_56_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d6975ad5fb46c12383932f6adb68e71d.jpg","text":"TemporaryFile(/tmp/multipartBody1797517928931195592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300413893,"filename":"image_31012025_06_11_26_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/08ba1ba272af0bd9fd7df81f8758401c.jpg","text":"TemporaryFile(/tmp/multipartBody8426907509242848624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300413893,"filename":"image_31012025_06_11_37_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5902130f3a8617554a07df4af485eac1.jpg","text":"TemporaryFile(/tmp/multipartBody7194807669032448057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300413893,"filename":"image_31012025_06_11_47_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333213924","file1":"1333213919","file0":"1333213886","file4":"1333213932","file5":"1333214051","file3":"1333213929"},"map_files_photo_id_array":[{"photo_id":"1333214051","filename":"file5"},{"photo_id":"1333213924","filename":"file2"},{"photo_id":"1333213932","filename":"file4"},{"photo_id":"1333213919","filename":"file1"},{"photo_id":"1333213886","filename":"file0"},{"photo_id":"1333213929","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333213932":["hashtag1","hashtag2"]},{"1333214051":["hashtag1","hashtag2"]},{"1333213929":["hashtag1","hashtag2"]},{"1333213886":["hashtag1","hashtag2"]},{"1333213919":["hashtag1","hashtag2"]},{"1333213924":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333213932, 1333214051, 1333213929, 1333213886, 1333213919, 1333213924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.85796308517456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:13:32.202953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/12/image_31012025_06_12_26_9349.jpg', '/home/pi/Desktop/images/31012025/06/12/image_31012025_06_12_37_10549.jpg', '/home/pi/Desktop/images/31012025/06/12/image_31012025_06_12_46_9339.jpg', '/home/pi/Desktop/images/31012025/06/12/image_31012025_06_12_57_10381.jpg', '/home/pi/Desktop/images/31012025/06/12/image_31012025_06_13_07_10335.jpg', '/home/pi/Desktop/images/31012025/06/13/image_31012025_06_13_16_9321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/12/image_31012025_06_12_26_9349.jpg
/home/pi/Desktop/images/31012025/06/12/image_31012025_06_12_37_10549.jpg
/home/pi/Desktop/images/31012025/06/12/image_31012025_06_12_46_9339.jpg
/home/pi/Desktop/images/31012025/06/12/image_31012025_06_12_57_10381.jpg
/home/pi/Desktop/images/31012025/06/12/image_31012025_06_13_07_10335.jpg
/home/pi/Desktop/images/31012025/06/13/image_31012025_06_13_16_9321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333214693","1333214828","1333214942","1333214738","1333214944","1333214932"],"photo_ids_order":["1333214693","1333214738","1333214828","1333214932","1333214942","1333214944"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/75677e64fb64a9a2b5d253b55dc596ed.jpg","text":"TemporaryFile(/tmp/multipartBody6268237091984972994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300473131,"filename":"image_31012025_06_12_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/1/31/6860814621e382156409039f6ed0921e.jpg","text":"TemporaryFile(/tmp/multipartBody4564376642425615394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300473131,"filename":"image_31012025_06_12_46_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e682114a1f8902af2549400556d4650b.jpg","text":"TemporaryFile(/tmp/multipartBody1956449741494724184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300473131,"filename":"image_31012025_06_13_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/1/31/5830fb81fac3b925215d38673a461f39.jpg","text":"TemporaryFile(/tmp/multipartBody1964189148969271402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300473131,"filename":"image_31012025_06_12_37_10549.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4bbac6ec8838f5948263b5a4595fc668.jpg","text":"TemporaryFile(/tmp/multipartBody8193928016328420949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300473131,"filename":"image_31012025_06_13_16_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aa872dd5ffdd891ebf854701fa929a04.jpg","text":"TemporaryFile(/tmp/multipartBody6783477921136484558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300473131,"filename":"image_31012025_06_12_57_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333214828","file1":"1333214738","file0":"1333214693","file4":"1333214942","file5":"1333214944","file3":"1333214932"},"map_files_photo_id_array":[{"photo_id":"1333214944","filename":"file5"},{"photo_id":"1333214828","filename":"file2"},{"photo_id":"1333214942","filename":"file4"},{"photo_id":"1333214738","filename":"file1"},{"photo_id":"1333214693","filename":"file0"},{"photo_id":"1333214932","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333214693":["hashtag1","hashtag2"]},{"1333214828":["hashtag1","hashtag2"]},{"1333214942":["hashtag1","hashtag2"]},{"1333214738":["hashtag1","hashtag2"]},{"1333214944":["hashtag1","hashtag2"]},{"1333214932":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333214693, 1333214828, 1333214942, 1333214738, 1333214944, 1333214932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.033305168151855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:14:32.392701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/13/image_31012025_06_13_46_9380.jpg', '/home/pi/Desktop/images/31012025/06/13/image_31012025_06_13_57_10446.jpg', '/home/pi/Desktop/images/31012025/06/13/image_31012025_06_14_07_10362.jpg', '/home/pi/Desktop/images/31012025/06/14/image_31012025_06_14_16_9338.jpg', '/home/pi/Desktop/images/31012025/06/14/image_31012025_06_14_27_10354.jpg', '/home/pi/Desktop/images/31012025/06/14/image_31012025_06_14_36_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/13/image_31012025_06_13_46_9380.jpg
/home/pi/Desktop/images/31012025/06/13/image_31012025_06_13_57_10446.jpg
/home/pi/Desktop/images/31012025/06/13/image_31012025_06_14_07_10362.jpg
/home/pi/Desktop/images/31012025/06/14/image_31012025_06_14_16_9338.jpg
/home/pi/Desktop/images/31012025/06/14/image_31012025_06_14_27_10354.jpg
/home/pi/Desktop/images/31012025/06/14/image_31012025_06_14_36_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":["1333215061","1333215055","1333215058","1333215037","1333215001","1333215006"],"photo_ids_order":["1333215001","1333215006","1333215037","1333215055","1333215058","1333215061"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/63cd3b1dcde19116a61e181c4dd34182.jpg","text":"TemporaryFile(/tmp/multipartBody7803939891042475103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300533294,"filename":"image_31012025_06_14_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/1/31/43a626cfd32a62fcc70be99a562866f3.jpg","text":"TemporaryFile(/tmp/multipartBody2002234028292329435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300533294,"filename":"image_31012025_06_14_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/1/31/b7e3f8d56d30a74f5fd0b1be8005bfd0.jpg","text":"TemporaryFile(/tmp/multipartBody3480783843332186559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300533294,"filename":"image_31012025_06_14_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/1/31/3de840fdda32f6a9069e322c9325c589.jpg","text":"TemporaryFile(/tmp/multipartBody910263805273483777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300533294,"filename":"image_31012025_06_14_07_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/da543ba5993108df51f4a500d26e7ddb.jpg","text":"TemporaryFile(/tmp/multipartBody7932679192488304355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300533294,"filename":"image_31012025_06_13_46_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/04e597c361dada200b15f06a0f246e64.jpg","text":"TemporaryFile(/tmp/multipartBody8981071495940175736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300533294,"filename":"image_31012025_06_13_57_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333215037","file1":"1333215006","file0":"1333215001","file4":"1333215058","file5":"1333215061","file3":"1333215055"},"map_files_photo_id_array":[{"photo_id":"1333215061","filename":"file5"},{"photo_id":"1333215037","filename":"file2"},{"photo_id":"1333215058","filename":"file4"},{"photo_id":"1333215006","filename":"file1"},{"photo_id":"1333215001","filename":"file0"},{"photo_id":"1333215055","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333215061":["hashtag1","hashtag2"]},{"1333215055":["hashtag1","hashtag2"]},{"1333215058":["hashtag1","hashtag2"]},{"1333215037":["hashtag1","hashtag2"]},{"1333215001":["hashtag1","hashtag2"]},{"1333215006":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333215061, 1333215055, 1333215058, 1333215037, 1333215001, 1333215006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.97135329246521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:15:32.673348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/14/image_31012025_06_14_47_10447.jpg', '/home/pi/Desktop/images/31012025/06/14/image_31012025_06_14_57_10418.jpg', '/home/pi/Desktop/images/31012025/06/14/image_31012025_06_15_06_9399.jpg', '/home/pi/Desktop/images/31012025/06/15/image_31012025_06_15_17_10418.jpg', '/home/pi/Desktop/images/31012025/06/15/image_31012025_06_15_26_9351.jpg', '/home/pi/Desktop/images/31012025/06/15/image_31012025_06_15_37_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/14/image_31012025_06_14_47_10447.jpg
/home/pi/Desktop/images/31012025/06/14/image_31012025_06_14_57_10418.jpg
/home/pi/Desktop/images/31012025/06/14/image_31012025_06_15_06_9399.jpg
/home/pi/Desktop/images/31012025/06/15/image_31012025_06_15_17_10418.jpg
/home/pi/Desktop/images/31012025/06/15/image_31012025_06_15_26_9351.jpg
/home/pi/Desktop/images/31012025/06/15/image_31012025_06_15_37_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":["1333215467","1333215536","1333215376","1333215202","1333215109","1333215324"],"photo_ids_order":["1333215109","1333215202","1333215324","1333215376","1333215467","1333215536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fc3b37466b20f2812f3936fcddd276d2.jpg","text":"TemporaryFile(/tmp/multipartBody54651675829654218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300593594,"filename":"image_31012025_06_15_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/1/31/b4e1ed7949929a4cc9a2813dbeae136f.jpg","text":"TemporaryFile(/tmp/multipartBody6623263268282828326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300593594,"filename":"image_31012025_06_15_37_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ed20a9e249a2cead2df3ea327da83c3d.jpg","text":"TemporaryFile(/tmp/multipartBody1234791472072526895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300593594,"filename":"image_31012025_06_15_17_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a0242a1f71917f7377632a461c2da018.jpg","text":"TemporaryFile(/tmp/multipartBody5737499676278010875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300593594,"filename":"image_31012025_06_14_57_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/77350639f50cfaf97e91a5aef9287abc.jpg","text":"TemporaryFile(/tmp/multipartBody3956125324167831458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300593594,"filename":"image_31012025_06_14_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/1/31/b4efd5ec4614b1501bd74ff9b28ddc80.jpg","text":"TemporaryFile(/tmp/multipartBody5042866503918491751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300593594,"filename":"image_31012025_06_15_06_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333215324","file1":"1333215202","file0":"1333215109","file4":"1333215467","file5":"1333215536","file3":"1333215376"},"map_files_photo_id_array":[{"photo_id":"1333215536","filename":"file5"},{"photo_id":"1333215324","filename":"file2"},{"photo_id":"1333215467","filename":"file4"},{"photo_id":"1333215202","filename":"file1"},{"photo_id":"1333215109","filename":"file0"},{"photo_id":"1333215376","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333215467":["hashtag1","hashtag2"]},{"1333215536":["hashtag1","hashtag2"]},{"1333215376":["hashtag1","hashtag2"]},{"1333215202":["hashtag1","hashtag2"]},{"1333215109":["hashtag1","hashtag2"]},{"1333215324":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333215467, 1333215536, 1333215376, 1333215202, 1333215109, 1333215324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.47294998168945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:16:32.860517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/15/image_31012025_06_15_47_10401.jpg', '/home/pi/Desktop/images/31012025/06/15/image_31012025_06_15_56_9385.jpg', '/home/pi/Desktop/images/31012025/06/16/image_31012025_06_16_16_9356.jpg', '/home/pi/Desktop/images/31012025/06/16/image_31012025_06_16_27_10338.jpg', '/home/pi/Desktop/images/31012025/06/16/image_31012025_06_16_37_10373.jpg', '/home/pi/Desktop/images/31012025/06/16/image_31012025_06_16_46_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/15/image_31012025_06_15_47_10401.jpg
/home/pi/Desktop/images/31012025/06/15/image_31012025_06_15_56_9385.jpg
/home/pi/Desktop/images/31012025/06/16/image_31012025_06_16_16_9356.jpg
/home/pi/Desktop/images/31012025/06/16/image_31012025_06_16_27_10338.jpg
/home/pi/Desktop/images/31012025/06/16/image_31012025_06_16_37_10373.jpg
/home/pi/Desktop/images/31012025/06/16/image_31012025_06_16_46_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":["1333215841","1333215739","1333215879","1333215792","1333215930","1333216061"],"photo_ids_order":["1333215739","1333215792","1333215841","1333215879","1333215930","1333216061"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/713f020aff7bd0c8281f469b6518ce0d.jpg","text":"TemporaryFile(/tmp/multipartBody5785670077319803871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300653779,"filename":"image_31012025_06_16_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/1/31/d4e2ea74eed20245b598222a7eb6e6f7.jpg","text":"TemporaryFile(/tmp/multipartBody3042202661740619025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300653779,"filename":"image_31012025_06_15_47_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3fb61a7310f882ac001f5b575a9791e9.jpg","text":"TemporaryFile(/tmp/multipartBody5218271022644023937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300653779,"filename":"image_31012025_06_16_27_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7c370c739c628f0245fb56f917457354.jpg","text":"TemporaryFile(/tmp/multipartBody7203045832317691385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300653779,"filename":"image_31012025_06_15_56_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/635bf4ede234cf06c10b3835d44b19b2.jpg","text":"TemporaryFile(/tmp/multipartBody1426551890019529616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300653779,"filename":"image_31012025_06_16_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/1/31/bc116b0df8fbdb6b77ed2ea77c21e3c4.jpg","text":"TemporaryFile(/tmp/multipartBody5870062354709274144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300653779,"filename":"image_31012025_06_16_46_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333215841","file1":"1333215792","file0":"1333215739","file4":"1333215930","file5":"1333216061","file3":"1333215879"},"map_files_photo_id_array":[{"photo_id":"1333216061","filename":"file5"},{"photo_id":"1333215841","filename":"file2"},{"photo_id":"1333215930","filename":"file4"},{"photo_id":"1333215792","filename":"file1"},{"photo_id":"1333215739","filename":"file0"},{"photo_id":"1333215879","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333215841":["hashtag1","hashtag2"]},{"1333215739":["hashtag1","hashtag2"]},{"1333215879":["hashtag1","hashtag2"]},{"1333215792":["hashtag1","hashtag2"]},{"1333215930":["hashtag1","hashtag2"]},{"1333216061":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333215841, 1333215739, 1333215879, 1333215792, 1333215930, 1333216061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.67376399040222 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:17:33.020804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/16/image_31012025_06_16_57_10400.jpg', '/home/pi/Desktop/images/31012025/06/16/image_31012025_06_17_07_10401.jpg', '/home/pi/Desktop/images/31012025/06/17/image_31012025_06_17_16_9349.jpg', '/home/pi/Desktop/images/31012025/06/17/image_31012025_06_17_27_10458.jpg', '/home/pi/Desktop/images/31012025/06/17/image_31012025_06_17_36_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/16/image_31012025_06_16_57_10400.jpg
/home/pi/Desktop/images/31012025/06/16/image_31012025_06_17_07_10401.jpg
/home/pi/Desktop/images/31012025/06/17/image_31012025_06_17_16_9349.jpg
/home/pi/Desktop/images/31012025/06/17/image_31012025_06_17_27_10458.jpg
/home/pi/Desktop/images/31012025/06/17/image_31012025_06_17_36_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":["1333216514","1333216523","1333216519","1333216548","1333216527"],"photo_ids_order":["1333216514","1333216519","1333216523","1333216527","1333216548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e630c7020a1134b43e040b3630549939.jpg","text":"TemporaryFile(/tmp/multipartBody6215705194598869749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300713918,"filename":"image_31012025_06_16_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/1/31/9eb79b750acd1143cbbe2e6582e8b076.jpg","text":"TemporaryFile(/tmp/multipartBody5488153229454559037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300713918,"filename":"image_31012025_06_17_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/1/31/b9075014f40b98e8514f9aa27d3a1c0d.jpg","text":"TemporaryFile(/tmp/multipartBody746370990401707905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300713918,"filename":"image_31012025_06_17_07_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bf20d9b03342f3595ad1700de07f5482.jpg","text":"TemporaryFile(/tmp/multipartBody9160563522977226165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300713918,"filename":"image_31012025_06_17_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/1/31/17337c6f6d0d9c55bdb8d4d2b60999e1.jpg","text":"TemporaryFile(/tmp/multipartBody1015413762294922656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300713918,"filename":"image_31012025_06_17_27_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333216523","file1":"1333216519","file0":"1333216514","file4":"1333216548","file3":"1333216527"},"map_files_photo_id_array":[{"photo_id":"1333216523","filename":"file2"},{"photo_id":"1333216548","filename":"file4"},{"photo_id":"1333216519","filename":"file1"},{"photo_id":"1333216514","filename":"file0"},{"photo_id":"1333216527","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333216514":["hashtag1","hashtag2"]},{"1333216523":["hashtag1","hashtag2"]},{"1333216519":["hashtag1","hashtag2"]},{"1333216548":["hashtag1","hashtag2"]},{"1333216527":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333216514, 1333216523, 1333216519, 1333216548, 1333216527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.86639451980591 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:18:32.248877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/17/image_31012025_06_17_47_10356.jpg', '/home/pi/Desktop/images/31012025/06/17/image_31012025_06_18_06_9350.jpg', '/home/pi/Desktop/images/31012025/06/18/image_31012025_06_18_17_10482.jpg', '/home/pi/Desktop/images/31012025/06/18/image_31012025_06_18_26_9412.jpg', '/home/pi/Desktop/images/31012025/06/18/image_31012025_06_18_37_10372.jpg', '/home/pi/Desktop/images/31012025/06/18/image_31012025_06_18_47_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/17/image_31012025_06_17_47_10356.jpg
/home/pi/Desktop/images/31012025/06/17/image_31012025_06_18_06_9350.jpg
/home/pi/Desktop/images/31012025/06/18/image_31012025_06_18_17_10482.jpg
/home/pi/Desktop/images/31012025/06/18/image_31012025_06_18_26_9412.jpg
/home/pi/Desktop/images/31012025/06/18/image_31012025_06_18_37_10372.jpg
/home/pi/Desktop/images/31012025/06/18/image_31012025_06_18_47_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":["1333216858","1333216762","1333216920","1333216883","1333216818","1333216787"],"photo_ids_order":["1333216762","1333216787","1333216818","1333216858","1333216883","1333216920"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2eccc3ffd71c30dd493b76b85a809880.jpg","text":"TemporaryFile(/tmp/multipartBody1437172113871153879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300773169,"filename":"image_31012025_06_18_26_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a1199da4878a288329bf08759999452b.jpg","text":"TemporaryFile(/tmp/multipartBody4344020023833850832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300773169,"filename":"image_31012025_06_17_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/1/31/66d3bdc81df878827cf66d1ad3ccb646.jpg","text":"TemporaryFile(/tmp/multipartBody694434104363768869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300773169,"filename":"image_31012025_06_18_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/1/31/c4f58f049f06671d5d89793cd0510273.jpg","text":"TemporaryFile(/tmp/multipartBody409062042573960624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300773169,"filename":"image_31012025_06_18_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/1/31/e3bf57c0b103d40c533b929e3b9b213c.jpg","text":"TemporaryFile(/tmp/multipartBody5125648980420816719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300773169,"filename":"image_31012025_06_18_17_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bac50ebe36d27be981c3151c91ee7d4e.jpg","text":"TemporaryFile(/tmp/multipartBody5239774430974631301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300773169,"filename":"image_31012025_06_18_06_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333216818","file1":"1333216787","file0":"1333216762","file4":"1333216883","file5":"1333216920","file3":"1333216858"},"map_files_photo_id_array":[{"photo_id":"1333216920","filename":"file5"},{"photo_id":"1333216818","filename":"file2"},{"photo_id":"1333216883","filename":"file4"},{"photo_id":"1333216787","filename":"file1"},{"photo_id":"1333216762","filename":"file0"},{"photo_id":"1333216858","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333216858":["hashtag1","hashtag2"]},{"1333216762":["hashtag1","hashtag2"]},{"1333216920":["hashtag1","hashtag2"]},{"1333216883":["hashtag1","hashtag2"]},{"1333216818":["hashtag1","hashtag2"]},{"1333216787":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333216858, 1333216762, 1333216920, 1333216883, 1333216818, 1333216787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.18236255645752 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:19:32.478194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/18/image_31012025_06_18_56_9326.jpg', '/home/pi/Desktop/images/31012025/06/19/image_31012025_06_19_17_10357.jpg', '/home/pi/Desktop/images/31012025/06/19/image_31012025_06_19_26_9405.jpg', '/home/pi/Desktop/images/31012025/06/19/image_31012025_06_19_37_10491.jpg', '/home/pi/Desktop/images/31012025/06/19/image_31012025_06_19_46_9444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/18/image_31012025_06_18_56_9326.jpg
/home/pi/Desktop/images/31012025/06/19/image_31012025_06_19_17_10357.jpg
/home/pi/Desktop/images/31012025/06/19/image_31012025_06_19_26_9405.jpg
/home/pi/Desktop/images/31012025/06/19/image_31012025_06_19_37_10491.jpg
/home/pi/Desktop/images/31012025/06/19/image_31012025_06_19_46_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":["1333217004","1333217016","1333217009","1333217012","1333217006"],"photo_ids_order":["1333217004","1333217006","1333217009","1333217012","1333217016"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6c0bd3753b8b8a3b621286a9946743ab.jpg","text":"TemporaryFile(/tmp/multipartBody7005802911952909976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300833380,"filename":"image_31012025_06_18_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/1/31/59f31e69677db4459336e0c8a0c937fe.jpg","text":"TemporaryFile(/tmp/multipartBody267480189819755036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300833380,"filename":"image_31012025_06_19_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/1/31/aef422cd750e26c34ecc1da80d0de9dc.jpg","text":"TemporaryFile(/tmp/multipartBody1884283302489302360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300833380,"filename":"image_31012025_06_19_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/1/31/65dba1fad9959bff2fa827ba0f5eac12.jpg","text":"TemporaryFile(/tmp/multipartBody7085627974898654180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300833380,"filename":"image_31012025_06_19_37_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/79288f6d933252fcdf6893501ae7a45e.jpg","text":"TemporaryFile(/tmp/multipartBody4284550725725590425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300833380,"filename":"image_31012025_06_19_17_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333217009","file1":"1333217006","file0":"1333217004","file4":"1333217016","file3":"1333217012"},"map_files_photo_id_array":[{"photo_id":"1333217009","filename":"file2"},{"photo_id":"1333217016","filename":"file4"},{"photo_id":"1333217006","filename":"file1"},{"photo_id":"1333217004","filename":"file0"},{"photo_id":"1333217012","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333217004":["hashtag1","hashtag2"]},{"1333217016":["hashtag1","hashtag2"]},{"1333217009":["hashtag1","hashtag2"]},{"1333217012":["hashtag1","hashtag2"]},{"1333217006":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333217004, 1333217016, 1333217009, 1333217012, 1333217006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.743139028549194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:20:32.756193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/19/image_31012025_06_19_57_10460.jpg', '/home/pi/Desktop/images/31012025/06/19/image_31012025_06_20_06_9344.jpg', '/home/pi/Desktop/images/31012025/06/20/image_31012025_06_20_16_10334.jpg', '/home/pi/Desktop/images/31012025/06/20/image_31012025_06_20_27_10402.jpg', '/home/pi/Desktop/images/31012025/06/20/image_31012025_06_20_36_9436.jpg', '/home/pi/Desktop/images/31012025/06/20/image_31012025_06_20_47_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/19/image_31012025_06_19_57_10460.jpg
/home/pi/Desktop/images/31012025/06/19/image_31012025_06_20_06_9344.jpg
/home/pi/Desktop/images/31012025/06/20/image_31012025_06_20_16_10334.jpg
/home/pi/Desktop/images/31012025/06/20/image_31012025_06_20_27_10402.jpg
/home/pi/Desktop/images/31012025/06/20/image_31012025_06_20_36_9436.jpg
/home/pi/Desktop/images/31012025/06/20/image_31012025_06_20_47_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":["1333217065","1333217044","1333217061","1333217070","1333217046","1333217057"],"photo_ids_order":["1333217044","1333217046","1333217057","1333217061","1333217065","1333217070"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/454336584c85b45f68fc105c3445e75e.jpg","text":"TemporaryFile(/tmp/multipartBody6460775834305752259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300893667,"filename":"image_31012025_06_20_36_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b30966828e0413eaed2ced810134c2dc.jpg","text":"TemporaryFile(/tmp/multipartBody425167404026215141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300893667,"filename":"image_31012025_06_19_57_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1fe3e2a618e8e4249192ca696f2a58fe.jpg","text":"TemporaryFile(/tmp/multipartBody8843160268937729904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300893667,"filename":"image_31012025_06_20_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/1/31/6388e50213a6b27d1544c562f0775b0c.jpg","text":"TemporaryFile(/tmp/multipartBody5559421429064943195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300893667,"filename":"image_31012025_06_20_47_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/90574942601fcf0acb3ba4041ce9a453.jpg","text":"TemporaryFile(/tmp/multipartBody1031539201797883350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300893667,"filename":"image_31012025_06_20_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/1/31/2028b2eddbde14aa4482d049905f497b.jpg","text":"TemporaryFile(/tmp/multipartBody203626461590966356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300893667,"filename":"image_31012025_06_20_16_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333217057","file1":"1333217046","file0":"1333217044","file4":"1333217065","file5":"1333217070","file3":"1333217061"},"map_files_photo_id_array":[{"photo_id":"1333217070","filename":"file5"},{"photo_id":"1333217057","filename":"file2"},{"photo_id":"1333217065","filename":"file4"},{"photo_id":"1333217046","filename":"file1"},{"photo_id":"1333217044","filename":"file0"},{"photo_id":"1333217061","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333217065":["hashtag1","hashtag2"]},{"1333217044":["hashtag1","hashtag2"]},{"1333217061":["hashtag1","hashtag2"]},{"1333217070":["hashtag1","hashtag2"]},{"1333217046":["hashtag1","hashtag2"]},{"1333217057":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333217065, 1333217044, 1333217061, 1333217070, 1333217046, 1333217057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24585843086243 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:21:32.885336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/20/image_31012025_06_20_57_10427.jpg', '/home/pi/Desktop/images/31012025/06/20/image_31012025_06_21_06_9336.jpg', '/home/pi/Desktop/images/31012025/06/21/image_31012025_06_21_17_10424.jpg', '/home/pi/Desktop/images/31012025/06/21/image_31012025_06_21_26_9355.jpg', '/home/pi/Desktop/images/31012025/06/21/image_31012025_06_21_37_10356.jpg', '/home/pi/Desktop/images/31012025/06/21/image_31012025_06_21_47_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/20/image_31012025_06_20_57_10427.jpg
/home/pi/Desktop/images/31012025/06/20/image_31012025_06_21_06_9336.jpg
/home/pi/Desktop/images/31012025/06/21/image_31012025_06_21_17_10424.jpg
/home/pi/Desktop/images/31012025/06/21/image_31012025_06_21_26_9355.jpg
/home/pi/Desktop/images/31012025/06/21/image_31012025_06_21_37_10356.jpg
/home/pi/Desktop/images/31012025/06/21/image_31012025_06_21_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":["1333217155","1333217167","1333217169","1333217160","1333217162","1333217165"],"photo_ids_order":["1333217155","1333217160","1333217162","1333217165","1333217167","1333217169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c6212c8e9560a46d877b8a1402c9a77d.jpg","text":"TemporaryFile(/tmp/multipartBody2240147050996150674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300953797,"filename":"image_31012025_06_20_57_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/202a20837d5a09afe75058ea96d3ce8d.jpg","text":"TemporaryFile(/tmp/multipartBody309401978344449063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300953797,"filename":"image_31012025_06_21_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/1/31/33e70b26b0f31ab96234c4cc23b7020a.jpg","text":"TemporaryFile(/tmp/multipartBody2762312244908634116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300953797,"filename":"image_31012025_06_21_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/1/31/4a4925a556ca9c64f9d44d6e74b927b3.jpg","text":"TemporaryFile(/tmp/multipartBody2777877315294284530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300953797,"filename":"image_31012025_06_21_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/1/31/889906507f595550d05669a5cae5c550.jpg","text":"TemporaryFile(/tmp/multipartBody7008979941005298539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300953797,"filename":"image_31012025_06_21_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/1/31/e1019541f199091016b7b9f9f1f31b70.jpg","text":"TemporaryFile(/tmp/multipartBody6307622221468287973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738300953797,"filename":"image_31012025_06_21_26_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333217162","file1":"1333217160","file0":"1333217155","file4":"1333217167","file5":"1333217169","file3":"1333217165"},"map_files_photo_id_array":[{"photo_id":"1333217169","filename":"file5"},{"photo_id":"1333217162","filename":"file2"},{"photo_id":"1333217167","filename":"file4"},{"photo_id":"1333217160","filename":"file1"},{"photo_id":"1333217155","filename":"file0"},{"photo_id":"1333217165","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333217155":["hashtag1","hashtag2"]},{"1333217167":["hashtag1","hashtag2"]},{"1333217169":["hashtag1","hashtag2"]},{"1333217160":["hashtag1","hashtag2"]},{"1333217162":["hashtag1","hashtag2"]},{"1333217165":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333217155, 1333217167, 1333217169, 1333217160, 1333217162, 1333217165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.070863485336304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:22:32.227733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/21/image_31012025_06_21_56_9399.jpg', '/home/pi/Desktop/images/31012025/06/21/image_31012025_06_22_07_10396.jpg', '/home/pi/Desktop/images/31012025/06/22/image_31012025_06_22_17_10346.jpg', '/home/pi/Desktop/images/31012025/06/22/image_31012025_06_22_27_9452.jpg', '/home/pi/Desktop/images/31012025/06/22/image_31012025_06_22_37_10366.jpg', '/home/pi/Desktop/images/31012025/06/22/image_31012025_06_22_46_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/21/image_31012025_06_21_56_9399.jpg
/home/pi/Desktop/images/31012025/06/21/image_31012025_06_22_07_10396.jpg
/home/pi/Desktop/images/31012025/06/22/image_31012025_06_22_17_10346.jpg
/home/pi/Desktop/images/31012025/06/22/image_31012025_06_22_27_9452.jpg
/home/pi/Desktop/images/31012025/06/22/image_31012025_06_22_37_10366.jpg
/home/pi/Desktop/images/31012025/06/22/image_31012025_06_22_46_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":["1333217196","1333217203","1333217192","1333217186","1333217207","1333217210"],"photo_ids_order":["1333217186","1333217192","1333217196","1333217203","1333217207","1333217210"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1a6891563216a3d3690009ae00b59159.jpg","text":"TemporaryFile(/tmp/multipartBody8416968272003632992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301013134,"filename":"image_31012025_06_22_17_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9be3515d7197580a985fe3d42383b75e.jpg","text":"TemporaryFile(/tmp/multipartBody5917866538222066611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301013134,"filename":"image_31012025_06_22_27_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d556a8922c3552c35ee6557efd86bf07.jpg","text":"TemporaryFile(/tmp/multipartBody1510883228570546765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301013134,"filename":"image_31012025_06_22_07_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0b6beca0428cfc6731d3d46a81bce15a.jpg","text":"TemporaryFile(/tmp/multipartBody1643411596499953506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301013134,"filename":"image_31012025_06_21_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/1/31/8de9cdbb3450a61033f03e2602dc5751.jpg","text":"TemporaryFile(/tmp/multipartBody93269867333366472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301013134,"filename":"image_31012025_06_22_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/1/31/357a9d8000205ced290ecf4602f82a26.jpg","text":"TemporaryFile(/tmp/multipartBody4570017246231210100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301013134,"filename":"image_31012025_06_22_46_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333217196","file1":"1333217192","file0":"1333217186","file4":"1333217207","file5":"1333217210","file3":"1333217203"},"map_files_photo_id_array":[{"photo_id":"1333217210","filename":"file5"},{"photo_id":"1333217196","filename":"file2"},{"photo_id":"1333217207","filename":"file4"},{"photo_id":"1333217192","filename":"file1"},{"photo_id":"1333217186","filename":"file0"},{"photo_id":"1333217203","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333217196":["hashtag1","hashtag2"]},{"1333217203":["hashtag1","hashtag2"]},{"1333217192":["hashtag1","hashtag2"]},{"1333217186":["hashtag1","hashtag2"]},{"1333217207":["hashtag1","hashtag2"]},{"1333217210":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333217196, 1333217203, 1333217192, 1333217186, 1333217207, 1333217210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.301109790802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:23:32.546347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/22/image_31012025_06_22_57_10349.jpg', '/home/pi/Desktop/images/31012025/06/22/image_31012025_06_23_07_10336.jpg', '/home/pi/Desktop/images/31012025/06/23/image_31012025_06_23_16_9344.jpg', '/home/pi/Desktop/images/31012025/06/23/image_31012025_06_23_27_10387.jpg', '/home/pi/Desktop/images/31012025/06/23/image_31012025_06_23_37_10350.jpg', '/home/pi/Desktop/images/31012025/06/23/image_31012025_06_23_46_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/22/image_31012025_06_22_57_10349.jpg
/home/pi/Desktop/images/31012025/06/22/image_31012025_06_23_07_10336.jpg
/home/pi/Desktop/images/31012025/06/23/image_31012025_06_23_16_9344.jpg
/home/pi/Desktop/images/31012025/06/23/image_31012025_06_23_27_10387.jpg
/home/pi/Desktop/images/31012025/06/23/image_31012025_06_23_37_10350.jpg
/home/pi/Desktop/images/31012025/06/23/image_31012025_06_23_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":["1333217224","1333217232","1333217235","1333217229","1333217240","1333217237"],"photo_ids_order":["1333217224","1333217229","1333217232","1333217235","1333217237","1333217240"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/458d4266b0c5e015bd309d1620d64dd1.jpg","text":"TemporaryFile(/tmp/multipartBody5914296665415917969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301073449,"filename":"image_31012025_06_22_57_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/702ab244c9e69d25b1d5edb7d8765643.jpg","text":"TemporaryFile(/tmp/multipartBody9125224899099466910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301073449,"filename":"image_31012025_06_23_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/1/31/7957dfa61ef533b868ddd1a680a4cde9.jpg","text":"TemporaryFile(/tmp/multipartBody5490154549616239265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301073449,"filename":"image_31012025_06_23_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/1/31/7e0aaa6e610acdeb40d389c6c226dbf7.jpg","text":"TemporaryFile(/tmp/multipartBody1459118670878997768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301073449,"filename":"image_31012025_06_23_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/1/31/a15f9839a16e414befed1b0933618fff.jpg","text":"TemporaryFile(/tmp/multipartBody4366361175640420302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301073449,"filename":"image_31012025_06_23_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/1/31/829580dda35ae917463e6e578975193e.jpg","text":"TemporaryFile(/tmp/multipartBody7466830671773868873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301073449,"filename":"image_31012025_06_23_37_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333217232","file1":"1333217229","file0":"1333217224","file4":"1333217237","file5":"1333217240","file3":"1333217235"},"map_files_photo_id_array":[{"photo_id":"1333217240","filename":"file5"},{"photo_id":"1333217232","filename":"file2"},{"photo_id":"1333217237","filename":"file4"},{"photo_id":"1333217229","filename":"file1"},{"photo_id":"1333217224","filename":"file0"},{"photo_id":"1333217235","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333217224":["hashtag1","hashtag2"]},{"1333217232":["hashtag1","hashtag2"]},{"1333217235":["hashtag1","hashtag2"]},{"1333217229":["hashtag1","hashtag2"]},{"1333217240":["hashtag1","hashtag2"]},{"1333217237":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333217224, 1333217232, 1333217235, 1333217229, 1333217240, 1333217237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04549050331116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:24:32.608213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/23/image_31012025_06_23_57_10471.jpg', '/home/pi/Desktop/images/31012025/06/23/image_31012025_06_24_06_9393.jpg', '/home/pi/Desktop/images/31012025/06/24/image_31012025_06_24_17_10420.jpg', '/home/pi/Desktop/images/31012025/06/24/image_31012025_06_24_27_10372.jpg', '/home/pi/Desktop/images/31012025/06/24/image_31012025_06_24_36_9407.jpg', '/home/pi/Desktop/images/31012025/06/24/image_31012025_06_24_47_10455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/23/image_31012025_06_23_57_10471.jpg
/home/pi/Desktop/images/31012025/06/23/image_31012025_06_24_06_9393.jpg
/home/pi/Desktop/images/31012025/06/24/image_31012025_06_24_17_10420.jpg
/home/pi/Desktop/images/31012025/06/24/image_31012025_06_24_27_10372.jpg
/home/pi/Desktop/images/31012025/06/24/image_31012025_06_24_36_9407.jpg
/home/pi/Desktop/images/31012025/06/24/image_31012025_06_24_47_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":["1333217275","1333217311","1333217277","1333217302","1333217319","1333217306"],"photo_ids_order":["1333217275","1333217277","1333217302","1333217306","1333217311","1333217319"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/81f002343ae3a20c88cf9e3c5bcb22c2.jpg","text":"TemporaryFile(/tmp/multipartBody8282678817690049950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301133528,"filename":"image_31012025_06_23_57_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bf6f2e69511bc1b9aaef70a545fafe27.jpg","text":"TemporaryFile(/tmp/multipartBody2014140420345610000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301133528,"filename":"image_31012025_06_24_36_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1ff2fd6183ba64fe4f18c2ad9de8c864.jpg","text":"TemporaryFile(/tmp/multipartBody4638125003607676386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301133528,"filename":"image_31012025_06_24_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/1/31/a47152d91822cb9779ed6d808ac0977f.jpg","text":"TemporaryFile(/tmp/multipartBody5465616632658011945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301133528,"filename":"image_31012025_06_24_17_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fcbc2a18ec990a582c1409ac780a5042.jpg","text":"TemporaryFile(/tmp/multipartBody183451263685652226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301133528,"filename":"image_31012025_06_24_47_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7dd159f80f1d42e535b45fe49c587d85.jpg","text":"TemporaryFile(/tmp/multipartBody8728428227048947741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301133528,"filename":"image_31012025_06_24_27_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333217302","file1":"1333217277","file0":"1333217275","file4":"1333217311","file5":"1333217319","file3":"1333217306"},"map_files_photo_id_array":[{"photo_id":"1333217319","filename":"file5"},{"photo_id":"1333217302","filename":"file2"},{"photo_id":"1333217311","filename":"file4"},{"photo_id":"1333217277","filename":"file1"},{"photo_id":"1333217275","filename":"file0"},{"photo_id":"1333217306","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333217275":["hashtag1","hashtag2"]},{"1333217311":["hashtag1","hashtag2"]},{"1333217277":["hashtag1","hashtag2"]},{"1333217302":["hashtag1","hashtag2"]},{"1333217319":["hashtag1","hashtag2"]},{"1333217306":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333217275, 1333217311, 1333217277, 1333217302, 1333217319, 1333217306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29662251472473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:25:32.824590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/24/image_31012025_06_24_56_9339.jpg', '/home/pi/Desktop/images/31012025/06/24/image_31012025_06_25_07_10384.jpg', '/home/pi/Desktop/images/31012025/06/25/image_31012025_06_25_17_10343.jpg', '/home/pi/Desktop/images/31012025/06/25/image_31012025_06_25_27_9913.jpg', '/home/pi/Desktop/images/31012025/06/25/image_31012025_06_25_36_9350.jpg', '/home/pi/Desktop/images/31012025/06/25/image_31012025_06_25_47_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/24/image_31012025_06_24_56_9339.jpg
/home/pi/Desktop/images/31012025/06/24/image_31012025_06_25_07_10384.jpg
/home/pi/Desktop/images/31012025/06/25/image_31012025_06_25_17_10343.jpg
/home/pi/Desktop/images/31012025/06/25/image_31012025_06_25_27_9913.jpg
/home/pi/Desktop/images/31012025/06/25/image_31012025_06_25_36_9350.jpg
/home/pi/Desktop/images/31012025/06/25/image_31012025_06_25_47_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":["1333217728","1333217688","1333217696","1333217693","1333217738","1333217662"],"photo_ids_order":["1333217662","1333217688","1333217693","1333217696","1333217728","1333217738"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/340917901463dc04b66d32f299f888af.jpg","text":"TemporaryFile(/tmp/multipartBody849595421982385519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301193747,"filename":"image_31012025_06_25_36_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/db970db8362a64774ca450c4e046d84e.jpg","text":"TemporaryFile(/tmp/multipartBody8615858212802565645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301193747,"filename":"image_31012025_06_25_07_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/db6d146fa3c87b5231bbb181cd0d0a5b.jpg","text":"TemporaryFile(/tmp/multipartBody2755281717565724488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301193747,"filename":"image_31012025_06_25_27_9913.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8c0f0072e4c53c63ac3ab6af99aa5bb1.jpg","text":"TemporaryFile(/tmp/multipartBody5445568046098111140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301193747,"filename":"image_31012025_06_25_17_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/65c89770d446afb7f41d02c740c5be80.jpg","text":"TemporaryFile(/tmp/multipartBody1831121807405712386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301193747,"filename":"image_31012025_06_25_47_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ffaeeda7fa40e039aac8fe15269fd7bd.jpg","text":"TemporaryFile(/tmp/multipartBody1769164587879300174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301193747,"filename":"image_31012025_06_24_56_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333217693","file1":"1333217688","file0":"1333217662","file4":"1333217728","file5":"1333217738","file3":"1333217696"},"map_files_photo_id_array":[{"photo_id":"1333217738","filename":"file5"},{"photo_id":"1333217693","filename":"file2"},{"photo_id":"1333217728","filename":"file4"},{"photo_id":"1333217688","filename":"file1"},{"photo_id":"1333217662","filename":"file0"},{"photo_id":"1333217696","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333217728":["hashtag1","hashtag2"]},{"1333217688":["hashtag1","hashtag2"]},{"1333217696":["hashtag1","hashtag2"]},{"1333217693":["hashtag1","hashtag2"]},{"1333217738":["hashtag1","hashtag2"]},{"1333217662":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333217728, 1333217688, 1333217696, 1333217693, 1333217738, 1333217662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06878042221069 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:26:32.977280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/25/image_31012025_06_25_56_9725.jpg', '/home/pi/Desktop/images/31012025/06/25/image_31012025_06_26_07_10450.jpg', '/home/pi/Desktop/images/31012025/06/26/image_31012025_06_26_16_9391.jpg', '/home/pi/Desktop/images/31012025/06/26/image_31012025_06_26_27_10337.jpg', '/home/pi/Desktop/images/31012025/06/26/image_31012025_06_26_37_10420.jpg', '/home/pi/Desktop/images/31012025/06/26/image_31012025_06_26_46_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/25/image_31012025_06_25_56_9725.jpg
/home/pi/Desktop/images/31012025/06/25/image_31012025_06_26_07_10450.jpg
/home/pi/Desktop/images/31012025/06/26/image_31012025_06_26_16_9391.jpg
/home/pi/Desktop/images/31012025/06/26/image_31012025_06_26_27_10337.jpg
/home/pi/Desktop/images/31012025/06/26/image_31012025_06_26_37_10420.jpg
/home/pi/Desktop/images/31012025/06/26/image_31012025_06_26_46_9338.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5280377864837646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 06:26:43.028297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/25/image_31012025_06_25_56_9725.jpg', '/home/pi/Desktop/images/31012025/06/25/image_31012025_06_26_07_10450.jpg', '/home/pi/Desktop/images/31012025/06/26/image_31012025_06_26_16_9391.jpg', '/home/pi/Desktop/images/31012025/06/26/image_31012025_06_26_27_10337.jpg', '/home/pi/Desktop/images/31012025/06/26/image_31012025_06_26_37_10420.jpg', '/home/pi/Desktop/images/31012025/06/26/image_31012025_06_26_46_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/25/image_31012025_06_25_56_9725.jpg
/home/pi/Desktop/images/31012025/06/25/image_31012025_06_26_07_10450.jpg
/home/pi/Desktop/images/31012025/06/26/image_31012025_06_26_16_9391.jpg
/home/pi/Desktop/images/31012025/06/26/image_31012025_06_26_27_10337.jpg
/home/pi/Desktop/images/31012025/06/26/image_31012025_06_26_37_10420.jpg
/home/pi/Desktop/images/31012025/06/26/image_31012025_06_26_46_9338.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":["1333217983","1333217962","1333217876","1333217891","1333217870","1333217986"],"photo_ids_order":["1333217870","1333217876","1333217891","1333217962","1333217983","1333217986"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dce119a9b9d9537c817d861af978eaaf.jpg","text":"TemporaryFile(/tmp/multipartBody266421325785177828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301263939,"filename":"image_31012025_06_26_37_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dcaf31377701e2449b741c7b89b76f6d.jpg","text":"TemporaryFile(/tmp/multipartBody7823672870193933713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301263939,"filename":"image_31012025_06_26_27_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ac7d3a3626bfdb92f477b1f280654edd.jpg","text":"TemporaryFile(/tmp/multipartBody4927900793837265883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301263939,"filename":"image_31012025_06_26_07_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3cdd3d087f30bdfe7724401e92705ff1.jpg","text":"TemporaryFile(/tmp/multipartBody3180948079005092415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301263939,"filename":"image_31012025_06_26_16_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4e194c1ba10bd3f78ab5b69da0c757b2.jpg","text":"TemporaryFile(/tmp/multipartBody2282361974229933961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301263939,"filename":"image_31012025_06_25_56_9725.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dd08662e7bd86b0369b6aedc6878039a.jpg","text":"TemporaryFile(/tmp/multipartBody1816475878056436843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301263939,"filename":"image_31012025_06_26_46_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333217891","file1":"1333217876","file0":"1333217870","file4":"1333217983","file5":"1333217986","file3":"1333217962"},"map_files_photo_id_array":[{"photo_id":"1333217986","filename":"file5"},{"photo_id":"1333217891","filename":"file2"},{"photo_id":"1333217983","filename":"file4"},{"photo_id":"1333217876","filename":"file1"},{"photo_id":"1333217870","filename":"file0"},{"photo_id":"1333217962","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333217983":["hashtag1","hashtag2"]},{"1333217962":["hashtag1","hashtag2"]},{"1333217876":["hashtag1","hashtag2"]},{"1333217891":["hashtag1","hashtag2"]},{"1333217870":["hashtag1","hashtag2"]},{"1333217986":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333217983, 1333217962, 1333217876, 1333217891, 1333217870, 1333217986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9773485660553 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:27:32.347382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/26/image_31012025_06_26_57_10365.jpg', '/home/pi/Desktop/images/31012025/06/26/image_31012025_06_27_06_9524.jpg', '/home/pi/Desktop/images/31012025/06/27/image_31012025_06_27_17_10331.jpg', '/home/pi/Desktop/images/31012025/06/27/image_31012025_06_27_27_10453.jpg', '/home/pi/Desktop/images/31012025/06/27/image_31012025_06_27_36_9352.jpg', '/home/pi/Desktop/images/31012025/06/27/image_31012025_06_27_47_10471.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/26/image_31012025_06_26_57_10365.jpg
/home/pi/Desktop/images/31012025/06/26/image_31012025_06_27_06_9524.jpg
/home/pi/Desktop/images/31012025/06/27/image_31012025_06_27_17_10331.jpg
/home/pi/Desktop/images/31012025/06/27/image_31012025_06_27_27_10453.jpg
/home/pi/Desktop/images/31012025/06/27/image_31012025_06_27_36_9352.jpg
/home/pi/Desktop/images/31012025/06/27/image_31012025_06_27_47_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":["1333218078","1333218339","1333218315","1333218331","1333218280","1333218328"],"photo_ids_order":["1333218078","1333218280","1333218315","1333218328","1333218331","1333218339"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a21f0002b4477fa147a862142d63e571.jpg","text":"TemporaryFile(/tmp/multipartBody480461061045640659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301313276,"filename":"image_31012025_06_26_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/1/31/204be0accdb2cb04de51875ab2238f24.jpg","text":"TemporaryFile(/tmp/multipartBody3850076955053992459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301313276,"filename":"image_31012025_06_27_47_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8ecec7a457c2ca645d5cf1aede781070.jpg","text":"TemporaryFile(/tmp/multipartBody5088558756051600870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301313276,"filename":"image_31012025_06_27_17_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e3a70e6958e71e3fabd109db782f6504.jpg","text":"TemporaryFile(/tmp/multipartBody8970733229615786703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301313276,"filename":"image_31012025_06_27_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/1/31/37a518b3ac4f4a40ba63f8aaa7ba7625.jpg","text":"TemporaryFile(/tmp/multipartBody7227094878725061733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301313276,"filename":"image_31012025_06_27_06_9524.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/28ba58095d644ea502aff93a462b2e05.jpg","text":"TemporaryFile(/tmp/multipartBody9000113325239761083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301313276,"filename":"image_31012025_06_27_27_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333218315","file1":"1333218280","file0":"1333218078","file4":"1333218331","file5":"1333218339","file3":"1333218328"},"map_files_photo_id_array":[{"photo_id":"1333218339","filename":"file5"},{"photo_id":"1333218315","filename":"file2"},{"photo_id":"1333218331","filename":"file4"},{"photo_id":"1333218280","filename":"file1"},{"photo_id":"1333218078","filename":"file0"},{"photo_id":"1333218328","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333218078":["hashtag1","hashtag2"]},{"1333218339":["hashtag1","hashtag2"]},{"1333218315":["hashtag1","hashtag2"]},{"1333218331":["hashtag1","hashtag2"]},{"1333218280":["hashtag1","hashtag2"]},{"1333218328":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333218078, 1333218339, 1333218315, 1333218331, 1333218280, 1333218328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.57755422592163 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:28:32.556064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/27/image_31012025_06_27_56_9389.jpg', '/home/pi/Desktop/images/31012025/06/27/image_31012025_06_28_07_10403.jpg', '/home/pi/Desktop/images/31012025/06/28/image_31012025_06_28_17_10351.jpg', '/home/pi/Desktop/images/31012025/06/28/image_31012025_06_28_26_9321.jpg', '/home/pi/Desktop/images/31012025/06/28/image_31012025_06_28_37_10365.jpg', '/home/pi/Desktop/images/31012025/06/28/image_31012025_06_28_47_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/27/image_31012025_06_27_56_9389.jpg
/home/pi/Desktop/images/31012025/06/27/image_31012025_06_28_07_10403.jpg
/home/pi/Desktop/images/31012025/06/28/image_31012025_06_28_17_10351.jpg
/home/pi/Desktop/images/31012025/06/28/image_31012025_06_28_26_9321.jpg
/home/pi/Desktop/images/31012025/06/28/image_31012025_06_28_37_10365.jpg
/home/pi/Desktop/images/31012025/06/28/image_31012025_06_28_47_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":["1333218471","1333218540","1333218534","1333218537","1333218490","1333218478"],"photo_ids_order":["1333218471","1333218478","1333218490","1333218534","1333218537","1333218540"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/22681c216e6220af08690593be72bab9.jpg","text":"TemporaryFile(/tmp/multipartBody7912762424242631483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301373478,"filename":"image_31012025_06_27_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/1/31/babf470013c2188158155be8f9e3d6f6.jpg","text":"TemporaryFile(/tmp/multipartBody8701521612280379816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301373478,"filename":"image_31012025_06_28_47_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9c8a8a26b0be978130b337b7876108d8.jpg","text":"TemporaryFile(/tmp/multipartBody5863206961549414249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301373478,"filename":"image_31012025_06_28_26_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e9e168cf947c751fccc641454f3b87cb.jpg","text":"TemporaryFile(/tmp/multipartBody1772341917959684648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301373478,"filename":"image_31012025_06_28_37_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0f9a15951724d1ed0c0a8a182f299288.jpg","text":"TemporaryFile(/tmp/multipartBody7949330660630367919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301373478,"filename":"image_31012025_06_28_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/1/31/ecc72ba6b9319067f0c1edb10abcd6a7.jpg","text":"TemporaryFile(/tmp/multipartBody5202474389685005963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301373478,"filename":"image_31012025_06_28_07_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333218490","file1":"1333218478","file0":"1333218471","file4":"1333218537","file5":"1333218540","file3":"1333218534"},"map_files_photo_id_array":[{"photo_id":"1333218540","filename":"file5"},{"photo_id":"1333218490","filename":"file2"},{"photo_id":"1333218537","filename":"file4"},{"photo_id":"1333218478","filename":"file1"},{"photo_id":"1333218471","filename":"file0"},{"photo_id":"1333218534","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333218471":["hashtag1","hashtag2"]},{"1333218540":["hashtag1","hashtag2"]},{"1333218534":["hashtag1","hashtag2"]},{"1333218537":["hashtag1","hashtag2"]},{"1333218490":["hashtag1","hashtag2"]},{"1333218478":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333218471, 1333218540, 1333218534, 1333218537, 1333218490, 1333218478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.853275537490845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:29:32.847819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/28/image_31012025_06_28_56_9336.jpg', '/home/pi/Desktop/images/31012025/06/28/image_31012025_06_29_07_10432.jpg', '/home/pi/Desktop/images/31012025/06/29/image_31012025_06_29_16_9342.jpg', '/home/pi/Desktop/images/31012025/06/29/image_31012025_06_29_27_10355.jpg', '/home/pi/Desktop/images/31012025/06/29/image_31012025_06_29_37_10431.jpg', '/home/pi/Desktop/images/31012025/06/29/image_31012025_06_29_46_9379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/28/image_31012025_06_28_56_9336.jpg
/home/pi/Desktop/images/31012025/06/28/image_31012025_06_29_07_10432.jpg
/home/pi/Desktop/images/31012025/06/29/image_31012025_06_29_16_9342.jpg
/home/pi/Desktop/images/31012025/06/29/image_31012025_06_29_27_10355.jpg
/home/pi/Desktop/images/31012025/06/29/image_31012025_06_29_37_10431.jpg
/home/pi/Desktop/images/31012025/06/29/image_31012025_06_29_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":["1333218597","1333218639","1333218627","1333218641","1333218635","1333218631"],"photo_ids_order":["1333218597","1333218627","1333218631","1333218635","1333218639","1333218641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ea1a72d9ddf9becba523c874b60e129a.jpg","text":"TemporaryFile(/tmp/multipartBody2670120751616795310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301433784,"filename":"image_31012025_06_28_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/1/31/acb590e983d974a340aadb66f677f7d2.jpg","text":"TemporaryFile(/tmp/multipartBody5772957300357470693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301433784,"filename":"image_31012025_06_29_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/1/31/3ceb9cfbbf2245dfaca49e6676059085.jpg","text":"TemporaryFile(/tmp/multipartBody5755514446991432911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301433784,"filename":"image_31012025_06_29_07_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cf6319ff051c54999ce3a1145138ab02.jpg","text":"TemporaryFile(/tmp/multipartBody1674802136353069649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301433784,"filename":"image_31012025_06_29_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/1/31/98c3ee97567237cbb46d1aa7b3f76bd0.jpg","text":"TemporaryFile(/tmp/multipartBody1499097086026812304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301433784,"filename":"image_31012025_06_29_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/1/31/c3a81dbcbd7c1fe51943196b65391cc2.jpg","text":"TemporaryFile(/tmp/multipartBody6474082965662789941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301433784,"filename":"image_31012025_06_29_16_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333218631","file1":"1333218627","file0":"1333218597","file4":"1333218639","file5":"1333218641","file3":"1333218635"},"map_files_photo_id_array":[{"photo_id":"1333218641","filename":"file5"},{"photo_id":"1333218631","filename":"file2"},{"photo_id":"1333218639","filename":"file4"},{"photo_id":"1333218627","filename":"file1"},{"photo_id":"1333218597","filename":"file0"},{"photo_id":"1333218635","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333218597":["hashtag1","hashtag2"]},{"1333218639":["hashtag1","hashtag2"]},{"1333218627":["hashtag1","hashtag2"]},{"1333218641":["hashtag1","hashtag2"]},{"1333218635":["hashtag1","hashtag2"]},{"1333218631":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333218597, 1333218639, 1333218627, 1333218641, 1333218635, 1333218631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.58068299293518 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:30:32.915849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/29/image_31012025_06_29_57_10411.jpg', '/home/pi/Desktop/images/31012025/06/29/image_31012025_06_30_07_10366.jpg', '/home/pi/Desktop/images/31012025/06/30/image_31012025_06_30_17_9416.jpg', '/home/pi/Desktop/images/31012025/06/30/image_31012025_06_30_27_10411.jpg', '/home/pi/Desktop/images/31012025/06/30/image_31012025_06_30_36_9353.jpg', '/home/pi/Desktop/images/31012025/06/30/image_31012025_06_30_47_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/29/image_31012025_06_29_57_10411.jpg
/home/pi/Desktop/images/31012025/06/29/image_31012025_06_30_07_10366.jpg
/home/pi/Desktop/images/31012025/06/30/image_31012025_06_30_17_9416.jpg
/home/pi/Desktop/images/31012025/06/30/image_31012025_06_30_27_10411.jpg
/home/pi/Desktop/images/31012025/06/30/image_31012025_06_30_36_9353.jpg
/home/pi/Desktop/images/31012025/06/30/image_31012025_06_30_47_10342.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.554330587387085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 06:30:42.844347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/29/image_31012025_06_29_57_10411.jpg', '/home/pi/Desktop/images/31012025/06/29/image_31012025_06_30_07_10366.jpg', '/home/pi/Desktop/images/31012025/06/30/image_31012025_06_30_17_9416.jpg', '/home/pi/Desktop/images/31012025/06/30/image_31012025_06_30_27_10411.jpg', '/home/pi/Desktop/images/31012025/06/30/image_31012025_06_30_36_9353.jpg', '/home/pi/Desktop/images/31012025/06/30/image_31012025_06_30_47_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/29/image_31012025_06_29_57_10411.jpg
/home/pi/Desktop/images/31012025/06/29/image_31012025_06_30_07_10366.jpg
/home/pi/Desktop/images/31012025/06/30/image_31012025_06_30_17_9416.jpg
/home/pi/Desktop/images/31012025/06/30/image_31012025_06_30_27_10411.jpg
/home/pi/Desktop/images/31012025/06/30/image_31012025_06_30_36_9353.jpg
/home/pi/Desktop/images/31012025/06/30/image_31012025_06_30_47_10342.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":["1333218780","1333218785","1333218764","1333218772","1333218766","1333218760"],"photo_ids_order":["1333218760","1333218764","1333218766","1333218772","1333218780","1333218785"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2085cfdadb943d9248184ce1b78b9342.jpg","text":"TemporaryFile(/tmp/multipartBody209088497166975111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301503747,"filename":"image_31012025_06_30_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/1/31/106a9dafc5ce97fc3a707acfe47d36fe.jpg","text":"TemporaryFile(/tmp/multipartBody863816699165509299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301503747,"filename":"image_31012025_06_30_47_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f4e18c56a42e24d209a617f1a30acb2f.jpg","text":"TemporaryFile(/tmp/multipartBody4386217174590169426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301503747,"filename":"image_31012025_06_30_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/1/31/2ef772125555a019b603983b07cda248.jpg","text":"TemporaryFile(/tmp/multipartBody7008507282560984565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301503747,"filename":"image_31012025_06_30_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/1/31/8db97181f72788656316bb8480e38b9a.jpg","text":"TemporaryFile(/tmp/multipartBody1384911404008511672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301503747,"filename":"image_31012025_06_30_17_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ff2c117dd7c4e4033800779c7ee26908.jpg","text":"TemporaryFile(/tmp/multipartBody691714836946289934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301503747,"filename":"image_31012025_06_29_57_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333218766","file1":"1333218764","file0":"1333218760","file4":"1333218780","file5":"1333218785","file3":"1333218772"},"map_files_photo_id_array":[{"photo_id":"1333218785","filename":"file5"},{"photo_id":"1333218766","filename":"file2"},{"photo_id":"1333218780","filename":"file4"},{"photo_id":"1333218764","filename":"file1"},{"photo_id":"1333218760","filename":"file0"},{"photo_id":"1333218772","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333218780":["hashtag1","hashtag2"]},{"1333218785":["hashtag1","hashtag2"]},{"1333218764":["hashtag1","hashtag2"]},{"1333218772":["hashtag1","hashtag2"]},{"1333218766":["hashtag1","hashtag2"]},{"1333218760":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333218780, 1333218785, 1333218764, 1333218772, 1333218766, 1333218760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.464667081832886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:31:33.205813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/30/image_31012025_06_30_57_10445.jpg', '/home/pi/Desktop/images/31012025/06/30/image_31012025_06_31_06_9335.jpg', '/home/pi/Desktop/images/31012025/06/31/image_31012025_06_31_17_10428.jpg', '/home/pi/Desktop/images/31012025/06/31/image_31012025_06_31_26_9337.jpg', '/home/pi/Desktop/images/31012025/06/31/image_31012025_06_31_37_10362.jpg', '/home/pi/Desktop/images/31012025/06/31/image_31012025_06_31_47_10448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/30/image_31012025_06_30_57_10445.jpg
/home/pi/Desktop/images/31012025/06/30/image_31012025_06_31_06_9335.jpg
/home/pi/Desktop/images/31012025/06/31/image_31012025_06_31_17_10428.jpg
/home/pi/Desktop/images/31012025/06/31/image_31012025_06_31_26_9337.jpg
/home/pi/Desktop/images/31012025/06/31/image_31012025_06_31_37_10362.jpg
/home/pi/Desktop/images/31012025/06/31/image_31012025_06_31_47_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":["1333218816","1333218824","1333218812","1333218806","1333218821","1333218809"],"photo_ids_order":["1333218806","1333218809","1333218812","1333218816","1333218821","1333218824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cfac31ab48365513defc3402866e0e91.jpg","text":"TemporaryFile(/tmp/multipartBody452985785220877068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301554130,"filename":"image_31012025_06_31_26_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2dcb422c1ba6733df55891f4e15b3b9e.jpg","text":"TemporaryFile(/tmp/multipartBody2545453987094232718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301554130,"filename":"image_31012025_06_31_47_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/80bbe9f97b21af53a4f729e238bee4d8.jpg","text":"TemporaryFile(/tmp/multipartBody592296764303139707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301554130,"filename":"image_31012025_06_31_17_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7bf17a96f630b84c76c4419d14a1cc1d.jpg","text":"TemporaryFile(/tmp/multipartBody4006292135254252772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301554130,"filename":"image_31012025_06_30_57_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/33310a95888ffbc1a8ceb8fea340a81b.jpg","text":"TemporaryFile(/tmp/multipartBody5559707344678194763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301554130,"filename":"image_31012025_06_31_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/1/31/73fe6b14e4ad410c104c7f25104bdb66.jpg","text":"TemporaryFile(/tmp/multipartBody5519998544111866118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301554130,"filename":"image_31012025_06_31_06_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333218812","file1":"1333218809","file0":"1333218806","file4":"1333218821","file5":"1333218824","file3":"1333218816"},"map_files_photo_id_array":[{"photo_id":"1333218824","filename":"file5"},{"photo_id":"1333218812","filename":"file2"},{"photo_id":"1333218821","filename":"file4"},{"photo_id":"1333218809","filename":"file1"},{"photo_id":"1333218806","filename":"file0"},{"photo_id":"1333218816","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333218816":["hashtag1","hashtag2"]},{"1333218824":["hashtag1","hashtag2"]},{"1333218812":["hashtag1","hashtag2"]},{"1333218806":["hashtag1","hashtag2"]},{"1333218821":["hashtag1","hashtag2"]},{"1333218809":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333218816, 1333218824, 1333218812, 1333218806, 1333218821, 1333218809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.27334213256836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:32:32.350593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/31/image_31012025_06_31_56_9427.jpg', '/home/pi/Desktop/images/31012025/06/31/image_31012025_06_32_07_10474.jpg', '/home/pi/Desktop/images/31012025/06/32/image_31012025_06_32_16_9338.jpg', '/home/pi/Desktop/images/31012025/06/32/image_31012025_06_32_27_10352.jpg', '/home/pi/Desktop/images/31012025/06/32/image_31012025_06_32_37_10439.jpg', '/home/pi/Desktop/images/31012025/06/32/image_31012025_06_32_46_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/31/image_31012025_06_31_56_9427.jpg
/home/pi/Desktop/images/31012025/06/31/image_31012025_06_32_07_10474.jpg
/home/pi/Desktop/images/31012025/06/32/image_31012025_06_32_16_9338.jpg
/home/pi/Desktop/images/31012025/06/32/image_31012025_06_32_27_10352.jpg
/home/pi/Desktop/images/31012025/06/32/image_31012025_06_32_37_10439.jpg
/home/pi/Desktop/images/31012025/06/32/image_31012025_06_32_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":["1333218854","1333218863","1333218848","1333218841","1333218835","1333218859"],"photo_ids_order":["1333218835","1333218841","1333218848","1333218854","1333218859","1333218863"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c0a84407c524d47cb3f6d06de4266140.jpg","text":"TemporaryFile(/tmp/multipartBody4112448720485585299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301613256,"filename":"image_31012025_06_32_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/1/31/7f58e651b6c7c35ef39729f5d58fa3d4.jpg","text":"TemporaryFile(/tmp/multipartBody394469503604485373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301613256,"filename":"image_31012025_06_32_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/1/31/133159f38ee39a5ee2cac2273861619a.jpg","text":"TemporaryFile(/tmp/multipartBody744457286673559234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301613256,"filename":"image_31012025_06_32_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/1/31/348ef3b4037b32c80301b34427388c36.jpg","text":"TemporaryFile(/tmp/multipartBody6040809667741493607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301613256,"filename":"image_31012025_06_32_07_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/311338988d5647e3d79434224756628a.jpg","text":"TemporaryFile(/tmp/multipartBody8767525865888900241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301613256,"filename":"image_31012025_06_31_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/1/31/64630405e3d7ac540337536833e5fec7.jpg","text":"TemporaryFile(/tmp/multipartBody2015251648525287472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301613256,"filename":"image_31012025_06_32_37_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333218848","file1":"1333218841","file0":"1333218835","file4":"1333218859","file5":"1333218863","file3":"1333218854"},"map_files_photo_id_array":[{"photo_id":"1333218863","filename":"file5"},{"photo_id":"1333218848","filename":"file2"},{"photo_id":"1333218859","filename":"file4"},{"photo_id":"1333218841","filename":"file1"},{"photo_id":"1333218835","filename":"file0"},{"photo_id":"1333218854","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333218854":["hashtag1","hashtag2"]},{"1333218863":["hashtag1","hashtag2"]},{"1333218848":["hashtag1","hashtag2"]},{"1333218841":["hashtag1","hashtag2"]},{"1333218835":["hashtag1","hashtag2"]},{"1333218859":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333218854, 1333218863, 1333218848, 1333218841, 1333218835, 1333218859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21399259567261 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:33:32.678016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/32/image_31012025_06_32_57_10475.jpg', '/home/pi/Desktop/images/31012025/06/32/image_31012025_06_33_06_9343.jpg', '/home/pi/Desktop/images/31012025/06/33/image_31012025_06_33_17_10336.jpg', '/home/pi/Desktop/images/31012025/06/33/image_31012025_06_33_27_10346.jpg', '/home/pi/Desktop/images/31012025/06/33/image_31012025_06_33_36_9366.jpg', '/home/pi/Desktop/images/31012025/06/33/image_31012025_06_33_47_10536.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/32/image_31012025_06_32_57_10475.jpg
/home/pi/Desktop/images/31012025/06/32/image_31012025_06_33_06_9343.jpg
/home/pi/Desktop/images/31012025/06/33/image_31012025_06_33_17_10336.jpg
/home/pi/Desktop/images/31012025/06/33/image_31012025_06_33_27_10346.jpg
/home/pi/Desktop/images/31012025/06/33/image_31012025_06_33_36_9366.jpg
/home/pi/Desktop/images/31012025/06/33/image_31012025_06_33_47_10536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333218910","1333218906","1333218881","1333218914","1333218898","1333218902"],"photo_ids_order":["1333218881","1333218898","1333218902","1333218906","1333218910","1333218914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a3fc6146fc4369adb6af5ddd4c3e9723.jpg","text":"TemporaryFile(/tmp/multipartBody8802266547525122074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301673610,"filename":"image_31012025_06_33_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/1/31/3ff66682a8d14b695744ff977f6b16be.jpg","text":"TemporaryFile(/tmp/multipartBody3960122715088997397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301673610,"filename":"image_31012025_06_33_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/1/31/5e5c49b4ba8a15d90226367aa9cf5f39.jpg","text":"TemporaryFile(/tmp/multipartBody5492612770918394587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301673610,"filename":"image_31012025_06_32_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/1/31/b8a80408e2493165153b5105fb40cdf8.jpg","text":"TemporaryFile(/tmp/multipartBody7041298423630119391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301673610,"filename":"image_31012025_06_33_47_10536.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a47837972cce9edcd4137a5b6221ce4c.jpg","text":"TemporaryFile(/tmp/multipartBody8631859706507526858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301673610,"filename":"image_31012025_06_33_06_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/61584deb0e2c336423c8d4e3fc95d8a9.jpg","text":"TemporaryFile(/tmp/multipartBody6641886833815363433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301673610,"filename":"image_31012025_06_33_17_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333218902","file1":"1333218898","file0":"1333218881","file4":"1333218910","file5":"1333218914","file3":"1333218906"},"map_files_photo_id_array":[{"photo_id":"1333218914","filename":"file5"},{"photo_id":"1333218902","filename":"file2"},{"photo_id":"1333218910","filename":"file4"},{"photo_id":"1333218898","filename":"file1"},{"photo_id":"1333218881","filename":"file0"},{"photo_id":"1333218906","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333218910":["hashtag1","hashtag2"]},{"1333218906":["hashtag1","hashtag2"]},{"1333218881":["hashtag1","hashtag2"]},{"1333218914":["hashtag1","hashtag2"]},{"1333218898":["hashtag1","hashtag2"]},{"1333218902":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333218910, 1333218906, 1333218881, 1333218914, 1333218898, 1333218902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.93583941459656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:34:32.894075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/33/image_31012025_06_33_57_10351.jpg', '/home/pi/Desktop/images/31012025/06/33/image_31012025_06_34_06_9355.jpg', '/home/pi/Desktop/images/31012025/06/34/image_31012025_06_34_17_10383.jpg', '/home/pi/Desktop/images/31012025/06/34/image_31012025_06_34_26_9345.jpg', '/home/pi/Desktop/images/31012025/06/34/image_31012025_06_34_37_10345.jpg', '/home/pi/Desktop/images/31012025/06/34/image_31012025_06_34_47_10469.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/33/image_31012025_06_33_57_10351.jpg
/home/pi/Desktop/images/31012025/06/33/image_31012025_06_34_06_9355.jpg
/home/pi/Desktop/images/31012025/06/34/image_31012025_06_34_17_10383.jpg
/home/pi/Desktop/images/31012025/06/34/image_31012025_06_34_26_9345.jpg
/home/pi/Desktop/images/31012025/06/34/image_31012025_06_34_37_10345.jpg
/home/pi/Desktop/images/31012025/06/34/image_31012025_06_34_47_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":["1333219122","1333219052","1333219025","1333219100","1333219057","1333219105"],"photo_ids_order":["1333219025","1333219052","1333219057","1333219100","1333219105","1333219122"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5579088902801a871e9022fe52a7f77a.jpg","text":"TemporaryFile(/tmp/multipartBody4586195004742841546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301733816,"filename":"image_31012025_06_34_47_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/74e2754284746d64dec5784b53af97a1.jpg","text":"TemporaryFile(/tmp/multipartBody4848325955994082615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301733816,"filename":"image_31012025_06_34_06_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1764f37e9939e90b4d24c12d7c56f3d1.jpg","text":"TemporaryFile(/tmp/multipartBody3986214282194348540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301733816,"filename":"image_31012025_06_33_57_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ee956f7c3c2e7cd0220d2b2fd50ef9df.jpg","text":"TemporaryFile(/tmp/multipartBody5494844833765845147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301733816,"filename":"image_31012025_06_34_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a68d602f150f162ac1b76ef2d35aed5c.jpg","text":"TemporaryFile(/tmp/multipartBody1868610143642674150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301733816,"filename":"image_31012025_06_34_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/1/31/5859003f8993d686b5888df72ea32d5c.jpg","text":"TemporaryFile(/tmp/multipartBody7120927458401064802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301733816,"filename":"image_31012025_06_34_37_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333219057","file1":"1333219052","file0":"1333219025","file4":"1333219105","file5":"1333219122","file3":"1333219100"},"map_files_photo_id_array":[{"photo_id":"1333219122","filename":"file5"},{"photo_id":"1333219057","filename":"file2"},{"photo_id":"1333219105","filename":"file4"},{"photo_id":"1333219052","filename":"file1"},{"photo_id":"1333219025","filename":"file0"},{"photo_id":"1333219100","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333219122":["hashtag1","hashtag2"]},{"1333219052":["hashtag1","hashtag2"]},{"1333219025":["hashtag1","hashtag2"]},{"1333219100":["hashtag1","hashtag2"]},{"1333219057":["hashtag1","hashtag2"]},{"1333219105":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333219122, 1333219052, 1333219025, 1333219100, 1333219057, 1333219105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90266489982605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:35:32.203045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/34/image_31012025_06_34_56_9408.jpg', '/home/pi/Desktop/images/31012025/06/34/image_31012025_06_35_07_10444.jpg', '/home/pi/Desktop/images/31012025/06/35/image_31012025_06_35_16_9334.jpg', '/home/pi/Desktop/images/31012025/06/35/image_31012025_06_35_27_10346.jpg', '/home/pi/Desktop/images/31012025/06/35/image_31012025_06_35_37_10347.jpg', '/home/pi/Desktop/images/31012025/06/35/image_31012025_06_35_46_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/34/image_31012025_06_34_56_9408.jpg
/home/pi/Desktop/images/31012025/06/34/image_31012025_06_35_07_10444.jpg
/home/pi/Desktop/images/31012025/06/35/image_31012025_06_35_16_9334.jpg
/home/pi/Desktop/images/31012025/06/35/image_31012025_06_35_27_10346.jpg
/home/pi/Desktop/images/31012025/06/35/image_31012025_06_35_37_10347.jpg
/home/pi/Desktop/images/31012025/06/35/image_31012025_06_35_46_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333219236","1333219239","1333219230","1333219233","1333219241","1333219237"],"photo_ids_order":["1333219230","1333219233","1333219236","1333219237","1333219239","1333219241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/15075df894f1c39e12ddb683269a85ab.jpg","text":"TemporaryFile(/tmp/multipartBody1665065582677063624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301793178,"filename":"image_31012025_06_35_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/1/31/cd10ae74e5f5082399dd1f067bb6f32b.jpg","text":"TemporaryFile(/tmp/multipartBody1535379263515673641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301793178,"filename":"image_31012025_06_35_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/1/31/efbc402324f36f2eb1881b4432ca74b9.jpg","text":"TemporaryFile(/tmp/multipartBody8704555829882142297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301793178,"filename":"image_31012025_06_34_56_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/47a7eed96b34c459f4f05e60f7230585.jpg","text":"TemporaryFile(/tmp/multipartBody2554287313334382927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301793178,"filename":"image_31012025_06_35_07_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/428cd446741188705ebde5823045f285.jpg","text":"TemporaryFile(/tmp/multipartBody8141561167412726890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301793178,"filename":"image_31012025_06_35_46_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1a22113e407415df98436783fddc6c89.jpg","text":"TemporaryFile(/tmp/multipartBody4809753523081022928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301793178,"filename":"image_31012025_06_35_27_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333219236","file1":"1333219233","file0":"1333219230","file4":"1333219239","file5":"1333219241","file3":"1333219237"},"map_files_photo_id_array":[{"photo_id":"1333219241","filename":"file5"},{"photo_id":"1333219236","filename":"file2"},{"photo_id":"1333219239","filename":"file4"},{"photo_id":"1333219233","filename":"file1"},{"photo_id":"1333219230","filename":"file0"},{"photo_id":"1333219237","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333219236":["hashtag1","hashtag2"]},{"1333219239":["hashtag1","hashtag2"]},{"1333219230":["hashtag1","hashtag2"]},{"1333219233":["hashtag1","hashtag2"]},{"1333219241":["hashtag1","hashtag2"]},{"1333219237":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333219236, 1333219239, 1333219230, 1333219233, 1333219241, 1333219237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.13798213005066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:36:32.498561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/35/image_31012025_06_35_57_10418.jpg', '/home/pi/Desktop/images/31012025/06/35/image_31012025_06_36_07_10339.jpg', '/home/pi/Desktop/images/31012025/06/36/image_31012025_06_36_16_9335.jpg', '/home/pi/Desktop/images/31012025/06/36/image_31012025_06_36_27_10480.jpg', '/home/pi/Desktop/images/31012025/06/36/image_31012025_06_36_36_9338.jpg', '/home/pi/Desktop/images/31012025/06/36/image_31012025_06_36_47_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/35/image_31012025_06_35_57_10418.jpg
/home/pi/Desktop/images/31012025/06/35/image_31012025_06_36_07_10339.jpg
/home/pi/Desktop/images/31012025/06/36/image_31012025_06_36_16_9335.jpg
/home/pi/Desktop/images/31012025/06/36/image_31012025_06_36_27_10480.jpg
/home/pi/Desktop/images/31012025/06/36/image_31012025_06_36_36_9338.jpg
/home/pi/Desktop/images/31012025/06/36/image_31012025_06_36_47_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":["1333219275","1333219283","1333219271","1333219279","1333219267","1333219290"],"photo_ids_order":["1333219267","1333219271","1333219275","1333219279","1333219283","1333219290"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4aa3db10c9ffbb70ebc6a8647ff06439.jpg","text":"TemporaryFile(/tmp/multipartBody5422524270570431522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301853412,"filename":"image_31012025_06_36_16_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/78fba5f660a9cc7fac05f5145292d4b3.jpg","text":"TemporaryFile(/tmp/multipartBody5999219998862266458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301853412,"filename":"image_31012025_06_36_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/1/31/9d35b3dc6903246ba54947f73b337e55.jpg","text":"TemporaryFile(/tmp/multipartBody9205109596232398798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301853412,"filename":"image_31012025_06_36_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/1/31/b89e6486c70d2f92762c6eb3d29e81da.jpg","text":"TemporaryFile(/tmp/multipartBody7977006967412175201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301853412,"filename":"image_31012025_06_36_27_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3b867e3f6e7ace8e403c3d574061c037.jpg","text":"TemporaryFile(/tmp/multipartBody466943078090242967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301853412,"filename":"image_31012025_06_35_57_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/41871bd53e3de3e4350166bf080b5b30.jpg","text":"TemporaryFile(/tmp/multipartBody794820278456438868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301853412,"filename":"image_31012025_06_36_47_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333219275","file1":"1333219271","file0":"1333219267","file4":"1333219283","file5":"1333219290","file3":"1333219279"},"map_files_photo_id_array":[{"photo_id":"1333219290","filename":"file5"},{"photo_id":"1333219275","filename":"file2"},{"photo_id":"1333219283","filename":"file4"},{"photo_id":"1333219271","filename":"file1"},{"photo_id":"1333219267","filename":"file0"},{"photo_id":"1333219279","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333219275":["hashtag1","hashtag2"]},{"1333219283":["hashtag1","hashtag2"]},{"1333219271":["hashtag1","hashtag2"]},{"1333219279":["hashtag1","hashtag2"]},{"1333219267":["hashtag1","hashtag2"]},{"1333219290":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333219275, 1333219283, 1333219271, 1333219279, 1333219267, 1333219290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.805660247802734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:37:32.787380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/36/image_31012025_06_36_57_10423.jpg', '/home/pi/Desktop/images/31012025/06/36/image_31012025_06_37_06_9344.jpg', '/home/pi/Desktop/images/31012025/06/37/image_31012025_06_37_17_10353.jpg', '/home/pi/Desktop/images/31012025/06/37/image_31012025_06_37_27_10358.jpg', '/home/pi/Desktop/images/31012025/06/37/image_31012025_06_37_36_9344.jpg', '/home/pi/Desktop/images/31012025/06/37/image_31012025_06_37_47_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/36/image_31012025_06_36_57_10423.jpg
/home/pi/Desktop/images/31012025/06/36/image_31012025_06_37_06_9344.jpg
/home/pi/Desktop/images/31012025/06/37/image_31012025_06_37_17_10353.jpg
/home/pi/Desktop/images/31012025/06/37/image_31012025_06_37_27_10358.jpg
/home/pi/Desktop/images/31012025/06/37/image_31012025_06_37_36_9344.jpg
/home/pi/Desktop/images/31012025/06/37/image_31012025_06_37_47_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333220190","1333219944","1333220070","1333220145","1333219690","1333219517"],"photo_ids_order":["1333219517","1333219690","1333219944","1333220070","1333220145","1333220190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1edbd0075dcf4988615735f0ed93f883.jpg","text":"TemporaryFile(/tmp/multipartBody2299910204543334595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301913698,"filename":"image_31012025_06_37_47_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c6afb36df7002ff19e2ef8370f2fbd58.jpg","text":"TemporaryFile(/tmp/multipartBody2949039011475158347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301913698,"filename":"image_31012025_06_37_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/1/31/fa91a850628f52f943367b978fc35ff1.jpg","text":"TemporaryFile(/tmp/multipartBody4565079083004593585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301913698,"filename":"image_31012025_06_37_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/1/31/df9a0744f11af6a8ee9cd96273dcea9f.jpg","text":"TemporaryFile(/tmp/multipartBody5558751616099811787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301913698,"filename":"image_31012025_06_37_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/1/31/d1e7369fb37ad0f6b296d9a3f99fd18c.jpg","text":"TemporaryFile(/tmp/multipartBody3556909725248412782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301913698,"filename":"image_31012025_06_37_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/1/31/99f4110f4972b2f3c46372ef4f7f2cd8.jpg","text":"TemporaryFile(/tmp/multipartBody5788833114211882718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301913698,"filename":"image_31012025_06_36_57_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333219944","file1":"1333219690","file0":"1333219517","file4":"1333220145","file5":"1333220190","file3":"1333220070"},"map_files_photo_id_array":[{"photo_id":"1333220190","filename":"file5"},{"photo_id":"1333219944","filename":"file2"},{"photo_id":"1333220145","filename":"file4"},{"photo_id":"1333219690","filename":"file1"},{"photo_id":"1333219517","filename":"file0"},{"photo_id":"1333220070","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333220190":["hashtag1","hashtag2"]},{"1333219944":["hashtag1","hashtag2"]},{"1333220070":["hashtag1","hashtag2"]},{"1333220145":["hashtag1","hashtag2"]},{"1333219690":["hashtag1","hashtag2"]},{"1333219517":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333220190, 1333219944, 1333220070, 1333220145, 1333219690, 1333219517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.33932447433472 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:38:32.861647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/37/image_31012025_06_37_57_10332.jpg', '/home/pi/Desktop/images/31012025/06/37/image_31012025_06_38_06_9406.jpg', '/home/pi/Desktop/images/31012025/06/38/image_31012025_06_38_17_10439.jpg', '/home/pi/Desktop/images/31012025/06/38/image_31012025_06_38_26_9407.jpg', '/home/pi/Desktop/images/31012025/06/38/image_31012025_06_38_37_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/37/image_31012025_06_37_57_10332.jpg
/home/pi/Desktop/images/31012025/06/37/image_31012025_06_38_06_9406.jpg
/home/pi/Desktop/images/31012025/06/38/image_31012025_06_38_17_10439.jpg
/home/pi/Desktop/images/31012025/06/38/image_31012025_06_38_26_9407.jpg
/home/pi/Desktop/images/31012025/06/38/image_31012025_06_38_37_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":["1333220445","1333220430","1333220229","1333220246","1333220447"],"photo_ids_order":["1333220229","1333220246","1333220430","1333220445","1333220447"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/15bc9339a5e5df626463976395e90371.jpg","text":"TemporaryFile(/tmp/multipartBody7253545764187308718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301973761,"filename":"image_31012025_06_38_26_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e03d0d92f8b3968eb37c748fe409a1d7.jpg","text":"TemporaryFile(/tmp/multipartBody704945888150103381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301973761,"filename":"image_31012025_06_38_17_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ded481c503685a650ae3b9c1e6470e14.jpg","text":"TemporaryFile(/tmp/multipartBody9072310211086436277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301973761,"filename":"image_31012025_06_37_57_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/795458aabda0a887eade8e09bffbc196.jpg","text":"TemporaryFile(/tmp/multipartBody3112011733361620097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301973761,"filename":"image_31012025_06_38_06_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2d5a7dc2d97619cda4f1eca26b3538cf.jpg","text":"TemporaryFile(/tmp/multipartBody8936589273697580818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738301973761,"filename":"image_31012025_06_38_37_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333220430","file1":"1333220246","file0":"1333220229","file4":"1333220447","file3":"1333220445"},"map_files_photo_id_array":[{"photo_id":"1333220430","filename":"file2"},{"photo_id":"1333220447","filename":"file4"},{"photo_id":"1333220246","filename":"file1"},{"photo_id":"1333220229","filename":"file0"},{"photo_id":"1333220445","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333220445":["hashtag1","hashtag2"]},{"1333220430":["hashtag1","hashtag2"]},{"1333220229":["hashtag1","hashtag2"]},{"1333220246":["hashtag1","hashtag2"]},{"1333220447":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333220445, 1333220430, 1333220229, 1333220246, 1333220447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.08638381958008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:39:32.204239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/38/image_31012025_06_38_47_10352.jpg', '/home/pi/Desktop/images/31012025/06/38/image_31012025_06_39_07_10407.jpg', '/home/pi/Desktop/images/31012025/06/39/image_31012025_06_39_16_9380.jpg', '/home/pi/Desktop/images/31012025/06/39/image_31012025_06_39_27_10361.jpg', '/home/pi/Desktop/images/31012025/06/39/image_31012025_06_39_37_10446.jpg', '/home/pi/Desktop/images/31012025/06/39/image_31012025_06_39_46_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/38/image_31012025_06_38_47_10352.jpg
/home/pi/Desktop/images/31012025/06/38/image_31012025_06_39_07_10407.jpg
/home/pi/Desktop/images/31012025/06/39/image_31012025_06_39_16_9380.jpg
/home/pi/Desktop/images/31012025/06/39/image_31012025_06_39_27_10361.jpg
/home/pi/Desktop/images/31012025/06/39/image_31012025_06_39_37_10446.jpg
/home/pi/Desktop/images/31012025/06/39/image_31012025_06_39_46_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":["1333220556","1333220568","1333220553","1333220564","1333220566","1333220557"],"photo_ids_order":["1333220553","1333220556","1333220557","1333220564","1333220566","1333220568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1b99be6facc366372786870876da5620.jpg","text":"TemporaryFile(/tmp/multipartBody1283467253284208708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302033114,"filename":"image_31012025_06_39_07_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ac3285352d7e0ab2e6c6b8e2360b3cef.jpg","text":"TemporaryFile(/tmp/multipartBody7844195837512152329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302033114,"filename":"image_31012025_06_39_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/1/31/30e85cbfa70adbbb36e5a26f187c132a.jpg","text":"TemporaryFile(/tmp/multipartBody3889841910112354932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302033114,"filename":"image_31012025_06_38_47_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/81937fd73cf8c99a9cbbb0faa5a14e49.jpg","text":"TemporaryFile(/tmp/multipartBody1087846795221971885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302033114,"filename":"image_31012025_06_39_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/1/31/f2885993b121486f4faff9bfd4c04d2b.jpg","text":"TemporaryFile(/tmp/multipartBody5954940812942508604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302033114,"filename":"image_31012025_06_39_37_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0d62a44ebe2f3e9face40f622dce1181.jpg","text":"TemporaryFile(/tmp/multipartBody3623393037181282834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302033114,"filename":"image_31012025_06_39_16_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333220557","file1":"1333220556","file0":"1333220553","file4":"1333220566","file5":"1333220568","file3":"1333220564"},"map_files_photo_id_array":[{"photo_id":"1333220568","filename":"file5"},{"photo_id":"1333220557","filename":"file2"},{"photo_id":"1333220566","filename":"file4"},{"photo_id":"1333220556","filename":"file1"},{"photo_id":"1333220553","filename":"file0"},{"photo_id":"1333220564","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333220556":["hashtag1","hashtag2"]},{"1333220568":["hashtag1","hashtag2"]},{"1333220553":["hashtag1","hashtag2"]},{"1333220564":["hashtag1","hashtag2"]},{"1333220566":["hashtag1","hashtag2"]},{"1333220557":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333220556, 1333220568, 1333220553, 1333220564, 1333220566, 1333220557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.78553867340088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:40:32.414448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/39/image_31012025_06_39_57_10525.jpg', '/home/pi/Desktop/images/31012025/06/39/image_31012025_06_40_06_9333.jpg', '/home/pi/Desktop/images/31012025/06/40/image_31012025_06_40_27_10422.jpg', '/home/pi/Desktop/images/31012025/06/40/image_31012025_06_40_36_9381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/39/image_31012025_06_39_57_10525.jpg
/home/pi/Desktop/images/31012025/06/39/image_31012025_06_40_06_9333.jpg
/home/pi/Desktop/images/31012025/06/40/image_31012025_06_40_27_10422.jpg
/home/pi/Desktop/images/31012025/06/40/image_31012025_06_40_36_9381.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":["1333220597","1333220591","1333220594","1333220582"],"photo_ids_order":["1333220582","1333220591","1333220594","1333220597"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d9ac5bf738f971d2ac100d0b4e9c263d.jpg","text":"TemporaryFile(/tmp/multipartBody1221733735906221859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302093299,"filename":"image_31012025_06_40_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/1/31/b8700241dc982562f7063e30da032470.jpg","text":"TemporaryFile(/tmp/multipartBody7170837859943500623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302093299,"filename":"image_31012025_06_40_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/1/31/aa2439763d9312b53c989fdefff95bb1.jpg","text":"TemporaryFile(/tmp/multipartBody1819578091334867785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302093299,"filename":"image_31012025_06_40_27_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9a47922d21b2622343575faa312d748e.jpg","text":"TemporaryFile(/tmp/multipartBody4964565297535342365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302093299,"filename":"image_31012025_06_39_57_10525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333220594","file1":"1333220591","file0":"1333220582","file3":"1333220597"},"map_files_photo_id_array":[{"photo_id":"1333220594","filename":"file2"},{"photo_id":"1333220591","filename":"file1"},{"photo_id":"1333220582","filename":"file0"},{"photo_id":"1333220597","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333220597":["hashtag1","hashtag2"]},{"1333220591":["hashtag1","hashtag2"]},{"1333220594":["hashtag1","hashtag2"]},{"1333220582":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333220597, 1333220591, 1333220594, 1333220582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.035038709640503 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 06:41:04.151893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/17/image_28012025_22_17_25_10415.jpg', '/home/pi/Desktop/images/28012025/22/17/image_28012025_22_17_34_9452.jpg', '/home/pi/Desktop/images/28012025/22/17/image_28012025_22_17_45_10346.jpg', '/home/pi/Desktop/images/28012025/22/18/image_28012025_22_18_15_10352.jpg', '/home/pi/Desktop/images/28012025/22/18/image_28012025_22_18_25_10339.jpg', '/home/pi/Desktop/images/28012025/22/18/image_28012025_22_18_34_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/17/image_28012025_22_17_25_10415.jpg
/home/pi/Desktop/images/28012025/22/17/image_28012025_22_17_34_9452.jpg
/home/pi/Desktop/images/28012025/22/17/image_28012025_22_17_45_10346.jpg
/home/pi/Desktop/images/28012025/22/18/image_28012025_22_18_15_10352.jpg
/home/pi/Desktop/images/28012025/22/18/image_28012025_22_18_25_10339.jpg
/home/pi/Desktop/images/28012025/22/18/image_28012025_22_18_34_9355.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":["1333220605","1333220625","1333220610","1333220618","1333220614","1333220608"],"photo_ids_order":["1333220605","1333220608","1333220610","1333220614","1333220618","1333220625"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/af1817bf77d32d9c901275db06e55226.jpg","text":"TemporaryFile(/tmp/multipartBody5621757975056439630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302126168,"filename":"image_28012025_22_17_25_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1d76cd06ba136ea9ce03be8d12925b23.jpg","text":"TemporaryFile(/tmp/multipartBody1406991996942608160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302126168,"filename":"image_28012025_22_18_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/1/31/18cdfa9e70ca765c995a191a310abd8c.jpg","text":"TemporaryFile(/tmp/multipartBody3452953349075368845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302126168,"filename":"image_28012025_22_17_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/1/31/8e09914be75d596e6cc9072cb2a477f9.jpg","text":"TemporaryFile(/tmp/multipartBody8625851756202760135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302126168,"filename":"image_28012025_22_18_25_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5161a7a1802e3f77d2fc16cf14182d59.jpg","text":"TemporaryFile(/tmp/multipartBody7965301423398159453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302126168,"filename":"image_28012025_22_18_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/1/31/178ecee5ebbb8be6d5fb6a5d69e091a3.jpg","text":"TemporaryFile(/tmp/multipartBody3751080221566100695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302126168,"filename":"image_28012025_22_17_34_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333220610","file1":"1333220608","file0":"1333220605","file4":"1333220618","file5":"1333220625","file3":"1333220614"},"map_files_photo_id_array":[{"photo_id":"1333220625","filename":"file5"},{"photo_id":"1333220610","filename":"file2"},{"photo_id":"1333220618","filename":"file4"},{"photo_id":"1333220608","filename":"file1"},{"photo_id":"1333220605","filename":"file0"},{"photo_id":"1333220614","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333220605":["hashtag1","hashtag2"]},{"1333220625":["hashtag1","hashtag2"]},{"1333220610":["hashtag1","hashtag2"]},{"1333220618":["hashtag1","hashtag2"]},{"1333220614":["hashtag1","hashtag2"]},{"1333220608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333220605, 1333220625, 1333220610, 1333220618, 1333220614, 1333220608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.28425669670105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:41:52.575513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/40/image_31012025_06_40_57_10346.jpg', '/home/pi/Desktop/images/31012025/06/40/image_31012025_06_41_06_9333.jpg', '/home/pi/Desktop/images/31012025/06/41/image_31012025_06_41_17_10384.jpg', '/home/pi/Desktop/images/31012025/06/41/image_31012025_06_41_26_9337.jpg', '/home/pi/Desktop/images/31012025/06/41/image_31012025_06_41_37_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/40/image_31012025_06_40_57_10346.jpg
/home/pi/Desktop/images/31012025/06/40/image_31012025_06_41_06_9333.jpg
/home/pi/Desktop/images/31012025/06/41/image_31012025_06_41_17_10384.jpg
/home/pi/Desktop/images/31012025/06/41/image_31012025_06_41_26_9337.jpg
/home/pi/Desktop/images/31012025/06/41/image_31012025_06_41_37_10355.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333220637","1333220646","1333220634","1333220642","1333220632"],"photo_ids_order":["1333220632","1333220634","1333220637","1333220642","1333220646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/567c5946d77d48a7eeaf0a769cd31c57.jpg","text":"TemporaryFile(/tmp/multipartBody612456298959919170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302173470,"filename":"image_31012025_06_41_17_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7248109e0bcbad193e4d9e7d03244bcb.jpg","text":"TemporaryFile(/tmp/multipartBody3247565227607306665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302173470,"filename":"image_31012025_06_41_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/1/31/9fe146faf3784bc69548b390acad5e0f.jpg","text":"TemporaryFile(/tmp/multipartBody6494933037359824546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302173470,"filename":"image_31012025_06_41_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/1/31/6b0d3459e7a129cec19971d2276a8aa8.jpg","text":"TemporaryFile(/tmp/multipartBody682146552046025502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302173470,"filename":"image_31012025_06_41_26_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/efe91b5e04e56aa1c210e1f7101eeb75.jpg","text":"TemporaryFile(/tmp/multipartBody8229017213898504065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302173470,"filename":"image_31012025_06_40_57_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333220637","file1":"1333220634","file0":"1333220632","file4":"1333220646","file3":"1333220642"},"map_files_photo_id_array":[{"photo_id":"1333220637","filename":"file2"},{"photo_id":"1333220646","filename":"file4"},{"photo_id":"1333220634","filename":"file1"},{"photo_id":"1333220632","filename":"file0"},{"photo_id":"1333220642","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333220637":["hashtag1","hashtag2"]},{"1333220646":["hashtag1","hashtag2"]},{"1333220634":["hashtag1","hashtag2"]},{"1333220642":["hashtag1","hashtag2"]},{"1333220632":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333220637, 1333220646, 1333220634, 1333220642, 1333220632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.307456493377686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:42:32.828743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/41/image_31012025_06_41_56_9377.jpg', '/home/pi/Desktop/images/31012025/06/41/image_31012025_06_42_07_10427.jpg', '/home/pi/Desktop/images/31012025/06/42/image_31012025_06_42_17_10386.jpg', '/home/pi/Desktop/images/31012025/06/42/image_31012025_06_42_26_9345.jpg', '/home/pi/Desktop/images/31012025/06/42/image_31012025_06_42_37_10434.jpg', '/home/pi/Desktop/images/31012025/06/42/image_31012025_06_42_46_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/41/image_31012025_06_41_56_9377.jpg
/home/pi/Desktop/images/31012025/06/41/image_31012025_06_42_07_10427.jpg
/home/pi/Desktop/images/31012025/06/42/image_31012025_06_42_17_10386.jpg
/home/pi/Desktop/images/31012025/06/42/image_31012025_06_42_26_9345.jpg
/home/pi/Desktop/images/31012025/06/42/image_31012025_06_42_37_10434.jpg
/home/pi/Desktop/images/31012025/06/42/image_31012025_06_42_46_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":["1333220685","1333220714","1333220680","1333220662","1333220674","1333220713"],"photo_ids_order":["1333220662","1333220674","1333220680","1333220685","1333220713","1333220714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f1dc801e810883a8507ee58ed4005425.jpg","text":"TemporaryFile(/tmp/multipartBody4957286080294422627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302213736,"filename":"image_31012025_06_42_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/64387b6f496c73fd1de38f8b41f30f40.jpg","text":"TemporaryFile(/tmp/multipartBody3165970006111356360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302213736,"filename":"image_31012025_06_42_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/1/31/2ce27534cba9320f29e27f532fee900d.jpg","text":"TemporaryFile(/tmp/multipartBody1052390382161106293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302213736,"filename":"image_31012025_06_42_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/1/31/aa5ee794ca55a6f5bb29a18f03e6c3f2.jpg","text":"TemporaryFile(/tmp/multipartBody2705160699461666642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302213736,"filename":"image_31012025_06_41_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/1/31/6e19ba6cee7538ce967ead6211239fcf.jpg","text":"TemporaryFile(/tmp/multipartBody3476975530210845788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302213736,"filename":"image_31012025_06_42_07_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6b57596a28a18bb3987682a368d84b64.jpg","text":"TemporaryFile(/tmp/multipartBody5011025455621534844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302213736,"filename":"image_31012025_06_42_37_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333220680","file1":"1333220674","file0":"1333220662","file4":"1333220713","file5":"1333220714","file3":"1333220685"},"map_files_photo_id_array":[{"photo_id":"1333220714","filename":"file5"},{"photo_id":"1333220680","filename":"file2"},{"photo_id":"1333220713","filename":"file4"},{"photo_id":"1333220674","filename":"file1"},{"photo_id":"1333220662","filename":"file0"},{"photo_id":"1333220685","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333220685":["hashtag1","hashtag2"]},{"1333220714":["hashtag1","hashtag2"]},{"1333220680":["hashtag1","hashtag2"]},{"1333220662":["hashtag1","hashtag2"]},{"1333220674":["hashtag1","hashtag2"]},{"1333220713":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333220685, 1333220714, 1333220680, 1333220662, 1333220674, 1333220713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60122537612915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:43:33.071459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/42/image_31012025_06_42_57_10338.jpg', '/home/pi/Desktop/images/31012025/06/42/image_31012025_06_43_07_10436.jpg', '/home/pi/Desktop/images/31012025/06/43/image_31012025_06_43_16_9332.jpg', '/home/pi/Desktop/images/31012025/06/43/image_31012025_06_43_27_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/42/image_31012025_06_42_57_10338.jpg
/home/pi/Desktop/images/31012025/06/42/image_31012025_06_43_07_10436.jpg
/home/pi/Desktop/images/31012025/06/43/image_31012025_06_43_16_9332.jpg
/home/pi/Desktop/images/31012025/06/43/image_31012025_06_43_27_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":["1333220753","1333220735","1333220746","1333220755"],"photo_ids_order":["1333220735","1333220746","1333220753","1333220755"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f6bf02b2a535000008bdd0ebc5a35206.jpg","text":"TemporaryFile(/tmp/multipartBody7944372819806149140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302273952,"filename":"image_31012025_06_43_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/1/31/a4e014fdd21cd65b3c5ae6a747e6ac55.jpg","text":"TemporaryFile(/tmp/multipartBody2924174518940814535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302273952,"filename":"image_31012025_06_42_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/1/31/cb2018f098a372eff596e15e135dbb7c.jpg","text":"TemporaryFile(/tmp/multipartBody5549740816316837113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302273952,"filename":"image_31012025_06_43_07_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/271e1b2a43b0df359911178767044b5f.jpg","text":"TemporaryFile(/tmp/multipartBody7219091419454575968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302273952,"filename":"image_31012025_06_43_27_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333220753","file1":"1333220746","file0":"1333220735","file3":"1333220755"},"map_files_photo_id_array":[{"photo_id":"1333220753","filename":"file2"},{"photo_id":"1333220746","filename":"file1"},{"photo_id":"1333220735","filename":"file0"},{"photo_id":"1333220755","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333220753":["hashtag1","hashtag2"]},{"1333220735":["hashtag1","hashtag2"]},{"1333220746":["hashtag1","hashtag2"]},{"1333220755":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333220753, 1333220735, 1333220746, 1333220755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 34.11528134346008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:44:32.430543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/43/image_31012025_06_43_37_10333.jpg', '/home/pi/Desktop/images/31012025/06/43/image_31012025_06_44_06_9323.jpg', '/home/pi/Desktop/images/31012025/06/44/image_31012025_06_44_27_10383.jpg', '/home/pi/Desktop/images/31012025/06/44/image_31012025_06_44_36_9387.jpg', '/home/pi/Desktop/images/31012025/06/44/image_31012025_06_44_47_10475.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/43/image_31012025_06_43_37_10333.jpg
/home/pi/Desktop/images/31012025/06/43/image_31012025_06_44_06_9323.jpg
/home/pi/Desktop/images/31012025/06/44/image_31012025_06_44_27_10383.jpg
/home/pi/Desktop/images/31012025/06/44/image_31012025_06_44_36_9387.jpg
/home/pi/Desktop/images/31012025/06/44/image_31012025_06_44_47_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":["1333220763","1333220798","1333220761","1333220764","1333220767"],"photo_ids_order":["1333220761","1333220763","1333220764","1333220767","1333220798"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/caa9d3782d912b106896d9019cdf48e2.jpg","text":"TemporaryFile(/tmp/multipartBody367691369342921063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302333373,"filename":"image_31012025_06_44_06_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cb8de2948a0c27f2a873166935bca096.jpg","text":"TemporaryFile(/tmp/multipartBody23243090647106727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302333373,"filename":"image_31012025_06_44_47_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/663995bb4bacc929bd61e64aeb10bf4d.jpg","text":"TemporaryFile(/tmp/multipartBody4843825212950207129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302333373,"filename":"image_31012025_06_43_37_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/424307df0c93ab59e4fe82002b8547c1.jpg","text":"TemporaryFile(/tmp/multipartBody1104804865244296374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302333373,"filename":"image_31012025_06_44_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/1/31/4d328da36d05526b6c3d041874fb1a2d.jpg","text":"TemporaryFile(/tmp/multipartBody1963750640621728458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302333373,"filename":"image_31012025_06_44_36_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333220764","file1":"1333220763","file0":"1333220761","file4":"1333220798","file3":"1333220767"},"map_files_photo_id_array":[{"photo_id":"1333220764","filename":"file2"},{"photo_id":"1333220798","filename":"file4"},{"photo_id":"1333220763","filename":"file1"},{"photo_id":"1333220761","filename":"file0"},{"photo_id":"1333220767","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333220763":["hashtag1","hashtag2"]},{"1333220798":["hashtag1","hashtag2"]},{"1333220761":["hashtag1","hashtag2"]},{"1333220764":["hashtag1","hashtag2"]},{"1333220767":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333220763, 1333220798, 1333220761, 1333220764, 1333220767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.432714223861694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:45:32.644092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/44/image_31012025_06_44_56_9351.jpg', '/home/pi/Desktop/images/31012025/06/44/image_31012025_06_45_07_10334.jpg', '/home/pi/Desktop/images/31012025/06/45/image_31012025_06_45_17_10443.jpg', '/home/pi/Desktop/images/31012025/06/45/image_31012025_06_45_26_9353.jpg', '/home/pi/Desktop/images/31012025/06/45/image_31012025_06_45_37_10517.jpg', '/home/pi/Desktop/images/31012025/06/45/image_31012025_06_45_46_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/44/image_31012025_06_44_56_9351.jpg
/home/pi/Desktop/images/31012025/06/44/image_31012025_06_45_07_10334.jpg
/home/pi/Desktop/images/31012025/06/45/image_31012025_06_45_17_10443.jpg
/home/pi/Desktop/images/31012025/06/45/image_31012025_06_45_26_9353.jpg
/home/pi/Desktop/images/31012025/06/45/image_31012025_06_45_37_10517.jpg
/home/pi/Desktop/images/31012025/06/45/image_31012025_06_45_46_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5376033782958984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 06:45:42.625093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/44/image_31012025_06_44_56_9351.jpg', '/home/pi/Desktop/images/31012025/06/44/image_31012025_06_45_07_10334.jpg', '/home/pi/Desktop/images/31012025/06/45/image_31012025_06_45_17_10443.jpg', '/home/pi/Desktop/images/31012025/06/45/image_31012025_06_45_26_9353.jpg', '/home/pi/Desktop/images/31012025/06/45/image_31012025_06_45_37_10517.jpg', '/home/pi/Desktop/images/31012025/06/45/image_31012025_06_45_46_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/44/image_31012025_06_44_56_9351.jpg
/home/pi/Desktop/images/31012025/06/44/image_31012025_06_45_07_10334.jpg
/home/pi/Desktop/images/31012025/06/45/image_31012025_06_45_17_10443.jpg
/home/pi/Desktop/images/31012025/06/45/image_31012025_06_45_26_9353.jpg
/home/pi/Desktop/images/31012025/06/45/image_31012025_06_45_37_10517.jpg
/home/pi/Desktop/images/31012025/06/45/image_31012025_06_45_46_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":["1333221036","1333220994","1333221041","1333221029","1333221023","1333221040"],"photo_ids_order":["1333220994","1333221023","1333221029","1333221036","1333221040","1333221041"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/95cedf3eb6e654945c9c0b2822e7154f.jpg","text":"TemporaryFile(/tmp/multipartBody7037866690201737072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302403544,"filename":"image_31012025_06_45_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/1/31/bfbc305e02d6b9046565d414b312bb72.jpg","text":"TemporaryFile(/tmp/multipartBody6954525626197866306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302403544,"filename":"image_31012025_06_44_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/1/31/c239324280cf46774ea5efcb3f6bf00f.jpg","text":"TemporaryFile(/tmp/multipartBody6884988785035356423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302403544,"filename":"image_31012025_06_45_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/1/31/9b66bb4a68f7ada62df983af15b41c17.jpg","text":"TemporaryFile(/tmp/multipartBody7351290703010062927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302403544,"filename":"image_31012025_06_45_17_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/861c42c5b3067b3c7c71f1c463b3e7f7.jpg","text":"TemporaryFile(/tmp/multipartBody5264927697532009405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302403544,"filename":"image_31012025_06_45_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/1/31/57ea5c3df0fb07b90d92af8ee7966876.jpg","text":"TemporaryFile(/tmp/multipartBody4624941030534959791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302403544,"filename":"image_31012025_06_45_37_10517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333221029","file1":"1333221023","file0":"1333220994","file4":"1333221040","file5":"1333221041","file3":"1333221036"},"map_files_photo_id_array":[{"photo_id":"1333221041","filename":"file5"},{"photo_id":"1333221029","filename":"file2"},{"photo_id":"1333221040","filename":"file4"},{"photo_id":"1333221023","filename":"file1"},{"photo_id":"1333220994","filename":"file0"},{"photo_id":"1333221036","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333221036":["hashtag1","hashtag2"]},{"1333220994":["hashtag1","hashtag2"]},{"1333221041":["hashtag1","hashtag2"]},{"1333221029":["hashtag1","hashtag2"]},{"1333221023":["hashtag1","hashtag2"]},{"1333221040":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333221036, 1333220994, 1333221041, 1333221029, 1333221023, 1333221040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.27553606033325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:46:32.864364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/45/image_31012025_06_45_57_10410.jpg', '/home/pi/Desktop/images/31012025/06/45/image_31012025_06_46_07_10359.jpg', '/home/pi/Desktop/images/31012025/06/46/image_31012025_06_46_16_9427.jpg', '/home/pi/Desktop/images/31012025/06/46/image_31012025_06_46_27_10447.jpg', '/home/pi/Desktop/images/31012025/06/46/image_31012025_06_46_36_9428.jpg', '/home/pi/Desktop/images/31012025/06/46/image_31012025_06_46_47_10457.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/45/image_31012025_06_45_57_10410.jpg
/home/pi/Desktop/images/31012025/06/45/image_31012025_06_46_07_10359.jpg
/home/pi/Desktop/images/31012025/06/46/image_31012025_06_46_16_9427.jpg
/home/pi/Desktop/images/31012025/06/46/image_31012025_06_46_27_10447.jpg
/home/pi/Desktop/images/31012025/06/46/image_31012025_06_46_36_9428.jpg
/home/pi/Desktop/images/31012025/06/46/image_31012025_06_46_47_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":["1333221213","1333221210","1333221181","1333221160","1333221220","1333221217"],"photo_ids_order":["1333221160","1333221181","1333221210","1333221213","1333221217","1333221220"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e33692db44f67f3a8b16ff5924bb2648.jpg","text":"TemporaryFile(/tmp/multipartBody3220112823702060768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302453763,"filename":"image_31012025_06_46_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/1/31/6cc187513f42f3a2c3ba0f5287862a06.jpg","text":"TemporaryFile(/tmp/multipartBody1082994188332420481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302453763,"filename":"image_31012025_06_46_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/1/31/8cb7727e55d11e538c5a76942725c0bd.jpg","text":"TemporaryFile(/tmp/multipartBody7097837544819602701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302453763,"filename":"image_31012025_06_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/1/31/2927dadd40967e170219c92eaab3e716.jpg","text":"TemporaryFile(/tmp/multipartBody1455558616222409366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302453763,"filename":"image_31012025_06_45_57_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f4c05c6cf2b0c15a7c60b5b4a95ec2df.jpg","text":"TemporaryFile(/tmp/multipartBody6943299061241846165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302453763,"filename":"image_31012025_06_46_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/1/31/a83eb64219ee793186f53efa41ad1bef.jpg","text":"TemporaryFile(/tmp/multipartBody5409463271481522066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302453763,"filename":"image_31012025_06_46_36_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333221210","file1":"1333221181","file0":"1333221160","file4":"1333221217","file5":"1333221220","file3":"1333221213"},"map_files_photo_id_array":[{"photo_id":"1333221220","filename":"file5"},{"photo_id":"1333221210","filename":"file2"},{"photo_id":"1333221217","filename":"file4"},{"photo_id":"1333221181","filename":"file1"},{"photo_id":"1333221160","filename":"file0"},{"photo_id":"1333221213","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333221213":["hashtag1","hashtag2"]},{"1333221210":["hashtag1","hashtag2"]},{"1333221181":["hashtag1","hashtag2"]},{"1333221160":["hashtag1","hashtag2"]},{"1333221220":["hashtag1","hashtag2"]},{"1333221217":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333221213, 1333221210, 1333221181, 1333221160, 1333221220, 1333221217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.71257996559143 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:47:32.976732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/46/image_31012025_06_46_57_10352.jpg', '/home/pi/Desktop/images/31012025/06/46/image_31012025_06_47_06_9333.jpg', '/home/pi/Desktop/images/31012025/06/47/image_31012025_06_47_17_10363.jpg', '/home/pi/Desktop/images/31012025/06/47/image_31012025_06_47_26_9341.jpg', '/home/pi/Desktop/images/31012025/06/47/image_31012025_06_47_37_10382.jpg', '/home/pi/Desktop/images/31012025/06/47/image_31012025_06_47_47_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/46/image_31012025_06_46_57_10352.jpg
/home/pi/Desktop/images/31012025/06/46/image_31012025_06_47_06_9333.jpg
/home/pi/Desktop/images/31012025/06/47/image_31012025_06_47_17_10363.jpg
/home/pi/Desktop/images/31012025/06/47/image_31012025_06_47_26_9341.jpg
/home/pi/Desktop/images/31012025/06/47/image_31012025_06_47_37_10382.jpg
/home/pi/Desktop/images/31012025/06/47/image_31012025_06_47_47_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":["1333221254","1333221248","1333221242","1333221236","1333221259","1333221262"],"photo_ids_order":["1333221236","1333221242","1333221248","1333221254","1333221259","1333221262"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a4c21564d4e5f752a9751810ddcf7128.jpg","text":"TemporaryFile(/tmp/multipartBody322563886809820901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302513878,"filename":"image_31012025_06_47_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/1/31/bf70fb73766d9c390d13bd816f6bff6c.jpg","text":"TemporaryFile(/tmp/multipartBody5120303002286746235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302513878,"filename":"image_31012025_06_47_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/1/31/8642dbfef1fe795669406ec47b9e281e.jpg","text":"TemporaryFile(/tmp/multipartBody2122094812973194771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302513878,"filename":"image_31012025_06_47_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/1/31/fbb0f3301942e97cb5388fdb34358b74.jpg","text":"TemporaryFile(/tmp/multipartBody1661911260922846573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302513878,"filename":"image_31012025_06_46_57_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d1903540efbf8b57169ec6014859f8e8.jpg","text":"TemporaryFile(/tmp/multipartBody7038083708081634158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302513878,"filename":"image_31012025_06_47_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/1/31/3b815f3c82dc55897510c12512bce23b.jpg","text":"TemporaryFile(/tmp/multipartBody2664756058109436660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302513878,"filename":"image_31012025_06_47_47_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333221248","file1":"1333221242","file0":"1333221236","file4":"1333221259","file5":"1333221262","file3":"1333221254"},"map_files_photo_id_array":[{"photo_id":"1333221262","filename":"file5"},{"photo_id":"1333221248","filename":"file2"},{"photo_id":"1333221259","filename":"file4"},{"photo_id":"1333221242","filename":"file1"},{"photo_id":"1333221236","filename":"file0"},{"photo_id":"1333221254","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333221254":["hashtag1","hashtag2"]},{"1333221248":["hashtag1","hashtag2"]},{"1333221242":["hashtag1","hashtag2"]},{"1333221236":["hashtag1","hashtag2"]},{"1333221259":["hashtag1","hashtag2"]},{"1333221262":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333221254, 1333221248, 1333221242, 1333221236, 1333221259, 1333221262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27523589134216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:48:32.322445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/47/image_31012025_06_47_56_9350.jpg', '/home/pi/Desktop/images/31012025/06/47/image_31012025_06_48_07_10417.jpg', '/home/pi/Desktop/images/31012025/06/48/image_31012025_06_48_17_10341.jpg', '/home/pi/Desktop/images/31012025/06/48/image_31012025_06_48_26_9359.jpg', '/home/pi/Desktop/images/31012025/06/48/image_31012025_06_48_37_10451.jpg', '/home/pi/Desktop/images/31012025/06/48/image_31012025_06_48_46_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/47/image_31012025_06_47_56_9350.jpg
/home/pi/Desktop/images/31012025/06/47/image_31012025_06_48_07_10417.jpg
/home/pi/Desktop/images/31012025/06/48/image_31012025_06_48_17_10341.jpg
/home/pi/Desktop/images/31012025/06/48/image_31012025_06_48_26_9359.jpg
/home/pi/Desktop/images/31012025/06/48/image_31012025_06_48_37_10451.jpg
/home/pi/Desktop/images/31012025/06/48/image_31012025_06_48_46_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5316505432128906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 06:48:42.306998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/47/image_31012025_06_47_56_9350.jpg', '/home/pi/Desktop/images/31012025/06/47/image_31012025_06_48_07_10417.jpg', '/home/pi/Desktop/images/31012025/06/48/image_31012025_06_48_17_10341.jpg', '/home/pi/Desktop/images/31012025/06/48/image_31012025_06_48_26_9359.jpg', '/home/pi/Desktop/images/31012025/06/48/image_31012025_06_48_37_10451.jpg', '/home/pi/Desktop/images/31012025/06/48/image_31012025_06_48_46_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/47/image_31012025_06_47_56_9350.jpg
/home/pi/Desktop/images/31012025/06/47/image_31012025_06_48_07_10417.jpg
/home/pi/Desktop/images/31012025/06/48/image_31012025_06_48_17_10341.jpg
/home/pi/Desktop/images/31012025/06/48/image_31012025_06_48_26_9359.jpg
/home/pi/Desktop/images/31012025/06/48/image_31012025_06_48_37_10451.jpg
/home/pi/Desktop/images/31012025/06/48/image_31012025_06_48_46_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":["1333222113","1333222017","1333222108","1333222117","1333222111","1333222105"],"photo_ids_order":["1333222017","1333222105","1333222108","1333222111","1333222113","1333222117"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d3e2d5785a06c7b61e234378fdb4311b.jpg","text":"TemporaryFile(/tmp/multipartBody6964438728151147676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302583209,"filename":"image_31012025_06_48_37_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/475e875587fdfb2e91909f9ce0c5d311.jpg","text":"TemporaryFile(/tmp/multipartBody4551412740787693833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302583209,"filename":"image_31012025_06_47_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/1/31/c43bc87cb3f95c59a1871f75e29e4568.jpg","text":"TemporaryFile(/tmp/multipartBody7781351981674103323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302583209,"filename":"image_31012025_06_48_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/1/31/51c9f5b6a4d342c8661633e537c5eaea.jpg","text":"TemporaryFile(/tmp/multipartBody4796721674664952179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302583209,"filename":"image_31012025_06_48_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/1/31/299eaa56394046621e02d2be1d1c8ea2.jpg","text":"TemporaryFile(/tmp/multipartBody7491368700314114776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302583209,"filename":"image_31012025_06_48_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/1/31/9f8f2f68be3a2606fe17ab59493d9a8d.jpg","text":"TemporaryFile(/tmp/multipartBody4111879675415795239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302583209,"filename":"image_31012025_06_48_07_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333222108","file1":"1333222105","file0":"1333222017","file4":"1333222113","file5":"1333222117","file3":"1333222111"},"map_files_photo_id_array":[{"photo_id":"1333222117","filename":"file5"},{"photo_id":"1333222108","filename":"file2"},{"photo_id":"1333222113","filename":"file4"},{"photo_id":"1333222105","filename":"file1"},{"photo_id":"1333222017","filename":"file0"},{"photo_id":"1333222111","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333222113":["hashtag1","hashtag2"]},{"1333222017":["hashtag1","hashtag2"]},{"1333222108":["hashtag1","hashtag2"]},{"1333222117":["hashtag1","hashtag2"]},{"1333222111":["hashtag1","hashtag2"]},{"1333222105":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333222113, 1333222017, 1333222108, 1333222117, 1333222111, 1333222105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.1000874042511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:49:32.577807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/48/image_31012025_06_48_57_10375.jpg', '/home/pi/Desktop/images/31012025/06/48/image_31012025_06_49_07_10342.jpg', '/home/pi/Desktop/images/31012025/06/49/image_31012025_06_49_16_9347.jpg', '/home/pi/Desktop/images/31012025/06/49/image_31012025_06_49_27_10410.jpg', '/home/pi/Desktop/images/31012025/06/49/image_31012025_06_49_37_10440.jpg', '/home/pi/Desktop/images/31012025/06/49/image_31012025_06_49_46_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/48/image_31012025_06_48_57_10375.jpg
/home/pi/Desktop/images/31012025/06/48/image_31012025_06_49_07_10342.jpg
/home/pi/Desktop/images/31012025/06/49/image_31012025_06_49_16_9347.jpg
/home/pi/Desktop/images/31012025/06/49/image_31012025_06_49_27_10410.jpg
/home/pi/Desktop/images/31012025/06/49/image_31012025_06_49_37_10440.jpg
/home/pi/Desktop/images/31012025/06/49/image_31012025_06_49_46_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":["1333222376","1333222340","1333222409","1333222406","1333222336","1333222338"],"photo_ids_order":["1333222336","1333222338","1333222340","1333222376","1333222406","1333222409"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1c90b4fd01813b3680858fe64067bab6.jpg","text":"TemporaryFile(/tmp/multipartBody3876386549211469724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302633494,"filename":"image_31012025_06_49_27_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9c88f3503f171417d83e7293c489d035.jpg","text":"TemporaryFile(/tmp/multipartBody146044621520990514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302633494,"filename":"image_31012025_06_49_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/1/31/6e63525ff8acc1f1f6958f7d30c23187.jpg","text":"TemporaryFile(/tmp/multipartBody1776461563929050879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302633494,"filename":"image_31012025_06_49_46_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/07d52372085417d2e53be150c56326c8.jpg","text":"TemporaryFile(/tmp/multipartBody5888077193162373118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302633494,"filename":"image_31012025_06_49_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/1/31/0ce4981892e6c3c89530efb5286c4c5f.jpg","text":"TemporaryFile(/tmp/multipartBody2908715867953408695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302633494,"filename":"image_31012025_06_48_57_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4a636f533eb66c739c1131f82e6a41ed.jpg","text":"TemporaryFile(/tmp/multipartBody1098166665575511326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302633494,"filename":"image_31012025_06_49_07_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333222340","file1":"1333222338","file0":"1333222336","file4":"1333222406","file5":"1333222409","file3":"1333222376"},"map_files_photo_id_array":[{"photo_id":"1333222409","filename":"file5"},{"photo_id":"1333222340","filename":"file2"},{"photo_id":"1333222406","filename":"file4"},{"photo_id":"1333222338","filename":"file1"},{"photo_id":"1333222336","filename":"file0"},{"photo_id":"1333222376","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333222376":["hashtag1","hashtag2"]},{"1333222340":["hashtag1","hashtag2"]},{"1333222409":["hashtag1","hashtag2"]},{"1333222406":["hashtag1","hashtag2"]},{"1333222336":["hashtag1","hashtag2"]},{"1333222338":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333222376, 1333222340, 1333222409, 1333222406, 1333222336, 1333222338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.53540897369385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:50:32.795289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/49/image_31012025_06_49_57_10420.jpg', '/home/pi/Desktop/images/31012025/06/49/image_31012025_06_50_06_9371.jpg', '/home/pi/Desktop/images/31012025/06/50/image_31012025_06_50_17_10347.jpg', '/home/pi/Desktop/images/31012025/06/50/image_31012025_06_50_27_10442.jpg', '/home/pi/Desktop/images/31012025/06/50/image_31012025_06_50_36_9350.jpg', '/home/pi/Desktop/images/31012025/06/50/image_31012025_06_50_47_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/49/image_31012025_06_49_57_10420.jpg
/home/pi/Desktop/images/31012025/06/49/image_31012025_06_50_06_9371.jpg
/home/pi/Desktop/images/31012025/06/50/image_31012025_06_50_17_10347.jpg
/home/pi/Desktop/images/31012025/06/50/image_31012025_06_50_27_10442.jpg
/home/pi/Desktop/images/31012025/06/50/image_31012025_06_50_36_9350.jpg
/home/pi/Desktop/images/31012025/06/50/image_31012025_06_50_47_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333222425","1333222469","1333222430","1333222421","1333222441","1333222434"],"photo_ids_order":["1333222421","1333222425","1333222430","1333222434","1333222441","1333222469"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/19077d87a07e6b29866fb2bc488cb52f.jpg","text":"TemporaryFile(/tmp/multipartBody926286089727934673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302693693,"filename":"image_31012025_06_50_06_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2705c42ba74138e0eb517e96a35546c1.jpg","text":"TemporaryFile(/tmp/multipartBody8603788038805431998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302693693,"filename":"image_31012025_06_50_47_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/974efbf4962cb0e493a2be8b29382a35.jpg","text":"TemporaryFile(/tmp/multipartBody6592184150394667568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302693693,"filename":"image_31012025_06_50_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/1/31/79e9f9b4bc0f61b04d82da42ec875288.jpg","text":"TemporaryFile(/tmp/multipartBody3342583165037446331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302693693,"filename":"image_31012025_06_49_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/1/31/d895c8f84f6464cdbd98db9e16b2f381.jpg","text":"TemporaryFile(/tmp/multipartBody757360872743669336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302693693,"filename":"image_31012025_06_50_36_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2df4b2df6fb2bc9c8d78faf40378b9b8.jpg","text":"TemporaryFile(/tmp/multipartBody2440637928313519736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302693693,"filename":"image_31012025_06_50_27_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333222430","file1":"1333222425","file0":"1333222421","file4":"1333222441","file5":"1333222469","file3":"1333222434"},"map_files_photo_id_array":[{"photo_id":"1333222469","filename":"file5"},{"photo_id":"1333222430","filename":"file2"},{"photo_id":"1333222441","filename":"file4"},{"photo_id":"1333222425","filename":"file1"},{"photo_id":"1333222421","filename":"file0"},{"photo_id":"1333222434","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333222425":["hashtag1","hashtag2"]},{"1333222469":["hashtag1","hashtag2"]},{"1333222430":["hashtag1","hashtag2"]},{"1333222421":["hashtag1","hashtag2"]},{"1333222441":["hashtag1","hashtag2"]},{"1333222434":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333222425, 1333222469, 1333222430, 1333222421, 1333222441, 1333222434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.63422203063965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:51:32.874208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/50/image_31012025_06_50_57_10331.jpg', '/home/pi/Desktop/images/31012025/06/50/image_31012025_06_51_07_9400.jpg', '/home/pi/Desktop/images/31012025/06/51/image_31012025_06_51_17_10351.jpg', '/home/pi/Desktop/images/31012025/06/51/image_31012025_06_51_26_9356.jpg', '/home/pi/Desktop/images/31012025/06/51/image_31012025_06_51_37_10370.jpg', '/home/pi/Desktop/images/31012025/06/51/image_31012025_06_51_47_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/50/image_31012025_06_50_57_10331.jpg
/home/pi/Desktop/images/31012025/06/50/image_31012025_06_51_07_9400.jpg
/home/pi/Desktop/images/31012025/06/51/image_31012025_06_51_17_10351.jpg
/home/pi/Desktop/images/31012025/06/51/image_31012025_06_51_26_9356.jpg
/home/pi/Desktop/images/31012025/06/51/image_31012025_06_51_37_10370.jpg
/home/pi/Desktop/images/31012025/06/51/image_31012025_06_51_47_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":["1333222783","1333222540","1333222534","1333222543","1333222791","1333222665"],"photo_ids_order":["1333222534","1333222540","1333222543","1333222665","1333222783","1333222791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/47443255648a5fd599ca7e24ffb753e7.jpg","text":"TemporaryFile(/tmp/multipartBody8766476379893802198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302753799,"filename":"image_31012025_06_51_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/1/31/8a2d7e288afd65c12b2fa1e8827303b8.jpg","text":"TemporaryFile(/tmp/multipartBody1875563827457562266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302753799,"filename":"image_31012025_06_51_07_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b2d6147718bb976d5fcb0ad4cb3aebca.jpg","text":"TemporaryFile(/tmp/multipartBody6215875656801577861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302753799,"filename":"image_31012025_06_50_57_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/03d2d75a2a3b09b2522a9afc32ea96f8.jpg","text":"TemporaryFile(/tmp/multipartBody1011798000536658128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302753799,"filename":"image_31012025_06_51_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/1/31/6cb62f02fe291d4e1b78376930e178da.jpg","text":"TemporaryFile(/tmp/multipartBody3525414736806369944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302753799,"filename":"image_31012025_06_51_47_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/89b1845c9d9c6db6f984f89b07447f6f.jpg","text":"TemporaryFile(/tmp/multipartBody7948297406433689660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302753799,"filename":"image_31012025_06_51_26_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333222543","file1":"1333222540","file0":"1333222534","file4":"1333222783","file5":"1333222791","file3":"1333222665"},"map_files_photo_id_array":[{"photo_id":"1333222791","filename":"file5"},{"photo_id":"1333222543","filename":"file2"},{"photo_id":"1333222783","filename":"file4"},{"photo_id":"1333222540","filename":"file1"},{"photo_id":"1333222534","filename":"file0"},{"photo_id":"1333222665","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333222783":["hashtag1","hashtag2"]},{"1333222540":["hashtag1","hashtag2"]},{"1333222534":["hashtag1","hashtag2"]},{"1333222543":["hashtag1","hashtag2"]},{"1333222791":["hashtag1","hashtag2"]},{"1333222665":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333222783, 1333222540, 1333222534, 1333222543, 1333222791, 1333222665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11014676094055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:52:33.084086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/51/image_31012025_06_51_56_9345.jpg', '/home/pi/Desktop/images/31012025/06/52/image_31012025_06_52_17_10413.jpg', '/home/pi/Desktop/images/31012025/06/52/image_31012025_06_52_26_9346.jpg', '/home/pi/Desktop/images/31012025/06/52/image_31012025_06_52_37_10466.jpg', '/home/pi/Desktop/images/31012025/06/52/image_31012025_06_52_46_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/51/image_31012025_06_51_56_9345.jpg
/home/pi/Desktop/images/31012025/06/52/image_31012025_06_52_17_10413.jpg
/home/pi/Desktop/images/31012025/06/52/image_31012025_06_52_26_9346.jpg
/home/pi/Desktop/images/31012025/06/52/image_31012025_06_52_37_10466.jpg
/home/pi/Desktop/images/31012025/06/52/image_31012025_06_52_46_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":["1333222835","1333222873","1333222831","1333222828","1333222819"],"photo_ids_order":["1333222819","1333222828","1333222831","1333222835","1333222873"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ce22c1291584e1865d83a315343dc85b.jpg","text":"TemporaryFile(/tmp/multipartBody4935432058662062353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302814007,"filename":"image_31012025_06_52_37_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/78a3151fe9d607875607c20820099935.jpg","text":"TemporaryFile(/tmp/multipartBody5285509697705385375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302814007,"filename":"image_31012025_06_52_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/1/31/9623f88f3b284080003d3e45714386da.jpg","text":"TemporaryFile(/tmp/multipartBody7623833604271727320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302814007,"filename":"image_31012025_06_52_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/1/31/b6c9ae68756b36e4425417e2f12d50af.jpg","text":"TemporaryFile(/tmp/multipartBody2559225614952067088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302814007,"filename":"image_31012025_06_52_17_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5870c28bfc47879a833fd5cdb0bf4edb.jpg","text":"TemporaryFile(/tmp/multipartBody879465314896083754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302814007,"filename":"image_31012025_06_51_56_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333222831","file1":"1333222828","file0":"1333222819","file4":"1333222873","file3":"1333222835"},"map_files_photo_id_array":[{"photo_id":"1333222831","filename":"file2"},{"photo_id":"1333222873","filename":"file4"},{"photo_id":"1333222828","filename":"file1"},{"photo_id":"1333222819","filename":"file0"},{"photo_id":"1333222835","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333222835":["hashtag1","hashtag2"]},{"1333222873":["hashtag1","hashtag2"]},{"1333222831":["hashtag1","hashtag2"]},{"1333222828":["hashtag1","hashtag2"]},{"1333222819":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333222835, 1333222873, 1333222831, 1333222828, 1333222819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.317519426345825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:53:32.574396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/52/image_31012025_06_52_57_10415.jpg', '/home/pi/Desktop/images/31012025/06/52/image_31012025_06_53_07_10394.jpg', '/home/pi/Desktop/images/31012025/06/53/image_31012025_06_53_16_9383.jpg', '/home/pi/Desktop/images/31012025/06/53/image_31012025_06_53_27_10495.jpg', '/home/pi/Desktop/images/31012025/06/53/image_31012025_06_53_36_9431.jpg', '/home/pi/Desktop/images/31012025/06/53/image_31012025_06_53_47_10483.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/52/image_31012025_06_52_57_10415.jpg
/home/pi/Desktop/images/31012025/06/52/image_31012025_06_53_07_10394.jpg
/home/pi/Desktop/images/31012025/06/53/image_31012025_06_53_16_9383.jpg
/home/pi/Desktop/images/31012025/06/53/image_31012025_06_53_27_10495.jpg
/home/pi/Desktop/images/31012025/06/53/image_31012025_06_53_36_9431.jpg
/home/pi/Desktop/images/31012025/06/53/image_31012025_06_53_47_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":["1333223132","1333223137","1333223134","1333223128","1333223133","1333223130"],"photo_ids_order":["1333223128","1333223130","1333223132","1333223133","1333223134","1333223137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/63ad62b131df90c3485345491285b0f4.jpg","text":"TemporaryFile(/tmp/multipartBody3972089701879446698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302873487,"filename":"image_31012025_06_53_16_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e529563ce744fb0e197de01beda08233.jpg","text":"TemporaryFile(/tmp/multipartBody1124812585143456685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302873487,"filename":"image_31012025_06_53_47_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/50d8773909616970bfbe7a74ede3c10a.jpg","text":"TemporaryFile(/tmp/multipartBody4085384400174725503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302873487,"filename":"image_31012025_06_53_36_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a490bb11d8dae79ab4a149926dea445a.jpg","text":"TemporaryFile(/tmp/multipartBody6526114698918477447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302873487,"filename":"image_31012025_06_52_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/1/31/49f3a32e309358d2747cd4266fd92cec.jpg","text":"TemporaryFile(/tmp/multipartBody7455004661801135033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302873487,"filename":"image_31012025_06_53_27_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d6a5ca9795b809c49b0043c8ed05900a.jpg","text":"TemporaryFile(/tmp/multipartBody5266232002429823427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302873487,"filename":"image_31012025_06_53_07_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333223132","file1":"1333223130","file0":"1333223128","file4":"1333223134","file5":"1333223137","file3":"1333223133"},"map_files_photo_id_array":[{"photo_id":"1333223137","filename":"file5"},{"photo_id":"1333223132","filename":"file2"},{"photo_id":"1333223134","filename":"file4"},{"photo_id":"1333223130","filename":"file1"},{"photo_id":"1333223128","filename":"file0"},{"photo_id":"1333223133","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333223132":["hashtag1","hashtag2"]},{"1333223137":["hashtag1","hashtag2"]},{"1333223134":["hashtag1","hashtag2"]},{"1333223128":["hashtag1","hashtag2"]},{"1333223133":["hashtag1","hashtag2"]},{"1333223130":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333223132, 1333223137, 1333223134, 1333223128, 1333223133, 1333223130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.550124406814575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:54:32.728378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/53/image_31012025_06_53_56_9345.jpg', '/home/pi/Desktop/images/31012025/06/53/image_31012025_06_54_07_10347.jpg', '/home/pi/Desktop/images/31012025/06/54/image_31012025_06_54_17_10400.jpg', '/home/pi/Desktop/images/31012025/06/54/image_31012025_06_54_26_9340.jpg', '/home/pi/Desktop/images/31012025/06/54/image_31012025_06_54_37_10375.jpg', '/home/pi/Desktop/images/31012025/06/54/image_31012025_06_54_47_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/53/image_31012025_06_53_56_9345.jpg
/home/pi/Desktop/images/31012025/06/53/image_31012025_06_54_07_10347.jpg
/home/pi/Desktop/images/31012025/06/54/image_31012025_06_54_17_10400.jpg
/home/pi/Desktop/images/31012025/06/54/image_31012025_06_54_26_9340.jpg
/home/pi/Desktop/images/31012025/06/54/image_31012025_06_54_37_10375.jpg
/home/pi/Desktop/images/31012025/06/54/image_31012025_06_54_47_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":["1333223185","1333223182","1333223206","1333223172","1333223202","1333223198"],"photo_ids_order":["1333223172","1333223182","1333223185","1333223198","1333223202","1333223206"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f3733f63bcb03bf94c896d18b57f83ae.jpg","text":"TemporaryFile(/tmp/multipartBody4040352608870650046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302933626,"filename":"image_31012025_06_54_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/1/31/2452b40af8fd14360156c67db3241805.jpg","text":"TemporaryFile(/tmp/multipartBody330724628313679072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302933626,"filename":"image_31012025_06_54_07_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b69a5339a5e983c755e942fa4939eb9a.jpg","text":"TemporaryFile(/tmp/multipartBody397488172149752498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302933626,"filename":"image_31012025_06_54_47_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6c09cbfb02fb22b038bfecdf1d135221.jpg","text":"TemporaryFile(/tmp/multipartBody1416358453660889571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302933626,"filename":"image_31012025_06_53_56_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c2b35176e8a6f7d5446b5f5ff229b35e.jpg","text":"TemporaryFile(/tmp/multipartBody1952780270184584295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302933626,"filename":"image_31012025_06_54_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/1/31/58b6fb0e8dc94cd8a0f2f93cc0117ce8.jpg","text":"TemporaryFile(/tmp/multipartBody3320351487973466071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302933626,"filename":"image_31012025_06_54_26_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333223185","file1":"1333223182","file0":"1333223172","file4":"1333223202","file5":"1333223206","file3":"1333223198"},"map_files_photo_id_array":[{"photo_id":"1333223206","filename":"file5"},{"photo_id":"1333223185","filename":"file2"},{"photo_id":"1333223202","filename":"file4"},{"photo_id":"1333223182","filename":"file1"},{"photo_id":"1333223172","filename":"file0"},{"photo_id":"1333223198","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333223185":["hashtag1","hashtag2"]},{"1333223182":["hashtag1","hashtag2"]},{"1333223206":["hashtag1","hashtag2"]},{"1333223172":["hashtag1","hashtag2"]},{"1333223202":["hashtag1","hashtag2"]},{"1333223198":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333223185, 1333223182, 1333223206, 1333223172, 1333223202, 1333223198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80714392662048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:55:32.867020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/54/image_31012025_06_54_56_9398.jpg', '/home/pi/Desktop/images/31012025/06/54/image_31012025_06_55_07_10464.jpg', '/home/pi/Desktop/images/31012025/06/55/image_31012025_06_55_27_10359.jpg', '/home/pi/Desktop/images/31012025/06/55/image_31012025_06_55_37_10448.jpg', '/home/pi/Desktop/images/31012025/06/55/image_31012025_06_55_46_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/54/image_31012025_06_54_56_9398.jpg
/home/pi/Desktop/images/31012025/06/54/image_31012025_06_55_07_10464.jpg
/home/pi/Desktop/images/31012025/06/55/image_31012025_06_55_27_10359.jpg
/home/pi/Desktop/images/31012025/06/55/image_31012025_06_55_37_10448.jpg
/home/pi/Desktop/images/31012025/06/55/image_31012025_06_55_46_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":["1333223219","1333223230","1333223232","1333223223","1333223226"],"photo_ids_order":["1333223219","1333223223","1333223226","1333223230","1333223232"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6db432c666559e2681b4b00ef2a61446.jpg","text":"TemporaryFile(/tmp/multipartBody9006661777335213260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302993763,"filename":"image_31012025_06_54_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/1/31/680ee419d168ab8648eaa932504aa853.jpg","text":"TemporaryFile(/tmp/multipartBody4218547393885782693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302993763,"filename":"image_31012025_06_55_37_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/043f762e66620765cd8d575a6b22aaf2.jpg","text":"TemporaryFile(/tmp/multipartBody2108117126481097768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302993763,"filename":"image_31012025_06_55_46_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7cf42d36a2340852a9926d4453ec0ea2.jpg","text":"TemporaryFile(/tmp/multipartBody6764614987743352999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302993763,"filename":"image_31012025_06_55_07_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4e7f99628607c291526132252cc5e7aa.jpg","text":"TemporaryFile(/tmp/multipartBody3441184960720783775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738302993763,"filename":"image_31012025_06_55_27_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333223226","file1":"1333223223","file0":"1333223219","file4":"1333223232","file3":"1333223230"},"map_files_photo_id_array":[{"photo_id":"1333223226","filename":"file2"},{"photo_id":"1333223232","filename":"file4"},{"photo_id":"1333223223","filename":"file1"},{"photo_id":"1333223219","filename":"file0"},{"photo_id":"1333223230","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333223219":["hashtag1","hashtag2"]},{"1333223230":["hashtag1","hashtag2"]},{"1333223232":["hashtag1","hashtag2"]},{"1333223223":["hashtag1","hashtag2"]},{"1333223226":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333223219, 1333223230, 1333223232, 1333223223, 1333223226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.976398944854736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:56:33.032339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/55/image_31012025_06_55_57_10468.jpg', '/home/pi/Desktop/images/31012025/06/55/image_31012025_06_56_06_9405.jpg', '/home/pi/Desktop/images/31012025/06/56/image_31012025_06_56_17_10413.jpg', '/home/pi/Desktop/images/31012025/06/56/image_31012025_06_56_27_10417.jpg', '/home/pi/Desktop/images/31012025/06/56/image_31012025_06_56_36_9434.jpg', '/home/pi/Desktop/images/31012025/06/56/image_31012025_06_56_47_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/55/image_31012025_06_55_57_10468.jpg
/home/pi/Desktop/images/31012025/06/55/image_31012025_06_56_06_9405.jpg
/home/pi/Desktop/images/31012025/06/56/image_31012025_06_56_17_10413.jpg
/home/pi/Desktop/images/31012025/06/56/image_31012025_06_56_27_10417.jpg
/home/pi/Desktop/images/31012025/06/56/image_31012025_06_56_36_9434.jpg
/home/pi/Desktop/images/31012025/06/56/image_31012025_06_56_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":["1333223473","1333223377","1333223388","1333223478","1333223373","1333223486"],"photo_ids_order":["1333223373","1333223377","1333223388","1333223473","1333223478","1333223486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/22ab7807f95a163ecb386e7b1afb3e58.jpg","text":"TemporaryFile(/tmp/multipartBody8255001975563582749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303053940,"filename":"image_31012025_06_56_27_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9f7b221036cb6f226e06678932d8c881.jpg","text":"TemporaryFile(/tmp/multipartBody1093759782026884363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303053940,"filename":"image_31012025_06_56_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/1/31/5f2403668aa5b57bd6fbd95ee9252b13.jpg","text":"TemporaryFile(/tmp/multipartBody8498748886414780639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303053940,"filename":"image_31012025_06_56_17_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/601813a59d1a667a96608f05df0c21e7.jpg","text":"TemporaryFile(/tmp/multipartBody6272898504757190339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303053940,"filename":"image_31012025_06_56_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/1/31/6f0d505175035d30684ba20a240a8653.jpg","text":"TemporaryFile(/tmp/multipartBody7921164500723197260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303053940,"filename":"image_31012025_06_55_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/1/31/ea8c295e8f5b989d663b6046819eff31.jpg","text":"TemporaryFile(/tmp/multipartBody5644333458329934146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303053940,"filename":"image_31012025_06_56_47_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333223388","file1":"1333223377","file0":"1333223373","file4":"1333223478","file5":"1333223486","file3":"1333223473"},"map_files_photo_id_array":[{"photo_id":"1333223486","filename":"file5"},{"photo_id":"1333223388","filename":"file2"},{"photo_id":"1333223478","filename":"file4"},{"photo_id":"1333223377","filename":"file1"},{"photo_id":"1333223373","filename":"file0"},{"photo_id":"1333223473","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333223473":["hashtag1","hashtag2"]},{"1333223377":["hashtag1","hashtag2"]},{"1333223388":["hashtag1","hashtag2"]},{"1333223478":["hashtag1","hashtag2"]},{"1333223373":["hashtag1","hashtag2"]},{"1333223486":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333223473, 1333223377, 1333223388, 1333223478, 1333223373, 1333223486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.02019715309143 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:57:32.461980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/56/image_31012025_06_56_56_9334.jpg', '/home/pi/Desktop/images/31012025/06/56/image_31012025_06_57_07_10352.jpg', '/home/pi/Desktop/images/31012025/06/57/image_31012025_06_57_17_10351.jpg', '/home/pi/Desktop/images/31012025/06/57/image_31012025_06_57_26_9387.jpg', '/home/pi/Desktop/images/31012025/06/57/image_31012025_06_57_37_10358.jpg', '/home/pi/Desktop/images/31012025/06/57/image_31012025_06_57_47_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/56/image_31012025_06_56_56_9334.jpg
/home/pi/Desktop/images/31012025/06/56/image_31012025_06_57_07_10352.jpg
/home/pi/Desktop/images/31012025/06/57/image_31012025_06_57_17_10351.jpg
/home/pi/Desktop/images/31012025/06/57/image_31012025_06_57_26_9387.jpg
/home/pi/Desktop/images/31012025/06/57/image_31012025_06_57_37_10358.jpg
/home/pi/Desktop/images/31012025/06/57/image_31012025_06_57_47_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 www.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-01-31 06:59:04.584270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/56/image_31012025_06_56_56_9334.jpg', '/home/pi/Desktop/images/31012025/06/56/image_31012025_06_57_07_10352.jpg', '/home/pi/Desktop/images/31012025/06/57/image_31012025_06_57_17_10351.jpg', '/home/pi/Desktop/images/31012025/06/57/image_31012025_06_57_26_9387.jpg', '/home/pi/Desktop/images/31012025/06/57/image_31012025_06_57_37_10358.jpg', '/home/pi/Desktop/images/31012025/06/57/image_31012025_06_57_47_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/56/image_31012025_06_56_56_9334.jpg
/home/pi/Desktop/images/31012025/06/56/image_31012025_06_57_07_10352.jpg
/home/pi/Desktop/images/31012025/06/57/image_31012025_06_57_17_10351.jpg
/home/pi/Desktop/images/31012025/06/57/image_31012025_06_57_26_9387.jpg
/home/pi/Desktop/images/31012025/06/57/image_31012025_06_57_37_10358.jpg
/home/pi/Desktop/images/31012025/06/57/image_31012025_06_57_47_10416.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":["1333223912","1333223971","1333223989","1333223926","1333223958","1333223943"],"photo_ids_order":["1333223912","1333223926","1333223943","1333223958","1333223971","1333223989"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b08417cd3fcd716afffbc31248ae8c7c.jpg","text":"TemporaryFile(/tmp/multipartBody7746832789959038959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303205694,"filename":"image_31012025_06_56_56_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dcf5868f9cdc0ff65b1c85d48e70e87a.jpg","text":"TemporaryFile(/tmp/multipartBody5811387803791795659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303205694,"filename":"image_31012025_06_57_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/1/31/4a39d4f7765cfd04b72194c3377fa9da.jpg","text":"TemporaryFile(/tmp/multipartBody5958522336777541815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303205694,"filename":"image_31012025_06_57_47_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/38b62bd752fda4cb651a92aa2460df8c.jpg","text":"TemporaryFile(/tmp/multipartBody1106404060710362867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303205694,"filename":"image_31012025_06_57_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/1/31/4d7dabfd72691290d869cba6b26589ec.jpg","text":"TemporaryFile(/tmp/multipartBody2518340758200482625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303205694,"filename":"image_31012025_06_57_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/1/31/872ee779c2ef30f070ec82e2d192973a.jpg","text":"TemporaryFile(/tmp/multipartBody7090173827603079515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303205694,"filename":"image_31012025_06_57_17_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333223943","file1":"1333223926","file0":"1333223912","file4":"1333223971","file5":"1333223989","file3":"1333223958"},"map_files_photo_id_array":[{"photo_id":"1333223989","filename":"file5"},{"photo_id":"1333223943","filename":"file2"},{"photo_id":"1333223971","filename":"file4"},{"photo_id":"1333223926","filename":"file1"},{"photo_id":"1333223912","filename":"file0"},{"photo_id":"1333223958","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333223912":["hashtag1","hashtag2"]},{"1333223971":["hashtag1","hashtag2"]},{"1333223989":["hashtag1","hashtag2"]},{"1333223926":["hashtag1","hashtag2"]},{"1333223958":["hashtag1","hashtag2"]},{"1333223943":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333223912, 1333223971, 1333223989, 1333223926, 1333223958, 1333223943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.504780530929565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 06:59:53.335206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/57/image_31012025_06_57_56_9403.jpg', '/home/pi/Desktop/images/31012025/06/57/image_31012025_06_58_07_10371.jpg', '/home/pi/Desktop/images/31012025/06/58/image_31012025_06_58_16_9336.jpg', '/home/pi/Desktop/images/31012025/06/58/image_31012025_06_58_27_10334.jpg', '/home/pi/Desktop/images/31012025/06/58/image_31012025_06_58_37_10446.jpg', '/home/pi/Desktop/images/31012025/06/58/image_31012025_06_58_46_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/57/image_31012025_06_57_56_9403.jpg
/home/pi/Desktop/images/31012025/06/57/image_31012025_06_58_07_10371.jpg
/home/pi/Desktop/images/31012025/06/58/image_31012025_06_58_16_9336.jpg
/home/pi/Desktop/images/31012025/06/58/image_31012025_06_58_27_10334.jpg
/home/pi/Desktop/images/31012025/06/58/image_31012025_06_58_37_10446.jpg
/home/pi/Desktop/images/31012025/06/58/image_31012025_06_58_46_9346.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":["1333224589","1333224580","1333224538","1333224247","1333224585","1333224387"],"photo_ids_order":["1333224247","1333224387","1333224538","1333224580","1333224585","1333224589"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0984a9f8c3f70ae4782889e3a33efcac.jpg","text":"TemporaryFile(/tmp/multipartBody4582385458242105574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303254252,"filename":"image_31012025_06_58_46_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5c39f7658ad13428e4d4e7ec65813fae.jpg","text":"TemporaryFile(/tmp/multipartBody2737553985333188530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303254252,"filename":"image_31012025_06_58_27_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8d2c04a83ff13c42b298a3e3065ad67a.jpg","text":"TemporaryFile(/tmp/multipartBody527340737747218196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303254252,"filename":"image_31012025_06_58_16_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/00e4ee4c372a9a8314fc49fb95cf65de.jpg","text":"TemporaryFile(/tmp/multipartBody2268992263234102448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303254252,"filename":"image_31012025_06_57_56_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/93afa74834879d038d114fcb961419b5.jpg","text":"TemporaryFile(/tmp/multipartBody6331262885529941588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303254252,"filename":"image_31012025_06_58_37_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6c988644239d986bda3ace82e1d58a2e.jpg","text":"TemporaryFile(/tmp/multipartBody3915756830169519863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303254252,"filename":"image_31012025_06_58_07_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333224538","file1":"1333224387","file0":"1333224247","file4":"1333224585","file5":"1333224589","file3":"1333224580"},"map_files_photo_id_array":[{"photo_id":"1333224589","filename":"file5"},{"photo_id":"1333224538","filename":"file2"},{"photo_id":"1333224585","filename":"file4"},{"photo_id":"1333224387","filename":"file1"},{"photo_id":"1333224247","filename":"file0"},{"photo_id":"1333224580","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333224589":["hashtag1","hashtag2"]},{"1333224580":["hashtag1","hashtag2"]},{"1333224538":["hashtag1","hashtag2"]},{"1333224247":["hashtag1","hashtag2"]},{"1333224585":["hashtag1","hashtag2"]},{"1333224387":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333224589, 1333224580, 1333224538, 1333224247, 1333224585, 1333224387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.54362988471985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 07:00:42.640449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/06/58/image_31012025_06_59_07_10433.jpg', '/home/pi/Desktop/images/31012025/06/59/image_31012025_06_59_16_9349.jpg', '/home/pi/Desktop/images/31012025/06/59/image_31012025_06_59_27_10407.jpg', '/home/pi/Desktop/images/31012025/06/59/image_31012025_06_59_36_9366.jpg', '/home/pi/Desktop/images/31012025/06/59/image_31012025_06_59_57_10360.jpg', '/home/pi/Desktop/images/31012025/07/00/image_31012025_07_00_16_10065.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/06/58/image_31012025_06_59_07_10433.jpg
/home/pi/Desktop/images/31012025/06/59/image_31012025_06_59_16_9349.jpg
/home/pi/Desktop/images/31012025/06/59/image_31012025_06_59_27_10407.jpg
/home/pi/Desktop/images/31012025/06/59/image_31012025_06_59_36_9366.jpg
/home/pi/Desktop/images/31012025/06/59/image_31012025_06_59_57_10360.jpg
/home/pi/Desktop/images/31012025/07/00/image_31012025_07_00_16_10065.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":["1333225098","1333225009","1333224693","1333224948","1333225073","1333225031"],"photo_ids_order":["1333224693","1333224948","1333225009","1333225031","1333225073","1333225098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/da93d302617ec974aadf5f043654cf99.jpg","text":"TemporaryFile(/tmp/multipartBody7500320076136582755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303303550,"filename":"image_31012025_07_00_16_10065.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3edcaf4cb1653bd01ced7231e31a3d00.jpg","text":"TemporaryFile(/tmp/multipartBody4503930994186011258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303303550,"filename":"image_31012025_06_59_27_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cad6952098d3fe3dc9e175162478669c.jpg","text":"TemporaryFile(/tmp/multipartBody5870183153709696567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303303550,"filename":"image_31012025_06_59_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/1/31/85bf5b59edad64150751c188c5733f5e.jpg","text":"TemporaryFile(/tmp/multipartBody8208293764232073341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303303550,"filename":"image_31012025_06_59_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/1/31/db3f512704b1a0b8f994b1a806270e05.jpg","text":"TemporaryFile(/tmp/multipartBody8061833821262530843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303303550,"filename":"image_31012025_06_59_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/1/31/547aa098705487f20c713763957d5072.jpg","text":"TemporaryFile(/tmp/multipartBody8159878971498155190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303303550,"filename":"image_31012025_06_59_36_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333225009","file1":"1333224948","file0":"1333224693","file4":"1333225073","file5":"1333225098","file3":"1333225031"},"map_files_photo_id_array":[{"photo_id":"1333225098","filename":"file5"},{"photo_id":"1333225009","filename":"file2"},{"photo_id":"1333225073","filename":"file4"},{"photo_id":"1333224948","filename":"file1"},{"photo_id":"1333224693","filename":"file0"},{"photo_id":"1333225031","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333225098":["hashtag1","hashtag2"]},{"1333225009":["hashtag1","hashtag2"]},{"1333224693":["hashtag1","hashtag2"]},{"1333224948":["hashtag1","hashtag2"]},{"1333225073":["hashtag1","hashtag2"]},{"1333225031":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333225098, 1333225009, 1333224693, 1333224948, 1333225073, 1333225031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.35218954086304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:01:32.847399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/00/image_31012025_07_00_27_10438.jpg', '/home/pi/Desktop/images/31012025/07/00/image_31012025_07_00_37_10370.jpg', '/home/pi/Desktop/images/31012025/07/00/image_31012025_07_00_46_9346.jpg', '/home/pi/Desktop/images/31012025/07/00/image_31012025_07_00_57_10392.jpg', '/home/pi/Desktop/images/31012025/07/00/image_31012025_07_01_07_10347.jpg', '/home/pi/Desktop/images/31012025/07/01/image_31012025_07_01_17_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/00/image_31012025_07_00_27_10438.jpg
/home/pi/Desktop/images/31012025/07/00/image_31012025_07_00_37_10370.jpg
/home/pi/Desktop/images/31012025/07/00/image_31012025_07_00_46_9346.jpg
/home/pi/Desktop/images/31012025/07/00/image_31012025_07_00_57_10392.jpg
/home/pi/Desktop/images/31012025/07/00/image_31012025_07_01_07_10347.jpg
/home/pi/Desktop/images/31012025/07/01/image_31012025_07_01_17_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":["1333225132","1333225141","1333225129","1333225146","1333225151","1333225154"],"photo_ids_order":["1333225129","1333225132","1333225141","1333225146","1333225151","1333225154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c28b3d2556da4d6a0fc72bb9abf674b6.jpg","text":"TemporaryFile(/tmp/multipartBody8875412631639957647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303353781,"filename":"image_31012025_07_00_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/1/31/03c7f8759de9cd18d82c298af8f24881.jpg","text":"TemporaryFile(/tmp/multipartBody3881728394284471925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303353781,"filename":"image_31012025_07_00_46_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3ffc0915e446c872dce0a4dedc3bf378.jpg","text":"TemporaryFile(/tmp/multipartBody90834518771044755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303353781,"filename":"image_31012025_07_00_27_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3a8ec9b4fa36703a7616aae3b1928abd.jpg","text":"TemporaryFile(/tmp/multipartBody3284955684847693120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303353781,"filename":"image_31012025_07_00_57_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/af733c43856a70be27f210d5654c465f.jpg","text":"TemporaryFile(/tmp/multipartBody3781362609341273405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303353781,"filename":"image_31012025_07_01_07_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/38d6bd7cac8a3db6a44c726783937733.jpg","text":"TemporaryFile(/tmp/multipartBody5936634345225601429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303353781,"filename":"image_31012025_07_01_17_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333225141","file1":"1333225132","file0":"1333225129","file4":"1333225151","file5":"1333225154","file3":"1333225146"},"map_files_photo_id_array":[{"photo_id":"1333225154","filename":"file5"},{"photo_id":"1333225141","filename":"file2"},{"photo_id":"1333225151","filename":"file4"},{"photo_id":"1333225132","filename":"file1"},{"photo_id":"1333225129","filename":"file0"},{"photo_id":"1333225146","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333225132":["hashtag1","hashtag2"]},{"1333225141":["hashtag1","hashtag2"]},{"1333225129":["hashtag1","hashtag2"]},{"1333225146":["hashtag1","hashtag2"]},{"1333225151":["hashtag1","hashtag2"]},{"1333225154":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333225132, 1333225141, 1333225129, 1333225146, 1333225151, 1333225154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.87738561630249 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:02:32.259641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/01/image_31012025_07_01_27_10371.jpg', '/home/pi/Desktop/images/31012025/07/01/image_31012025_07_01_47_10352.jpg', '/home/pi/Desktop/images/31012025/07/01/image_31012025_07_01_57_10334.jpg', '/home/pi/Desktop/images/31012025/07/01/image_31012025_07_02_06_9377.jpg', '/home/pi/Desktop/images/31012025/07/02/image_31012025_07_02_17_10470.jpg', '/home/pi/Desktop/images/31012025/07/02/image_31012025_07_02_27_10387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/01/image_31012025_07_01_27_10371.jpg
/home/pi/Desktop/images/31012025/07/01/image_31012025_07_01_47_10352.jpg
/home/pi/Desktop/images/31012025/07/01/image_31012025_07_01_57_10334.jpg
/home/pi/Desktop/images/31012025/07/01/image_31012025_07_02_06_9377.jpg
/home/pi/Desktop/images/31012025/07/02/image_31012025_07_02_17_10470.jpg
/home/pi/Desktop/images/31012025/07/02/image_31012025_07_02_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":["1333225246","1333225240","1333225222","1333225260","1333225265","1333225253"],"photo_ids_order":["1333225222","1333225240","1333225246","1333225253","1333225260","1333225265"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b24fa35f08dff4010f78dd02eeb211a5.jpg","text":"TemporaryFile(/tmp/multipartBody8571717094300637816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303413170,"filename":"image_31012025_07_01_57_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fbbeb70a5e3a5104737cda55d63aa248.jpg","text":"TemporaryFile(/tmp/multipartBody7439001320100102308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303413170,"filename":"image_31012025_07_01_47_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/89ef7eceb670e4a5805b6f92b9225664.jpg","text":"TemporaryFile(/tmp/multipartBody954680268269655974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303413170,"filename":"image_31012025_07_01_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/1/31/1dba95096aed643c4df3980064158d77.jpg","text":"TemporaryFile(/tmp/multipartBody5403718144839544929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303413170,"filename":"image_31012025_07_02_17_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ce5b8884270bad2f0f0195ea3f932bc3.jpg","text":"TemporaryFile(/tmp/multipartBody8789112961630808590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303413170,"filename":"image_31012025_07_02_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/1/31/b0f874dd25650333197bfae6975b183d.jpg","text":"TemporaryFile(/tmp/multipartBody8636599591628641408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303413170,"filename":"image_31012025_07_02_06_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333225246","file1":"1333225240","file0":"1333225222","file4":"1333225260","file5":"1333225265","file3":"1333225253"},"map_files_photo_id_array":[{"photo_id":"1333225265","filename":"file5"},{"photo_id":"1333225246","filename":"file2"},{"photo_id":"1333225260","filename":"file4"},{"photo_id":"1333225240","filename":"file1"},{"photo_id":"1333225222","filename":"file0"},{"photo_id":"1333225253","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333225246":["hashtag1","hashtag2"]},{"1333225240":["hashtag1","hashtag2"]},{"1333225222":["hashtag1","hashtag2"]},{"1333225260":["hashtag1","hashtag2"]},{"1333225265":["hashtag1","hashtag2"]},{"1333225253":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333225246, 1333225240, 1333225222, 1333225260, 1333225265, 1333225253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98929476737976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:03:32.529227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/02/image_31012025_07_02_47_10406.jpg', '/home/pi/Desktop/images/31012025/07/02/image_31012025_07_02_56_9339.jpg', '/home/pi/Desktop/images/31012025/07/02/image_31012025_07_03_07_10340.jpg', '/home/pi/Desktop/images/31012025/07/03/image_31012025_07_03_17_10330.jpg', '/home/pi/Desktop/images/31012025/07/03/image_31012025_07_03_26_9355.jpg', '/home/pi/Desktop/images/31012025/07/03/image_31012025_07_03_37_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/02/image_31012025_07_02_47_10406.jpg
/home/pi/Desktop/images/31012025/07/02/image_31012025_07_02_56_9339.jpg
/home/pi/Desktop/images/31012025/07/02/image_31012025_07_03_07_10340.jpg
/home/pi/Desktop/images/31012025/07/03/image_31012025_07_03_17_10330.jpg
/home/pi/Desktop/images/31012025/07/03/image_31012025_07_03_26_9355.jpg
/home/pi/Desktop/images/31012025/07/03/image_31012025_07_03_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":["1333225300","1333225284","1333225295","1333225289","1333225298","1333225292"],"photo_ids_order":["1333225284","1333225289","1333225292","1333225295","1333225298","1333225300"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f5b2969b335a7bbdca4fe5d89bff83b3.jpg","text":"TemporaryFile(/tmp/multipartBody1374971537389752833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303473465,"filename":"image_31012025_07_03_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/1/31/1d679b43a01bde7ae648f0313a5ba63e.jpg","text":"TemporaryFile(/tmp/multipartBody1312019870834559954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303473465,"filename":"image_31012025_07_02_47_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b2cd901a5ce3439ad3e5827b88136eb7.jpg","text":"TemporaryFile(/tmp/multipartBody5450738469980028084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303473465,"filename":"image_31012025_07_03_17_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6d6fa5d26d69784180e1416bcd3108b5.jpg","text":"TemporaryFile(/tmp/multipartBody5194267386666712560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303473465,"filename":"image_31012025_07_02_56_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cc65d1bbdf13db72d773ba445aa12442.jpg","text":"TemporaryFile(/tmp/multipartBody4602089239948076921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303473465,"filename":"image_31012025_07_03_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/1/31/b4440278f06a57012b5882afe6c8df50.jpg","text":"TemporaryFile(/tmp/multipartBody7214984995875484874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303473465,"filename":"image_31012025_07_03_07_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333225292","file1":"1333225289","file0":"1333225284","file4":"1333225298","file5":"1333225300","file3":"1333225295"},"map_files_photo_id_array":[{"photo_id":"1333225300","filename":"file5"},{"photo_id":"1333225292","filename":"file2"},{"photo_id":"1333225298","filename":"file4"},{"photo_id":"1333225289","filename":"file1"},{"photo_id":"1333225284","filename":"file0"},{"photo_id":"1333225295","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333225300":["hashtag1","hashtag2"]},{"1333225284":["hashtag1","hashtag2"]},{"1333225295":["hashtag1","hashtag2"]},{"1333225289":["hashtag1","hashtag2"]},{"1333225298":["hashtag1","hashtag2"]},{"1333225292":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333225300, 1333225284, 1333225295, 1333225289, 1333225298, 1333225292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.005324840545654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:04:32.713058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/03/image_31012025_07_03_47_10393.jpg', '/home/pi/Desktop/images/31012025/07/03/image_31012025_07_03_56_9360.jpg', '/home/pi/Desktop/images/31012025/07/03/image_31012025_07_04_07_10409.jpg', '/home/pi/Desktop/images/31012025/07/04/image_31012025_07_04_17_10336.jpg', '/home/pi/Desktop/images/31012025/07/04/image_31012025_07_04_27_9366.jpg', '/home/pi/Desktop/images/31012025/07/04/image_31012025_07_04_37_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/03/image_31012025_07_03_47_10393.jpg
/home/pi/Desktop/images/31012025/07/03/image_31012025_07_03_56_9360.jpg
/home/pi/Desktop/images/31012025/07/03/image_31012025_07_04_07_10409.jpg
/home/pi/Desktop/images/31012025/07/04/image_31012025_07_04_17_10336.jpg
/home/pi/Desktop/images/31012025/07/04/image_31012025_07_04_27_9366.jpg
/home/pi/Desktop/images/31012025/07/04/image_31012025_07_04_37_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":["1333225321","1333225347","1333225352","1333225340","1333225334","1333225328"],"photo_ids_order":["1333225321","1333225328","1333225334","1333225340","1333225347","1333225352"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/db8987ca3921d946a7a2526abf21d97d.jpg","text":"TemporaryFile(/tmp/multipartBody333551788427507228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303533632,"filename":"image_31012025_07_03_47_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/da757abb52fd76dcc29b670ca3dabc50.jpg","text":"TemporaryFile(/tmp/multipartBody8644046521622859200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303533632,"filename":"image_31012025_07_04_27_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ea6ebdf7e23de9e96ed52b63c9b123b3.jpg","text":"TemporaryFile(/tmp/multipartBody5778033727224150879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303533632,"filename":"image_31012025_07_04_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/1/31/15fe05c04b51323762cc6e508af0177f.jpg","text":"TemporaryFile(/tmp/multipartBody3567802282269310506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303533632,"filename":"image_31012025_07_04_17_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e63049b4ffeecf05a5b8a928a6e0a7ce.jpg","text":"TemporaryFile(/tmp/multipartBody2821240675198574883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303533632,"filename":"image_31012025_07_04_07_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/249b9706adef2396cf00a09958655eed.jpg","text":"TemporaryFile(/tmp/multipartBody2416871427933845675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303533632,"filename":"image_31012025_07_03_56_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333225334","file1":"1333225328","file0":"1333225321","file4":"1333225347","file5":"1333225352","file3":"1333225340"},"map_files_photo_id_array":[{"photo_id":"1333225352","filename":"file5"},{"photo_id":"1333225334","filename":"file2"},{"photo_id":"1333225347","filename":"file4"},{"photo_id":"1333225328","filename":"file1"},{"photo_id":"1333225321","filename":"file0"},{"photo_id":"1333225340","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333225321":["hashtag1","hashtag2"]},{"1333225347":["hashtag1","hashtag2"]},{"1333225352":["hashtag1","hashtag2"]},{"1333225340":["hashtag1","hashtag2"]},{"1333225334":["hashtag1","hashtag2"]},{"1333225328":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333225321, 1333225347, 1333225352, 1333225340, 1333225334, 1333225328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.85342478752136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:05:32.848878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/04/image_31012025_07_04_46_9352.jpg', '/home/pi/Desktop/images/31012025/07/04/image_31012025_07_04_57_10346.jpg', '/home/pi/Desktop/images/31012025/07/04/image_31012025_07_05_07_10353.jpg', '/home/pi/Desktop/images/31012025/07/05/image_31012025_07_05_16_9388.jpg', '/home/pi/Desktop/images/31012025/07/05/image_31012025_07_05_27_10705.jpg', '/home/pi/Desktop/images/31012025/07/05/image_31012025_07_05_36_9418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/04/image_31012025_07_04_46_9352.jpg
/home/pi/Desktop/images/31012025/07/04/image_31012025_07_04_57_10346.jpg
/home/pi/Desktop/images/31012025/07/04/image_31012025_07_05_07_10353.jpg
/home/pi/Desktop/images/31012025/07/05/image_31012025_07_05_16_9388.jpg
/home/pi/Desktop/images/31012025/07/05/image_31012025_07_05_27_10705.jpg
/home/pi/Desktop/images/31012025/07/05/image_31012025_07_05_36_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":["1333225378","1333225398","1333225392","1333225388","1333225384","1333225396"],"photo_ids_order":["1333225378","1333225384","1333225388","1333225392","1333225396","1333225398"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/037e49ccd9e472581c96e1bfb378f175.jpg","text":"TemporaryFile(/tmp/multipartBody7633989245648587878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303593768,"filename":"image_31012025_07_04_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/1/31/fb9c836fea24a7e1d62fac2f6164faca.jpg","text":"TemporaryFile(/tmp/multipartBody1444433576365101996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303593768,"filename":"image_31012025_07_05_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/1/31/0ddd3f86c5db3fa0496c4190408ef141.jpg","text":"TemporaryFile(/tmp/multipartBody3084115439931394653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303593768,"filename":"image_31012025_07_05_16_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6da98ef748845f0e4b2a89c9e3c8b526.jpg","text":"TemporaryFile(/tmp/multipartBody2910232689487715441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303593768,"filename":"image_31012025_07_05_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/1/31/89311e4cf1b14f5739aa96d48dd40276.jpg","text":"TemporaryFile(/tmp/multipartBody2597241430846482021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303593768,"filename":"image_31012025_07_04_57_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/735f89710a62bceebaee66684b9fd673.jpg","text":"TemporaryFile(/tmp/multipartBody1177201027503411281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303593768,"filename":"image_31012025_07_05_27_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333225388","file1":"1333225384","file0":"1333225378","file4":"1333225396","file5":"1333225398","file3":"1333225392"},"map_files_photo_id_array":[{"photo_id":"1333225398","filename":"file5"},{"photo_id":"1333225388","filename":"file2"},{"photo_id":"1333225396","filename":"file4"},{"photo_id":"1333225384","filename":"file1"},{"photo_id":"1333225378","filename":"file0"},{"photo_id":"1333225392","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333225378":["hashtag1","hashtag2"]},{"1333225398":["hashtag1","hashtag2"]},{"1333225392":["hashtag1","hashtag2"]},{"1333225388":["hashtag1","hashtag2"]},{"1333225384":["hashtag1","hashtag2"]},{"1333225396":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333225378, 1333225398, 1333225392, 1333225388, 1333225384, 1333225396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.84657168388367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:06:33.030581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/05/image_31012025_07_05_47_10480.jpg', '/home/pi/Desktop/images/31012025/07/05/image_31012025_07_05_56_9507.jpg', '/home/pi/Desktop/images/31012025/07/05/image_31012025_07_06_07_10376.jpg', '/home/pi/Desktop/images/31012025/07/06/image_31012025_07_06_17_10386.jpg', '/home/pi/Desktop/images/31012025/07/06/image_31012025_07_06_27_9384.jpg', '/home/pi/Desktop/images/31012025/07/06/image_31012025_07_06_37_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/05/image_31012025_07_05_47_10480.jpg
/home/pi/Desktop/images/31012025/07/05/image_31012025_07_05_56_9507.jpg
/home/pi/Desktop/images/31012025/07/05/image_31012025_07_06_07_10376.jpg
/home/pi/Desktop/images/31012025/07/06/image_31012025_07_06_17_10386.jpg
/home/pi/Desktop/images/31012025/07/06/image_31012025_07_06_27_9384.jpg
/home/pi/Desktop/images/31012025/07/06/image_31012025_07_06_37_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":["1333225441","1333225432","1333225426","1333225422","1333225436","1333225418"],"photo_ids_order":["1333225418","1333225422","1333225426","1333225432","1333225436","1333225441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5406c40706e36ba9952a5970bd4732d5.jpg","text":"TemporaryFile(/tmp/multipartBody8728996881959438074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303653948,"filename":"image_31012025_07_06_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/1/31/2fbf3394f01afa7898cd99d5143e004c.jpg","text":"TemporaryFile(/tmp/multipartBody5302602005185192043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303653948,"filename":"image_31012025_07_06_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/1/31/6358347c3a8c15e44c444b4e90a83919.jpg","text":"TemporaryFile(/tmp/multipartBody9133661184836513855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303653948,"filename":"image_31012025_07_06_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/1/31/c7dd0b5a5680abcfd4767ecff406c9fe.jpg","text":"TemporaryFile(/tmp/multipartBody3537739095064653690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303653948,"filename":"image_31012025_07_05_56_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bfa0b475e4b7984b976e49d54a461eff.jpg","text":"TemporaryFile(/tmp/multipartBody7170563846708197006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303653948,"filename":"image_31012025_07_06_27_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b0caf1197429bca796b7b65b44f85114.jpg","text":"TemporaryFile(/tmp/multipartBody8989685144135889917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303653948,"filename":"image_31012025_07_05_47_10480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333225426","file1":"1333225422","file0":"1333225418","file4":"1333225436","file5":"1333225441","file3":"1333225432"},"map_files_photo_id_array":[{"photo_id":"1333225441","filename":"file5"},{"photo_id":"1333225426","filename":"file2"},{"photo_id":"1333225436","filename":"file4"},{"photo_id":"1333225422","filename":"file1"},{"photo_id":"1333225418","filename":"file0"},{"photo_id":"1333225432","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333225441":["hashtag1","hashtag2"]},{"1333225432":["hashtag1","hashtag2"]},{"1333225426":["hashtag1","hashtag2"]},{"1333225422":["hashtag1","hashtag2"]},{"1333225436":["hashtag1","hashtag2"]},{"1333225418":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333225441, 1333225432, 1333225426, 1333225422, 1333225436, 1333225418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.18008899688721 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:07:32.317292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/06/image_31012025_07_06_46_9349.jpg', '/home/pi/Desktop/images/31012025/07/06/image_31012025_07_06_57_10439.jpg', '/home/pi/Desktop/images/31012025/07/06/image_31012025_07_07_07_10361.jpg', '/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_17_9415.jpg', '/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_27_10356.jpg', '/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_37_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/06/image_31012025_07_06_46_9349.jpg
/home/pi/Desktop/images/31012025/07/06/image_31012025_07_06_57_10439.jpg
/home/pi/Desktop/images/31012025/07/06/image_31012025_07_07_07_10361.jpg
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_17_9415.jpg
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_27_10356.jpg
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_37_10351.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.518017053604126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 07:07:42.330549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/06/image_31012025_07_06_46_9349.jpg', '/home/pi/Desktop/images/31012025/07/06/image_31012025_07_06_57_10439.jpg', '/home/pi/Desktop/images/31012025/07/06/image_31012025_07_07_07_10361.jpg', '/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_17_9415.jpg', '/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_27_10356.jpg', '/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_37_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/06/image_31012025_07_06_46_9349.jpg
/home/pi/Desktop/images/31012025/07/06/image_31012025_07_06_57_10439.jpg
/home/pi/Desktop/images/31012025/07/06/image_31012025_07_07_07_10361.jpg
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_17_9415.jpg
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_27_10356.jpg
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_37_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":["1333225497","1333225461","1333225493","1333225469","1333225466","1333225502"],"photo_ids_order":["1333225461","1333225466","1333225469","1333225493","1333225497","1333225502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d13599b9938100b157eb824bf8feea11.jpg","text":"TemporaryFile(/tmp/multipartBody4035283548678336471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303723235,"filename":"image_31012025_07_07_27_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/98c358170de16285b1f1f00d80ccadc6.jpg","text":"TemporaryFile(/tmp/multipartBody5448445198896308206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303723235,"filename":"image_31012025_07_06_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/1/31/f8f8f59f7aa964509beedb945c54a1c2.jpg","text":"TemporaryFile(/tmp/multipartBody3108695814430061356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303723235,"filename":"image_31012025_07_07_17_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bb848fb4ecf47fe95fc308c3d65e00c1.jpg","text":"TemporaryFile(/tmp/multipartBody2091403582438954893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303723235,"filename":"image_31012025_07_07_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/1/31/67e8a7d8a73f7c6227b320c830abde74.jpg","text":"TemporaryFile(/tmp/multipartBody8191285218551331206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303723235,"filename":"image_31012025_07_06_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/1/31/8a2d042b92b4ab6bc01829ffc044ee6a.jpg","text":"TemporaryFile(/tmp/multipartBody4263625485230589169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738303723235,"filename":"image_31012025_07_07_37_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333225469","file1":"1333225466","file0":"1333225461","file4":"1333225497","file5":"1333225502","file3":"1333225493"},"map_files_photo_id_array":[{"photo_id":"1333225502","filename":"file5"},{"photo_id":"1333225469","filename":"file2"},{"photo_id":"1333225497","filename":"file4"},{"photo_id":"1333225466","filename":"file1"},{"photo_id":"1333225461","filename":"file0"},{"photo_id":"1333225493","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333225497":["hashtag1","hashtag2"]},{"1333225461":["hashtag1","hashtag2"]},{"1333225493":["hashtag1","hashtag2"]},{"1333225469":["hashtag1","hashtag2"]},{"1333225466":["hashtag1","hashtag2"]},{"1333225502":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333225497, 1333225461, 1333225493, 1333225469, 1333225466, 1333225502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.457239389419556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:08:32.566784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_47_9417.jpg', '/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_57_10335.jpg', '/home/pi/Desktop/images/31012025/07/07/image_31012025_07_08_06_9353.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_17_10449.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_27_10365.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_37_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_47_9417.jpg
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_57_10335.jpg
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_08_06_9353.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_17_10449.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_27_10365.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_37_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 [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>88b2o016h</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>88b2o016h</strong>.
uploaded 0 photos
time to upload: 30.0612850189209 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:09:32.776314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_47_9417.jpg', '/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_57_10335.jpg', '/home/pi/Desktop/images/31012025/07/07/image_31012025_07_08_06_9353.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_17_10449.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_27_10365.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_37_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_47_9417.jpg
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_57_10335.jpg
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_08_06_9353.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_17_10449.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_27_10365.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_37_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 [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>88b2o3d17</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>88b2o3d17</strong>.
uploaded 0 photos
time to upload: 30.529895305633545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:10:33.075902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_47_9417.jpg', '/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_57_10335.jpg', '/home/pi/Desktop/images/31012025/07/07/image_31012025_07_08_06_9353.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_17_10449.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_27_10365.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_37_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_47_9417.jpg
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_57_10335.jpg
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_08_06_9353.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_17_10449.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_27_10365.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_37_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 [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>88b2o6o6h</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>88b2o6o6h</strong>.
uploaded 0 photos
time to upload: 30.53954291343689 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:11:32.411254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_47_9417.jpg', '/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_57_10335.jpg', '/home/pi/Desktop/images/31012025/07/07/image_31012025_07_08_06_9353.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_17_10449.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_27_10365.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_37_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_47_9417.jpg
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_57_10335.jpg
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_08_06_9353.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_17_10449.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_27_10365.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_37_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 [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>88b2oa80m</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>88b2oa80m</strong>.
uploaded 0 photos
time to upload: 30.532582998275757 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:12:32.626191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_47_9417.jpg', '/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_57_10335.jpg', '/home/pi/Desktop/images/31012025/07/07/image_31012025_07_08_06_9353.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_17_10449.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_27_10365.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_37_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_47_9417.jpg
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_57_10335.jpg
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_08_06_9353.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_17_10449.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_27_10365.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_37_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 [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>88b2odj2a</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>88b2odj2a</strong>.
uploaded 0 photos
time to upload: 30.52818536758423 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:13:32.778815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_47_9417.jpg', '/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_57_10335.jpg', '/home/pi/Desktop/images/31012025/07/07/image_31012025_07_08_06_9353.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_17_10449.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_27_10365.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_37_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_47_9417.jpg
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_57_10335.jpg
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_08_06_9353.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_17_10449.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_27_10365.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_37_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 [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>88b2oh436</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>88b2oh436</strong>.
uploaded 0 photos
time to upload: 30.55789017677307 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:14:32.245484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_47_9417.jpg', '/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_57_10335.jpg', '/home/pi/Desktop/images/31012025/07/07/image_31012025_07_08_06_9353.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_17_10449.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_27_10365.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_37_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_47_9417.jpg
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_57_10335.jpg
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_08_06_9353.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_17_10449.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_27_10365.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_37_9342.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5256137847900391 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 07:14:42.180322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_47_9417.jpg', '/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_57_10335.jpg', '/home/pi/Desktop/images/31012025/07/07/image_31012025_07_08_06_9353.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_17_10449.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_27_10365.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_37_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_47_9417.jpg
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_07_57_10335.jpg
/home/pi/Desktop/images/31012025/07/07/image_31012025_07_08_06_9353.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_17_10449.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_27_10365.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_37_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":["1333225563","1333225551","1333225569","1333225574","1333225556","1333225571"],"photo_ids_order":["1333225551","1333225556","1333225563","1333225569","1333225571","1333225574"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3fcf77ca08a1bf483ce9ca31bc90592a.jpg","text":"TemporaryFile(/tmp/multipartBody285334472824184073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304143084,"filename":"image_31012025_07_08_06_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/77a7565599052a70268d3d26554b5c8b.jpg","text":"TemporaryFile(/tmp/multipartBody4650507115242411125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304143084,"filename":"image_31012025_07_07_47_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/182d5d5414a13e26103d087b623e5341.jpg","text":"TemporaryFile(/tmp/multipartBody6948580474624587662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304143084,"filename":"image_31012025_07_08_17_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f7b20c56b461f3b4aaff5eaae754a1c8.jpg","text":"TemporaryFile(/tmp/multipartBody3497487952321123429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304143084,"filename":"image_31012025_07_08_37_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fb20551cb5d27a721844dcab1e597360.jpg","text":"TemporaryFile(/tmp/multipartBody7652014895590922224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304143084,"filename":"image_31012025_07_07_57_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6b59b3abec1e4b5b59e563eae349eca2.jpg","text":"TemporaryFile(/tmp/multipartBody6896724046004646609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304143084,"filename":"image_31012025_07_08_27_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333225563","file1":"1333225556","file0":"1333225551","file4":"1333225571","file5":"1333225574","file3":"1333225569"},"map_files_photo_id_array":[{"photo_id":"1333225574","filename":"file5"},{"photo_id":"1333225563","filename":"file2"},{"photo_id":"1333225571","filename":"file4"},{"photo_id":"1333225556","filename":"file1"},{"photo_id":"1333225551","filename":"file0"},{"photo_id":"1333225569","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333225563":["hashtag1","hashtag2"]},{"1333225551":["hashtag1","hashtag2"]},{"1333225569":["hashtag1","hashtag2"]},{"1333225574":["hashtag1","hashtag2"]},{"1333225556":["hashtag1","hashtag2"]},{"1333225571":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333225563, 1333225551, 1333225569, 1333225574, 1333225556, 1333225571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.14300489425659 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 07:15:42.505590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_47_10420.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_56_9355.jpg', '/home/pi/Desktop/images/31012025/07/08/image_31012025_07_09_07_10343.jpg', '/home/pi/Desktop/images/31012025/07/09/image_31012025_07_09_17_10446.jpg', '/home/pi/Desktop/images/31012025/07/09/image_31012025_07_09_26_9346.jpg', '/home/pi/Desktop/images/31012025/07/09/image_31012025_07_09_37_10499.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_47_10420.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_08_56_9355.jpg
/home/pi/Desktop/images/31012025/07/08/image_31012025_07_09_07_10343.jpg
/home/pi/Desktop/images/31012025/07/09/image_31012025_07_09_17_10446.jpg
/home/pi/Desktop/images/31012025/07/09/image_31012025_07_09_26_9346.jpg
/home/pi/Desktop/images/31012025/07/09/image_31012025_07_09_37_10499.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":["1333225627","1333225609","1333225593","1333225605","1333225613","1333225601"],"photo_ids_order":["1333225593","1333225601","1333225605","1333225609","1333225613","1333225627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bf76dd57b023896cf98e7e411d6eb282.jpg","text":"TemporaryFile(/tmp/multipartBody8378995662702764614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304203407,"filename":"image_31012025_07_09_37_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/407a685b9115158ebccae555bae00e8f.jpg","text":"TemporaryFile(/tmp/multipartBody3455249661417470526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304203407,"filename":"image_31012025_07_09_17_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ce83c0ab7ba277230a2376302d92e3ea.jpg","text":"TemporaryFile(/tmp/multipartBody6299327214504839158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304203407,"filename":"image_31012025_07_08_47_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4e39ac6b2383dde25528dcf69e8ee7ad.jpg","text":"TemporaryFile(/tmp/multipartBody6641365660222713776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304203407,"filename":"image_31012025_07_09_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/1/31/742da6b83f957f70ebbb65c2bfc90219.jpg","text":"TemporaryFile(/tmp/multipartBody6252172506737335542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304203407,"filename":"image_31012025_07_09_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/1/31/9a8d5a0e39062e8195e46b44d5ecb152.jpg","text":"TemporaryFile(/tmp/multipartBody8256972141898911807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304203407,"filename":"image_31012025_07_08_56_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333225605","file1":"1333225601","file0":"1333225593","file4":"1333225613","file5":"1333225627","file3":"1333225609"},"map_files_photo_id_array":[{"photo_id":"1333225627","filename":"file5"},{"photo_id":"1333225605","filename":"file2"},{"photo_id":"1333225613","filename":"file4"},{"photo_id":"1333225601","filename":"file1"},{"photo_id":"1333225593","filename":"file0"},{"photo_id":"1333225609","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333225627":["hashtag1","hashtag2"]},{"1333225609":["hashtag1","hashtag2"]},{"1333225593":["hashtag1","hashtag2"]},{"1333225605":["hashtag1","hashtag2"]},{"1333225613":["hashtag1","hashtag2"]},{"1333225601":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333225627, 1333225609, 1333225593, 1333225605, 1333225613, 1333225601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65673899650574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:16:32.699616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/09/image_31012025_07_09_46_9427.jpg', '/home/pi/Desktop/images/31012025/07/09/image_31012025_07_09_57_10449.jpg', '/home/pi/Desktop/images/31012025/07/09/image_31012025_07_10_07_10347.jpg', '/home/pi/Desktop/images/31012025/07/10/image_31012025_07_10_17_9405.jpg', '/home/pi/Desktop/images/31012025/07/10/image_31012025_07_10_27_10343.jpg', '/home/pi/Desktop/images/31012025/07/10/image_31012025_07_10_57_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/09/image_31012025_07_09_46_9427.jpg
/home/pi/Desktop/images/31012025/07/09/image_31012025_07_09_57_10449.jpg
/home/pi/Desktop/images/31012025/07/09/image_31012025_07_10_07_10347.jpg
/home/pi/Desktop/images/31012025/07/10/image_31012025_07_10_17_9405.jpg
/home/pi/Desktop/images/31012025/07/10/image_31012025_07_10_27_10343.jpg
/home/pi/Desktop/images/31012025/07/10/image_31012025_07_10_57_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":["1333225675","1333225650","1333225644","1333225647","1333225670","1333225661"],"photo_ids_order":["1333225644","1333225647","1333225650","1333225661","1333225670","1333225675"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c46fe5d973b7505438666000f72fc5c6.jpg","text":"TemporaryFile(/tmp/multipartBody1011795050414956704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304253610,"filename":"image_31012025_07_10_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/1/31/8efe2f5e424e9f17088483adee4e04a0.jpg","text":"TemporaryFile(/tmp/multipartBody3837787638003348431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304253610,"filename":"image_31012025_07_10_07_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/56681f88415c15ac86efa4d47e1a35ed.jpg","text":"TemporaryFile(/tmp/multipartBody7545253680652470457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304253610,"filename":"image_31012025_07_09_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/1/31/fc27c1d4877c5f7219b58ca35207634d.jpg","text":"TemporaryFile(/tmp/multipartBody8017568423530353412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304253610,"filename":"image_31012025_07_09_57_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a77251322d4481048d0cca6e323dc0a5.jpg","text":"TemporaryFile(/tmp/multipartBody4149772048139633399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304253610,"filename":"image_31012025_07_10_27_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c994515dd5a2aef2a2b9fabcc5bf78fd.jpg","text":"TemporaryFile(/tmp/multipartBody8473494271462466873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304253610,"filename":"image_31012025_07_10_17_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333225650","file1":"1333225647","file0":"1333225644","file4":"1333225670","file5":"1333225675","file3":"1333225661"},"map_files_photo_id_array":[{"photo_id":"1333225675","filename":"file5"},{"photo_id":"1333225650","filename":"file2"},{"photo_id":"1333225670","filename":"file4"},{"photo_id":"1333225647","filename":"file1"},{"photo_id":"1333225644","filename":"file0"},{"photo_id":"1333225661","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333225675":["hashtag1","hashtag2"]},{"1333225650":["hashtag1","hashtag2"]},{"1333225644":["hashtag1","hashtag2"]},{"1333225647":["hashtag1","hashtag2"]},{"1333225670":["hashtag1","hashtag2"]},{"1333225661":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333225675, 1333225650, 1333225644, 1333225647, 1333225670, 1333225661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04106545448303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:17:32.945148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/10/image_31012025_07_11_06_9347.jpg', '/home/pi/Desktop/images/31012025/07/11/image_31012025_07_11_17_10406.jpg', '/home/pi/Desktop/images/31012025/07/11/image_31012025_07_11_27_10402.jpg', '/home/pi/Desktop/images/31012025/07/11/image_31012025_07_11_37_9341.jpg', '/home/pi/Desktop/images/31012025/07/11/image_31012025_07_11_47_10375.jpg', '/home/pi/Desktop/images/31012025/07/11/image_31012025_07_11_56_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/10/image_31012025_07_11_06_9347.jpg
/home/pi/Desktop/images/31012025/07/11/image_31012025_07_11_17_10406.jpg
/home/pi/Desktop/images/31012025/07/11/image_31012025_07_11_27_10402.jpg
/home/pi/Desktop/images/31012025/07/11/image_31012025_07_11_37_9341.jpg
/home/pi/Desktop/images/31012025/07/11/image_31012025_07_11_47_10375.jpg
/home/pi/Desktop/images/31012025/07/11/image_31012025_07_11_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":["1333225732","1333225735","1333225692","1333225705","1333225698","1333225728"],"photo_ids_order":["1333225692","1333225698","1333225705","1333225728","1333225732","1333225735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c875b798a7b161426652ba78f7a95c15.jpg","text":"TemporaryFile(/tmp/multipartBody3297965642522768426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304313861,"filename":"image_31012025_07_11_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/1/31/c208acf5dfbac53e4021ffa8e971d08f.jpg","text":"TemporaryFile(/tmp/multipartBody5948493057113681139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304313861,"filename":"image_31012025_07_11_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/1/31/bb607e0ad5b17fdab22ec67fe61efed6.jpg","text":"TemporaryFile(/tmp/multipartBody8367954430361571016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304313861,"filename":"image_31012025_07_11_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/1/31/17de9a9bc28c666191445cd74e3f4c1f.jpg","text":"TemporaryFile(/tmp/multipartBody5837443762260880679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304313861,"filename":"image_31012025_07_11_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/1/31/f7e6c39ad197698b14db2051d1f71a18.jpg","text":"TemporaryFile(/tmp/multipartBody9075153472257441662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304313861,"filename":"image_31012025_07_11_17_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d52ffb5648d914a2c690aaf29f2f9d85.jpg","text":"TemporaryFile(/tmp/multipartBody6688935920975019849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304313861,"filename":"image_31012025_07_11_37_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333225705","file1":"1333225698","file0":"1333225692","file4":"1333225732","file5":"1333225735","file3":"1333225728"},"map_files_photo_id_array":[{"photo_id":"1333225735","filename":"file5"},{"photo_id":"1333225705","filename":"file2"},{"photo_id":"1333225732","filename":"file4"},{"photo_id":"1333225698","filename":"file1"},{"photo_id":"1333225692","filename":"file0"},{"photo_id":"1333225728","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333225732":["hashtag1","hashtag2"]},{"1333225735":["hashtag1","hashtag2"]},{"1333225692":["hashtag1","hashtag2"]},{"1333225705":["hashtag1","hashtag2"]},{"1333225698":["hashtag1","hashtag2"]},{"1333225728":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333225732, 1333225735, 1333225692, 1333225705, 1333225698, 1333225728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.082812786102295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:18:32.996162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/11/image_31012025_07_12_07_10349.jpg', '/home/pi/Desktop/images/31012025/07/12/image_31012025_07_12_17_10347.jpg', '/home/pi/Desktop/images/31012025/07/12/image_31012025_07_12_26_9350.jpg', '/home/pi/Desktop/images/31012025/07/12/image_31012025_07_12_37_10472.jpg', '/home/pi/Desktop/images/31012025/07/12/image_31012025_07_12_47_10348.jpg', '/home/pi/Desktop/images/31012025/07/12/image_31012025_07_12_56_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/11/image_31012025_07_12_07_10349.jpg
/home/pi/Desktop/images/31012025/07/12/image_31012025_07_12_17_10347.jpg
/home/pi/Desktop/images/31012025/07/12/image_31012025_07_12_26_9350.jpg
/home/pi/Desktop/images/31012025/07/12/image_31012025_07_12_37_10472.jpg
/home/pi/Desktop/images/31012025/07/12/image_31012025_07_12_47_10348.jpg
/home/pi/Desktop/images/31012025/07/12/image_31012025_07_12_56_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":["1333225846","1333225831","1333225819","1333225839","1333225824","1333225815"],"photo_ids_order":["1333225815","1333225819","1333225824","1333225831","1333225839","1333225846"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/abdeb6a25ec8bff51c75bb0868719701.jpg","text":"TemporaryFile(/tmp/multipartBody2065514070984435543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304373908,"filename":"image_31012025_07_12_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/1/31/a625d32f565a9490c01e15a5b3de58d1.jpg","text":"TemporaryFile(/tmp/multipartBody4346609261441129310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304373908,"filename":"image_31012025_07_12_37_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5ba8aff437bfa649f4bff84ff998ce00.jpg","text":"TemporaryFile(/tmp/multipartBody1698066006247969708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304373908,"filename":"image_31012025_07_12_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/1/31/9faa2bf309bea3d580b842fab8766626.jpg","text":"TemporaryFile(/tmp/multipartBody5870217030621556407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304373908,"filename":"image_31012025_07_12_47_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1e79df8ea2c4111d8ae50618ea2f04fd.jpg","text":"TemporaryFile(/tmp/multipartBody2460582975216338088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304373908,"filename":"image_31012025_07_12_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/1/31/eb34146e2d7fd1f92f4bda1ede64e3ab.jpg","text":"TemporaryFile(/tmp/multipartBody7114144587051326265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304373908,"filename":"image_31012025_07_12_07_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333225824","file1":"1333225819","file0":"1333225815","file4":"1333225839","file5":"1333225846","file3":"1333225831"},"map_files_photo_id_array":[{"photo_id":"1333225846","filename":"file5"},{"photo_id":"1333225824","filename":"file2"},{"photo_id":"1333225839","filename":"file4"},{"photo_id":"1333225819","filename":"file1"},{"photo_id":"1333225815","filename":"file0"},{"photo_id":"1333225831","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333225846":["hashtag1","hashtag2"]},{"1333225831":["hashtag1","hashtag2"]},{"1333225819":["hashtag1","hashtag2"]},{"1333225839":["hashtag1","hashtag2"]},{"1333225824":["hashtag1","hashtag2"]},{"1333225815":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333225846, 1333225831, 1333225819, 1333225839, 1333225824, 1333225815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.970797061920166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:19:32.264295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/12/image_31012025_07_13_07_10430.jpg', '/home/pi/Desktop/images/31012025/07/13/image_31012025_07_13_17_10340.jpg', '/home/pi/Desktop/images/31012025/07/13/image_31012025_07_13_27_9427.jpg', '/home/pi/Desktop/images/31012025/07/13/image_31012025_07_13_37_10348.jpg', '/home/pi/Desktop/images/31012025/07/13/image_31012025_07_13_46_9411.jpg', '/home/pi/Desktop/images/31012025/07/13/image_31012025_07_13_57_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/12/image_31012025_07_13_07_10430.jpg
/home/pi/Desktop/images/31012025/07/13/image_31012025_07_13_17_10340.jpg
/home/pi/Desktop/images/31012025/07/13/image_31012025_07_13_27_9427.jpg
/home/pi/Desktop/images/31012025/07/13/image_31012025_07_13_37_10348.jpg
/home/pi/Desktop/images/31012025/07/13/image_31012025_07_13_46_9411.jpg
/home/pi/Desktop/images/31012025/07/13/image_31012025_07_13_57_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":["1333225873","1333225867","1333225887","1333225860","1333225878","1333225883"],"photo_ids_order":["1333225860","1333225867","1333225873","1333225878","1333225883","1333225887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b7f328f182113af6bb5ab4fc80b16959.jpg","text":"TemporaryFile(/tmp/multipartBody5812566780374117347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304433170,"filename":"image_31012025_07_13_27_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/078a83d66db6490834518eb4c0431dfd.jpg","text":"TemporaryFile(/tmp/multipartBody6662485348656462163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304433170,"filename":"image_31012025_07_13_17_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/caf48b428fb8f57cf8e4656bd40abc3e.jpg","text":"TemporaryFile(/tmp/multipartBody5611168788687831244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304433170,"filename":"image_31012025_07_13_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/1/31/ac93d4c981f88cfb450737a91cfa823d.jpg","text":"TemporaryFile(/tmp/multipartBody3728581912933767142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304433170,"filename":"image_31012025_07_13_07_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f059feb6f54edba26abebd887d51deab.jpg","text":"TemporaryFile(/tmp/multipartBody5894915486772706929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304433170,"filename":"image_31012025_07_13_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/1/31/60b545866e1da4196b871ae513b445af.jpg","text":"TemporaryFile(/tmp/multipartBody7692890594287715616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304433170,"filename":"image_31012025_07_13_46_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333225873","file1":"1333225867","file0":"1333225860","file4":"1333225883","file5":"1333225887","file3":"1333225878"},"map_files_photo_id_array":[{"photo_id":"1333225887","filename":"file5"},{"photo_id":"1333225873","filename":"file2"},{"photo_id":"1333225883","filename":"file4"},{"photo_id":"1333225867","filename":"file1"},{"photo_id":"1333225860","filename":"file0"},{"photo_id":"1333225878","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333225873":["hashtag1","hashtag2"]},{"1333225867":["hashtag1","hashtag2"]},{"1333225887":["hashtag1","hashtag2"]},{"1333225860":["hashtag1","hashtag2"]},{"1333225878":["hashtag1","hashtag2"]},{"1333225883":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333225873, 1333225867, 1333225887, 1333225860, 1333225878, 1333225883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06518816947937 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:20:32.612453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/13/image_31012025_07_14_07_10353.jpg', '/home/pi/Desktop/images/31012025/07/14/image_31012025_07_14_17_9419.jpg', '/home/pi/Desktop/images/31012025/07/14/image_31012025_07_14_27_10440.jpg', '/home/pi/Desktop/images/31012025/07/14/image_31012025_07_14_47_10398.jpg', '/home/pi/Desktop/images/31012025/07/14/image_31012025_07_14_57_10339.jpg', '/home/pi/Desktop/images/31012025/07/14/image_31012025_07_15_07_9362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/13/image_31012025_07_14_07_10353.jpg
/home/pi/Desktop/images/31012025/07/14/image_31012025_07_14_17_9419.jpg
/home/pi/Desktop/images/31012025/07/14/image_31012025_07_14_27_10440.jpg
/home/pi/Desktop/images/31012025/07/14/image_31012025_07_14_47_10398.jpg
/home/pi/Desktop/images/31012025/07/14/image_31012025_07_14_57_10339.jpg
/home/pi/Desktop/images/31012025/07/14/image_31012025_07_15_07_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":["1333226020","1333226017","1333226002","1333225935","1333225929","1333225982"],"photo_ids_order":["1333225929","1333225935","1333225982","1333226002","1333226017","1333226020"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/44a02592321628f9bc5073b1f42197ca.jpg","text":"TemporaryFile(/tmp/multipartBody4712868272401396284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304493513,"filename":"image_31012025_07_15_07_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/949f13819863bcc7c25c7aad4ff62da7.jpg","text":"TemporaryFile(/tmp/multipartBody7745225009329624701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304493513,"filename":"image_31012025_07_14_57_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/93bbe186b451bcde6cd7e8c411996e91.jpg","text":"TemporaryFile(/tmp/multipartBody8625648975549222931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304493513,"filename":"image_31012025_07_14_47_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2d4b712dd55a1411f4fcb49b40bddcd6.jpg","text":"TemporaryFile(/tmp/multipartBody4256727114211298844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304493513,"filename":"image_31012025_07_14_17_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ce6d794a8eb64a870ed698517beb92e4.jpg","text":"TemporaryFile(/tmp/multipartBody5487526598809332320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304493513,"filename":"image_31012025_07_14_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/1/31/48f3b33312a87ed6f5ddb461757191f5.jpg","text":"TemporaryFile(/tmp/multipartBody539569031685865246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304493513,"filename":"image_31012025_07_14_27_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333225982","file1":"1333225935","file0":"1333225929","file4":"1333226017","file5":"1333226020","file3":"1333226002"},"map_files_photo_id_array":[{"photo_id":"1333226020","filename":"file5"},{"photo_id":"1333225982","filename":"file2"},{"photo_id":"1333226017","filename":"file4"},{"photo_id":"1333225935","filename":"file1"},{"photo_id":"1333225929","filename":"file0"},{"photo_id":"1333226002","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333226020":["hashtag1","hashtag2"]},{"1333226017":["hashtag1","hashtag2"]},{"1333226002":["hashtag1","hashtag2"]},{"1333225935":["hashtag1","hashtag2"]},{"1333225929":["hashtag1","hashtag2"]},{"1333225982":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333226020, 1333226017, 1333226002, 1333225935, 1333225929, 1333225982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.554954051971436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:21:32.925669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/15/image_31012025_07_15_17_10439.jpg', '/home/pi/Desktop/images/31012025/07/15/image_31012025_07_15_26_9353.jpg', '/home/pi/Desktop/images/31012025/07/15/image_31012025_07_15_37_10428.jpg', '/home/pi/Desktop/images/31012025/07/15/image_31012025_07_15_47_10375.jpg', '/home/pi/Desktop/images/31012025/07/15/image_31012025_07_15_56_9344.jpg', '/home/pi/Desktop/images/31012025/07/15/image_31012025_07_16_07_10384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/15/image_31012025_07_15_17_10439.jpg
/home/pi/Desktop/images/31012025/07/15/image_31012025_07_15_26_9353.jpg
/home/pi/Desktop/images/31012025/07/15/image_31012025_07_15_37_10428.jpg
/home/pi/Desktop/images/31012025/07/15/image_31012025_07_15_47_10375.jpg
/home/pi/Desktop/images/31012025/07/15/image_31012025_07_15_56_9344.jpg
/home/pi/Desktop/images/31012025/07/15/image_31012025_07_16_07_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":["1333226232","1333226174","1333226168","1333226171","1333226228","1333226135"],"photo_ids_order":["1333226135","1333226168","1333226171","1333226174","1333226228","1333226232"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d90ad015b78b7488a8014e7d94270748.jpg","text":"TemporaryFile(/tmp/multipartBody7634307354550910008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304553833,"filename":"image_31012025_07_16_07_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8e340c165bfdb9d2da65f911c14653cc.jpg","text":"TemporaryFile(/tmp/multipartBody1419361503108398679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304553833,"filename":"image_31012025_07_15_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/1/31/c3182ee2b51fd7bf49a3e863064d1e81.jpg","text":"TemporaryFile(/tmp/multipartBody2436468239651102894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304553833,"filename":"image_31012025_07_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/1/31/cfc30c0f4347d609dd7ada289d1979b3.jpg","text":"TemporaryFile(/tmp/multipartBody4919703612189814183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304553833,"filename":"image_31012025_07_15_37_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9a7fa5d24a3ad9b3b1ecb53b5ca2b880.jpg","text":"TemporaryFile(/tmp/multipartBody8582076214004604882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304553833,"filename":"image_31012025_07_15_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/1/31/231949e8210bfe7aeca42a7c8369f2cf.jpg","text":"TemporaryFile(/tmp/multipartBody7501075516697391322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304553833,"filename":"image_31012025_07_15_17_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333226171","file1":"1333226168","file0":"1333226135","file4":"1333226228","file5":"1333226232","file3":"1333226174"},"map_files_photo_id_array":[{"photo_id":"1333226232","filename":"file5"},{"photo_id":"1333226171","filename":"file2"},{"photo_id":"1333226228","filename":"file4"},{"photo_id":"1333226168","filename":"file1"},{"photo_id":"1333226135","filename":"file0"},{"photo_id":"1333226174","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333226232":["hashtag1","hashtag2"]},{"1333226174":["hashtag1","hashtag2"]},{"1333226168":["hashtag1","hashtag2"]},{"1333226171":["hashtag1","hashtag2"]},{"1333226228":["hashtag1","hashtag2"]},{"1333226135":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333226232, 1333226174, 1333226168, 1333226171, 1333226228, 1333226135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28988528251648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:22:33.030709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/16/image_31012025_07_16_17_10342.jpg', '/home/pi/Desktop/images/31012025/07/16/image_31012025_07_16_27_9360.jpg', '/home/pi/Desktop/images/31012025/07/16/image_31012025_07_16_37_10453.jpg', '/home/pi/Desktop/images/31012025/07/16/image_31012025_07_16_46_9361.jpg', '/home/pi/Desktop/images/31012025/07/17/image_31012025_07_17_16_9330.jpg', '/home/pi/Desktop/images/31012025/07/17/image_31012025_07_17_27_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/16/image_31012025_07_16_17_10342.jpg
/home/pi/Desktop/images/31012025/07/16/image_31012025_07_16_27_9360.jpg
/home/pi/Desktop/images/31012025/07/16/image_31012025_07_16_37_10453.jpg
/home/pi/Desktop/images/31012025/07/16/image_31012025_07_16_46_9361.jpg
/home/pi/Desktop/images/31012025/07/17/image_31012025_07_17_16_9330.jpg
/home/pi/Desktop/images/31012025/07/17/image_31012025_07_17_27_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":["1333226280","1333226262","1333226271","1333226267","1333226276","1333226258"],"photo_ids_order":["1333226258","1333226262","1333226267","1333226271","1333226276","1333226280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c80a27760c1d0ef3e9fdd4725663a289.jpg","text":"TemporaryFile(/tmp/multipartBody4321538287040308214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304613967,"filename":"image_31012025_07_17_27_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dabec9f3efba1c1f226b6dff56a711be.jpg","text":"TemporaryFile(/tmp/multipartBody5053392675765089448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304613967,"filename":"image_31012025_07_16_27_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/56a416e0d4be8002ec392b40e092391b.jpg","text":"TemporaryFile(/tmp/multipartBody8637647618767535396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304613967,"filename":"image_31012025_07_16_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/1/31/8d12dad4158d7e525feaca3c9b684c2d.jpg","text":"TemporaryFile(/tmp/multipartBody5285851547629425387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304613967,"filename":"image_31012025_07_16_37_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e96b3e01352b1ca2db3e82c7b6a67b49.jpg","text":"TemporaryFile(/tmp/multipartBody6128113714385341420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304613967,"filename":"image_31012025_07_17_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/1/31/195680a28ae674840baf1f7139a852f3.jpg","text":"TemporaryFile(/tmp/multipartBody6001718253242557461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304613967,"filename":"image_31012025_07_16_17_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333226267","file1":"1333226262","file0":"1333226258","file4":"1333226276","file5":"1333226280","file3":"1333226271"},"map_files_photo_id_array":[{"photo_id":"1333226280","filename":"file5"},{"photo_id":"1333226267","filename":"file2"},{"photo_id":"1333226276","filename":"file4"},{"photo_id":"1333226262","filename":"file1"},{"photo_id":"1333226258","filename":"file0"},{"photo_id":"1333226271","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333226280":["hashtag1","hashtag2"]},{"1333226262":["hashtag1","hashtag2"]},{"1333226271":["hashtag1","hashtag2"]},{"1333226267":["hashtag1","hashtag2"]},{"1333226276":["hashtag1","hashtag2"]},{"1333226258":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333226280, 1333226262, 1333226271, 1333226267, 1333226276, 1333226258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20827579498291 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:23:32.308338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/17/image_31012025_07_17_37_10356.jpg', '/home/pi/Desktop/images/31012025/07/17/image_31012025_07_17_57_10413.jpg', '/home/pi/Desktop/images/31012025/07/17/image_31012025_07_18_06_9349.jpg', '/home/pi/Desktop/images/31012025/07/18/image_31012025_07_18_17_10459.jpg', '/home/pi/Desktop/images/31012025/07/18/image_31012025_07_18_27_10359.jpg', '/home/pi/Desktop/images/31012025/07/18/image_31012025_07_18_37_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/17/image_31012025_07_17_37_10356.jpg
/home/pi/Desktop/images/31012025/07/17/image_31012025_07_17_57_10413.jpg
/home/pi/Desktop/images/31012025/07/17/image_31012025_07_18_06_9349.jpg
/home/pi/Desktop/images/31012025/07/18/image_31012025_07_18_17_10459.jpg
/home/pi/Desktop/images/31012025/07/18/image_31012025_07_18_27_10359.jpg
/home/pi/Desktop/images/31012025/07/18/image_31012025_07_18_37_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":["1333226544","1333226448","1333226613","1333226561","1333226522","1333226490"],"photo_ids_order":["1333226448","1333226490","1333226522","1333226544","1333226561","1333226613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/45a4497c182168eab9bf72221fe84b09.jpg","text":"TemporaryFile(/tmp/multipartBody4917145640204537514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304673223,"filename":"image_31012025_07_18_17_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/90c122c458791c78bbccfd5483fa8ed6.jpg","text":"TemporaryFile(/tmp/multipartBody4309909105527280046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304673223,"filename":"image_31012025_07_17_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/1/31/5ee89474d2e6abbc5203523aedf69823.jpg","text":"TemporaryFile(/tmp/multipartBody2557997417913525550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304673223,"filename":"image_31012025_07_18_37_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a78044d8c1ef763b28b22a242aec8ed3.jpg","text":"TemporaryFile(/tmp/multipartBody3559449995492258040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304673223,"filename":"image_31012025_07_18_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/1/31/d3cd21448fceb4a4d01dd4efe30221a9.jpg","text":"TemporaryFile(/tmp/multipartBody955891142104506220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304673223,"filename":"image_31012025_07_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/1/31/9f41a2c85a78f6e87f96bd90be945f6b.jpg","text":"TemporaryFile(/tmp/multipartBody7567492010916911736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304673223,"filename":"image_31012025_07_17_57_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333226522","file1":"1333226490","file0":"1333226448","file4":"1333226561","file5":"1333226613","file3":"1333226544"},"map_files_photo_id_array":[{"photo_id":"1333226613","filename":"file5"},{"photo_id":"1333226522","filename":"file2"},{"photo_id":"1333226561","filename":"file4"},{"photo_id":"1333226490","filename":"file1"},{"photo_id":"1333226448","filename":"file0"},{"photo_id":"1333226544","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333226544":["hashtag1","hashtag2"]},{"1333226448":["hashtag1","hashtag2"]},{"1333226613":["hashtag1","hashtag2"]},{"1333226561":["hashtag1","hashtag2"]},{"1333226522":["hashtag1","hashtag2"]},{"1333226490":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333226544, 1333226448, 1333226613, 1333226561, 1333226522, 1333226490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.887351512908936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:24:32.528928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/18/image_31012025_07_18_57_10349.jpg', '/home/pi/Desktop/images/31012025/07/18/image_31012025_07_19_07_9423.jpg', '/home/pi/Desktop/images/31012025/07/19/image_31012025_07_19_26_9347.jpg', '/home/pi/Desktop/images/31012025/07/19/image_31012025_07_19_47_10353.jpg', '/home/pi/Desktop/images/31012025/07/19/image_31012025_07_19_56_9337.jpg', '/home/pi/Desktop/images/31012025/07/19/image_31012025_07_20_07_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/18/image_31012025_07_18_57_10349.jpg
/home/pi/Desktop/images/31012025/07/18/image_31012025_07_19_07_9423.jpg
/home/pi/Desktop/images/31012025/07/19/image_31012025_07_19_26_9347.jpg
/home/pi/Desktop/images/31012025/07/19/image_31012025_07_19_47_10353.jpg
/home/pi/Desktop/images/31012025/07/19/image_31012025_07_19_56_9337.jpg
/home/pi/Desktop/images/31012025/07/19/image_31012025_07_20_07_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":["1333226679","1333226673","1333226667","1333226652","1333226657","1333226662"],"photo_ids_order":["1333226652","1333226657","1333226662","1333226667","1333226673","1333226679"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e0580ab8a2beae1e886de6223fbc4114.jpg","text":"TemporaryFile(/tmp/multipartBody5169697435447199208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304733438,"filename":"image_31012025_07_20_07_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a3d99e13a345f86df63eefc1909e6530.jpg","text":"TemporaryFile(/tmp/multipartBody5623858940697902626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304733438,"filename":"image_31012025_07_19_56_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6a62dada1de49efa972672922d1b724b.jpg","text":"TemporaryFile(/tmp/multipartBody5674751194324201084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304733438,"filename":"image_31012025_07_19_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/1/31/44e6cf56a708ec4edf3eb834cced73c1.jpg","text":"TemporaryFile(/tmp/multipartBody7754374766228894926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304733438,"filename":"image_31012025_07_18_57_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fad356b9c2f5a0d253f3fef001e72e82.jpg","text":"TemporaryFile(/tmp/multipartBody4247977019297973923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304733438,"filename":"image_31012025_07_19_07_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/acea00b6687429339287398720e4534e.jpg","text":"TemporaryFile(/tmp/multipartBody3115211248624049266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304733438,"filename":"image_31012025_07_19_26_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333226662","file1":"1333226657","file0":"1333226652","file4":"1333226673","file5":"1333226679","file3":"1333226667"},"map_files_photo_id_array":[{"photo_id":"1333226679","filename":"file5"},{"photo_id":"1333226662","filename":"file2"},{"photo_id":"1333226673","filename":"file4"},{"photo_id":"1333226657","filename":"file1"},{"photo_id":"1333226652","filename":"file0"},{"photo_id":"1333226667","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333226679":["hashtag1","hashtag2"]},{"1333226673":["hashtag1","hashtag2"]},{"1333226667":["hashtag1","hashtag2"]},{"1333226652":["hashtag1","hashtag2"]},{"1333226657":["hashtag1","hashtag2"]},{"1333226662":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333226679, 1333226673, 1333226667, 1333226652, 1333226657, 1333226662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.972036838531494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:25:32.814067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/20/image_31012025_07_20_17_10354.jpg', '/home/pi/Desktop/images/31012025/07/20/image_31012025_07_20_27_9419.jpg', '/home/pi/Desktop/images/31012025/07/20/image_31012025_07_20_37_10364.jpg', '/home/pi/Desktop/images/31012025/07/20/image_31012025_07_20_46_9449.jpg', '/home/pi/Desktop/images/31012025/07/20/image_31012025_07_20_57_10465.jpg', '/home/pi/Desktop/images/31012025/07/20/image_31012025_07_21_06_9323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/20/image_31012025_07_20_17_10354.jpg
/home/pi/Desktop/images/31012025/07/20/image_31012025_07_20_27_9419.jpg
/home/pi/Desktop/images/31012025/07/20/image_31012025_07_20_37_10364.jpg
/home/pi/Desktop/images/31012025/07/20/image_31012025_07_20_46_9449.jpg
/home/pi/Desktop/images/31012025/07/20/image_31012025_07_20_57_10465.jpg
/home/pi/Desktop/images/31012025/07/20/image_31012025_07_21_06_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":["1333226787","1333226792","1333226794","1333226848","1333226740","1333226845"],"photo_ids_order":["1333226740","1333226787","1333226792","1333226794","1333226845","1333226848"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e294de92ea41f98110b13d3c97f0159f.jpg","text":"TemporaryFile(/tmp/multipartBody6674800938620681749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304793748,"filename":"image_31012025_07_20_27_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c0df0042fc31bd7319a1b4ecfdf9851b.jpg","text":"TemporaryFile(/tmp/multipartBody3733413777498814921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304793748,"filename":"image_31012025_07_20_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/1/31/0694b63868300e501b6ccf50a5cf4286.jpg","text":"TemporaryFile(/tmp/multipartBody8572286382221864191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304793748,"filename":"image_31012025_07_20_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/1/31/38d4c5093000b891b226cfb64c058844.jpg","text":"TemporaryFile(/tmp/multipartBody2231897567388779404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304793748,"filename":"image_31012025_07_21_06_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/513fe035c0f008a2ae94461ff7cf9cac.jpg","text":"TemporaryFile(/tmp/multipartBody2425440518250968205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304793748,"filename":"image_31012025_07_20_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/1/31/1e226871e28bbbb1e2c92ce2799728db.jpg","text":"TemporaryFile(/tmp/multipartBody3565319189370329306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304793748,"filename":"image_31012025_07_20_57_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333226792","file1":"1333226787","file0":"1333226740","file4":"1333226845","file5":"1333226848","file3":"1333226794"},"map_files_photo_id_array":[{"photo_id":"1333226848","filename":"file5"},{"photo_id":"1333226792","filename":"file2"},{"photo_id":"1333226845","filename":"file4"},{"photo_id":"1333226787","filename":"file1"},{"photo_id":"1333226740","filename":"file0"},{"photo_id":"1333226794","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333226787":["hashtag1","hashtag2"]},{"1333226792":["hashtag1","hashtag2"]},{"1333226794":["hashtag1","hashtag2"]},{"1333226848":["hashtag1","hashtag2"]},{"1333226740":["hashtag1","hashtag2"]},{"1333226845":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333226787, 1333226792, 1333226794, 1333226848, 1333226740, 1333226845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.098349809646606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:26:32.918883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/21/image_31012025_07_21_17_10375.jpg', '/home/pi/Desktop/images/31012025/07/21/image_31012025_07_21_47_10423.jpg', '/home/pi/Desktop/images/31012025/07/21/image_31012025_07_22_07_9417.jpg', '/home/pi/Desktop/images/31012025/07/22/image_31012025_07_22_17_10329.jpg', '/home/pi/Desktop/images/31012025/07/22/image_31012025_07_22_26_9359.jpg', '/home/pi/Desktop/images/31012025/07/22/image_31012025_07_22_37_10492.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/21/image_31012025_07_21_17_10375.jpg
/home/pi/Desktop/images/31012025/07/21/image_31012025_07_21_47_10423.jpg
/home/pi/Desktop/images/31012025/07/21/image_31012025_07_22_07_9417.jpg
/home/pi/Desktop/images/31012025/07/22/image_31012025_07_22_17_10329.jpg
/home/pi/Desktop/images/31012025/07/22/image_31012025_07_22_26_9359.jpg
/home/pi/Desktop/images/31012025/07/22/image_31012025_07_22_37_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":["1333226886","1333226882","1333226879","1333226890","1333226893","1333226896"],"photo_ids_order":["1333226879","1333226882","1333226886","1333226890","1333226893","1333226896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/49b42880449ce5a5d17f822a20832efd.jpg","text":"TemporaryFile(/tmp/multipartBody5455714636502376095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304853856,"filename":"image_31012025_07_22_07_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/17af6e99f82b02a00072719862195105.jpg","text":"TemporaryFile(/tmp/multipartBody4751444368707926605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304853856,"filename":"image_31012025_07_21_47_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/25fbe123c331f2d353e9cded24e98ce9.jpg","text":"TemporaryFile(/tmp/multipartBody9067667227408229256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304853856,"filename":"image_31012025_07_21_17_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c92047e16bffc654617226f0c8c73218.jpg","text":"TemporaryFile(/tmp/multipartBody7531128117512383266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304853856,"filename":"image_31012025_07_22_17_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/677ff7cbe68779469a5a26d4f027a167.jpg","text":"TemporaryFile(/tmp/multipartBody5396852471907147103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304853856,"filename":"image_31012025_07_22_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/1/31/f982f3323fb03d96ea2c6f66b987e31c.jpg","text":"TemporaryFile(/tmp/multipartBody1254452171231400382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304853856,"filename":"image_31012025_07_22_37_10492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333226886","file1":"1333226882","file0":"1333226879","file4":"1333226893","file5":"1333226896","file3":"1333226890"},"map_files_photo_id_array":[{"photo_id":"1333226896","filename":"file5"},{"photo_id":"1333226886","filename":"file2"},{"photo_id":"1333226893","filename":"file4"},{"photo_id":"1333226882","filename":"file1"},{"photo_id":"1333226879","filename":"file0"},{"photo_id":"1333226890","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333226886":["hashtag1","hashtag2"]},{"1333226882":["hashtag1","hashtag2"]},{"1333226879":["hashtag1","hashtag2"]},{"1333226890":["hashtag1","hashtag2"]},{"1333226893":["hashtag1","hashtag2"]},{"1333226896":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333226886, 1333226882, 1333226879, 1333226890, 1333226893, 1333226896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.243664503097534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:27:32.242283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/22/image_31012025_07_22_47_10333.jpg', '/home/pi/Desktop/images/31012025/07/22/image_31012025_07_22_57_9447.jpg', '/home/pi/Desktop/images/31012025/07/22/image_31012025_07_23_07_10355.jpg', '/home/pi/Desktop/images/31012025/07/23/image_31012025_07_23_16_9339.jpg', '/home/pi/Desktop/images/31012025/07/23/image_31012025_07_23_27_10516.jpg', '/home/pi/Desktop/images/31012025/07/23/image_31012025_07_23_37_10393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/22/image_31012025_07_22_47_10333.jpg
/home/pi/Desktop/images/31012025/07/22/image_31012025_07_22_57_9447.jpg
/home/pi/Desktop/images/31012025/07/22/image_31012025_07_23_07_10355.jpg
/home/pi/Desktop/images/31012025/07/23/image_31012025_07_23_16_9339.jpg
/home/pi/Desktop/images/31012025/07/23/image_31012025_07_23_27_10516.jpg
/home/pi/Desktop/images/31012025/07/23/image_31012025_07_23_37_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":["1333226949","1333226937","1333226942","1333226945","1333226924","1333226932"],"photo_ids_order":["1333226924","1333226932","1333226937","1333226942","1333226945","1333226949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/62810722bd110b4a8987c6903a084fea.jpg","text":"TemporaryFile(/tmp/multipartBody2509519014479420831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304913154,"filename":"image_31012025_07_23_37_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7449c1bb0d667836273429e6e6b30580.jpg","text":"TemporaryFile(/tmp/multipartBody715878033686109972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304913154,"filename":"image_31012025_07_23_07_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aba11db334b7dde89b148aa7271bb547.jpg","text":"TemporaryFile(/tmp/multipartBody3766135958295293420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304913154,"filename":"image_31012025_07_23_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/1/31/a119a62ed9816889fe099ec9809748e4.jpg","text":"TemporaryFile(/tmp/multipartBody8030246961006987610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304913154,"filename":"image_31012025_07_23_27_10516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4d812250601f254a43c7f1f5f01a69a1.jpg","text":"TemporaryFile(/tmp/multipartBody6348311940548903007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304913154,"filename":"image_31012025_07_22_47_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c27cee52afc875539d78bd7efc30f305.jpg","text":"TemporaryFile(/tmp/multipartBody8333183007993342919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304913154,"filename":"image_31012025_07_22_57_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333226937","file1":"1333226932","file0":"1333226924","file4":"1333226945","file5":"1333226949","file3":"1333226942"},"map_files_photo_id_array":[{"photo_id":"1333226949","filename":"file5"},{"photo_id":"1333226937","filename":"file2"},{"photo_id":"1333226945","filename":"file4"},{"photo_id":"1333226932","filename":"file1"},{"photo_id":"1333226924","filename":"file0"},{"photo_id":"1333226942","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333226949":["hashtag1","hashtag2"]},{"1333226937":["hashtag1","hashtag2"]},{"1333226942":["hashtag1","hashtag2"]},{"1333226945":["hashtag1","hashtag2"]},{"1333226924":["hashtag1","hashtag2"]},{"1333226932":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333226949, 1333226937, 1333226942, 1333226945, 1333226924, 1333226932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93217086791992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:28:32.457462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/23/image_31012025_07_23_47_9348.jpg', '/home/pi/Desktop/images/31012025/07/23/image_31012025_07_24_07_10339.jpg', '/home/pi/Desktop/images/31012025/07/24/image_31012025_07_24_17_9332.jpg', '/home/pi/Desktop/images/31012025/07/24/image_31012025_07_24_27_10354.jpg', '/home/pi/Desktop/images/31012025/07/24/image_31012025_07_24_36_9387.jpg', '/home/pi/Desktop/images/31012025/07/24/image_31012025_07_24_47_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/23/image_31012025_07_23_47_9348.jpg
/home/pi/Desktop/images/31012025/07/23/image_31012025_07_24_07_10339.jpg
/home/pi/Desktop/images/31012025/07/24/image_31012025_07_24_17_9332.jpg
/home/pi/Desktop/images/31012025/07/24/image_31012025_07_24_27_10354.jpg
/home/pi/Desktop/images/31012025/07/24/image_31012025_07_24_36_9387.jpg
/home/pi/Desktop/images/31012025/07/24/image_31012025_07_24_47_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":["1333227039","1333227033","1333227015","1333227037","1333227025","1333227010"],"photo_ids_order":["1333227010","1333227015","1333227025","1333227033","1333227037","1333227039"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bac6922e7b9c477739e79e9bed36d9c8.jpg","text":"TemporaryFile(/tmp/multipartBody6096549983387365226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304973400,"filename":"image_31012025_07_24_47_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/05a8652b0491c1e99796bd58d8fea6b5.jpg","text":"TemporaryFile(/tmp/multipartBody7372856628396408237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304973400,"filename":"image_31012025_07_24_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/1/31/a205d24ee16b798c848a3f17a06c35e2.jpg","text":"TemporaryFile(/tmp/multipartBody6345159533315046281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304973400,"filename":"image_31012025_07_24_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/1/31/1a365863ba0527a27d92a053abc8e242.jpg","text":"TemporaryFile(/tmp/multipartBody3526497929662895306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304973400,"filename":"image_31012025_07_24_36_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c2625ab4f87439e8a0f2756078f48b1a.jpg","text":"TemporaryFile(/tmp/multipartBody7644669794003943244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304973400,"filename":"image_31012025_07_24_17_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/431b3c83a995f2246b2e92e0511b88f4.jpg","text":"TemporaryFile(/tmp/multipartBody4975362751401324343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738304973400,"filename":"image_31012025_07_23_47_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333227025","file1":"1333227015","file0":"1333227010","file4":"1333227037","file5":"1333227039","file3":"1333227033"},"map_files_photo_id_array":[{"photo_id":"1333227039","filename":"file5"},{"photo_id":"1333227025","filename":"file2"},{"photo_id":"1333227037","filename":"file4"},{"photo_id":"1333227015","filename":"file1"},{"photo_id":"1333227010","filename":"file0"},{"photo_id":"1333227033","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333227039":["hashtag1","hashtag2"]},{"1333227033":["hashtag1","hashtag2"]},{"1333227015":["hashtag1","hashtag2"]},{"1333227037":["hashtag1","hashtag2"]},{"1333227025":["hashtag1","hashtag2"]},{"1333227010":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333227039, 1333227033, 1333227015, 1333227037, 1333227025, 1333227010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20308804512024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:29:32.695515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/24/image_31012025_07_24_57_10340.jpg', '/home/pi/Desktop/images/31012025/07/24/image_31012025_07_25_06_9336.jpg', '/home/pi/Desktop/images/31012025/07/25/image_31012025_07_25_17_10464.jpg', '/home/pi/Desktop/images/31012025/07/25/image_31012025_07_25_27_10342.jpg', '/home/pi/Desktop/images/31012025/07/25/image_31012025_07_25_37_9368.jpg', '/home/pi/Desktop/images/31012025/07/25/image_31012025_07_25_47_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/24/image_31012025_07_24_57_10340.jpg
/home/pi/Desktop/images/31012025/07/24/image_31012025_07_25_06_9336.jpg
/home/pi/Desktop/images/31012025/07/25/image_31012025_07_25_17_10464.jpg
/home/pi/Desktop/images/31012025/07/25/image_31012025_07_25_27_10342.jpg
/home/pi/Desktop/images/31012025/07/25/image_31012025_07_25_37_9368.jpg
/home/pi/Desktop/images/31012025/07/25/image_31012025_07_25_47_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333227098","1333227092","1333227071","1333227095","1333227082","1333227088"],"photo_ids_order":["1333227071","1333227082","1333227088","1333227092","1333227095","1333227098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/044524b42e3a8ac5542facf0b1adf08d.jpg","text":"TemporaryFile(/tmp/multipartBody6149023885401897452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305033610,"filename":"image_31012025_07_25_47_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f73c5008db2efea070f382ea64bad97c.jpg","text":"TemporaryFile(/tmp/multipartBody3104613612407272193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305033610,"filename":"image_31012025_07_25_27_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/edf676658894b12746e6c73cb2bca280.jpg","text":"TemporaryFile(/tmp/multipartBody8313599295726679581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305033610,"filename":"image_31012025_07_24_57_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2bfabd35e0a9f9f767250875163b470e.jpg","text":"TemporaryFile(/tmp/multipartBody3768751302347474467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305033610,"filename":"image_31012025_07_25_37_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c7a2f5d89cac7f628f84097820146226.jpg","text":"TemporaryFile(/tmp/multipartBody7353850558211590481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305033610,"filename":"image_31012025_07_25_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/1/31/8211d7d7d4b017f6ee20f420a2bf77ae.jpg","text":"TemporaryFile(/tmp/multipartBody1803693333067670795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305033610,"filename":"image_31012025_07_25_17_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333227088","file1":"1333227082","file0":"1333227071","file4":"1333227095","file5":"1333227098","file3":"1333227092"},"map_files_photo_id_array":[{"photo_id":"1333227098","filename":"file5"},{"photo_id":"1333227088","filename":"file2"},{"photo_id":"1333227095","filename":"file4"},{"photo_id":"1333227082","filename":"file1"},{"photo_id":"1333227071","filename":"file0"},{"photo_id":"1333227092","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333227098":["hashtag1","hashtag2"]},{"1333227092":["hashtag1","hashtag2"]},{"1333227071":["hashtag1","hashtag2"]},{"1333227095":["hashtag1","hashtag2"]},{"1333227082":["hashtag1","hashtag2"]},{"1333227088":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333227098, 1333227092, 1333227071, 1333227095, 1333227082, 1333227088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.28616499900818 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:30:32.860147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/25/image_31012025_07_25_57_10339.jpg', '/home/pi/Desktop/images/31012025/07/25/image_31012025_07_26_07_9346.jpg', '/home/pi/Desktop/images/31012025/07/26/image_31012025_07_26_17_10434.jpg', '/home/pi/Desktop/images/31012025/07/26/image_31012025_07_26_26_9395.jpg', '/home/pi/Desktop/images/31012025/07/26/image_31012025_07_26_37_10378.jpg', '/home/pi/Desktop/images/31012025/07/26/image_31012025_07_26_47_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/25/image_31012025_07_25_57_10339.jpg
/home/pi/Desktop/images/31012025/07/25/image_31012025_07_26_07_9346.jpg
/home/pi/Desktop/images/31012025/07/26/image_31012025_07_26_17_10434.jpg
/home/pi/Desktop/images/31012025/07/26/image_31012025_07_26_26_9395.jpg
/home/pi/Desktop/images/31012025/07/26/image_31012025_07_26_37_10378.jpg
/home/pi/Desktop/images/31012025/07/26/image_31012025_07_26_47_10354.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5157575607299805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 07:30:42.890725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/25/image_31012025_07_25_57_10339.jpg', '/home/pi/Desktop/images/31012025/07/25/image_31012025_07_26_07_9346.jpg', '/home/pi/Desktop/images/31012025/07/26/image_31012025_07_26_17_10434.jpg', '/home/pi/Desktop/images/31012025/07/26/image_31012025_07_26_26_9395.jpg', '/home/pi/Desktop/images/31012025/07/26/image_31012025_07_26_37_10378.jpg', '/home/pi/Desktop/images/31012025/07/26/image_31012025_07_26_47_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/25/image_31012025_07_25_57_10339.jpg
/home/pi/Desktop/images/31012025/07/25/image_31012025_07_26_07_9346.jpg
/home/pi/Desktop/images/31012025/07/26/image_31012025_07_26_17_10434.jpg
/home/pi/Desktop/images/31012025/07/26/image_31012025_07_26_26_9395.jpg
/home/pi/Desktop/images/31012025/07/26/image_31012025_07_26_37_10378.jpg
/home/pi/Desktop/images/31012025/07/26/image_31012025_07_26_47_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":["1333227279","1333227314","1333227326","1333227200","1333227148","1333227369"],"photo_ids_order":["1333227148","1333227200","1333227279","1333227314","1333227326","1333227369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a70eb83ebc30679b5810ad1baf207bd6.jpg","text":"TemporaryFile(/tmp/multipartBody9165703522799315826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305103803,"filename":"image_31012025_07_26_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/1/31/10cf017cdb4fad27e800d59ab2512b79.jpg","text":"TemporaryFile(/tmp/multipartBody8939013178713024124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305103803,"filename":"image_31012025_07_26_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/1/31/cf630d5496619c3a8da733065b13af0c.jpg","text":"TemporaryFile(/tmp/multipartBody6535982271111078750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305103803,"filename":"image_31012025_07_26_37_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/86bfc25097a45b066f7b7d6189a43578.jpg","text":"TemporaryFile(/tmp/multipartBody3780977235546118750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305103803,"filename":"image_31012025_07_26_07_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/57e8ba5e15d63680f86c93184706965d.jpg","text":"TemporaryFile(/tmp/multipartBody775205708632929082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305103803,"filename":"image_31012025_07_25_57_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bba226a9debef73a3535554e5c1a404e.jpg","text":"TemporaryFile(/tmp/multipartBody8969643985296813318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305103803,"filename":"image_31012025_07_26_47_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333227279","file1":"1333227200","file0":"1333227148","file4":"1333227326","file5":"1333227369","file3":"1333227314"},"map_files_photo_id_array":[{"photo_id":"1333227369","filename":"file5"},{"photo_id":"1333227279","filename":"file2"},{"photo_id":"1333227326","filename":"file4"},{"photo_id":"1333227200","filename":"file1"},{"photo_id":"1333227148","filename":"file0"},{"photo_id":"1333227314","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333227279":["hashtag1","hashtag2"]},{"1333227314":["hashtag1","hashtag2"]},{"1333227326":["hashtag1","hashtag2"]},{"1333227200":["hashtag1","hashtag2"]},{"1333227148":["hashtag1","hashtag2"]},{"1333227369":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333227279, 1333227314, 1333227326, 1333227200, 1333227148, 1333227369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.37907791137695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:31:33.162294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/26/image_31012025_07_26_56_9325.jpg', '/home/pi/Desktop/images/31012025/07/26/image_31012025_07_27_07_10346.jpg', '/home/pi/Desktop/images/31012025/07/27/image_31012025_07_27_17_10340.jpg', '/home/pi/Desktop/images/31012025/07/27/image_31012025_07_27_27_9391.jpg', '/home/pi/Desktop/images/31012025/07/27/image_31012025_07_27_37_10369.jpg', '/home/pi/Desktop/images/31012025/07/27/image_31012025_07_27_46_9422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/26/image_31012025_07_26_56_9325.jpg
/home/pi/Desktop/images/31012025/07/26/image_31012025_07_27_07_10346.jpg
/home/pi/Desktop/images/31012025/07/27/image_31012025_07_27_17_10340.jpg
/home/pi/Desktop/images/31012025/07/27/image_31012025_07_27_27_9391.jpg
/home/pi/Desktop/images/31012025/07/27/image_31012025_07_27_37_10369.jpg
/home/pi/Desktop/images/31012025/07/27/image_31012025_07_27_46_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":["1333227459","1333227485","1333227470","1333227613","1333227567","1333227453"],"photo_ids_order":["1333227453","1333227459","1333227470","1333227485","1333227567","1333227613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f12dca63637d1e04b9960e7fad04bf52.jpg","text":"TemporaryFile(/tmp/multipartBody4931243633746825932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305154096,"filename":"image_31012025_07_27_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/1/31/9aed9050face86292be3fde64c4fb467.jpg","text":"TemporaryFile(/tmp/multipartBody8534131516822491316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305154096,"filename":"image_31012025_07_27_27_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ca1fcd00dd32522b5b553bbb6cef4b9c.jpg","text":"TemporaryFile(/tmp/multipartBody8758303535851285964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305154096,"filename":"image_31012025_07_27_17_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/16ca16bc899d5b7ebf9156a980644274.jpg","text":"TemporaryFile(/tmp/multipartBody3229045308455523566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305154096,"filename":"image_31012025_07_27_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/1/31/a2cebfe08b03f5a7e5426638cfba2464.jpg","text":"TemporaryFile(/tmp/multipartBody1386604726461822095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305154096,"filename":"image_31012025_07_27_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/1/31/b601c76cb9ba34c80cddded4544b841d.jpg","text":"TemporaryFile(/tmp/multipartBody5352109438922587183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305154096,"filename":"image_31012025_07_26_56_9325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333227470","file1":"1333227459","file0":"1333227453","file4":"1333227567","file5":"1333227613","file3":"1333227485"},"map_files_photo_id_array":[{"photo_id":"1333227613","filename":"file5"},{"photo_id":"1333227470","filename":"file2"},{"photo_id":"1333227567","filename":"file4"},{"photo_id":"1333227459","filename":"file1"},{"photo_id":"1333227453","filename":"file0"},{"photo_id":"1333227485","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333227459":["hashtag1","hashtag2"]},{"1333227485":["hashtag1","hashtag2"]},{"1333227470":["hashtag1","hashtag2"]},{"1333227613":["hashtag1","hashtag2"]},{"1333227567":["hashtag1","hashtag2"]},{"1333227453":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333227459, 1333227485, 1333227470, 1333227613, 1333227567, 1333227453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.607258558273315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:32:32.466088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/27/image_31012025_07_27_57_10472.jpg', '/home/pi/Desktop/images/31012025/07/27/image_31012025_07_28_07_10384.jpg', '/home/pi/Desktop/images/31012025/07/28/image_31012025_07_28_17_9405.jpg', '/home/pi/Desktop/images/31012025/07/28/image_31012025_07_28_27_10447.jpg', '/home/pi/Desktop/images/31012025/07/28/image_31012025_07_28_36_9337.jpg', '/home/pi/Desktop/images/31012025/07/28/image_31012025_07_28_47_10463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/27/image_31012025_07_27_57_10472.jpg
/home/pi/Desktop/images/31012025/07/27/image_31012025_07_28_07_10384.jpg
/home/pi/Desktop/images/31012025/07/28/image_31012025_07_28_17_9405.jpg
/home/pi/Desktop/images/31012025/07/28/image_31012025_07_28_27_10447.jpg
/home/pi/Desktop/images/31012025/07/28/image_31012025_07_28_36_9337.jpg
/home/pi/Desktop/images/31012025/07/28/image_31012025_07_28_47_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":["1333227723","1333227695","1333227710","1333227701","1333227703","1333227706"],"photo_ids_order":["1333227695","1333227701","1333227703","1333227706","1333227710","1333227723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3b46df093670b82a1d1c164aaf3cc327.jpg","text":"TemporaryFile(/tmp/multipartBody4871059302773902699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305213373,"filename":"image_31012025_07_28_47_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/57dd13bc5c2c92ba49b22981c3f23b14.jpg","text":"TemporaryFile(/tmp/multipartBody6172441543412767875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305213373,"filename":"image_31012025_07_27_57_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bb014e531641ce8e918f1b2b58f6bf41.jpg","text":"TemporaryFile(/tmp/multipartBody6165887544836730731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305213373,"filename":"image_31012025_07_28_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/1/31/5f5155fc08907bf449db95e53a9ce292.jpg","text":"TemporaryFile(/tmp/multipartBody2671603208451712631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305213373,"filename":"image_31012025_07_28_07_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/985bb186a7277d05be00a95a0c583eed.jpg","text":"TemporaryFile(/tmp/multipartBody6433084560294447079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305213373,"filename":"image_31012025_07_28_17_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/03b895f3c49b817cc2e0dd4e3a43af09.jpg","text":"TemporaryFile(/tmp/multipartBody4203964419243127628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305213373,"filename":"image_31012025_07_28_27_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333227703","file1":"1333227701","file0":"1333227695","file4":"1333227710","file5":"1333227723","file3":"1333227706"},"map_files_photo_id_array":[{"photo_id":"1333227723","filename":"file5"},{"photo_id":"1333227703","filename":"file2"},{"photo_id":"1333227710","filename":"file4"},{"photo_id":"1333227701","filename":"file1"},{"photo_id":"1333227695","filename":"file0"},{"photo_id":"1333227706","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333227723":["hashtag1","hashtag2"]},{"1333227695":["hashtag1","hashtag2"]},{"1333227710":["hashtag1","hashtag2"]},{"1333227701":["hashtag1","hashtag2"]},{"1333227703":["hashtag1","hashtag2"]},{"1333227706":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333227723, 1333227695, 1333227710, 1333227701, 1333227703, 1333227706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.682069063186646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:33:32.614697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/28/image_31012025_07_28_57_10358.jpg', '/home/pi/Desktop/images/31012025/07/28/image_31012025_07_29_07_9387.jpg', '/home/pi/Desktop/images/31012025/07/29/image_31012025_07_29_17_10337.jpg', '/home/pi/Desktop/images/31012025/07/29/image_31012025_07_29_26_9355.jpg', '/home/pi/Desktop/images/31012025/07/29/image_31012025_07_29_37_10339.jpg', '/home/pi/Desktop/images/31012025/07/29/image_31012025_07_29_47_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/28/image_31012025_07_28_57_10358.jpg
/home/pi/Desktop/images/31012025/07/28/image_31012025_07_29_07_9387.jpg
/home/pi/Desktop/images/31012025/07/29/image_31012025_07_29_17_10337.jpg
/home/pi/Desktop/images/31012025/07/29/image_31012025_07_29_26_9355.jpg
/home/pi/Desktop/images/31012025/07/29/image_31012025_07_29_37_10339.jpg
/home/pi/Desktop/images/31012025/07/29/image_31012025_07_29_47_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":["1333227761","1333227755","1333227764","1333227766","1333227792","1333227780"],"photo_ids_order":["1333227755","1333227761","1333227764","1333227766","1333227780","1333227792"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/27983878c2ede890264d75e2d1b7aeb2.jpg","text":"TemporaryFile(/tmp/multipartBody6340462593393514708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305273521,"filename":"image_31012025_07_29_07_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/80ef01ac83ce814756aeb728e28e4aad.jpg","text":"TemporaryFile(/tmp/multipartBody7659216213388887803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305273521,"filename":"image_31012025_07_28_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/1/31/70f2af774fb514ae7b814a55787e9613.jpg","text":"TemporaryFile(/tmp/multipartBody3225798146404552137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305273521,"filename":"image_31012025_07_29_17_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/df27343544e74e6af89fec63cc35678d.jpg","text":"TemporaryFile(/tmp/multipartBody2018041482718122397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305273521,"filename":"image_31012025_07_29_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/1/31/44715cfd1e711dd8c1ca69029429f944.jpg","text":"TemporaryFile(/tmp/multipartBody184596122626355164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305273521,"filename":"image_31012025_07_29_47_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a00b4de3ad9c5cbcd59ed8de14b8123e.jpg","text":"TemporaryFile(/tmp/multipartBody2989196568494302826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305273521,"filename":"image_31012025_07_29_37_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333227764","file1":"1333227761","file0":"1333227755","file4":"1333227780","file5":"1333227792","file3":"1333227766"},"map_files_photo_id_array":[{"photo_id":"1333227792","filename":"file5"},{"photo_id":"1333227764","filename":"file2"},{"photo_id":"1333227780","filename":"file4"},{"photo_id":"1333227761","filename":"file1"},{"photo_id":"1333227755","filename":"file0"},{"photo_id":"1333227766","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333227761":["hashtag1","hashtag2"]},{"1333227755":["hashtag1","hashtag2"]},{"1333227764":["hashtag1","hashtag2"]},{"1333227766":["hashtag1","hashtag2"]},{"1333227792":["hashtag1","hashtag2"]},{"1333227780":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333227761, 1333227755, 1333227764, 1333227766, 1333227792, 1333227780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.3667688369751 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:34:32.695557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/29/image_31012025_07_29_56_9404.jpg', '/home/pi/Desktop/images/31012025/07/29/image_31012025_07_30_07_10427.jpg', '/home/pi/Desktop/images/31012025/07/30/image_31012025_07_30_16_9415.jpg', '/home/pi/Desktop/images/31012025/07/30/image_31012025_07_30_27_10357.jpg', '/home/pi/Desktop/images/31012025/07/30/image_31012025_07_30_37_10355.jpg', '/home/pi/Desktop/images/31012025/07/30/image_31012025_07_30_46_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/29/image_31012025_07_29_56_9404.jpg
/home/pi/Desktop/images/31012025/07/29/image_31012025_07_30_07_10427.jpg
/home/pi/Desktop/images/31012025/07/30/image_31012025_07_30_16_9415.jpg
/home/pi/Desktop/images/31012025/07/30/image_31012025_07_30_27_10357.jpg
/home/pi/Desktop/images/31012025/07/30/image_31012025_07_30_37_10355.jpg
/home/pi/Desktop/images/31012025/07/30/image_31012025_07_30_46_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5149788856506348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 07:34:42.723957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/29/image_31012025_07_29_56_9404.jpg', '/home/pi/Desktop/images/31012025/07/29/image_31012025_07_30_07_10427.jpg', '/home/pi/Desktop/images/31012025/07/30/image_31012025_07_30_16_9415.jpg', '/home/pi/Desktop/images/31012025/07/30/image_31012025_07_30_27_10357.jpg', '/home/pi/Desktop/images/31012025/07/30/image_31012025_07_30_37_10355.jpg', '/home/pi/Desktop/images/31012025/07/30/image_31012025_07_30_46_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/29/image_31012025_07_29_56_9404.jpg
/home/pi/Desktop/images/31012025/07/29/image_31012025_07_30_07_10427.jpg
/home/pi/Desktop/images/31012025/07/30/image_31012025_07_30_16_9415.jpg
/home/pi/Desktop/images/31012025/07/30/image_31012025_07_30_27_10357.jpg
/home/pi/Desktop/images/31012025/07/30/image_31012025_07_30_37_10355.jpg
/home/pi/Desktop/images/31012025/07/30/image_31012025_07_30_46_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":["1333227912","1333227822","1333227836","1333227827","1333227832","1333227861"],"photo_ids_order":["1333227822","1333227827","1333227832","1333227836","1333227861","1333227912"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9ff94e47abc1dcd24fffb0f08be4e369.jpg","text":"TemporaryFile(/tmp/multipartBody2704133455095792004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305343632,"filename":"image_31012025_07_30_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/1/31/8f767bb9cd64154bc63afeebc242da48.jpg","text":"TemporaryFile(/tmp/multipartBody8864644669978989688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305343632,"filename":"image_31012025_07_29_56_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2fd39f268e20c04d8d639f2cd3c4c795.jpg","text":"TemporaryFile(/tmp/multipartBody6480854537373332962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305343632,"filename":"image_31012025_07_30_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/1/31/a6f4aaad55bd12220238628dda9e8d91.jpg","text":"TemporaryFile(/tmp/multipartBody3233086539400896916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305343632,"filename":"image_31012025_07_30_07_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3ac8533972b973d7d65f87c2e68c7354.jpg","text":"TemporaryFile(/tmp/multipartBody7083402367969326913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305343632,"filename":"image_31012025_07_30_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/1/31/5804d0551e06016b90b78dba0146c21e.jpg","text":"TemporaryFile(/tmp/multipartBody2496965884683587810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305343632,"filename":"image_31012025_07_30_37_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333227832","file1":"1333227827","file0":"1333227822","file4":"1333227861","file5":"1333227912","file3":"1333227836"},"map_files_photo_id_array":[{"photo_id":"1333227912","filename":"file5"},{"photo_id":"1333227832","filename":"file2"},{"photo_id":"1333227861","filename":"file4"},{"photo_id":"1333227827","filename":"file1"},{"photo_id":"1333227822","filename":"file0"},{"photo_id":"1333227836","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333227912":["hashtag1","hashtag2"]},{"1333227822":["hashtag1","hashtag2"]},{"1333227836":["hashtag1","hashtag2"]},{"1333227827":["hashtag1","hashtag2"]},{"1333227832":["hashtag1","hashtag2"]},{"1333227861":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333227912, 1333227822, 1333227836, 1333227827, 1333227832, 1333227861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.94488978385925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:35:32.899066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/30/image_31012025_07_30_57_10444.jpg', '/home/pi/Desktop/images/31012025/07/30/image_31012025_07_31_07_10344.jpg', '/home/pi/Desktop/images/31012025/07/31/image_31012025_07_31_17_9398.jpg', '/home/pi/Desktop/images/31012025/07/31/image_31012025_07_31_27_10387.jpg', '/home/pi/Desktop/images/31012025/07/31/image_31012025_07_31_36_9347.jpg', '/home/pi/Desktop/images/31012025/07/31/image_31012025_07_31_47_10442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/30/image_31012025_07_30_57_10444.jpg
/home/pi/Desktop/images/31012025/07/30/image_31012025_07_31_07_10344.jpg
/home/pi/Desktop/images/31012025/07/31/image_31012025_07_31_17_9398.jpg
/home/pi/Desktop/images/31012025/07/31/image_31012025_07_31_27_10387.jpg
/home/pi/Desktop/images/31012025/07/31/image_31012025_07_31_36_9347.jpg
/home/pi/Desktop/images/31012025/07/31/image_31012025_07_31_47_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":["1333228061","1333228055","1333228058","1333227979","1333228053","1333228050"],"photo_ids_order":["1333227979","1333228050","1333228053","1333228055","1333228058","1333228061"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2a05015c7b0e597f44b9daaa12dacefa.jpg","text":"TemporaryFile(/tmp/multipartBody6584597379475487571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305393807,"filename":"image_31012025_07_31_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/1/31/20cf5452a08995a98c5410be0ce1fb11.jpg","text":"TemporaryFile(/tmp/multipartBody539976229311573547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305393807,"filename":"image_31012025_07_31_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/1/31/b8cc447466956028dda8f0a2c7941b91.jpg","text":"TemporaryFile(/tmp/multipartBody1476720995662944058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305393807,"filename":"image_31012025_07_31_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/1/31/39b0db880df3f75a8475de045eacdca2.jpg","text":"TemporaryFile(/tmp/multipartBody6443238716858527663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305393807,"filename":"image_31012025_07_30_57_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a8e3c079a19b0fd1486298c502349941.jpg","text":"TemporaryFile(/tmp/multipartBody2887573719411261389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305393807,"filename":"image_31012025_07_31_17_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ab7c4238c544afe7e7b3fa133ec9fa02.jpg","text":"TemporaryFile(/tmp/multipartBody1915839847037009136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305393807,"filename":"image_31012025_07_31_07_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333228053","file1":"1333228050","file0":"1333227979","file4":"1333228058","file5":"1333228061","file3":"1333228055"},"map_files_photo_id_array":[{"photo_id":"1333228061","filename":"file5"},{"photo_id":"1333228053","filename":"file2"},{"photo_id":"1333228058","filename":"file4"},{"photo_id":"1333228050","filename":"file1"},{"photo_id":"1333227979","filename":"file0"},{"photo_id":"1333228055","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333228061":["hashtag1","hashtag2"]},{"1333228055":["hashtag1","hashtag2"]},{"1333228058":["hashtag1","hashtag2"]},{"1333227979":["hashtag1","hashtag2"]},{"1333228053":["hashtag1","hashtag2"]},{"1333228050":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333228061, 1333228055, 1333228058, 1333227979, 1333228053, 1333228050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.90918707847595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:36:33.109265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/31/image_31012025_07_31_57_10371.jpg', '/home/pi/Desktop/images/31012025/07/31/image_31012025_07_32_07_9419.jpg', '/home/pi/Desktop/images/31012025/07/32/image_31012025_07_32_17_10440.jpg', '/home/pi/Desktop/images/31012025/07/32/image_31012025_07_32_26_9355.jpg', '/home/pi/Desktop/images/31012025/07/32/image_31012025_07_32_37_10465.jpg', '/home/pi/Desktop/images/31012025/07/32/image_31012025_07_32_47_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/31/image_31012025_07_31_57_10371.jpg
/home/pi/Desktop/images/31012025/07/31/image_31012025_07_32_07_9419.jpg
/home/pi/Desktop/images/31012025/07/32/image_31012025_07_32_17_10440.jpg
/home/pi/Desktop/images/31012025/07/32/image_31012025_07_32_26_9355.jpg
/home/pi/Desktop/images/31012025/07/32/image_31012025_07_32_37_10465.jpg
/home/pi/Desktop/images/31012025/07/32/image_31012025_07_32_47_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":["1333228337","1333228195","1333228252","1333228095","1333228080","1333228116"],"photo_ids_order":["1333228080","1333228095","1333228116","1333228195","1333228252","1333228337"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cc905da17671f3af9b7928570d43dad5.jpg","text":"TemporaryFile(/tmp/multipartBody6411329055769836907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305454018,"filename":"image_31012025_07_32_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/1/31/ced6398b4eac1cc8a72c988442de74f2.jpg","text":"TemporaryFile(/tmp/multipartBody1193066776795568538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305454018,"filename":"image_31012025_07_32_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/1/31/70660ecd5067dfdd870445e56b160fc9.jpg","text":"TemporaryFile(/tmp/multipartBody308303673067839735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305454018,"filename":"image_31012025_07_32_37_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a31771f01fb13b4e760d0934e30e251c.jpg","text":"TemporaryFile(/tmp/multipartBody7155894038052637581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305454018,"filename":"image_31012025_07_32_07_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f6f36a42396eff233cd0b09ecdc4485a.jpg","text":"TemporaryFile(/tmp/multipartBody7308679974179972080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305454018,"filename":"image_31012025_07_31_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/1/31/12e60be57ddb03035e79fb7583681e5f.jpg","text":"TemporaryFile(/tmp/multipartBody8399877175344665136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305454018,"filename":"image_31012025_07_32_17_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333228116","file1":"1333228095","file0":"1333228080","file4":"1333228252","file5":"1333228337","file3":"1333228195"},"map_files_photo_id_array":[{"photo_id":"1333228337","filename":"file5"},{"photo_id":"1333228116","filename":"file2"},{"photo_id":"1333228252","filename":"file4"},{"photo_id":"1333228095","filename":"file1"},{"photo_id":"1333228080","filename":"file0"},{"photo_id":"1333228195","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333228337":["hashtag1","hashtag2"]},{"1333228195":["hashtag1","hashtag2"]},{"1333228252":["hashtag1","hashtag2"]},{"1333228095":["hashtag1","hashtag2"]},{"1333228080":["hashtag1","hashtag2"]},{"1333228116":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333228337, 1333228195, 1333228252, 1333228095, 1333228080, 1333228116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.83580565452576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:37:32.519206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/32/image_31012025_07_32_57_9394.jpg', '/home/pi/Desktop/images/31012025/07/32/image_31012025_07_33_07_10426.jpg', '/home/pi/Desktop/images/31012025/07/33/image_31012025_07_33_16_9353.jpg', '/home/pi/Desktop/images/31012025/07/33/image_31012025_07_33_27_10459.jpg', '/home/pi/Desktop/images/31012025/07/33/image_31012025_07_33_37_10419.jpg', '/home/pi/Desktop/images/31012025/07/33/image_31012025_07_33_47_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/32/image_31012025_07_32_57_9394.jpg
/home/pi/Desktop/images/31012025/07/32/image_31012025_07_33_07_10426.jpg
/home/pi/Desktop/images/31012025/07/33/image_31012025_07_33_16_9353.jpg
/home/pi/Desktop/images/31012025/07/33/image_31012025_07_33_27_10459.jpg
/home/pi/Desktop/images/31012025/07/33/image_31012025_07_33_37_10419.jpg
/home/pi/Desktop/images/31012025/07/33/image_31012025_07_33_47_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":["1333228873","1333228789","1333228864","1333228819","1333228909","1333229013"],"photo_ids_order":["1333228789","1333228819","1333228864","1333228873","1333228909","1333229013"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d65f13e23dec1fd901878e169d33199e.jpg","text":"TemporaryFile(/tmp/multipartBody2283417467028471869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305513443,"filename":"image_31012025_07_33_27_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5adbaf9f9a35a7f4ed9d601ad1898fbc.jpg","text":"TemporaryFile(/tmp/multipartBody3899587398545585081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305513443,"filename":"image_31012025_07_32_57_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3a569adbf9d10a1ab15e4c6e4a7041bc.jpg","text":"TemporaryFile(/tmp/multipartBody3408871415251711464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305513443,"filename":"image_31012025_07_33_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/1/31/dbfc50130f7b8b33b8093cf429da438e.jpg","text":"TemporaryFile(/tmp/multipartBody7739827619792001375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305513443,"filename":"image_31012025_07_33_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/1/31/8ff1751738c450686aa09265eb4c7688.jpg","text":"TemporaryFile(/tmp/multipartBody2366593668915604153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305513443,"filename":"image_31012025_07_33_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/1/31/310c9660c595ad18b694b6cc795892cd.jpg","text":"TemporaryFile(/tmp/multipartBody7996113554111289243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305513443,"filename":"image_31012025_07_33_47_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333228864","file1":"1333228819","file0":"1333228789","file4":"1333228909","file5":"1333229013","file3":"1333228873"},"map_files_photo_id_array":[{"photo_id":"1333229013","filename":"file5"},{"photo_id":"1333228864","filename":"file2"},{"photo_id":"1333228909","filename":"file4"},{"photo_id":"1333228819","filename":"file1"},{"photo_id":"1333228789","filename":"file0"},{"photo_id":"1333228873","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333228873":["hashtag1","hashtag2"]},{"1333228789":["hashtag1","hashtag2"]},{"1333228864":["hashtag1","hashtag2"]},{"1333228819":["hashtag1","hashtag2"]},{"1333228909":["hashtag1","hashtag2"]},{"1333229013":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333228873, 1333228789, 1333228864, 1333228819, 1333228909, 1333229013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.94199061393738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:38:32.593565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/33/image_31012025_07_33_57_10368.jpg', '/home/pi/Desktop/images/31012025/07/33/image_31012025_07_34_06_9360.jpg', '/home/pi/Desktop/images/31012025/07/34/image_31012025_07_34_17_10487.jpg', '/home/pi/Desktop/images/31012025/07/34/image_31012025_07_34_27_10361.jpg', '/home/pi/Desktop/images/31012025/07/34/image_31012025_07_34_37_9371.jpg', '/home/pi/Desktop/images/31012025/07/34/image_31012025_07_34_47_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/33/image_31012025_07_33_57_10368.jpg
/home/pi/Desktop/images/31012025/07/33/image_31012025_07_34_06_9360.jpg
/home/pi/Desktop/images/31012025/07/34/image_31012025_07_34_17_10487.jpg
/home/pi/Desktop/images/31012025/07/34/image_31012025_07_34_27_10361.jpg
/home/pi/Desktop/images/31012025/07/34/image_31012025_07_34_37_9371.jpg
/home/pi/Desktop/images/31012025/07/34/image_31012025_07_34_47_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":["1333229292","1333229274","1333229298","1333229283","1333229352","1333229288"],"photo_ids_order":["1333229274","1333229283","1333229288","1333229292","1333229298","1333229352"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/df0c5e995ab26251787efb2e154ffc2d.jpg","text":"TemporaryFile(/tmp/multipartBody8460675585158158439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305573537,"filename":"image_31012025_07_34_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/1/31/a500f4d351155d84105f5ed95f71e9f0.jpg","text":"TemporaryFile(/tmp/multipartBody4771536362190712933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305573537,"filename":"image_31012025_07_33_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/1/31/fffef5db0689853a55acfedd4240a26a.jpg","text":"TemporaryFile(/tmp/multipartBody22442641238619851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305573537,"filename":"image_31012025_07_34_37_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9a5739a537e0fd36009d15149104edfc.jpg","text":"TemporaryFile(/tmp/multipartBody5604814091140698385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305573537,"filename":"image_31012025_07_34_06_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9dfbaec5910671f3c55dd6079808f080.jpg","text":"TemporaryFile(/tmp/multipartBody7483136132314217815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305573537,"filename":"image_31012025_07_34_47_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6d5541725b76c6efde1a81755a1fc10b.jpg","text":"TemporaryFile(/tmp/multipartBody8927395292514229884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305573537,"filename":"image_31012025_07_34_17_10487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333229288","file1":"1333229283","file0":"1333229274","file4":"1333229298","file5":"1333229352","file3":"1333229292"},"map_files_photo_id_array":[{"photo_id":"1333229352","filename":"file5"},{"photo_id":"1333229288","filename":"file2"},{"photo_id":"1333229298","filename":"file4"},{"photo_id":"1333229283","filename":"file1"},{"photo_id":"1333229274","filename":"file0"},{"photo_id":"1333229292","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333229292":["hashtag1","hashtag2"]},{"1333229274":["hashtag1","hashtag2"]},{"1333229298":["hashtag1","hashtag2"]},{"1333229283":["hashtag1","hashtag2"]},{"1333229352":["hashtag1","hashtag2"]},{"1333229288":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333229292, 1333229274, 1333229298, 1333229283, 1333229352, 1333229288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.05200958251953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:39:32.742022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/34/image_31012025_07_34_56_9416.jpg', '/home/pi/Desktop/images/31012025/07/34/image_31012025_07_35_07_10340.jpg', '/home/pi/Desktop/images/31012025/07/35/image_31012025_07_35_17_10331.jpg', '/home/pi/Desktop/images/31012025/07/35/image_31012025_07_35_26_9345.jpg', '/home/pi/Desktop/images/31012025/07/35/image_31012025_07_35_37_10490.jpg', '/home/pi/Desktop/images/31012025/07/35/image_31012025_07_35_47_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/34/image_31012025_07_34_56_9416.jpg
/home/pi/Desktop/images/31012025/07/34/image_31012025_07_35_07_10340.jpg
/home/pi/Desktop/images/31012025/07/35/image_31012025_07_35_17_10331.jpg
/home/pi/Desktop/images/31012025/07/35/image_31012025_07_35_26_9345.jpg
/home/pi/Desktop/images/31012025/07/35/image_31012025_07_35_37_10490.jpg
/home/pi/Desktop/images/31012025/07/35/image_31012025_07_35_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":["1333229654","1333229615","1333229674","1333229668","1333229632","1333229637"],"photo_ids_order":["1333229615","1333229632","1333229637","1333229654","1333229668","1333229674"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8414feca3ede5856aab9324ea75eebee.jpg","text":"TemporaryFile(/tmp/multipartBody2032059704498143659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305633653,"filename":"image_31012025_07_35_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d33f164e2c981f578c6d1e257d04c1c4.jpg","text":"TemporaryFile(/tmp/multipartBody7035798260857573018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305633653,"filename":"image_31012025_07_34_56_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/df3d51bb004eae99e2ac33ba5d58f7d9.jpg","text":"TemporaryFile(/tmp/multipartBody9037224643486501424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305633653,"filename":"image_31012025_07_35_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/1/31/c9f40842e1c1b083d6a6de1a015d9af8.jpg","text":"TemporaryFile(/tmp/multipartBody7829024334136567549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305633653,"filename":"image_31012025_07_35_37_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5caa726b21d6bffeef4187f492c1545c.jpg","text":"TemporaryFile(/tmp/multipartBody6856942793455090068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305633653,"filename":"image_31012025_07_35_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/1/31/1b5dcd256348a9abcc808df2c9326dbf.jpg","text":"TemporaryFile(/tmp/multipartBody7960066501353561683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305633653,"filename":"image_31012025_07_35_17_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333229637","file1":"1333229632","file0":"1333229615","file4":"1333229668","file5":"1333229674","file3":"1333229654"},"map_files_photo_id_array":[{"photo_id":"1333229674","filename":"file5"},{"photo_id":"1333229637","filename":"file2"},{"photo_id":"1333229668","filename":"file4"},{"photo_id":"1333229632","filename":"file1"},{"photo_id":"1333229615","filename":"file0"},{"photo_id":"1333229654","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333229654":["hashtag1","hashtag2"]},{"1333229615":["hashtag1","hashtag2"]},{"1333229674":["hashtag1","hashtag2"]},{"1333229668":["hashtag1","hashtag2"]},{"1333229632":["hashtag1","hashtag2"]},{"1333229637":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333229654, 1333229615, 1333229674, 1333229668, 1333229632, 1333229637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.357694149017334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:40:32.887963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/35/image_31012025_07_35_57_9438.jpg', '/home/pi/Desktop/images/31012025/07/36/image_31012025_07_36_07_10375.jpg', '/home/pi/Desktop/images/31012025/07/36/image_31012025_07_36_17_9550.jpg', '/home/pi/Desktop/images/31012025/07/36/image_31012025_07_36_27_10464.jpg', '/home/pi/Desktop/images/31012025/07/36/image_31012025_07_36_36_9369.jpg', '/home/pi/Desktop/images/31012025/07/36/image_31012025_07_36_47_10580.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/35/image_31012025_07_35_57_9438.jpg
/home/pi/Desktop/images/31012025/07/36/image_31012025_07_36_07_10375.jpg
/home/pi/Desktop/images/31012025/07/36/image_31012025_07_36_17_9550.jpg
/home/pi/Desktop/images/31012025/07/36/image_31012025_07_36_27_10464.jpg
/home/pi/Desktop/images/31012025/07/36/image_31012025_07_36_36_9369.jpg
/home/pi/Desktop/images/31012025/07/36/image_31012025_07_36_47_10580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333229748","1333229727","1333229742","1333229736","1333229721","1333229715"],"photo_ids_order":["1333229715","1333229721","1333229727","1333229736","1333229742","1333229748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0e232656e89ae1bc72df272cabf82822.jpg","text":"TemporaryFile(/tmp/multipartBody1230662796998157434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305693792,"filename":"image_31012025_07_36_47_10580.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4f59bd5a836ee5e29232938bbfe8a73a.jpg","text":"TemporaryFile(/tmp/multipartBody3733272793882541938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305693792,"filename":"image_31012025_07_36_17_9550.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0e43ffcbdd26c2d555c684fb1aed3d4e.jpg","text":"TemporaryFile(/tmp/multipartBody3216431208915309728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305693792,"filename":"image_31012025_07_36_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/1/31/64df0091ec9236af9473a0d3bdd51b20.jpg","text":"TemporaryFile(/tmp/multipartBody6519800796004988333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305693792,"filename":"image_31012025_07_36_27_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8338ef0d0298a7ae0450b7796ea5fec0.jpg","text":"TemporaryFile(/tmp/multipartBody4555280758635076334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305693792,"filename":"image_31012025_07_36_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/1/31/d6d684d1ff1fb78923a8dacf59d9b941.jpg","text":"TemporaryFile(/tmp/multipartBody3342357692438266290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305693792,"filename":"image_31012025_07_35_57_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333229727","file1":"1333229721","file0":"1333229715","file4":"1333229742","file5":"1333229748","file3":"1333229736"},"map_files_photo_id_array":[{"photo_id":"1333229748","filename":"file5"},{"photo_id":"1333229727","filename":"file2"},{"photo_id":"1333229742","filename":"file4"},{"photo_id":"1333229721","filename":"file1"},{"photo_id":"1333229715","filename":"file0"},{"photo_id":"1333229736","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333229748":["hashtag1","hashtag2"]},{"1333229727":["hashtag1","hashtag2"]},{"1333229742":["hashtag1","hashtag2"]},{"1333229736":["hashtag1","hashtag2"]},{"1333229721":["hashtag1","hashtag2"]},{"1333229715":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333229748, 1333229727, 1333229742, 1333229736, 1333229721, 1333229715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.51098442077637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:41:32.295021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/36/image_31012025_07_36_56_9345.jpg', '/home/pi/Desktop/images/31012025/07/36/image_31012025_07_37_07_10352.jpg', '/home/pi/Desktop/images/31012025/07/37/image_31012025_07_37_17_10354.jpg', '/home/pi/Desktop/images/31012025/07/37/image_31012025_07_37_26_9351.jpg', '/home/pi/Desktop/images/31012025/07/37/image_31012025_07_37_37_10460.jpg', '/home/pi/Desktop/images/31012025/07/37/image_31012025_07_37_47_10423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/36/image_31012025_07_36_56_9345.jpg
/home/pi/Desktop/images/31012025/07/36/image_31012025_07_37_07_10352.jpg
/home/pi/Desktop/images/31012025/07/37/image_31012025_07_37_17_10354.jpg
/home/pi/Desktop/images/31012025/07/37/image_31012025_07_37_26_9351.jpg
/home/pi/Desktop/images/31012025/07/37/image_31012025_07_37_37_10460.jpg
/home/pi/Desktop/images/31012025/07/37/image_31012025_07_37_47_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":["1333229785","1333229782","1333229778","1333229772","1333229765","1333229759"],"photo_ids_order":["1333229759","1333229765","1333229772","1333229778","1333229782","1333229785"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ac973419b2dec0b31a652101cfd7a6d2.jpg","text":"TemporaryFile(/tmp/multipartBody1372352604424563511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305753199,"filename":"image_31012025_07_37_47_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3485d06c520be8bf50c4ded0012359f6.jpg","text":"TemporaryFile(/tmp/multipartBody2960370193835565200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305753199,"filename":"image_31012025_07_37_37_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4b0119ed1761778c689769ecf346678c.jpg","text":"TemporaryFile(/tmp/multipartBody8482336113743935905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305753199,"filename":"image_31012025_07_37_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/1/31/a42712376f5f639d81d6f5f6916782c7.jpg","text":"TemporaryFile(/tmp/multipartBody1377854642870039706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305753199,"filename":"image_31012025_07_37_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/1/31/a3741858b7a2bf8ea6243807137ea40c.jpg","text":"TemporaryFile(/tmp/multipartBody2223566693974377330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305753199,"filename":"image_31012025_07_37_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/1/31/1314de86b1bbb817e6bc4ffa76e9ade9.jpg","text":"TemporaryFile(/tmp/multipartBody4436407556618293155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305753199,"filename":"image_31012025_07_36_56_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333229772","file1":"1333229765","file0":"1333229759","file4":"1333229782","file5":"1333229785","file3":"1333229778"},"map_files_photo_id_array":[{"photo_id":"1333229785","filename":"file5"},{"photo_id":"1333229772","filename":"file2"},{"photo_id":"1333229782","filename":"file4"},{"photo_id":"1333229765","filename":"file1"},{"photo_id":"1333229759","filename":"file0"},{"photo_id":"1333229778","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333229785":["hashtag1","hashtag2"]},{"1333229782":["hashtag1","hashtag2"]},{"1333229778":["hashtag1","hashtag2"]},{"1333229772":["hashtag1","hashtag2"]},{"1333229765":["hashtag1","hashtag2"]},{"1333229759":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333229785, 1333229782, 1333229778, 1333229772, 1333229765, 1333229759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.190701961517334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:42:32.554594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/37/image_31012025_07_37_57_9350.jpg', '/home/pi/Desktop/images/31012025/07/37/image_31012025_07_38_07_10446.jpg', '/home/pi/Desktop/images/31012025/07/38/image_31012025_07_38_16_9347.jpg', '/home/pi/Desktop/images/31012025/07/38/image_31012025_07_38_27_10436.jpg', '/home/pi/Desktop/images/31012025/07/38/image_31012025_07_38_37_10347.jpg', '/home/pi/Desktop/images/31012025/07/38/image_31012025_07_38_46_9330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/37/image_31012025_07_37_57_9350.jpg
/home/pi/Desktop/images/31012025/07/37/image_31012025_07_38_07_10446.jpg
/home/pi/Desktop/images/31012025/07/38/image_31012025_07_38_16_9347.jpg
/home/pi/Desktop/images/31012025/07/38/image_31012025_07_38_27_10436.jpg
/home/pi/Desktop/images/31012025/07/38/image_31012025_07_38_37_10347.jpg
/home/pi/Desktop/images/31012025/07/38/image_31012025_07_38_46_9330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333229989","1333230002","1333230007","1333229984","1333229996","1333229978"],"photo_ids_order":["1333229978","1333229984","1333229989","1333229996","1333230002","1333230007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8670ad1e566bbda725b38606872da299.jpg","text":"TemporaryFile(/tmp/multipartBody7202877303758462699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305813452,"filename":"image_31012025_07_38_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/1/31/8064cfa13bbf947e66b05a904c50834b.jpg","text":"TemporaryFile(/tmp/multipartBody4886498348172958401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305813452,"filename":"image_31012025_07_38_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/1/31/968b1e3b50cf19eb903fe808d962f89d.jpg","text":"TemporaryFile(/tmp/multipartBody2487205238755092888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305813452,"filename":"image_31012025_07_38_46_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8ee5c8a5cd1e4e88083741b2908914a5.jpg","text":"TemporaryFile(/tmp/multipartBody1874459241898918517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305813452,"filename":"image_31012025_07_38_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/1/31/9c66370c5436fd6a84e0675b52439b96.jpg","text":"TemporaryFile(/tmp/multipartBody7167401636187516448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305813452,"filename":"image_31012025_07_38_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/1/31/ba6010f2bec1543aa750008d1365d184.jpg","text":"TemporaryFile(/tmp/multipartBody8914858643569084999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305813452,"filename":"image_31012025_07_37_57_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333229989","file1":"1333229984","file0":"1333229978","file4":"1333230002","file5":"1333230007","file3":"1333229996"},"map_files_photo_id_array":[{"photo_id":"1333230007","filename":"file5"},{"photo_id":"1333229989","filename":"file2"},{"photo_id":"1333230002","filename":"file4"},{"photo_id":"1333229984","filename":"file1"},{"photo_id":"1333229978","filename":"file0"},{"photo_id":"1333229996","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333229989":["hashtag1","hashtag2"]},{"1333230002":["hashtag1","hashtag2"]},{"1333230007":["hashtag1","hashtag2"]},{"1333229984":["hashtag1","hashtag2"]},{"1333229996":["hashtag1","hashtag2"]},{"1333229978":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333229989, 1333230002, 1333230007, 1333229984, 1333229996, 1333229978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70354390144348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:43:32.693411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/38/image_31012025_07_38_57_10422.jpg', '/home/pi/Desktop/images/31012025/07/38/image_31012025_07_39_06_9351.jpg', '/home/pi/Desktop/images/31012025/07/39/image_31012025_07_39_17_10340.jpg', '/home/pi/Desktop/images/31012025/07/39/image_31012025_07_39_27_10350.jpg', '/home/pi/Desktop/images/31012025/07/39/image_31012025_07_39_36_9345.jpg', '/home/pi/Desktop/images/31012025/07/39/image_31012025_07_39_47_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/38/image_31012025_07_38_57_10422.jpg
/home/pi/Desktop/images/31012025/07/38/image_31012025_07_39_06_9351.jpg
/home/pi/Desktop/images/31012025/07/39/image_31012025_07_39_17_10340.jpg
/home/pi/Desktop/images/31012025/07/39/image_31012025_07_39_27_10350.jpg
/home/pi/Desktop/images/31012025/07/39/image_31012025_07_39_36_9345.jpg
/home/pi/Desktop/images/31012025/07/39/image_31012025_07_39_47_10418.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5399754047393799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 07:43:42.709937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/38/image_31012025_07_38_57_10422.jpg', '/home/pi/Desktop/images/31012025/07/38/image_31012025_07_39_06_9351.jpg', '/home/pi/Desktop/images/31012025/07/39/image_31012025_07_39_17_10340.jpg', '/home/pi/Desktop/images/31012025/07/39/image_31012025_07_39_27_10350.jpg', '/home/pi/Desktop/images/31012025/07/39/image_31012025_07_39_36_9345.jpg', '/home/pi/Desktop/images/31012025/07/39/image_31012025_07_39_47_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/38/image_31012025_07_38_57_10422.jpg
/home/pi/Desktop/images/31012025/07/38/image_31012025_07_39_06_9351.jpg
/home/pi/Desktop/images/31012025/07/39/image_31012025_07_39_17_10340.jpg
/home/pi/Desktop/images/31012025/07/39/image_31012025_07_39_27_10350.jpg
/home/pi/Desktop/images/31012025/07/39/image_31012025_07_39_36_9345.jpg
/home/pi/Desktop/images/31012025/07/39/image_31012025_07_39_47_10418.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":["1333230300","1333230391","1333230397","1333230285","1333230304","1333230294"],"photo_ids_order":["1333230285","1333230294","1333230300","1333230304","1333230391","1333230397"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/89ecf91ab71dd7649cd302d9ce9700d3.jpg","text":"TemporaryFile(/tmp/multipartBody7313870475803525356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305883651,"filename":"image_31012025_07_39_17_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/80923329947e9c012f01704d74ffe1e9.jpg","text":"TemporaryFile(/tmp/multipartBody6074467192333971041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305883651,"filename":"image_31012025_07_39_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/1/31/5dfbeb26912cac6c04ddc7ceb80d625e.jpg","text":"TemporaryFile(/tmp/multipartBody238342334030549902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305883651,"filename":"image_31012025_07_39_47_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7150823479fe3f54dd644b22db0b5999.jpg","text":"TemporaryFile(/tmp/multipartBody9171186118155770838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305883651,"filename":"image_31012025_07_38_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/1/31/2da90086a7ab09e241dbc970467d8ecb.jpg","text":"TemporaryFile(/tmp/multipartBody3059201781167808056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305883651,"filename":"image_31012025_07_39_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/1/31/67036ed2d8d88665d2bef4faa0e0f290.jpg","text":"TemporaryFile(/tmp/multipartBody1827664477260118851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305883651,"filename":"image_31012025_07_39_06_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333230300","file1":"1333230294","file0":"1333230285","file4":"1333230391","file5":"1333230397","file3":"1333230304"},"map_files_photo_id_array":[{"photo_id":"1333230397","filename":"file5"},{"photo_id":"1333230300","filename":"file2"},{"photo_id":"1333230391","filename":"file4"},{"photo_id":"1333230294","filename":"file1"},{"photo_id":"1333230285","filename":"file0"},{"photo_id":"1333230304","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333230300":["hashtag1","hashtag2"]},{"1333230391":["hashtag1","hashtag2"]},{"1333230397":["hashtag1","hashtag2"]},{"1333230285":["hashtag1","hashtag2"]},{"1333230304":["hashtag1","hashtag2"]},{"1333230294":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333230300, 1333230391, 1333230397, 1333230285, 1333230304, 1333230294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5906400680542 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:44:32.910512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/39/image_31012025_07_39_57_10439.jpg', '/home/pi/Desktop/images/31012025/07/39/image_31012025_07_40_07_9346.jpg', '/home/pi/Desktop/images/31012025/07/40/image_31012025_07_40_17_10428.jpg', '/home/pi/Desktop/images/31012025/07/40/image_31012025_07_40_26_9352.jpg', '/home/pi/Desktop/images/31012025/07/40/image_31012025_07_40_37_10477.jpg', '/home/pi/Desktop/images/31012025/07/40/image_31012025_07_40_47_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/39/image_31012025_07_39_57_10439.jpg
/home/pi/Desktop/images/31012025/07/39/image_31012025_07_40_07_9346.jpg
/home/pi/Desktop/images/31012025/07/40/image_31012025_07_40_17_10428.jpg
/home/pi/Desktop/images/31012025/07/40/image_31012025_07_40_26_9352.jpg
/home/pi/Desktop/images/31012025/07/40/image_31012025_07_40_37_10477.jpg
/home/pi/Desktop/images/31012025/07/40/image_31012025_07_40_47_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":["1333230481","1333230475","1333230463","1333230486","1333230468","1333230456"],"photo_ids_order":["1333230456","1333230463","1333230468","1333230475","1333230481","1333230486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cdad73b81464be59c9421165e9776f82.jpg","text":"TemporaryFile(/tmp/multipartBody6740715433438802380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305933834,"filename":"image_31012025_07_40_37_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c64da2cf113edfe1c8a7bcc387abe530.jpg","text":"TemporaryFile(/tmp/multipartBody4089517079445374982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305933834,"filename":"image_31012025_07_40_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/1/31/0eb00fd27d79fe7d4b09c18703f87568.jpg","text":"TemporaryFile(/tmp/multipartBody9216806284626420704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305933834,"filename":"image_31012025_07_40_07_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5f954b7472a90e3b644c775f5bbbab21.jpg","text":"TemporaryFile(/tmp/multipartBody6427139771768532904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305933834,"filename":"image_31012025_07_40_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/1/31/52e5b6c358ae828973a1a721b4f0eb93.jpg","text":"TemporaryFile(/tmp/multipartBody5241323923513711793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305933834,"filename":"image_31012025_07_40_17_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d991b9aaf66ef895136f1e0f8fc50bfc.jpg","text":"TemporaryFile(/tmp/multipartBody8987105462575258769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305933834,"filename":"image_31012025_07_39_57_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333230468","file1":"1333230463","file0":"1333230456","file4":"1333230481","file5":"1333230486","file3":"1333230475"},"map_files_photo_id_array":[{"photo_id":"1333230486","filename":"file5"},{"photo_id":"1333230468","filename":"file2"},{"photo_id":"1333230481","filename":"file4"},{"photo_id":"1333230463","filename":"file1"},{"photo_id":"1333230456","filename":"file0"},{"photo_id":"1333230475","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333230481":["hashtag1","hashtag2"]},{"1333230475":["hashtag1","hashtag2"]},{"1333230463":["hashtag1","hashtag2"]},{"1333230486":["hashtag1","hashtag2"]},{"1333230468":["hashtag1","hashtag2"]},{"1333230456":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333230481, 1333230475, 1333230463, 1333230486, 1333230468, 1333230456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.01781225204468 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:45:32.235003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/40/image_31012025_07_40_56_9346.jpg', '/home/pi/Desktop/images/31012025/07/40/image_31012025_07_41_07_10369.jpg', '/home/pi/Desktop/images/31012025/07/41/image_31012025_07_41_17_10349.jpg', '/home/pi/Desktop/images/31012025/07/41/image_31012025_07_41_27_9379.jpg', '/home/pi/Desktop/images/31012025/07/41/image_31012025_07_41_37_10468.jpg', '/home/pi/Desktop/images/31012025/07/41/image_31012025_07_41_47_9462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/40/image_31012025_07_40_56_9346.jpg
/home/pi/Desktop/images/31012025/07/40/image_31012025_07_41_07_10369.jpg
/home/pi/Desktop/images/31012025/07/41/image_31012025_07_41_17_10349.jpg
/home/pi/Desktop/images/31012025/07/41/image_31012025_07_41_27_9379.jpg
/home/pi/Desktop/images/31012025/07/41/image_31012025_07_41_37_10468.jpg
/home/pi/Desktop/images/31012025/07/41/image_31012025_07_41_47_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":["1333230527","1333230512","1333230538","1333230546","1333230549","1333230543"],"photo_ids_order":["1333230512","1333230527","1333230538","1333230543","1333230546","1333230549"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/486ca8a031e8fcb8574deb45fa45266a.jpg","text":"TemporaryFile(/tmp/multipartBody2542550475793351774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305993174,"filename":"image_31012025_07_41_07_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/619e3488ab1d7b033e9172998e91973b.jpg","text":"TemporaryFile(/tmp/multipartBody3159697660800991182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305993174,"filename":"image_31012025_07_40_56_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/97551f11239b98ac4e1ee980c300026e.jpg","text":"TemporaryFile(/tmp/multipartBody3948472057837053078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305993174,"filename":"image_31012025_07_41_17_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6e76c19db26f09f1afb82db700e36a2e.jpg","text":"TemporaryFile(/tmp/multipartBody3097760275384039429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305993174,"filename":"image_31012025_07_41_37_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c578783b6ba0a3facceb88aff9b6af65.jpg","text":"TemporaryFile(/tmp/multipartBody6297686539985256558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305993174,"filename":"image_31012025_07_41_47_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/808cd33251af67bf617f35aaac43b342.jpg","text":"TemporaryFile(/tmp/multipartBody6733867637319924515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738305993174,"filename":"image_31012025_07_41_27_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333230538","file1":"1333230527","file0":"1333230512","file4":"1333230546","file5":"1333230549","file3":"1333230543"},"map_files_photo_id_array":[{"photo_id":"1333230549","filename":"file5"},{"photo_id":"1333230538","filename":"file2"},{"photo_id":"1333230546","filename":"file4"},{"photo_id":"1333230527","filename":"file1"},{"photo_id":"1333230512","filename":"file0"},{"photo_id":"1333230543","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333230527":["hashtag1","hashtag2"]},{"1333230512":["hashtag1","hashtag2"]},{"1333230538":["hashtag1","hashtag2"]},{"1333230546":["hashtag1","hashtag2"]},{"1333230549":["hashtag1","hashtag2"]},{"1333230543":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333230527, 1333230512, 1333230538, 1333230546, 1333230549, 1333230543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.34494733810425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:46:32.415038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/41/image_31012025_07_41_57_10362.jpg', '/home/pi/Desktop/images/31012025/07/41/image_31012025_07_42_07_10355.jpg', '/home/pi/Desktop/images/31012025/07/42/image_31012025_07_42_17_9394.jpg', '/home/pi/Desktop/images/31012025/07/42/image_31012025_07_42_27_10337.jpg', '/home/pi/Desktop/images/31012025/07/42/image_31012025_07_42_36_9350.jpg', '/home/pi/Desktop/images/31012025/07/42/image_31012025_07_42_47_10380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/41/image_31012025_07_41_57_10362.jpg
/home/pi/Desktop/images/31012025/07/41/image_31012025_07_42_07_10355.jpg
/home/pi/Desktop/images/31012025/07/42/image_31012025_07_42_17_9394.jpg
/home/pi/Desktop/images/31012025/07/42/image_31012025_07_42_27_10337.jpg
/home/pi/Desktop/images/31012025/07/42/image_31012025_07_42_36_9350.jpg
/home/pi/Desktop/images/31012025/07/42/image_31012025_07_42_47_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":["1333230659","1333230647","1333230655","1333230640","1333230663","1333230651"],"photo_ids_order":["1333230640","1333230647","1333230651","1333230655","1333230659","1333230663"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/21dc36934907086616aced16955bc8f6.jpg","text":"TemporaryFile(/tmp/multipartBody1790568192223765253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306053347,"filename":"image_31012025_07_42_36_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/609b0c09220ceea3cfa80720b30f83c8.jpg","text":"TemporaryFile(/tmp/multipartBody40123840422332688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306053347,"filename":"image_31012025_07_42_07_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d7275066cbc34b072f8f66501519c61d.jpg","text":"TemporaryFile(/tmp/multipartBody6176377467937793375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306053347,"filename":"image_31012025_07_42_27_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/95a3a2ea74bafb3b63703ae6f3dd3a27.jpg","text":"TemporaryFile(/tmp/multipartBody6442687267377279957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306053347,"filename":"image_31012025_07_41_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/1/31/e36c80d0ec0a0141faad8d3e72d211d2.jpg","text":"TemporaryFile(/tmp/multipartBody7433834618870556838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306053347,"filename":"image_31012025_07_42_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/1/31/33898abb0f2508ab652add7b7f49455a.jpg","text":"TemporaryFile(/tmp/multipartBody7906532666574637482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306053347,"filename":"image_31012025_07_42_17_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333230651","file1":"1333230647","file0":"1333230640","file4":"1333230659","file5":"1333230663","file3":"1333230655"},"map_files_photo_id_array":[{"photo_id":"1333230663","filename":"file5"},{"photo_id":"1333230651","filename":"file2"},{"photo_id":"1333230659","filename":"file4"},{"photo_id":"1333230647","filename":"file1"},{"photo_id":"1333230640","filename":"file0"},{"photo_id":"1333230655","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333230659":["hashtag1","hashtag2"]},{"1333230647":["hashtag1","hashtag2"]},{"1333230655":["hashtag1","hashtag2"]},{"1333230640":["hashtag1","hashtag2"]},{"1333230663":["hashtag1","hashtag2"]},{"1333230651":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333230659, 1333230647, 1333230655, 1333230640, 1333230663, 1333230651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.59397482872009 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:47:32.633858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/42/image_31012025_07_42_57_10359.jpg', '/home/pi/Desktop/images/31012025/07/42/image_31012025_07_43_06_9418.jpg', '/home/pi/Desktop/images/31012025/07/43/image_31012025_07_43_17_10431.jpg', '/home/pi/Desktop/images/31012025/07/43/image_31012025_07_43_27_10348.jpg', '/home/pi/Desktop/images/31012025/07/43/image_31012025_07_43_37_9379.jpg', '/home/pi/Desktop/images/31012025/07/43/image_31012025_07_43_47_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/42/image_31012025_07_42_57_10359.jpg
/home/pi/Desktop/images/31012025/07/42/image_31012025_07_43_06_9418.jpg
/home/pi/Desktop/images/31012025/07/43/image_31012025_07_43_17_10431.jpg
/home/pi/Desktop/images/31012025/07/43/image_31012025_07_43_27_10348.jpg
/home/pi/Desktop/images/31012025/07/43/image_31012025_07_43_37_9379.jpg
/home/pi/Desktop/images/31012025/07/43/image_31012025_07_43_47_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":["1333230695","1333230689","1333230683","1333230677","1333230699","1333230702"],"photo_ids_order":["1333230677","1333230683","1333230689","1333230695","1333230699","1333230702"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1d205ebb32551150e86095df1d350498.jpg","text":"TemporaryFile(/tmp/multipartBody4472390823041405014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306113545,"filename":"image_31012025_07_43_27_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e7272352de989c4f14852da4c657757c.jpg","text":"TemporaryFile(/tmp/multipartBody6022025877682765259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306113545,"filename":"image_31012025_07_43_17_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/82f2d7704c344287e699aa6b6995cdf4.jpg","text":"TemporaryFile(/tmp/multipartBody2635078697817419652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306113545,"filename":"image_31012025_07_43_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/1/31/5a25cd89e937543fffecc03fd45fafb2.jpg","text":"TemporaryFile(/tmp/multipartBody1768922549419336352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306113545,"filename":"image_31012025_07_42_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/1/31/84d60e055090a4c8f282d87adf56f0ed.jpg","text":"TemporaryFile(/tmp/multipartBody6522226060136881048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306113545,"filename":"image_31012025_07_43_37_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a8aad17f74e9fa8de0c8133637ee1136.jpg","text":"TemporaryFile(/tmp/multipartBody2131886700747567305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306113545,"filename":"image_31012025_07_43_47_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333230689","file1":"1333230683","file0":"1333230677","file4":"1333230699","file5":"1333230702","file3":"1333230695"},"map_files_photo_id_array":[{"photo_id":"1333230702","filename":"file5"},{"photo_id":"1333230689","filename":"file2"},{"photo_id":"1333230699","filename":"file4"},{"photo_id":"1333230683","filename":"file1"},{"photo_id":"1333230677","filename":"file0"},{"photo_id":"1333230695","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333230695":["hashtag1","hashtag2"]},{"1333230689":["hashtag1","hashtag2"]},{"1333230683":["hashtag1","hashtag2"]},{"1333230677":["hashtag1","hashtag2"]},{"1333230699":["hashtag1","hashtag2"]},{"1333230702":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333230695, 1333230689, 1333230683, 1333230677, 1333230699, 1333230702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.126410484313965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:48:32.851589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/43/image_31012025_07_43_56_9366.jpg', '/home/pi/Desktop/images/31012025/07/43/image_31012025_07_44_07_10448.jpg', '/home/pi/Desktop/images/31012025/07/44/image_31012025_07_44_17_10333.jpg', '/home/pi/Desktop/images/31012025/07/44/image_31012025_07_44_26_9339.jpg', '/home/pi/Desktop/images/31012025/07/44/image_31012025_07_44_37_10388.jpg', '/home/pi/Desktop/images/31012025/07/44/image_31012025_07_44_47_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/43/image_31012025_07_43_56_9366.jpg
/home/pi/Desktop/images/31012025/07/43/image_31012025_07_44_07_10448.jpg
/home/pi/Desktop/images/31012025/07/44/image_31012025_07_44_17_10333.jpg
/home/pi/Desktop/images/31012025/07/44/image_31012025_07_44_26_9339.jpg
/home/pi/Desktop/images/31012025/07/44/image_31012025_07_44_37_10388.jpg
/home/pi/Desktop/images/31012025/07/44/image_31012025_07_44_47_10351.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5235128402709961 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 07:48:42.838612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/43/image_31012025_07_43_56_9366.jpg', '/home/pi/Desktop/images/31012025/07/43/image_31012025_07_44_07_10448.jpg', '/home/pi/Desktop/images/31012025/07/44/image_31012025_07_44_17_10333.jpg', '/home/pi/Desktop/images/31012025/07/44/image_31012025_07_44_26_9339.jpg', '/home/pi/Desktop/images/31012025/07/44/image_31012025_07_44_37_10388.jpg', '/home/pi/Desktop/images/31012025/07/44/image_31012025_07_44_47_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/43/image_31012025_07_43_56_9366.jpg
/home/pi/Desktop/images/31012025/07/43/image_31012025_07_44_07_10448.jpg
/home/pi/Desktop/images/31012025/07/44/image_31012025_07_44_17_10333.jpg
/home/pi/Desktop/images/31012025/07/44/image_31012025_07_44_26_9339.jpg
/home/pi/Desktop/images/31012025/07/44/image_31012025_07_44_37_10388.jpg
/home/pi/Desktop/images/31012025/07/44/image_31012025_07_44_47_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":["1333230761","1333230740","1333230751","1333230736","1333230745","1333230756"],"photo_ids_order":["1333230736","1333230740","1333230745","1333230751","1333230756","1333230761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/99079e6b969ed7d49860f31152774b3e.jpg","text":"TemporaryFile(/tmp/multipartBody5877914093322409338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306183810,"filename":"image_31012025_07_44_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/1/31/ea45b5b860dcf48f6b604d827f55b6d1.jpg","text":"TemporaryFile(/tmp/multipartBody1436895491250345544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306183810,"filename":"image_31012025_07_44_07_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5fef220e5d4a5019251d8daf014ef75f.jpg","text":"TemporaryFile(/tmp/multipartBody6631820108993422874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306183810,"filename":"image_31012025_07_44_26_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9d2ca8891239065d4b266a05e92d4d84.jpg","text":"TemporaryFile(/tmp/multipartBody8130727282667849345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306183810,"filename":"image_31012025_07_43_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/1/31/3ec1ed0bc41a8be9186bfecb2d0eec53.jpg","text":"TemporaryFile(/tmp/multipartBody5919766307184819620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306183810,"filename":"image_31012025_07_44_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/1/31/fdea142fe9d405caf75c31ce7ef8a542.jpg","text":"TemporaryFile(/tmp/multipartBody6119142780532397940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306183810,"filename":"image_31012025_07_44_37_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333230745","file1":"1333230740","file0":"1333230736","file4":"1333230756","file5":"1333230761","file3":"1333230751"},"map_files_photo_id_array":[{"photo_id":"1333230761","filename":"file5"},{"photo_id":"1333230745","filename":"file2"},{"photo_id":"1333230756","filename":"file4"},{"photo_id":"1333230740","filename":"file1"},{"photo_id":"1333230736","filename":"file0"},{"photo_id":"1333230751","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333230761":["hashtag1","hashtag2"]},{"1333230740":["hashtag1","hashtag2"]},{"1333230751":["hashtag1","hashtag2"]},{"1333230736":["hashtag1","hashtag2"]},{"1333230745":["hashtag1","hashtag2"]},{"1333230756":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333230761, 1333230740, 1333230751, 1333230736, 1333230745, 1333230756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21928548812866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:49:33.011034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/44/image_31012025_07_44_57_9339.jpg', '/home/pi/Desktop/images/31012025/07/44/image_31012025_07_45_07_10335.jpg', '/home/pi/Desktop/images/31012025/07/45/image_31012025_07_45_17_10340.jpg', '/home/pi/Desktop/images/31012025/07/45/image_31012025_07_45_27_9346.jpg', '/home/pi/Desktop/images/31012025/07/45/image_31012025_07_45_37_10362.jpg', '/home/pi/Desktop/images/31012025/07/45/image_31012025_07_45_46_9418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/44/image_31012025_07_44_57_9339.jpg
/home/pi/Desktop/images/31012025/07/44/image_31012025_07_45_07_10335.jpg
/home/pi/Desktop/images/31012025/07/45/image_31012025_07_45_17_10340.jpg
/home/pi/Desktop/images/31012025/07/45/image_31012025_07_45_27_9346.jpg
/home/pi/Desktop/images/31012025/07/45/image_31012025_07_45_37_10362.jpg
/home/pi/Desktop/images/31012025/07/45/image_31012025_07_45_46_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":["1333230804","1333230809","1333230799","1333230793","1333230777","1333230785"],"photo_ids_order":["1333230777","1333230785","1333230793","1333230799","1333230804","1333230809"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e931e38ab92b357c860eb7028a98a3ca.jpg","text":"TemporaryFile(/tmp/multipartBody3489503110765215887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306233930,"filename":"image_31012025_07_45_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/1/31/3e0a940738cffffffd5cce60bc1df531.jpg","text":"TemporaryFile(/tmp/multipartBody7370835693630910696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306233930,"filename":"image_31012025_07_45_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/1/31/eac67bb23d4baff8aa4aca1151130acb.jpg","text":"TemporaryFile(/tmp/multipartBody6296324401614892165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306233930,"filename":"image_31012025_07_45_27_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/61909e899f80d320aad6545f74b76990.jpg","text":"TemporaryFile(/tmp/multipartBody1454437333008269188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306233930,"filename":"image_31012025_07_45_17_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a5de204c20c1469c9ed86b7680360dfd.jpg","text":"TemporaryFile(/tmp/multipartBody5480982738147022886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306233930,"filename":"image_31012025_07_44_57_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c7a544f24bf66050f477296f4e76565e.jpg","text":"TemporaryFile(/tmp/multipartBody7525532107013888350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306233930,"filename":"image_31012025_07_45_07_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333230793","file1":"1333230785","file0":"1333230777","file4":"1333230804","file5":"1333230809","file3":"1333230799"},"map_files_photo_id_array":[{"photo_id":"1333230809","filename":"file5"},{"photo_id":"1333230793","filename":"file2"},{"photo_id":"1333230804","filename":"file4"},{"photo_id":"1333230785","filename":"file1"},{"photo_id":"1333230777","filename":"file0"},{"photo_id":"1333230799","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333230804":["hashtag1","hashtag2"]},{"1333230809":["hashtag1","hashtag2"]},{"1333230799":["hashtag1","hashtag2"]},{"1333230793":["hashtag1","hashtag2"]},{"1333230777":["hashtag1","hashtag2"]},{"1333230785":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333230804, 1333230809, 1333230799, 1333230793, 1333230777, 1333230785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7615749835968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:50:32.392542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/45/image_31012025_07_45_57_10386.jpg', '/home/pi/Desktop/images/31012025/07/45/image_31012025_07_46_07_10336.jpg', '/home/pi/Desktop/images/31012025/07/46/image_31012025_07_46_27_10452.jpg', '/home/pi/Desktop/images/31012025/07/46/image_31012025_07_46_36_9442.jpg', '/home/pi/Desktop/images/31012025/07/46/image_31012025_07_46_47_10447.jpg', '/home/pi/Desktop/images/31012025/07/46/image_31012025_07_46_57_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/45/image_31012025_07_45_57_10386.jpg
/home/pi/Desktop/images/31012025/07/45/image_31012025_07_46_07_10336.jpg
/home/pi/Desktop/images/31012025/07/46/image_31012025_07_46_27_10452.jpg
/home/pi/Desktop/images/31012025/07/46/image_31012025_07_46_36_9442.jpg
/home/pi/Desktop/images/31012025/07/46/image_31012025_07_46_47_10447.jpg
/home/pi/Desktop/images/31012025/07/46/image_31012025_07_46_57_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":["1333230974","1333231087","1333230902","1333230979","1333231068","1333230888"],"photo_ids_order":["1333230888","1333230902","1333230974","1333230979","1333231068","1333231087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0c27295a5d7dde96141e7932794f254c.jpg","text":"TemporaryFile(/tmp/multipartBody513728944810323222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306293295,"filename":"image_31012025_07_46_27_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bdaa168b5b701c991cebead194e12dfe.jpg","text":"TemporaryFile(/tmp/multipartBody3757760028985374264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306293295,"filename":"image_31012025_07_46_57_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f65f402dd8c16fae45df9e1de6521e2c.jpg","text":"TemporaryFile(/tmp/multipartBody5349898910260523117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306293295,"filename":"image_31012025_07_46_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/1/31/d646e7e742001ae44bfb82c6550d450f.jpg","text":"TemporaryFile(/tmp/multipartBody7902971623162189871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306293295,"filename":"image_31012025_07_46_36_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/54f0f485c5d683eacec8aa7126d49475.jpg","text":"TemporaryFile(/tmp/multipartBody8490773053469542383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306293295,"filename":"image_31012025_07_46_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/1/31/f8e00e772f61f7b721d4d6f94ddcd93d.jpg","text":"TemporaryFile(/tmp/multipartBody7734359397866436156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306293295,"filename":"image_31012025_07_45_57_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333230974","file1":"1333230902","file0":"1333230888","file4":"1333231068","file5":"1333231087","file3":"1333230979"},"map_files_photo_id_array":[{"photo_id":"1333231087","filename":"file5"},{"photo_id":"1333230974","filename":"file2"},{"photo_id":"1333231068","filename":"file4"},{"photo_id":"1333230902","filename":"file1"},{"photo_id":"1333230888","filename":"file0"},{"photo_id":"1333230979","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333230974":["hashtag1","hashtag2"]},{"1333231087":["hashtag1","hashtag2"]},{"1333230902":["hashtag1","hashtag2"]},{"1333230979":["hashtag1","hashtag2"]},{"1333231068":["hashtag1","hashtag2"]},{"1333230888":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333230974, 1333231087, 1333230902, 1333230979, 1333231068, 1333230888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.993083238601685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:51:32.642717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/46/image_31012025_07_47_06_9362.jpg', '/home/pi/Desktop/images/31012025/07/47/image_31012025_07_47_17_10411.jpg', '/home/pi/Desktop/images/31012025/07/47/image_31012025_07_47_27_10333.jpg', '/home/pi/Desktop/images/31012025/07/47/image_31012025_07_47_37_9364.jpg', '/home/pi/Desktop/images/31012025/07/47/image_31012025_07_47_47_10402.jpg', '/home/pi/Desktop/images/31012025/07/47/image_31012025_07_47_56_9325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/46/image_31012025_07_47_06_9362.jpg
/home/pi/Desktop/images/31012025/07/47/image_31012025_07_47_17_10411.jpg
/home/pi/Desktop/images/31012025/07/47/image_31012025_07_47_27_10333.jpg
/home/pi/Desktop/images/31012025/07/47/image_31012025_07_47_37_9364.jpg
/home/pi/Desktop/images/31012025/07/47/image_31012025_07_47_47_10402.jpg
/home/pi/Desktop/images/31012025/07/47/image_31012025_07_47_56_9325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333232344","1333232338","1333231645","1333231456","1333231974","1333232327"],"photo_ids_order":["1333231456","1333231645","1333231974","1333232327","1333232338","1333232344"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4e2058b07e157f233716322ffe43b0bd.jpg","text":"TemporaryFile(/tmp/multipartBody5954057117501004177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306353549,"filename":"image_31012025_07_47_56_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/81ddc25260bf0be0ab6237ad903e8566.jpg","text":"TemporaryFile(/tmp/multipartBody4517667394053747676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306353549,"filename":"image_31012025_07_47_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/1/31/739addb0a56286372f5b7517e17096a8.jpg","text":"TemporaryFile(/tmp/multipartBody4292437250929942014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306353549,"filename":"image_31012025_07_47_17_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1ae6017b2008c827ca1045194df78872.jpg","text":"TemporaryFile(/tmp/multipartBody8540632702121578764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306353549,"filename":"image_31012025_07_47_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/1/31/76c13d5c4d4c670dfdf9144aafb4952e.jpg","text":"TemporaryFile(/tmp/multipartBody7407498026967642161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306353549,"filename":"image_31012025_07_47_27_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3d05e8db4db1437956cf262981f5a845.jpg","text":"TemporaryFile(/tmp/multipartBody8005055846853288723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306353549,"filename":"image_31012025_07_47_37_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333231974","file1":"1333231645","file0":"1333231456","file4":"1333232338","file5":"1333232344","file3":"1333232327"},"map_files_photo_id_array":[{"photo_id":"1333232344","filename":"file5"},{"photo_id":"1333231974","filename":"file2"},{"photo_id":"1333232338","filename":"file4"},{"photo_id":"1333231645","filename":"file1"},{"photo_id":"1333231456","filename":"file0"},{"photo_id":"1333232327","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333232344":["hashtag1","hashtag2"]},{"1333232338":["hashtag1","hashtag2"]},{"1333231645":["hashtag1","hashtag2"]},{"1333231456":["hashtag1","hashtag2"]},{"1333231974":["hashtag1","hashtag2"]},{"1333232327":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333232344, 1333232338, 1333231645, 1333231456, 1333231974, 1333232327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.58228135108948 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:52:32.723094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/47/image_31012025_07_48_07_10485.jpg', '/home/pi/Desktop/images/31012025/07/48/image_31012025_07_48_17_10411.jpg', '/home/pi/Desktop/images/31012025/07/48/image_31012025_07_48_27_9395.jpg', '/home/pi/Desktop/images/31012025/07/48/image_31012025_07_48_37_10450.jpg', '/home/pi/Desktop/images/31012025/07/48/image_31012025_07_48_46_9346.jpg', '/home/pi/Desktop/images/31012025/07/48/image_31012025_07_48_57_10482.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/47/image_31012025_07_48_07_10485.jpg
/home/pi/Desktop/images/31012025/07/48/image_31012025_07_48_17_10411.jpg
/home/pi/Desktop/images/31012025/07/48/image_31012025_07_48_27_9395.jpg
/home/pi/Desktop/images/31012025/07/48/image_31012025_07_48_37_10450.jpg
/home/pi/Desktop/images/31012025/07/48/image_31012025_07_48_46_9346.jpg
/home/pi/Desktop/images/31012025/07/48/image_31012025_07_48_57_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":["1333232394","1333232553","1333232604","1333232471","1333232587","1333232504"],"photo_ids_order":["1333232394","1333232471","1333232504","1333232553","1333232587","1333232604"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dffa0529b682f8637e0af6eb86df2386.jpg","text":"TemporaryFile(/tmp/multipartBody2495609801068738786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306413627,"filename":"image_31012025_07_48_07_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fd4f85b56efae5f52aa11372d00adcf5.jpg","text":"TemporaryFile(/tmp/multipartBody6704111677271016576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306413627,"filename":"image_31012025_07_48_37_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6ae3e753a3c88c956e1eccbc9c609c5f.jpg","text":"TemporaryFile(/tmp/multipartBody5751787954255762176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306413627,"filename":"image_31012025_07_48_57_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2c454db7a56a36c50471fb558985ddaf.jpg","text":"TemporaryFile(/tmp/multipartBody8034132182102718685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306413627,"filename":"image_31012025_07_48_17_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c9d2481abe19ac65382c21d6d8f00a9c.jpg","text":"TemporaryFile(/tmp/multipartBody8634094565744572012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306413627,"filename":"image_31012025_07_48_46_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6026622ed42b58941fcaa452ad154e08.jpg","text":"TemporaryFile(/tmp/multipartBody8977485452182325634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306413627,"filename":"image_31012025_07_48_27_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333232504","file1":"1333232471","file0":"1333232394","file4":"1333232587","file5":"1333232604","file3":"1333232553"},"map_files_photo_id_array":[{"photo_id":"1333232604","filename":"file5"},{"photo_id":"1333232504","filename":"file2"},{"photo_id":"1333232587","filename":"file4"},{"photo_id":"1333232471","filename":"file1"},{"photo_id":"1333232394","filename":"file0"},{"photo_id":"1333232553","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333232394":["hashtag1","hashtag2"]},{"1333232553":["hashtag1","hashtag2"]},{"1333232604":["hashtag1","hashtag2"]},{"1333232471":["hashtag1","hashtag2"]},{"1333232587":["hashtag1","hashtag2"]},{"1333232504":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333232394, 1333232553, 1333232604, 1333232471, 1333232587, 1333232504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.481226444244385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:53:32.980507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/48/image_31012025_07_49_07_10336.jpg', '/home/pi/Desktop/images/31012025/07/49/image_31012025_07_49_17_9337.jpg', '/home/pi/Desktop/images/31012025/07/49/image_31012025_07_49_27_10371.jpg', '/home/pi/Desktop/images/31012025/07/49/image_31012025_07_49_36_9405.jpg', '/home/pi/Desktop/images/31012025/07/49/image_31012025_07_49_47_10448.jpg', '/home/pi/Desktop/images/31012025/07/49/image_31012025_07_49_57_10391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/48/image_31012025_07_49_07_10336.jpg
/home/pi/Desktop/images/31012025/07/49/image_31012025_07_49_17_9337.jpg
/home/pi/Desktop/images/31012025/07/49/image_31012025_07_49_27_10371.jpg
/home/pi/Desktop/images/31012025/07/49/image_31012025_07_49_36_9405.jpg
/home/pi/Desktop/images/31012025/07/49/image_31012025_07_49_47_10448.jpg
/home/pi/Desktop/images/31012025/07/49/image_31012025_07_49_57_10391.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5200097560882568 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 07:53:43.008796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/48/image_31012025_07_49_07_10336.jpg', '/home/pi/Desktop/images/31012025/07/49/image_31012025_07_49_17_9337.jpg', '/home/pi/Desktop/images/31012025/07/49/image_31012025_07_49_27_10371.jpg', '/home/pi/Desktop/images/31012025/07/49/image_31012025_07_49_36_9405.jpg', '/home/pi/Desktop/images/31012025/07/49/image_31012025_07_49_47_10448.jpg', '/home/pi/Desktop/images/31012025/07/49/image_31012025_07_49_57_10391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/48/image_31012025_07_49_07_10336.jpg
/home/pi/Desktop/images/31012025/07/49/image_31012025_07_49_17_9337.jpg
/home/pi/Desktop/images/31012025/07/49/image_31012025_07_49_27_10371.jpg
/home/pi/Desktop/images/31012025/07/49/image_31012025_07_49_36_9405.jpg
/home/pi/Desktop/images/31012025/07/49/image_31012025_07_49_47_10448.jpg
/home/pi/Desktop/images/31012025/07/49/image_31012025_07_49_57_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":["1333233366","1333233273","1333233351","1333233197","1333233278","1333233265"],"photo_ids_order":["1333233197","1333233265","1333233273","1333233278","1333233351","1333233366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2ca35a991acaedc709df5e94b62a9d9c.jpg","text":"TemporaryFile(/tmp/multipartBody6015369600300513498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306483916,"filename":"image_31012025_07_49_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/1/31/398d8d52fbfb7a702a51e4df77b68fe3.jpg","text":"TemporaryFile(/tmp/multipartBody7843146443839914009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306483916,"filename":"image_31012025_07_49_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/1/31/0778b6b6e21407b9df8c479570899c86.jpg","text":"TemporaryFile(/tmp/multipartBody7697266898087410729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306483916,"filename":"image_31012025_07_49_47_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/461686ce8b17d350140ab8c45b4e7ccf.jpg","text":"TemporaryFile(/tmp/multipartBody2695047618786151680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306483916,"filename":"image_31012025_07_49_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/1/31/96a05c2385bcb415c3daa7d4eead1092.jpg","text":"TemporaryFile(/tmp/multipartBody7782534926570595662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306483916,"filename":"image_31012025_07_49_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/1/31/abdc75b750efbc181b204916dade583e.jpg","text":"TemporaryFile(/tmp/multipartBody1092663676921801926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306483916,"filename":"image_31012025_07_49_17_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333233273","file1":"1333233265","file0":"1333233197","file4":"1333233351","file5":"1333233366","file3":"1333233278"},"map_files_photo_id_array":[{"photo_id":"1333233366","filename":"file5"},{"photo_id":"1333233273","filename":"file2"},{"photo_id":"1333233351","filename":"file4"},{"photo_id":"1333233265","filename":"file1"},{"photo_id":"1333233197","filename":"file0"},{"photo_id":"1333233278","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333233366":["hashtag1","hashtag2"]},{"1333233273":["hashtag1","hashtag2"]},{"1333233351":["hashtag1","hashtag2"]},{"1333233197":["hashtag1","hashtag2"]},{"1333233278":["hashtag1","hashtag2"]},{"1333233265":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333233366, 1333233273, 1333233351, 1333233197, 1333233278, 1333233265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82410764694214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:54:32.415284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/49/image_31012025_07_50_07_9338.jpg', '/home/pi/Desktop/images/31012025/07/50/image_31012025_07_50_17_10329.jpg', '/home/pi/Desktop/images/31012025/07/50/image_31012025_07_50_27_10334.jpg', '/home/pi/Desktop/images/31012025/07/50/image_31012025_07_50_37_9344.jpg', '/home/pi/Desktop/images/31012025/07/50/image_31012025_07_50_47_10407.jpg', '/home/pi/Desktop/images/31012025/07/50/image_31012025_07_50_56_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/49/image_31012025_07_50_07_9338.jpg
/home/pi/Desktop/images/31012025/07/50/image_31012025_07_50_17_10329.jpg
/home/pi/Desktop/images/31012025/07/50/image_31012025_07_50_27_10334.jpg
/home/pi/Desktop/images/31012025/07/50/image_31012025_07_50_37_9344.jpg
/home/pi/Desktop/images/31012025/07/50/image_31012025_07_50_47_10407.jpg
/home/pi/Desktop/images/31012025/07/50/image_31012025_07_50_56_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":["1333233532","1333233519","1333233524","1333233527","1333233515","1333233535"],"photo_ids_order":["1333233515","1333233519","1333233524","1333233527","1333233532","1333233535"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ec597c6a8f4f1246d88028a4fca97864.jpg","text":"TemporaryFile(/tmp/multipartBody3483267226768675432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306533343,"filename":"image_31012025_07_50_47_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5b2778ecad7e07d09522fa61828ea51c.jpg","text":"TemporaryFile(/tmp/multipartBody4794265591462528648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306533343,"filename":"image_31012025_07_50_17_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/66a52f4ec52afa9b309575089d51db51.jpg","text":"TemporaryFile(/tmp/multipartBody2249223720295638992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306533343,"filename":"image_31012025_07_50_27_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f2067879ecde91e273893d70337c1562.jpg","text":"TemporaryFile(/tmp/multipartBody3912701963262016567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306533343,"filename":"image_31012025_07_50_37_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a847325924dfa057372271ce46b9309e.jpg","text":"TemporaryFile(/tmp/multipartBody4254730359489800830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306533343,"filename":"image_31012025_07_50_07_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/76d1bb02523850f3b0defb6621ac91e7.jpg","text":"TemporaryFile(/tmp/multipartBody1409569830720113838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306533343,"filename":"image_31012025_07_50_56_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333233524","file1":"1333233519","file0":"1333233515","file4":"1333233532","file5":"1333233535","file3":"1333233527"},"map_files_photo_id_array":[{"photo_id":"1333233535","filename":"file5"},{"photo_id":"1333233524","filename":"file2"},{"photo_id":"1333233532","filename":"file4"},{"photo_id":"1333233519","filename":"file1"},{"photo_id":"1333233515","filename":"file0"},{"photo_id":"1333233527","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333233532":["hashtag1","hashtag2"]},{"1333233519":["hashtag1","hashtag2"]},{"1333233524":["hashtag1","hashtag2"]},{"1333233527":["hashtag1","hashtag2"]},{"1333233515":["hashtag1","hashtag2"]},{"1333233535":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333233532, 1333233519, 1333233524, 1333233527, 1333233515, 1333233535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64507222175598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:55:32.710504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/50/image_31012025_07_51_07_10553.jpg', '/home/pi/Desktop/images/31012025/07/51/image_31012025_07_51_17_10343.jpg', '/home/pi/Desktop/images/31012025/07/51/image_31012025_07_51_37_10384.jpg', '/home/pi/Desktop/images/31012025/07/51/image_31012025_07_51_46_9387.jpg', '/home/pi/Desktop/images/31012025/07/51/image_31012025_07_51_57_10435.jpg', '/home/pi/Desktop/images/31012025/07/51/image_31012025_07_52_07_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/50/image_31012025_07_51_07_10553.jpg
/home/pi/Desktop/images/31012025/07/51/image_31012025_07_51_17_10343.jpg
/home/pi/Desktop/images/31012025/07/51/image_31012025_07_51_37_10384.jpg
/home/pi/Desktop/images/31012025/07/51/image_31012025_07_51_46_9387.jpg
/home/pi/Desktop/images/31012025/07/51/image_31012025_07_51_57_10435.jpg
/home/pi/Desktop/images/31012025/07/51/image_31012025_07_52_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":["1333233631","1333233657","1333233600","1333233614","1333233652","1333233649"],"photo_ids_order":["1333233600","1333233614","1333233631","1333233649","1333233652","1333233657"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bf5d2f37e63eb7010d959b0c9bfaf0a1.jpg","text":"TemporaryFile(/tmp/multipartBody3893701038287127546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306593619,"filename":"image_31012025_07_51_37_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/71849cc560680d0adb9004cb655b9ff6.jpg","text":"TemporaryFile(/tmp/multipartBody1339797932311107853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306593619,"filename":"image_31012025_07_52_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/1/31/aa91af2df08b60835182ee69dd668fb4.jpg","text":"TemporaryFile(/tmp/multipartBody5125682484654330039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306593619,"filename":"image_31012025_07_51_07_10553.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/983eb41f425d0b09c8c32798b978f5b2.jpg","text":"TemporaryFile(/tmp/multipartBody5613881430244132331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306593619,"filename":"image_31012025_07_51_17_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7d1fbb83a2b17ee88cd51cb7ae07cabf.jpg","text":"TemporaryFile(/tmp/multipartBody2855069839579696930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306593619,"filename":"image_31012025_07_51_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/1/31/5e028a5b161e4574b53dc1a9e8342363.jpg","text":"TemporaryFile(/tmp/multipartBody4834455616840307750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306593619,"filename":"image_31012025_07_51_46_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333233631","file1":"1333233614","file0":"1333233600","file4":"1333233652","file5":"1333233657","file3":"1333233649"},"map_files_photo_id_array":[{"photo_id":"1333233657","filename":"file5"},{"photo_id":"1333233631","filename":"file2"},{"photo_id":"1333233652","filename":"file4"},{"photo_id":"1333233614","filename":"file1"},{"photo_id":"1333233600","filename":"file0"},{"photo_id":"1333233649","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333233631":["hashtag1","hashtag2"]},{"1333233657":["hashtag1","hashtag2"]},{"1333233600":["hashtag1","hashtag2"]},{"1333233614":["hashtag1","hashtag2"]},{"1333233652":["hashtag1","hashtag2"]},{"1333233649":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333233631, 1333233657, 1333233600, 1333233614, 1333233652, 1333233649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15744757652283 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:56:32.714963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/52/image_31012025_07_52_16_9407.jpg', '/home/pi/Desktop/images/31012025/07/52/image_31012025_07_52_27_10351.jpg', '/home/pi/Desktop/images/31012025/07/52/image_31012025_07_52_37_10348.jpg', '/home/pi/Desktop/images/31012025/07/52/image_31012025_07_52_57_10378.jpg', '/home/pi/Desktop/images/31012025/07/52/image_31012025_07_53_06_9417.jpg', '/home/pi/Desktop/images/31012025/07/53/image_31012025_07_53_17_10407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/52/image_31012025_07_52_16_9407.jpg
/home/pi/Desktop/images/31012025/07/52/image_31012025_07_52_27_10351.jpg
/home/pi/Desktop/images/31012025/07/52/image_31012025_07_52_37_10348.jpg
/home/pi/Desktop/images/31012025/07/52/image_31012025_07_52_57_10378.jpg
/home/pi/Desktop/images/31012025/07/52/image_31012025_07_53_06_9417.jpg
/home/pi/Desktop/images/31012025/07/53/image_31012025_07_53_17_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":["1333233711","1333233698","1333233702","1333233692","1333233707","1333233673"],"photo_ids_order":["1333233673","1333233692","1333233698","1333233702","1333233707","1333233711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f267aa9117383e9c788395f634fb0dbe.jpg","text":"TemporaryFile(/tmp/multipartBody8868925068437382974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306653631,"filename":"image_31012025_07_53_17_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/889fbf1ba6709748f77537755ecc48ae.jpg","text":"TemporaryFile(/tmp/multipartBody6136905880891171771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306653631,"filename":"image_31012025_07_52_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/1/31/7cfb19935538951118bb9c861a725117.jpg","text":"TemporaryFile(/tmp/multipartBody1321678246027891627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306653631,"filename":"image_31012025_07_52_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/1/31/73a737c04d320fa2c2fccc1dabc9d980.jpg","text":"TemporaryFile(/tmp/multipartBody8068608200956895888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306653631,"filename":"image_31012025_07_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/1/31/030d12bc69bdf89694942b0ebfaec349.jpg","text":"TemporaryFile(/tmp/multipartBody3830142440558322667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306653631,"filename":"image_31012025_07_53_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/1/31/88faf26a8cc77e9c248c1159c9f14028.jpg","text":"TemporaryFile(/tmp/multipartBody2744451103538010619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306653631,"filename":"image_31012025_07_52_16_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333233698","file1":"1333233692","file0":"1333233673","file4":"1333233707","file5":"1333233711","file3":"1333233702"},"map_files_photo_id_array":[{"photo_id":"1333233711","filename":"file5"},{"photo_id":"1333233698","filename":"file2"},{"photo_id":"1333233707","filename":"file4"},{"photo_id":"1333233692","filename":"file1"},{"photo_id":"1333233673","filename":"file0"},{"photo_id":"1333233702","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333233711":["hashtag1","hashtag2"]},{"1333233698":["hashtag1","hashtag2"]},{"1333233702":["hashtag1","hashtag2"]},{"1333233692":["hashtag1","hashtag2"]},{"1333233707":["hashtag1","hashtag2"]},{"1333233673":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333233711, 1333233698, 1333233702, 1333233692, 1333233707, 1333233673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.967485427856445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:57:33.007952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/53/image_31012025_07_53_27_10355.jpg', '/home/pi/Desktop/images/31012025/07/53/image_31012025_07_53_47_10429.jpg', '/home/pi/Desktop/images/31012025/07/53/image_31012025_07_53_57_10345.jpg', '/home/pi/Desktop/images/31012025/07/54/image_31012025_07_54_17_10328.jpg', '/home/pi/Desktop/images/31012025/07/54/image_31012025_07_54_27_10364.jpg', '/home/pi/Desktop/images/31012025/07/54/image_31012025_07_54_47_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/53/image_31012025_07_53_27_10355.jpg
/home/pi/Desktop/images/31012025/07/53/image_31012025_07_53_47_10429.jpg
/home/pi/Desktop/images/31012025/07/53/image_31012025_07_53_57_10345.jpg
/home/pi/Desktop/images/31012025/07/54/image_31012025_07_54_17_10328.jpg
/home/pi/Desktop/images/31012025/07/54/image_31012025_07_54_27_10364.jpg
/home/pi/Desktop/images/31012025/07/54/image_31012025_07_54_47_10355.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 www.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-01-31 07:59:03.785852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/53/image_31012025_07_53_27_10355.jpg', '/home/pi/Desktop/images/31012025/07/53/image_31012025_07_53_47_10429.jpg', '/home/pi/Desktop/images/31012025/07/53/image_31012025_07_53_57_10345.jpg', '/home/pi/Desktop/images/31012025/07/54/image_31012025_07_54_17_10328.jpg', '/home/pi/Desktop/images/31012025/07/54/image_31012025_07_54_27_10364.jpg', '/home/pi/Desktop/images/31012025/07/54/image_31012025_07_54_47_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/53/image_31012025_07_53_27_10355.jpg
/home/pi/Desktop/images/31012025/07/53/image_31012025_07_53_47_10429.jpg
/home/pi/Desktop/images/31012025/07/53/image_31012025_07_53_57_10345.jpg
/home/pi/Desktop/images/31012025/07/54/image_31012025_07_54_17_10328.jpg
/home/pi/Desktop/images/31012025/07/54/image_31012025_07_54_27_10364.jpg
/home/pi/Desktop/images/31012025/07/54/image_31012025_07_54_47_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":["1333234095","1333234091","1333234085","1333234088","1333234100","1333234081"],"photo_ids_order":["1333234081","1333234085","1333234088","1333234091","1333234095","1333234100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d4a7d8f3b92a99165839f88cb510c40c.jpg","text":"TemporaryFile(/tmp/multipartBody6109612074683378543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306804791,"filename":"image_31012025_07_54_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/1/31/f8faa78233815c9c9873c1202bd68c17.jpg","text":"TemporaryFile(/tmp/multipartBody4210221737712726341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306804791,"filename":"image_31012025_07_54_17_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3f4ecdbcab5a03fde1cb689defe39c44.jpg","text":"TemporaryFile(/tmp/multipartBody5743262143603932244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306804791,"filename":"image_31012025_07_53_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/1/31/f643ce43b5f8ea568bf1089b331284ab.jpg","text":"TemporaryFile(/tmp/multipartBody4528474646697181519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306804791,"filename":"image_31012025_07_53_57_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/83c9e2f113ce91cf5e3c6d5faa7718ef.jpg","text":"TemporaryFile(/tmp/multipartBody113032617245231020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306804791,"filename":"image_31012025_07_54_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/1/31/172b3bce6402be63e933aeea10c2f971.jpg","text":"TemporaryFile(/tmp/multipartBody1592863173059518710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306804791,"filename":"image_31012025_07_53_27_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333234088","file1":"1333234085","file0":"1333234081","file4":"1333234095","file5":"1333234100","file3":"1333234091"},"map_files_photo_id_array":[{"photo_id":"1333234100","filename":"file5"},{"photo_id":"1333234088","filename":"file2"},{"photo_id":"1333234095","filename":"file4"},{"photo_id":"1333234085","filename":"file1"},{"photo_id":"1333234081","filename":"file0"},{"photo_id":"1333234091","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333234095":["hashtag1","hashtag2"]},{"1333234091":["hashtag1","hashtag2"]},{"1333234085":["hashtag1","hashtag2"]},{"1333234088":["hashtag1","hashtag2"]},{"1333234100":["hashtag1","hashtag2"]},{"1333234081":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333234095, 1333234091, 1333234085, 1333234088, 1333234100, 1333234081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.871440172195435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 07:59:52.406303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/54/image_31012025_07_54_56_9338.jpg', '/home/pi/Desktop/images/31012025/07/55/image_31012025_07_55_17_10360.jpg', '/home/pi/Desktop/images/31012025/07/55/image_31012025_07_55_27_9350.jpg', '/home/pi/Desktop/images/31012025/07/55/image_31012025_07_55_46_9407.jpg', '/home/pi/Desktop/images/31012025/07/55/image_31012025_07_56_07_10433.jpg', '/home/pi/Desktop/images/31012025/07/56/image_31012025_07_56_17_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/54/image_31012025_07_54_56_9338.jpg
/home/pi/Desktop/images/31012025/07/55/image_31012025_07_55_17_10360.jpg
/home/pi/Desktop/images/31012025/07/55/image_31012025_07_55_27_9350.jpg
/home/pi/Desktop/images/31012025/07/55/image_31012025_07_55_46_9407.jpg
/home/pi/Desktop/images/31012025/07/55/image_31012025_07_56_07_10433.jpg
/home/pi/Desktop/images/31012025/07/56/image_31012025_07_56_17_9339.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333234152","1333234155","1333234149","1333234145","1333234142","1333234120"],"photo_ids_order":["1333234120","1333234142","1333234145","1333234149","1333234152","1333234155"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ef73fd749a0ea51bc881140d58a10b0a.jpg","text":"TemporaryFile(/tmp/multipartBody5610668349140422733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306853330,"filename":"image_31012025_07_56_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/1/31/41d24aeafb4666bc80034f14a62b6f69.jpg","text":"TemporaryFile(/tmp/multipartBody8644296129322686305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306853330,"filename":"image_31012025_07_56_17_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5e75a06ad38f009fb4a1824edc0b0019.jpg","text":"TemporaryFile(/tmp/multipartBody8638663665799307971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306853330,"filename":"image_31012025_07_55_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/1/31/79116c847eb37be88e5a5cc3e0614c47.jpg","text":"TemporaryFile(/tmp/multipartBody2967466733518371892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306853330,"filename":"image_31012025_07_55_27_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/724ed1250e77fb1d9d5d3fde5e4f3aab.jpg","text":"TemporaryFile(/tmp/multipartBody5254397139807505889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306853330,"filename":"image_31012025_07_55_17_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6e712f0c07c054f19b76080507e0f912.jpg","text":"TemporaryFile(/tmp/multipartBody2964147161014889189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306853330,"filename":"image_31012025_07_54_56_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333234145","file1":"1333234142","file0":"1333234120","file4":"1333234152","file5":"1333234155","file3":"1333234149"},"map_files_photo_id_array":[{"photo_id":"1333234155","filename":"file5"},{"photo_id":"1333234145","filename":"file2"},{"photo_id":"1333234152","filename":"file4"},{"photo_id":"1333234142","filename":"file1"},{"photo_id":"1333234120","filename":"file0"},{"photo_id":"1333234149","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333234152":["hashtag1","hashtag2"]},{"1333234155":["hashtag1","hashtag2"]},{"1333234149":["hashtag1","hashtag2"]},{"1333234145":["hashtag1","hashtag2"]},{"1333234142":["hashtag1","hashtag2"]},{"1333234120":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333234152, 1333234155, 1333234149, 1333234145, 1333234142, 1333234120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.137455224990845 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 08:00:42.692249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/56/image_31012025_07_56_27_10413.jpg', '/home/pi/Desktop/images/31012025/07/56/image_31012025_07_56_36_9352.jpg', '/home/pi/Desktop/images/31012025/07/56/image_31012025_07_56_47_10461.jpg', '/home/pi/Desktop/images/31012025/07/57/image_31012025_07_57_17_10339.jpg', '/home/pi/Desktop/images/31012025/07/57/image_31012025_07_57_37_9337.jpg', '/home/pi/Desktop/images/31012025/07/57/image_31012025_07_57_47_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/56/image_31012025_07_56_27_10413.jpg
/home/pi/Desktop/images/31012025/07/56/image_31012025_07_56_36_9352.jpg
/home/pi/Desktop/images/31012025/07/56/image_31012025_07_56_47_10461.jpg
/home/pi/Desktop/images/31012025/07/57/image_31012025_07_57_17_10339.jpg
/home/pi/Desktop/images/31012025/07/57/image_31012025_07_57_37_9337.jpg
/home/pi/Desktop/images/31012025/07/57/image_31012025_07_57_47_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":["1333234194","1333234188","1333234209","1333234181","1333234204","1333234207"],"photo_ids_order":["1333234181","1333234188","1333234194","1333234204","1333234207","1333234209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b93adbf29bd4e0390d16c2e3c10aecac.jpg","text":"TemporaryFile(/tmp/multipartBody5810905563766820897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306903621,"filename":"image_31012025_07_56_47_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fad63a205674ad836ef16d1e4a4beee6.jpg","text":"TemporaryFile(/tmp/multipartBody7627621222697955147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306903621,"filename":"image_31012025_07_56_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/1/31/90bd6dda6feab688937c9d0117a79be1.jpg","text":"TemporaryFile(/tmp/multipartBody337964878646253374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306903621,"filename":"image_31012025_07_57_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/1/31/512a7c35d69a8464addaa5b63ffbaf65.jpg","text":"TemporaryFile(/tmp/multipartBody267534266535402309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306903621,"filename":"image_31012025_07_56_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/1/31/f7867505baeda0a1deb9715fb2518131.jpg","text":"TemporaryFile(/tmp/multipartBody3149830819614092949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306903621,"filename":"image_31012025_07_57_17_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ecb6b3b2bc519977593024a248a8a898.jpg","text":"TemporaryFile(/tmp/multipartBody3722767077313584759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306903621,"filename":"image_31012025_07_57_37_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333234194","file1":"1333234188","file0":"1333234181","file4":"1333234207","file5":"1333234209","file3":"1333234204"},"map_files_photo_id_array":[{"photo_id":"1333234209","filename":"file5"},{"photo_id":"1333234194","filename":"file2"},{"photo_id":"1333234207","filename":"file4"},{"photo_id":"1333234188","filename":"file1"},{"photo_id":"1333234181","filename":"file0"},{"photo_id":"1333234204","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333234194":["hashtag1","hashtag2"]},{"1333234188":["hashtag1","hashtag2"]},{"1333234209":["hashtag1","hashtag2"]},{"1333234181":["hashtag1","hashtag2"]},{"1333234204":["hashtag1","hashtag2"]},{"1333234207":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333234194, 1333234188, 1333234209, 1333234181, 1333234204, 1333234207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48589587211609 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:01:32.992165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/57/image_31012025_07_57_57_10349.jpg', '/home/pi/Desktop/images/31012025/07/57/image_31012025_07_58_07_9353.jpg', '/home/pi/Desktop/images/31012025/07/58/image_31012025_07_58_17_10352.jpg', '/home/pi/Desktop/images/31012025/07/58/image_31012025_07_58_26_9354.jpg', '/home/pi/Desktop/images/31012025/07/58/image_31012025_07_58_37_10342.jpg', '/home/pi/Desktop/images/31012025/07/58/image_31012025_07_58_47_10464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/57/image_31012025_07_57_57_10349.jpg
/home/pi/Desktop/images/31012025/07/57/image_31012025_07_58_07_9353.jpg
/home/pi/Desktop/images/31012025/07/58/image_31012025_07_58_17_10352.jpg
/home/pi/Desktop/images/31012025/07/58/image_31012025_07_58_26_9354.jpg
/home/pi/Desktop/images/31012025/07/58/image_31012025_07_58_37_10342.jpg
/home/pi/Desktop/images/31012025/07/58/image_31012025_07_58_47_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":["1333234293","1333234347","1333234277","1333234370","1333234288","1333234261"],"photo_ids_order":["1333234261","1333234277","1333234288","1333234293","1333234347","1333234370"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aec7bdc4b2f6bbc7a80fc4d21d895ca2.jpg","text":"TemporaryFile(/tmp/multipartBody1425375994914854612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306953906,"filename":"image_31012025_07_58_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/1/31/d310589be28fc1f50bbc82cf7fe9618e.jpg","text":"TemporaryFile(/tmp/multipartBody472470019461986865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306953906,"filename":"image_31012025_07_58_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/1/31/bfb6a9cfc7d890b34be5797250cc1334.jpg","text":"TemporaryFile(/tmp/multipartBody5876238820307083689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306953906,"filename":"image_31012025_07_58_07_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6535e3bf54b0785c6aa810a06cbd96a9.jpg","text":"TemporaryFile(/tmp/multipartBody5710027679457175533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306953906,"filename":"image_31012025_07_58_47_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7ae32163dc687a195497a20b0698a9f9.jpg","text":"TemporaryFile(/tmp/multipartBody6743289923387142529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306953906,"filename":"image_31012025_07_58_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/1/31/f913682c4a2441a0bc0a71f1ec2e5f68.jpg","text":"TemporaryFile(/tmp/multipartBody968903443411030751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738306953906,"filename":"image_31012025_07_57_57_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333234288","file1":"1333234277","file0":"1333234261","file4":"1333234347","file5":"1333234370","file3":"1333234293"},"map_files_photo_id_array":[{"photo_id":"1333234370","filename":"file5"},{"photo_id":"1333234288","filename":"file2"},{"photo_id":"1333234347","filename":"file4"},{"photo_id":"1333234277","filename":"file1"},{"photo_id":"1333234261","filename":"file0"},{"photo_id":"1333234293","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333234293":["hashtag1","hashtag2"]},{"1333234347":["hashtag1","hashtag2"]},{"1333234277":["hashtag1","hashtag2"]},{"1333234370":["hashtag1","hashtag2"]},{"1333234288":["hashtag1","hashtag2"]},{"1333234261":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333234293, 1333234347, 1333234277, 1333234370, 1333234288, 1333234261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90706777572632 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:02:33.011046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/58/image_31012025_07_58_56_9390.jpg', '/home/pi/Desktop/images/31012025/07/58/image_31012025_07_59_07_10416.jpg', '/home/pi/Desktop/images/31012025/07/59/image_31012025_07_59_16_9403.jpg', '/home/pi/Desktop/images/31012025/07/59/image_31012025_07_59_27_10477.jpg', '/home/pi/Desktop/images/31012025/07/59/image_31012025_07_59_37_10406.jpg', '/home/pi/Desktop/images/31012025/07/59/image_31012025_07_59_47_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/58/image_31012025_07_58_56_9390.jpg
/home/pi/Desktop/images/31012025/07/58/image_31012025_07_59_07_10416.jpg
/home/pi/Desktop/images/31012025/07/59/image_31012025_07_59_16_9403.jpg
/home/pi/Desktop/images/31012025/07/59/image_31012025_07_59_27_10477.jpg
/home/pi/Desktop/images/31012025/07/59/image_31012025_07_59_37_10406.jpg
/home/pi/Desktop/images/31012025/07/59/image_31012025_07_59_47_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":["1333234443","1333234440","1333234437","1333234424","1333234433","1333234429"],"photo_ids_order":["1333234424","1333234429","1333234433","1333234437","1333234440","1333234443"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8a6db9b0ea6f99fc6c4507ea22833c96.jpg","text":"TemporaryFile(/tmp/multipartBody5586452419806026200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307013943,"filename":"image_31012025_07_59_47_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/58cf0a07b28816f88232f9cf6be7cab2.jpg","text":"TemporaryFile(/tmp/multipartBody9095913124789425786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307013943,"filename":"image_31012025_07_59_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/1/31/44d4d8b9603d9ba1711e2c73daa5a78a.jpg","text":"TemporaryFile(/tmp/multipartBody7000189531254931237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307013943,"filename":"image_31012025_07_59_27_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/00ab83d0a2d269b282a767a4b5780b39.jpg","text":"TemporaryFile(/tmp/multipartBody8268655947899614790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307013943,"filename":"image_31012025_07_58_56_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b0985507cf6e8fef3b9e22dfa646fe59.jpg","text":"TemporaryFile(/tmp/multipartBody6563620133640590870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307013943,"filename":"image_31012025_07_59_16_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/668fe14d0a5bb80f23ff3df5ddd3d4c0.jpg","text":"TemporaryFile(/tmp/multipartBody3887125575083452624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307013943,"filename":"image_31012025_07_59_07_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333234433","file1":"1333234429","file0":"1333234424","file4":"1333234440","file5":"1333234443","file3":"1333234437"},"map_files_photo_id_array":[{"photo_id":"1333234443","filename":"file5"},{"photo_id":"1333234433","filename":"file2"},{"photo_id":"1333234440","filename":"file4"},{"photo_id":"1333234429","filename":"file1"},{"photo_id":"1333234424","filename":"file0"},{"photo_id":"1333234437","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333234443":["hashtag1","hashtag2"]},{"1333234440":["hashtag1","hashtag2"]},{"1333234437":["hashtag1","hashtag2"]},{"1333234424":["hashtag1","hashtag2"]},{"1333234433":["hashtag1","hashtag2"]},{"1333234429":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333234443, 1333234440, 1333234437, 1333234424, 1333234433, 1333234429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.520440340042114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:03:32.283541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/07/59/image_31012025_07_59_57_10362.jpg', '/home/pi/Desktop/images/31012025/08/01/image_31012025_08_01_14_10081.jpg', '/home/pi/Desktop/images/31012025/08/01/image_31012025_08_01_25_10454.jpg', '/home/pi/Desktop/images/31012025/08/01/image_31012025_08_01_35_10437.jpg', '/home/pi/Desktop/images/31012025/08/01/image_31012025_08_02_04_9373.jpg', '/home/pi/Desktop/images/31012025/08/02/image_31012025_08_02_15_10384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/07/59/image_31012025_07_59_57_10362.jpg
/home/pi/Desktop/images/31012025/08/01/image_31012025_08_01_14_10081.jpg
/home/pi/Desktop/images/31012025/08/01/image_31012025_08_01_25_10454.jpg
/home/pi/Desktop/images/31012025/08/01/image_31012025_08_01_35_10437.jpg
/home/pi/Desktop/images/31012025/08/01/image_31012025_08_02_04_9373.jpg
/home/pi/Desktop/images/31012025/08/02/image_31012025_08_02_15_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":["1333234530","1333234499","1333234546","1333234489","1333234549","1333234540"],"photo_ids_order":["1333234489","1333234499","1333234530","1333234540","1333234546","1333234549"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0e64edd481a5173aadb1e08fbdf1f0f0.jpg","text":"TemporaryFile(/tmp/multipartBody3812403880173792131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307073191,"filename":"image_31012025_08_01_25_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1d0dce30f68810dc9144880f9361ec57.jpg","text":"TemporaryFile(/tmp/multipartBody3094502709500851336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307073191,"filename":"image_31012025_08_01_14_10081.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aab374070d4177e49d7c6cb580599ad5.jpg","text":"TemporaryFile(/tmp/multipartBody135395292085129994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307073191,"filename":"image_31012025_08_02_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/1/31/e2bddbeda91cc4b599da4f901d13877b.jpg","text":"TemporaryFile(/tmp/multipartBody6379869463160998711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307073191,"filename":"image_31012025_07_59_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/1/31/c2a7f0f49cecefb0273e56c43d5bb4b7.jpg","text":"TemporaryFile(/tmp/multipartBody2029664230573418641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307073191,"filename":"image_31012025_08_02_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/1/31/4c95c4d2bdcfef4896e338e7797787e6.jpg","text":"TemporaryFile(/tmp/multipartBody5540385794834652784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307073191,"filename":"image_31012025_08_01_35_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333234530","file1":"1333234499","file0":"1333234489","file4":"1333234546","file5":"1333234549","file3":"1333234540"},"map_files_photo_id_array":[{"photo_id":"1333234549","filename":"file5"},{"photo_id":"1333234530","filename":"file2"},{"photo_id":"1333234546","filename":"file4"},{"photo_id":"1333234499","filename":"file1"},{"photo_id":"1333234489","filename":"file0"},{"photo_id":"1333234540","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333234530":["hashtag1","hashtag2"]},{"1333234499":["hashtag1","hashtag2"]},{"1333234546":["hashtag1","hashtag2"]},{"1333234489":["hashtag1","hashtag2"]},{"1333234549":["hashtag1","hashtag2"]},{"1333234540":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333234530, 1333234499, 1333234546, 1333234489, 1333234549, 1333234540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42379140853882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:04:32.678223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/02/image_31012025_08_02_25_10443.jpg', '/home/pi/Desktop/images/31012025/08/02/image_31012025_08_02_35_9335.jpg', '/home/pi/Desktop/images/31012025/08/02/image_31012025_08_02_45_10414.jpg', '/home/pi/Desktop/images/31012025/08/02/image_31012025_08_02_54_9395.jpg', '/home/pi/Desktop/images/31012025/08/02/image_31012025_08_03_05_10431.jpg', '/home/pi/Desktop/images/31012025/08/03/image_31012025_08_03_15_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/02/image_31012025_08_02_25_10443.jpg
/home/pi/Desktop/images/31012025/08/02/image_31012025_08_02_35_9335.jpg
/home/pi/Desktop/images/31012025/08/02/image_31012025_08_02_45_10414.jpg
/home/pi/Desktop/images/31012025/08/02/image_31012025_08_02_54_9395.jpg
/home/pi/Desktop/images/31012025/08/02/image_31012025_08_03_05_10431.jpg
/home/pi/Desktop/images/31012025/08/03/image_31012025_08_03_15_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333234590","1333234578","1333234571","1333234574","1333234582","1333234603"],"photo_ids_order":["1333234571","1333234574","1333234578","1333234582","1333234590","1333234603"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a101ed802ce5bf7313161f94171a7626.jpg","text":"TemporaryFile(/tmp/multipartBody5538742410774729279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307133586,"filename":"image_31012025_08_03_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/1/31/cefc83165acfde7fce1bc5b5fc522c0f.jpg","text":"TemporaryFile(/tmp/multipartBody2039027034094390201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307133586,"filename":"image_31012025_08_02_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/1/31/ea68dafb532f4c124b4d0b1496908cc5.jpg","text":"TemporaryFile(/tmp/multipartBody1118824387588011716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307133586,"filename":"image_31012025_08_02_25_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3189110b825f0245ae4966162049cb39.jpg","text":"TemporaryFile(/tmp/multipartBody1810063537483642219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307133586,"filename":"image_31012025_08_02_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/1/31/b41f1fd771025058fcf9772d08d397ea.jpg","text":"TemporaryFile(/tmp/multipartBody1270411628099862359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307133586,"filename":"image_31012025_08_02_54_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/15fb7bad084a9ef4a0eb325ff92ae542.jpg","text":"TemporaryFile(/tmp/multipartBody8377179180646543939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307133586,"filename":"image_31012025_08_03_15_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333234578","file1":"1333234574","file0":"1333234571","file4":"1333234590","file5":"1333234603","file3":"1333234582"},"map_files_photo_id_array":[{"photo_id":"1333234603","filename":"file5"},{"photo_id":"1333234578","filename":"file2"},{"photo_id":"1333234590","filename":"file4"},{"photo_id":"1333234574","filename":"file1"},{"photo_id":"1333234571","filename":"file0"},{"photo_id":"1333234582","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333234590":["hashtag1","hashtag2"]},{"1333234578":["hashtag1","hashtag2"]},{"1333234571":["hashtag1","hashtag2"]},{"1333234574":["hashtag1","hashtag2"]},{"1333234582":["hashtag1","hashtag2"]},{"1333234603":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333234590, 1333234578, 1333234571, 1333234574, 1333234582, 1333234603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16223454475403 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:05:33.106971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/03/image_31012025_08_03_25_9428.jpg', '/home/pi/Desktop/images/31012025/08/03/image_31012025_08_03_35_10409.jpg', '/home/pi/Desktop/images/31012025/08/03/image_31012025_08_03_44_9357.jpg', '/home/pi/Desktop/images/31012025/08/03/image_31012025_08_03_55_10475.jpg', '/home/pi/Desktop/images/31012025/08/03/image_31012025_08_04_05_10403.jpg', '/home/pi/Desktop/images/31012025/08/04/image_31012025_08_04_15_9439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/03/image_31012025_08_03_25_9428.jpg
/home/pi/Desktop/images/31012025/08/03/image_31012025_08_03_35_10409.jpg
/home/pi/Desktop/images/31012025/08/03/image_31012025_08_03_44_9357.jpg
/home/pi/Desktop/images/31012025/08/03/image_31012025_08_03_55_10475.jpg
/home/pi/Desktop/images/31012025/08/03/image_31012025_08_04_05_10403.jpg
/home/pi/Desktop/images/31012025/08/04/image_31012025_08_04_15_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.517772912979126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 08:05:43.173294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/03/image_31012025_08_03_25_9428.jpg', '/home/pi/Desktop/images/31012025/08/03/image_31012025_08_03_35_10409.jpg', '/home/pi/Desktop/images/31012025/08/03/image_31012025_08_03_44_9357.jpg', '/home/pi/Desktop/images/31012025/08/03/image_31012025_08_03_55_10475.jpg', '/home/pi/Desktop/images/31012025/08/03/image_31012025_08_04_05_10403.jpg', '/home/pi/Desktop/images/31012025/08/04/image_31012025_08_04_15_9439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/03/image_31012025_08_03_25_9428.jpg
/home/pi/Desktop/images/31012025/08/03/image_31012025_08_03_35_10409.jpg
/home/pi/Desktop/images/31012025/08/03/image_31012025_08_03_44_9357.jpg
/home/pi/Desktop/images/31012025/08/03/image_31012025_08_03_55_10475.jpg
/home/pi/Desktop/images/31012025/08/03/image_31012025_08_04_05_10403.jpg
/home/pi/Desktop/images/31012025/08/04/image_31012025_08_04_15_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":["1333234697","1333234766","1333234754","1333234672","1333234753","1333234747"],"photo_ids_order":["1333234672","1333234697","1333234747","1333234753","1333234754","1333234766"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9bb6e667a7e98d4cc842070cb6bd4c7d.jpg","text":"TemporaryFile(/tmp/multipartBody3327864460627928110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307204090,"filename":"image_31012025_08_03_35_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/23b5e5e6b3d8cc06d673a9c7d55f796d.jpg","text":"TemporaryFile(/tmp/multipartBody5109983230181609694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307204090,"filename":"image_31012025_08_04_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/1/31/79378c1a9bac1efdc153218d4ac9d795.jpg","text":"TemporaryFile(/tmp/multipartBody5087146971899698791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307204090,"filename":"image_31012025_08_04_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/1/31/d2aad7562f4038ae01440da6157fcb80.jpg","text":"TemporaryFile(/tmp/multipartBody4961688703497197133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307204090,"filename":"image_31012025_08_03_25_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/edcfc4a742e9eff2473e2942de9924c7.jpg","text":"TemporaryFile(/tmp/multipartBody6680239959790952433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307204090,"filename":"image_31012025_08_03_55_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a00d198b4c45a6a4d261bb13d7d1fa17.jpg","text":"TemporaryFile(/tmp/multipartBody2398879411713473148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307204090,"filename":"image_31012025_08_03_44_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333234747","file1":"1333234697","file0":"1333234672","file4":"1333234754","file5":"1333234766","file3":"1333234753"},"map_files_photo_id_array":[{"photo_id":"1333234766","filename":"file5"},{"photo_id":"1333234747","filename":"file2"},{"photo_id":"1333234754","filename":"file4"},{"photo_id":"1333234697","filename":"file1"},{"photo_id":"1333234672","filename":"file0"},{"photo_id":"1333234753","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333234697":["hashtag1","hashtag2"]},{"1333234766":["hashtag1","hashtag2"]},{"1333234754":["hashtag1","hashtag2"]},{"1333234672":["hashtag1","hashtag2"]},{"1333234753":["hashtag1","hashtag2"]},{"1333234747":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333234697, 1333234766, 1333234754, 1333234672, 1333234753, 1333234747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.503180742263794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:06:32.362295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/04/image_31012025_08_04_25_10361.jpg', '/home/pi/Desktop/images/31012025/08/04/image_31012025_08_04_34_9332.jpg', '/home/pi/Desktop/images/31012025/08/04/image_31012025_08_04_45_10398.jpg', '/home/pi/Desktop/images/31012025/08/04/image_31012025_08_04_55_10356.jpg', '/home/pi/Desktop/images/31012025/08/04/image_31012025_08_05_05_9418.jpg', '/home/pi/Desktop/images/31012025/08/05/image_31012025_08_05_35_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/04/image_31012025_08_04_25_10361.jpg
/home/pi/Desktop/images/31012025/08/04/image_31012025_08_04_34_9332.jpg
/home/pi/Desktop/images/31012025/08/04/image_31012025_08_04_45_10398.jpg
/home/pi/Desktop/images/31012025/08/04/image_31012025_08_04_55_10356.jpg
/home/pi/Desktop/images/31012025/08/04/image_31012025_08_05_05_9418.jpg
/home/pi/Desktop/images/31012025/08/05/image_31012025_08_05_35_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":["1333235025","1333235019","1333235074","1333235077","1333234981","1333235076"],"photo_ids_order":["1333234981","1333235019","1333235025","1333235074","1333235076","1333235077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/47eec0e7990d6063871fb753e7a26610.jpg","text":"TemporaryFile(/tmp/multipartBody5685028586157268965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307253273,"filename":"image_31012025_08_04_45_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7132cbe2fdfee25c089724429b875638.jpg","text":"TemporaryFile(/tmp/multipartBody6700483832820033868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307253273,"filename":"image_31012025_08_04_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/1/31/127d95b3b6cf050fcc50e5b01f5cd796.jpg","text":"TemporaryFile(/tmp/multipartBody430907922565275708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307253273,"filename":"image_31012025_08_04_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/1/31/f6432cda2057b9cc2940fcf3e6751956.jpg","text":"TemporaryFile(/tmp/multipartBody5543519315296217332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307253273,"filename":"image_31012025_08_05_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/1/31/76e4bcc1c8c6442d2d758e661d7b914f.jpg","text":"TemporaryFile(/tmp/multipartBody4829665265994766367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307253273,"filename":"image_31012025_08_04_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/1/31/7139bd7c4cc74490b90f56d175a8e3ef.jpg","text":"TemporaryFile(/tmp/multipartBody6274573899311422770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307253273,"filename":"image_31012025_08_05_05_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333235025","file1":"1333235019","file0":"1333234981","file4":"1333235076","file5":"1333235077","file3":"1333235074"},"map_files_photo_id_array":[{"photo_id":"1333235077","filename":"file5"},{"photo_id":"1333235025","filename":"file2"},{"photo_id":"1333235076","filename":"file4"},{"photo_id":"1333235019","filename":"file1"},{"photo_id":"1333234981","filename":"file0"},{"photo_id":"1333235074","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333235025":["hashtag1","hashtag2"]},{"1333235019":["hashtag1","hashtag2"]},{"1333235074":["hashtag1","hashtag2"]},{"1333235077":["hashtag1","hashtag2"]},{"1333234981":["hashtag1","hashtag2"]},{"1333235076":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333235025, 1333235019, 1333235074, 1333235077, 1333234981, 1333235076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.903942823410034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:07:32.604987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/05/image_31012025_08_05_45_10358.jpg', '/home/pi/Desktop/images/31012025/08/05/image_31012025_08_05_55_9347.jpg', '/home/pi/Desktop/images/31012025/08/05/image_31012025_08_06_05_10361.jpg', '/home/pi/Desktop/images/31012025/08/06/image_31012025_08_06_25_10425.jpg', '/home/pi/Desktop/images/31012025/08/06/image_31012025_08_06_35_10358.jpg', '/home/pi/Desktop/images/31012025/08/06/image_31012025_08_06_44_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/05/image_31012025_08_05_45_10358.jpg
/home/pi/Desktop/images/31012025/08/05/image_31012025_08_05_55_9347.jpg
/home/pi/Desktop/images/31012025/08/05/image_31012025_08_06_05_10361.jpg
/home/pi/Desktop/images/31012025/08/06/image_31012025_08_06_25_10425.jpg
/home/pi/Desktop/images/31012025/08/06/image_31012025_08_06_35_10358.jpg
/home/pi/Desktop/images/31012025/08/06/image_31012025_08_06_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":["1333235112","1333235115","1333235106","1333235102","1333235122","1333235119"],"photo_ids_order":["1333235102","1333235106","1333235112","1333235115","1333235119","1333235122"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/494115e4ea5922dd6f3b25d931e6f58c.jpg","text":"TemporaryFile(/tmp/multipartBody7938746800685007807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307313519,"filename":"image_31012025_08_06_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/1/31/f883db86941b0d753a6d18e5d21ed600.jpg","text":"TemporaryFile(/tmp/multipartBody4656613446196202972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307313519,"filename":"image_31012025_08_06_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/1/31/749460f2326a84f71bb6b5e4d84713c5.jpg","text":"TemporaryFile(/tmp/multipartBody1348470185296728560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307313519,"filename":"image_31012025_08_05_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/1/31/ab5793c27e947316ec2f2d8db1b7a28a.jpg","text":"TemporaryFile(/tmp/multipartBody2730296571271622084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307313519,"filename":"image_31012025_08_05_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/1/31/36575377925def2d9007c159fad1a94a.jpg","text":"TemporaryFile(/tmp/multipartBody8750864832146105163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307313519,"filename":"image_31012025_08_06_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/1/31/67f0817d11ae0d20af7c0ced47ddd8ac.jpg","text":"TemporaryFile(/tmp/multipartBody8459286060636730973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307313519,"filename":"image_31012025_08_06_35_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333235112","file1":"1333235106","file0":"1333235102","file4":"1333235119","file5":"1333235122","file3":"1333235115"},"map_files_photo_id_array":[{"photo_id":"1333235122","filename":"file5"},{"photo_id":"1333235112","filename":"file2"},{"photo_id":"1333235119","filename":"file4"},{"photo_id":"1333235106","filename":"file1"},{"photo_id":"1333235102","filename":"file0"},{"photo_id":"1333235115","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333235112":["hashtag1","hashtag2"]},{"1333235115":["hashtag1","hashtag2"]},{"1333235106":["hashtag1","hashtag2"]},{"1333235102":["hashtag1","hashtag2"]},{"1333235122":["hashtag1","hashtag2"]},{"1333235119":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333235112, 1333235115, 1333235106, 1333235102, 1333235122, 1333235119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73217439651489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:08:34.668703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/06/image_31012025_08_06_55_10453.jpg', '/home/pi/Desktop/images/31012025/08/06/image_31012025_08_07_05_10350.jpg', '/home/pi/Desktop/images/31012025/08/07/image_31012025_08_07_15_9514.jpg', '/home/pi/Desktop/images/31012025/08/07/image_31012025_08_07_25_10428.jpg', '/home/pi/Desktop/images/31012025/08/07/image_31012025_08_07_35_9423.jpg', '/home/pi/Desktop/images/31012025/08/07/image_31012025_08_07_45_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/06/image_31012025_08_06_55_10453.jpg
/home/pi/Desktop/images/31012025/08/06/image_31012025_08_07_05_10350.jpg
/home/pi/Desktop/images/31012025/08/07/image_31012025_08_07_15_9514.jpg
/home/pi/Desktop/images/31012025/08/07/image_31012025_08_07_25_10428.jpg
/home/pi/Desktop/images/31012025/08/07/image_31012025_08_07_35_9423.jpg
/home/pi/Desktop/images/31012025/08/07/image_31012025_08_07_45_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":["1333236461","1333236356","1333236368","1333236454","1333236457","1333236345"],"photo_ids_order":["1333236345","1333236356","1333236368","1333236454","1333236457","1333236461"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/91274e70f83b8bf899d4d82d2cd1c6a0.jpg","text":"TemporaryFile(/tmp/multipartBody3805190607751488381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307375582,"filename":"image_31012025_08_07_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/1/31/4451a0255e629fbe17b4d94f0771c0b5.jpg","text":"TemporaryFile(/tmp/multipartBody2807811640718763399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307375582,"filename":"image_31012025_08_07_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/1/31/8e724e1a612662133fac07febe91575e.jpg","text":"TemporaryFile(/tmp/multipartBody4840520176310268852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307375582,"filename":"image_31012025_08_07_15_9514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d0771a22cc7bc2970f18f2ce08e98a4a.jpg","text":"TemporaryFile(/tmp/multipartBody6600358336546496639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307375582,"filename":"image_31012025_08_07_25_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1c4430bddc693645ee32392bafb0d136.jpg","text":"TemporaryFile(/tmp/multipartBody4688305412744257839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307375582,"filename":"image_31012025_08_07_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/1/31/30d66556e35b184335836eaa98227dcc.jpg","text":"TemporaryFile(/tmp/multipartBody3095993062770788186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307375582,"filename":"image_31012025_08_06_55_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333236368","file1":"1333236356","file0":"1333236345","file4":"1333236457","file5":"1333236461","file3":"1333236454"},"map_files_photo_id_array":[{"photo_id":"1333236461","filename":"file5"},{"photo_id":"1333236368","filename":"file2"},{"photo_id":"1333236457","filename":"file4"},{"photo_id":"1333236356","filename":"file1"},{"photo_id":"1333236345","filename":"file0"},{"photo_id":"1333236454","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333236461":["hashtag1","hashtag2"]},{"1333236356":["hashtag1","hashtag2"]},{"1333236368":["hashtag1","hashtag2"]},{"1333236454":["hashtag1","hashtag2"]},{"1333236457":["hashtag1","hashtag2"]},{"1333236345":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333236461, 1333236356, 1333236368, 1333236454, 1333236457, 1333236345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.06948685646057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:09:32.947032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/07/image_31012025_08_07_54_9345.jpg', '/home/pi/Desktop/images/31012025/08/07/image_31012025_08_08_05_10468.jpg', '/home/pi/Desktop/images/31012025/08/08/image_31012025_08_08_15_10352.jpg', '/home/pi/Desktop/images/31012025/08/08/image_31012025_08_08_25_9334.jpg', '/home/pi/Desktop/images/31012025/08/08/image_31012025_08_08_35_10361.jpg', '/home/pi/Desktop/images/31012025/08/08/image_31012025_08_08_55_9487.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/07/image_31012025_08_07_54_9345.jpg
/home/pi/Desktop/images/31012025/08/07/image_31012025_08_08_05_10468.jpg
/home/pi/Desktop/images/31012025/08/08/image_31012025_08_08_15_10352.jpg
/home/pi/Desktop/images/31012025/08/08/image_31012025_08_08_25_9334.jpg
/home/pi/Desktop/images/31012025/08/08/image_31012025_08_08_35_10361.jpg
/home/pi/Desktop/images/31012025/08/08/image_31012025_08_08_55_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":["1333236506","1333236667","1333236495","1333236651","1333236501","1333236510"],"photo_ids_order":["1333236495","1333236501","1333236506","1333236510","1333236651","1333236667"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d3a924e12c3f7f445007055e6165ba00.jpg","text":"TemporaryFile(/tmp/multipartBody5883705747438066089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307433860,"filename":"image_31012025_08_08_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/1/31/a8161339fedcbf09bbc1268d76ad009c.jpg","text":"TemporaryFile(/tmp/multipartBody8698351409509588040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307433860,"filename":"image_31012025_08_08_55_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b59a75029432ec427be53693052c5f1d.jpg","text":"TemporaryFile(/tmp/multipartBody4612758817448814538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307433860,"filename":"image_31012025_08_07_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/1/31/5e4a385db425129c91e19e6c0c1d04be.jpg","text":"TemporaryFile(/tmp/multipartBody6535015229878254929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307433860,"filename":"image_31012025_08_08_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/1/31/db0239265b534384b849d1275b607ffd.jpg","text":"TemporaryFile(/tmp/multipartBody6278556124483593503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307433860,"filename":"image_31012025_08_08_05_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8016147187d9540b4e522d667970c7b2.jpg","text":"TemporaryFile(/tmp/multipartBody3793526879078995643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307433860,"filename":"image_31012025_08_08_25_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333236506","file1":"1333236501","file0":"1333236495","file4":"1333236651","file5":"1333236667","file3":"1333236510"},"map_files_photo_id_array":[{"photo_id":"1333236667","filename":"file5"},{"photo_id":"1333236506","filename":"file2"},{"photo_id":"1333236651","filename":"file4"},{"photo_id":"1333236501","filename":"file1"},{"photo_id":"1333236495","filename":"file0"},{"photo_id":"1333236510","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333236506":["hashtag1","hashtag2"]},{"1333236667":["hashtag1","hashtag2"]},{"1333236495":["hashtag1","hashtag2"]},{"1333236651":["hashtag1","hashtag2"]},{"1333236501":["hashtag1","hashtag2"]},{"1333236510":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333236506, 1333236667, 1333236495, 1333236651, 1333236501, 1333236510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45724368095398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:10:33.071144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/08/image_31012025_08_09_05_10349.jpg', '/home/pi/Desktop/images/31012025/08/09/image_31012025_08_09_35_10364.jpg', '/home/pi/Desktop/images/31012025/08/09/image_31012025_08_09_45_9487.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/08/image_31012025_08_09_05_10349.jpg
/home/pi/Desktop/images/31012025/08/09/image_31012025_08_09_35_10364.jpg
/home/pi/Desktop/images/31012025/08/09/image_31012025_08_09_45_9487.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":["1333237232","1333237227","1333237236"],"photo_ids_order":["1333237227","1333237232","1333237236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d050300c386ae16a0d2c67ddee1c3d77.jpg","text":"TemporaryFile(/tmp/multipartBody3920785921304005323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307493933,"filename":"image_31012025_08_09_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/1/31/b94b7012c957eea9a240eecaad9ae2b9.jpg","text":"TemporaryFile(/tmp/multipartBody3273227736844690683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307493933,"filename":"image_31012025_08_09_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/1/31/593487bd062e76a7c6a4327bb98c0d1b.jpg","text":"TemporaryFile(/tmp/multipartBody8404094398623896949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307493933,"filename":"image_31012025_08_09_45_9487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333237236","file1":"1333237232","file0":"1333237227"},"map_files_photo_id_array":[{"photo_id":"1333237236","filename":"file2"},{"photo_id":"1333237232","filename":"file1"},{"photo_id":"1333237227","filename":"file0"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333237232":["hashtag1","hashtag2"]},{"1333237227":["hashtag1","hashtag2"]},{"1333237236":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333237232, 1333237227, 1333237236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.7808735370636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 08:11:03.946591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/18/image_28012025_22_18_45_10347.jpg', '/home/pi/Desktop/images/28012025/22/18/image_28012025_22_18_55_10372.jpg', '/home/pi/Desktop/images/28012025/22/18/image_28012025_22_19_04_9402.jpg', '/home/pi/Desktop/images/28012025/22/19/image_28012025_22_19_15_10386.jpg', '/home/pi/Desktop/images/28012025/22/19/image_28012025_22_19_24_9479.jpg', '/home/pi/Desktop/images/28012025/22/19/image_28012025_22_19_35_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/18/image_28012025_22_18_45_10347.jpg
/home/pi/Desktop/images/28012025/22/18/image_28012025_22_18_55_10372.jpg
/home/pi/Desktop/images/28012025/22/18/image_28012025_22_19_04_9402.jpg
/home/pi/Desktop/images/28012025/22/19/image_28012025_22_19_15_10386.jpg
/home/pi/Desktop/images/28012025/22/19/image_28012025_22_19_24_9479.jpg
/home/pi/Desktop/images/28012025/22/19/image_28012025_22_19_35_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.4270596504211426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:11:32.270754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/09/image_31012025_08_09_55_10335.jpg', '/home/pi/Desktop/images/31012025/08/11/image_31012025_08_11_24_9348.jpg', '/home/pi/Desktop/images/31012025/08/11/image_31012025_08_11_35_10465.jpg', '/home/pi/Desktop/images/31012025/08/11/image_31012025_08_11_45_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/09/image_31012025_08_09_55_10335.jpg
/home/pi/Desktop/images/31012025/08/11/image_31012025_08_11_24_9348.jpg
/home/pi/Desktop/images/31012025/08/11/image_31012025_08_11_35_10465.jpg
/home/pi/Desktop/images/31012025/08/11/image_31012025_08_11_45_10415.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":["1333237505","1333237495","1333237501","1333237509"],"photo_ids_order":["1333237495","1333237501","1333237505","1333237509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e8497c690ef6e7e052a97e1ae6ba3488.jpg","text":"TemporaryFile(/tmp/multipartBody5753280273770971272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307553144,"filename":"image_31012025_08_11_35_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a54a4aa3a8e376d49a0f44b7a261b023.jpg","text":"TemporaryFile(/tmp/multipartBody8667690193244144016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307553144,"filename":"image_31012025_08_09_55_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4e28dada6817aace806eda1540a9e597.jpg","text":"TemporaryFile(/tmp/multipartBody8819276589955861225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307553144,"filename":"image_31012025_08_11_24_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/13b8fb218b7d3bcff3bd8665f6d61321.jpg","text":"TemporaryFile(/tmp/multipartBody7345312929249625506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307553144,"filename":"image_31012025_08_11_45_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333237505","file1":"1333237501","file0":"1333237495","file3":"1333237509"},"map_files_photo_id_array":[{"photo_id":"1333237505","filename":"file2"},{"photo_id":"1333237501","filename":"file1"},{"photo_id":"1333237495","filename":"file0"},{"photo_id":"1333237509","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333237505":["hashtag1","hashtag2"]},{"1333237495":["hashtag1","hashtag2"]},{"1333237501":["hashtag1","hashtag2"]},{"1333237509":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333237505, 1333237495, 1333237501, 1333237509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.042482614517212 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 08:12:03.354332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/18/image_28012025_22_18_45_10347.jpg', '/home/pi/Desktop/images/28012025/22/18/image_28012025_22_18_55_10372.jpg', '/home/pi/Desktop/images/28012025/22/18/image_28012025_22_19_04_9402.jpg', '/home/pi/Desktop/images/28012025/22/19/image_28012025_22_19_15_10386.jpg', '/home/pi/Desktop/images/28012025/22/19/image_28012025_22_19_24_9479.jpg', '/home/pi/Desktop/images/28012025/22/19/image_28012025_22_19_35_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/18/image_28012025_22_18_45_10347.jpg
/home/pi/Desktop/images/28012025/22/18/image_28012025_22_18_55_10372.jpg
/home/pi/Desktop/images/28012025/22/18/image_28012025_22_19_04_9402.jpg
/home/pi/Desktop/images/28012025/22/19/image_28012025_22_19_15_10386.jpg
/home/pi/Desktop/images/28012025/22/19/image_28012025_22_19_24_9479.jpg
/home/pi/Desktop/images/28012025/22/19/image_28012025_22_19_35_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":["1333237601","1333237597","1333237590","1333237605","1333237595","1333237577"],"photo_ids_order":["1333237577","1333237590","1333237595","1333237597","1333237601","1333237605"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9a9eb2506abc7df769cd380c8d6c4b87.jpg","text":"TemporaryFile(/tmp/multipartBody7398510856439648898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307584857,"filename":"image_28012025_22_19_24_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/12914954c32e29c2f15e169aa83aba9f.jpg","text":"TemporaryFile(/tmp/multipartBody5003719229680490016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307584857,"filename":"image_28012025_22_19_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/1/31/5030a7d7f027b4b4d7802bdf3c9dca17.jpg","text":"TemporaryFile(/tmp/multipartBody7818130447271630350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307584857,"filename":"image_28012025_22_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/1/31/3fec8f109aa656412e451e8ba0c85856.jpg","text":"TemporaryFile(/tmp/multipartBody629298599986899029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307584857,"filename":"image_28012025_22_19_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/1/31/d557116dc6d756cc2dc8d4fb2e4b5f70.jpg","text":"TemporaryFile(/tmp/multipartBody4905347237791336523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307584857,"filename":"image_28012025_22_19_04_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e98898e5ac65523fab59575da56b3789.jpg","text":"TemporaryFile(/tmp/multipartBody1362230076736583219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307584857,"filename":"image_28012025_22_18_45_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333237595","file1":"1333237590","file0":"1333237577","file4":"1333237601","file5":"1333237605","file3":"1333237597"},"map_files_photo_id_array":[{"photo_id":"1333237605","filename":"file5"},{"photo_id":"1333237595","filename":"file2"},{"photo_id":"1333237601","filename":"file4"},{"photo_id":"1333237590","filename":"file1"},{"photo_id":"1333237577","filename":"file0"},{"photo_id":"1333237597","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333237601":["hashtag1","hashtag2"]},{"1333237597":["hashtag1","hashtag2"]},{"1333237590":["hashtag1","hashtag2"]},{"1333237605":["hashtag1","hashtag2"]},{"1333237595":["hashtag1","hashtag2"]},{"1333237577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333237601, 1333237597, 1333237590, 1333237605, 1333237595, 1333237577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98603653907776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:12:52.636912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/11/image_31012025_08_11_55_9396.jpg', '/home/pi/Desktop/images/31012025/08/11/image_31012025_08_12_05_10354.jpg', '/home/pi/Desktop/images/31012025/08/12/image_31012025_08_12_25_10453.jpg', '/home/pi/Desktop/images/31012025/08/12/image_31012025_08_12_35_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/11/image_31012025_08_11_55_9396.jpg
/home/pi/Desktop/images/31012025/08/11/image_31012025_08_12_05_10354.jpg
/home/pi/Desktop/images/31012025/08/12/image_31012025_08_12_25_10453.jpg
/home/pi/Desktop/images/31012025/08/12/image_31012025_08_12_35_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5006988048553467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 08:13:04.416496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/11/image_31012025_08_11_55_9396.jpg', '/home/pi/Desktop/images/31012025/08/11/image_31012025_08_12_05_10354.jpg', '/home/pi/Desktop/images/31012025/08/12/image_31012025_08_12_25_10453.jpg', '/home/pi/Desktop/images/31012025/08/12/image_31012025_08_12_35_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/11/image_31012025_08_11_55_9396.jpg
/home/pi/Desktop/images/31012025/08/11/image_31012025_08_12_05_10354.jpg
/home/pi/Desktop/images/31012025/08/12/image_31012025_08_12_25_10453.jpg
/home/pi/Desktop/images/31012025/08/12/image_31012025_08_12_35_10350.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333237681","1333237671","1333237668","1333237676"],"photo_ids_order":["1333237668","1333237671","1333237676","1333237681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3c675eeecb7ce88bf75e1c38746eebee.jpg","text":"TemporaryFile(/tmp/multipartBody1013933525919330081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307645391,"filename":"image_31012025_08_12_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/1/31/87bfd1e7f7820454e201fa6eb3ad9d1e.jpg","text":"TemporaryFile(/tmp/multipartBody5460721366217964850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307645391,"filename":"image_31012025_08_12_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/1/31/47796a02af0b151e862b35328b45276e.jpg","text":"TemporaryFile(/tmp/multipartBody3046312236504915233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307645391,"filename":"image_31012025_08_11_55_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b7cb410f4c9ff82f0d9baa7bbd9263fc.jpg","text":"TemporaryFile(/tmp/multipartBody2745418014846503636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307645391,"filename":"image_31012025_08_12_25_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333237676","file1":"1333237671","file0":"1333237668","file3":"1333237681"},"map_files_photo_id_array":[{"photo_id":"1333237676","filename":"file2"},{"photo_id":"1333237671","filename":"file1"},{"photo_id":"1333237668","filename":"file0"},{"photo_id":"1333237681","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333237681":["hashtag1","hashtag2"]},{"1333237671":["hashtag1","hashtag2"]},{"1333237668":["hashtag1","hashtag2"]},{"1333237676":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333237681, 1333237671, 1333237668, 1333237676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.89701271057129 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 08:13:42.801187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/12/image_31012025_08_12_55_10433.jpg', '/home/pi/Desktop/images/31012025/08/12/image_31012025_08_13_04_9322.jpg', '/home/pi/Desktop/images/31012025/08/13/image_31012025_08_13_15_10417.jpg', '/home/pi/Desktop/images/31012025/08/13/image_31012025_08_13_25_10394.jpg', '/home/pi/Desktop/images/31012025/08/13/image_31012025_08_13_34_9360.jpg', '/home/pi/Desktop/images/31012025/08/13/image_31012025_08_13_45_10444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/12/image_31012025_08_12_55_10433.jpg
/home/pi/Desktop/images/31012025/08/12/image_31012025_08_13_04_9322.jpg
/home/pi/Desktop/images/31012025/08/13/image_31012025_08_13_15_10417.jpg
/home/pi/Desktop/images/31012025/08/13/image_31012025_08_13_25_10394.jpg
/home/pi/Desktop/images/31012025/08/13/image_31012025_08_13_34_9360.jpg
/home/pi/Desktop/images/31012025/08/13/image_31012025_08_13_45_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":["1333237721","1333237717","1333237728","1333237725","1333237710","1333237704"],"photo_ids_order":["1333237704","1333237710","1333237717","1333237721","1333237725","1333237728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ca40573e0e17ca7f5b844877c5a07a0c.jpg","text":"TemporaryFile(/tmp/multipartBody2254358748470997200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307683707,"filename":"image_31012025_08_13_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/1/31/2bf5ef9c9173e20568e250f229e0e0ea.jpg","text":"TemporaryFile(/tmp/multipartBody4637059903947595070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307683707,"filename":"image_31012025_08_13_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/1/31/09a56e917e38b06cc89f4901069ee2c7.jpg","text":"TemporaryFile(/tmp/multipartBody4558909757284469211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307683707,"filename":"image_31012025_08_13_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/1/31/4004bc7295196cba37b0f94666942b36.jpg","text":"TemporaryFile(/tmp/multipartBody8372274500372714729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307683707,"filename":"image_31012025_08_13_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/1/31/6f01f3e9132ee9214c498973c243514c.jpg","text":"TemporaryFile(/tmp/multipartBody2731770753444463921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307683707,"filename":"image_31012025_08_13_04_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/52affe6ea16c418e03e9f42064c8ae44.jpg","text":"TemporaryFile(/tmp/multipartBody7803806675240841544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307683707,"filename":"image_31012025_08_12_55_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333237717","file1":"1333237710","file0":"1333237704","file4":"1333237725","file5":"1333237728","file3":"1333237721"},"map_files_photo_id_array":[{"photo_id":"1333237728","filename":"file5"},{"photo_id":"1333237717","filename":"file2"},{"photo_id":"1333237725","filename":"file4"},{"photo_id":"1333237710","filename":"file1"},{"photo_id":"1333237704","filename":"file0"},{"photo_id":"1333237721","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333237721":["hashtag1","hashtag2"]},{"1333237717":["hashtag1","hashtag2"]},{"1333237728":["hashtag1","hashtag2"]},{"1333237725":["hashtag1","hashtag2"]},{"1333237710":["hashtag1","hashtag2"]},{"1333237704":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333237721, 1333237717, 1333237728, 1333237725, 1333237710, 1333237704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56739640235901 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:14:33.036553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/13/image_31012025_08_13_55_10344.jpg', '/home/pi/Desktop/images/31012025/08/13/image_31012025_08_14_05_9349.jpg', '/home/pi/Desktop/images/31012025/08/14/image_31012025_08_14_15_10459.jpg', '/home/pi/Desktop/images/31012025/08/14/image_31012025_08_14_24_9357.jpg', '/home/pi/Desktop/images/31012025/08/14/image_31012025_08_14_35_10375.jpg', '/home/pi/Desktop/images/31012025/08/14/image_31012025_08_14_45_10422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/13/image_31012025_08_13_55_10344.jpg
/home/pi/Desktop/images/31012025/08/13/image_31012025_08_14_05_9349.jpg
/home/pi/Desktop/images/31012025/08/14/image_31012025_08_14_15_10459.jpg
/home/pi/Desktop/images/31012025/08/14/image_31012025_08_14_24_9357.jpg
/home/pi/Desktop/images/31012025/08/14/image_31012025_08_14_35_10375.jpg
/home/pi/Desktop/images/31012025/08/14/image_31012025_08_14_45_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":["1333237753","1333237779","1333237770","1333237776","1333237761","1333237745"],"photo_ids_order":["1333237745","1333237753","1333237761","1333237770","1333237776","1333237779"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9700db13e976b2d021334e3505c58275.jpg","text":"TemporaryFile(/tmp/multipartBody4136007775930335929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307733940,"filename":"image_31012025_08_14_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/1/31/4a855bb574b44902ea14c92d0c900e2a.jpg","text":"TemporaryFile(/tmp/multipartBody2332528791853744958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307733940,"filename":"image_31012025_08_14_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/1/31/d596db932c05fd5d27c164146fa429bd.jpg","text":"TemporaryFile(/tmp/multipartBody8887036979438974234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307733940,"filename":"image_31012025_08_14_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/1/31/b38195ff5c4f9bec65b48e9696dc4b58.jpg","text":"TemporaryFile(/tmp/multipartBody6050307391944743893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307733940,"filename":"image_31012025_08_14_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/1/31/943a1bb7955c6fd305f104ec9f62c392.jpg","text":"TemporaryFile(/tmp/multipartBody6242798876139577528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307733940,"filename":"image_31012025_08_14_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/1/31/b72d28ce756552ae69b2db44305a852f.jpg","text":"TemporaryFile(/tmp/multipartBody965762827961703795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307733940,"filename":"image_31012025_08_13_55_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333237761","file1":"1333237753","file0":"1333237745","file4":"1333237776","file5":"1333237779","file3":"1333237770"},"map_files_photo_id_array":[{"photo_id":"1333237779","filename":"file5"},{"photo_id":"1333237761","filename":"file2"},{"photo_id":"1333237776","filename":"file4"},{"photo_id":"1333237753","filename":"file1"},{"photo_id":"1333237745","filename":"file0"},{"photo_id":"1333237770","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333237753":["hashtag1","hashtag2"]},{"1333237779":["hashtag1","hashtag2"]},{"1333237770":["hashtag1","hashtag2"]},{"1333237776":["hashtag1","hashtag2"]},{"1333237761":["hashtag1","hashtag2"]},{"1333237745":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333237753, 1333237779, 1333237770, 1333237776, 1333237761, 1333237745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11576461791992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:15:32.310831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/14/image_31012025_08_14_55_9369.jpg', '/home/pi/Desktop/images/31012025/08/15/image_31012025_08_15_14_9395.jpg', '/home/pi/Desktop/images/31012025/08/15/image_31012025_08_15_25_10364.jpg', '/home/pi/Desktop/images/31012025/08/15/image_31012025_08_15_35_10378.jpg', '/home/pi/Desktop/images/31012025/08/15/image_31012025_08_15_45_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/14/image_31012025_08_14_55_9369.jpg
/home/pi/Desktop/images/31012025/08/15/image_31012025_08_15_14_9395.jpg
/home/pi/Desktop/images/31012025/08/15/image_31012025_08_15_25_10364.jpg
/home/pi/Desktop/images/31012025/08/15/image_31012025_08_15_35_10378.jpg
/home/pi/Desktop/images/31012025/08/15/image_31012025_08_15_45_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":["1333237814","1333237849","1333237839","1333237806","1333237844"],"photo_ids_order":["1333237806","1333237814","1333237839","1333237844","1333237849"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d2907a826d2c31a946f6cb5a5b6c4b2a.jpg","text":"TemporaryFile(/tmp/multipartBody4346630735562689532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307793205,"filename":"image_31012025_08_15_14_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/244bb80fe2e65d7bf66812f992ec005a.jpg","text":"TemporaryFile(/tmp/multipartBody1433687979929144734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307793205,"filename":"image_31012025_08_15_45_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/badf3f6a8d9ddbffa33d0d9b3ec8fdda.jpg","text":"TemporaryFile(/tmp/multipartBody4668749364104687883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307793205,"filename":"image_31012025_08_15_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/1/31/4864eead87e3c1010ba6f32fe11270e0.jpg","text":"TemporaryFile(/tmp/multipartBody8135006332636542895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307793205,"filename":"image_31012025_08_14_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/1/31/1b9e657743b10a1f8deaaf6d220f6221.jpg","text":"TemporaryFile(/tmp/multipartBody2373821523268300450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307793205,"filename":"image_31012025_08_15_35_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333237839","file1":"1333237814","file0":"1333237806","file4":"1333237849","file3":"1333237844"},"map_files_photo_id_array":[{"photo_id":"1333237839","filename":"file2"},{"photo_id":"1333237849","filename":"file4"},{"photo_id":"1333237814","filename":"file1"},{"photo_id":"1333237806","filename":"file0"},{"photo_id":"1333237844","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333237814":["hashtag1","hashtag2"]},{"1333237849":["hashtag1","hashtag2"]},{"1333237839":["hashtag1","hashtag2"]},{"1333237806":["hashtag1","hashtag2"]},{"1333237844":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333237814, 1333237849, 1333237839, 1333237806, 1333237844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.131176233291626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:16:32.610835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/15/image_31012025_08_15_55_10441.jpg', '/home/pi/Desktop/images/31012025/08/15/image_31012025_08_16_04_9390.jpg', '/home/pi/Desktop/images/31012025/08/16/image_31012025_08_16_15_10418.jpg', '/home/pi/Desktop/images/31012025/08/16/image_31012025_08_16_25_10354.jpg', '/home/pi/Desktop/images/31012025/08/16/image_31012025_08_16_34_9355.jpg', '/home/pi/Desktop/images/31012025/08/16/image_31012025_08_16_45_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/15/image_31012025_08_15_55_10441.jpg
/home/pi/Desktop/images/31012025/08/15/image_31012025_08_16_04_9390.jpg
/home/pi/Desktop/images/31012025/08/16/image_31012025_08_16_15_10418.jpg
/home/pi/Desktop/images/31012025/08/16/image_31012025_08_16_25_10354.jpg
/home/pi/Desktop/images/31012025/08/16/image_31012025_08_16_34_9355.jpg
/home/pi/Desktop/images/31012025/08/16/image_31012025_08_16_45_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":["1333237901","1333237894","1333237888","1333237873","1333237903","1333237881"],"photo_ids_order":["1333237873","1333237881","1333237888","1333237894","1333237901","1333237903"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/325ba27489faa60007867281d17c70f7.jpg","text":"TemporaryFile(/tmp/multipartBody3493632416645959688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307853549,"filename":"image_31012025_08_16_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/1/31/d435697de3a21207a1814901d7170ee5.jpg","text":"TemporaryFile(/tmp/multipartBody6853216509161628698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307853549,"filename":"image_31012025_08_16_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/1/31/139bc00018589de85a58977c0a6560a9.jpg","text":"TemporaryFile(/tmp/multipartBody8503339392265682242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307853549,"filename":"image_31012025_08_16_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/1/31/59185415a2c2164d6aa094b90ccda06b.jpg","text":"TemporaryFile(/tmp/multipartBody6158804156689765674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307853549,"filename":"image_31012025_08_15_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/1/31/50c0d993403357fdeb66c711c7eb98dd.jpg","text":"TemporaryFile(/tmp/multipartBody3391237863512978957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307853549,"filename":"image_31012025_08_16_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/1/31/ebaec87680897dbf896a0d1216b0650a.jpg","text":"TemporaryFile(/tmp/multipartBody8451167301241171848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307853549,"filename":"image_31012025_08_16_04_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333237888","file1":"1333237881","file0":"1333237873","file4":"1333237901","file5":"1333237903","file3":"1333237894"},"map_files_photo_id_array":[{"photo_id":"1333237903","filename":"file5"},{"photo_id":"1333237888","filename":"file2"},{"photo_id":"1333237901","filename":"file4"},{"photo_id":"1333237881","filename":"file1"},{"photo_id":"1333237873","filename":"file0"},{"photo_id":"1333237894","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333237901":["hashtag1","hashtag2"]},{"1333237894":["hashtag1","hashtag2"]},{"1333237888":["hashtag1","hashtag2"]},{"1333237873":["hashtag1","hashtag2"]},{"1333237903":["hashtag1","hashtag2"]},{"1333237881":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333237901, 1333237894, 1333237888, 1333237873, 1333237903, 1333237881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.596112966537476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:17:32.748881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/16/image_31012025_08_16_55_10419.jpg', '/home/pi/Desktop/images/31012025/08/16/image_31012025_08_17_05_9342.jpg', '/home/pi/Desktop/images/31012025/08/17/image_31012025_08_17_15_10355.jpg', '/home/pi/Desktop/images/31012025/08/17/image_31012025_08_17_24_9347.jpg', '/home/pi/Desktop/images/31012025/08/17/image_31012025_08_17_35_10445.jpg', '/home/pi/Desktop/images/31012025/08/17/image_31012025_08_17_45_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/16/image_31012025_08_16_55_10419.jpg
/home/pi/Desktop/images/31012025/08/16/image_31012025_08_17_05_9342.jpg
/home/pi/Desktop/images/31012025/08/17/image_31012025_08_17_15_10355.jpg
/home/pi/Desktop/images/31012025/08/17/image_31012025_08_17_24_9347.jpg
/home/pi/Desktop/images/31012025/08/17/image_31012025_08_17_35_10445.jpg
/home/pi/Desktop/images/31012025/08/17/image_31012025_08_17_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":["1333238068","1333238011","1333238076","1333238079","1333237979","1333238083"],"photo_ids_order":["1333237979","1333238011","1333238068","1333238076","1333238079","1333238083"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/694bec6ef874b4d2b81becb688c92e9d.jpg","text":"TemporaryFile(/tmp/multipartBody707509368287611788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307913686,"filename":"image_31012025_08_17_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/1/31/aeba4db702f18455013380bd64d900d4.jpg","text":"TemporaryFile(/tmp/multipartBody3078219226682227159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307913686,"filename":"image_31012025_08_17_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/1/31/dda1dc6fa0912c62511a6675f01a0596.jpg","text":"TemporaryFile(/tmp/multipartBody4228893375698105436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307913686,"filename":"image_31012025_08_17_24_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a7f3b05e62724d9ee0cafea7c3baee9b.jpg","text":"TemporaryFile(/tmp/multipartBody3954910189891640951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307913686,"filename":"image_31012025_08_17_35_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7c8dc63b6890aee6bf28ea4c2266f27f.jpg","text":"TemporaryFile(/tmp/multipartBody4085768669901998906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307913686,"filename":"image_31012025_08_16_55_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7f8ccc92ee24d9b91e53f0213c6190bd.jpg","text":"TemporaryFile(/tmp/multipartBody1073034418482005794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307913686,"filename":"image_31012025_08_17_45_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333238068","file1":"1333238011","file0":"1333237979","file4":"1333238079","file5":"1333238083","file3":"1333238076"},"map_files_photo_id_array":[{"photo_id":"1333238083","filename":"file5"},{"photo_id":"1333238068","filename":"file2"},{"photo_id":"1333238079","filename":"file4"},{"photo_id":"1333238011","filename":"file1"},{"photo_id":"1333237979","filename":"file0"},{"photo_id":"1333238076","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333238068":["hashtag1","hashtag2"]},{"1333238011":["hashtag1","hashtag2"]},{"1333238076":["hashtag1","hashtag2"]},{"1333238079":["hashtag1","hashtag2"]},{"1333237979":["hashtag1","hashtag2"]},{"1333238083":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333238068, 1333238011, 1333238076, 1333238079, 1333237979, 1333238083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.16810750961304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:18:32.925012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/17/image_31012025_08_17_54_9361.jpg', '/home/pi/Desktop/images/31012025/08/17/image_31012025_08_18_05_10374.jpg', '/home/pi/Desktop/images/31012025/08/18/image_31012025_08_18_15_10378.jpg', '/home/pi/Desktop/images/31012025/08/18/image_31012025_08_18_25_9343.jpg', '/home/pi/Desktop/images/31012025/08/18/image_31012025_08_18_35_10437.jpg', '/home/pi/Desktop/images/31012025/08/18/image_31012025_08_18_44_9382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/17/image_31012025_08_17_54_9361.jpg
/home/pi/Desktop/images/31012025/08/17/image_31012025_08_18_05_10374.jpg
/home/pi/Desktop/images/31012025/08/18/image_31012025_08_18_15_10378.jpg
/home/pi/Desktop/images/31012025/08/18/image_31012025_08_18_25_9343.jpg
/home/pi/Desktop/images/31012025/08/18/image_31012025_08_18_35_10437.jpg
/home/pi/Desktop/images/31012025/08/18/image_31012025_08_18_44_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":["1333238287","1333238269","1333238292","1333238262","1333238281","1333238275"],"photo_ids_order":["1333238262","1333238269","1333238275","1333238281","1333238287","1333238292"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e4d64ce6ed85cc3828ba24e535d216d1.jpg","text":"TemporaryFile(/tmp/multipartBody2106857479332996109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307973832,"filename":"image_31012025_08_18_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/1/31/9f59f5176597d1350a8a4b4b4a04511f.jpg","text":"TemporaryFile(/tmp/multipartBody3866177477543062003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307973832,"filename":"image_31012025_08_18_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/1/31/0f4b3b04b2d9ec8829e01bee168b88c4.jpg","text":"TemporaryFile(/tmp/multipartBody9022073907396497179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307973832,"filename":"image_31012025_08_18_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/1/31/24da0512dccd8d016a7b644124897363.jpg","text":"TemporaryFile(/tmp/multipartBody2582116946374271343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307973832,"filename":"image_31012025_08_17_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/1/31/67849f1b52a61be69fa2b4d11d7bc091.jpg","text":"TemporaryFile(/tmp/multipartBody6701626292065275494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307973832,"filename":"image_31012025_08_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/1/31/3429ebe296df711bba45255c5b309813.jpg","text":"TemporaryFile(/tmp/multipartBody1364961146213654546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738307973832,"filename":"image_31012025_08_18_15_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333238275","file1":"1333238269","file0":"1333238262","file4":"1333238287","file5":"1333238292","file3":"1333238281"},"map_files_photo_id_array":[{"photo_id":"1333238292","filename":"file5"},{"photo_id":"1333238275","filename":"file2"},{"photo_id":"1333238287","filename":"file4"},{"photo_id":"1333238269","filename":"file1"},{"photo_id":"1333238262","filename":"file0"},{"photo_id":"1333238281","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333238287":["hashtag1","hashtag2"]},{"1333238269":["hashtag1","hashtag2"]},{"1333238292":["hashtag1","hashtag2"]},{"1333238262":["hashtag1","hashtag2"]},{"1333238281":["hashtag1","hashtag2"]},{"1333238275":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333238287, 1333238269, 1333238292, 1333238262, 1333238281, 1333238275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03784894943237 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:19:32.249221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/18/image_31012025_08_18_55_10567.jpg', '/home/pi/Desktop/images/31012025/08/18/image_31012025_08_19_04_9367.jpg', '/home/pi/Desktop/images/31012025/08/19/image_31012025_08_19_15_10494.jpg', '/home/pi/Desktop/images/31012025/08/19/image_31012025_08_19_25_10340.jpg', '/home/pi/Desktop/images/31012025/08/19/image_31012025_08_19_35_9380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/18/image_31012025_08_18_55_10567.jpg
/home/pi/Desktop/images/31012025/08/18/image_31012025_08_19_04_9367.jpg
/home/pi/Desktop/images/31012025/08/19/image_31012025_08_19_15_10494.jpg
/home/pi/Desktop/images/31012025/08/19/image_31012025_08_19_25_10340.jpg
/home/pi/Desktop/images/31012025/08/19/image_31012025_08_19_35_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":["1333238332","1333238341","1333238317","1333238325","1333238336"],"photo_ids_order":["1333238317","1333238325","1333238332","1333238336","1333238341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/164a1c9ddf113281f822543bb2457acd.jpg","text":"TemporaryFile(/tmp/multipartBody1266334704730118531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308033162,"filename":"image_31012025_08_19_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/1/31/8750373fb5fae1702ea7424ca95986d7.jpg","text":"TemporaryFile(/tmp/multipartBody7160144496922183871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308033162,"filename":"image_31012025_08_19_35_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d0de61eb268e3912728a61445bc995be.jpg","text":"TemporaryFile(/tmp/multipartBody1654411983270317897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308033162,"filename":"image_31012025_08_18_55_10567.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/614dabe698fc25c8a59138d384d2dad1.jpg","text":"TemporaryFile(/tmp/multipartBody358853646237052947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308033162,"filename":"image_31012025_08_19_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/1/31/46daa3c33913bd612c855e6665ea550b.jpg","text":"TemporaryFile(/tmp/multipartBody6498134412478173371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308033162,"filename":"image_31012025_08_19_25_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333238332","file1":"1333238325","file0":"1333238317","file4":"1333238341","file3":"1333238336"},"map_files_photo_id_array":[{"photo_id":"1333238332","filename":"file2"},{"photo_id":"1333238341","filename":"file4"},{"photo_id":"1333238325","filename":"file1"},{"photo_id":"1333238317","filename":"file0"},{"photo_id":"1333238336","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333238332":["hashtag1","hashtag2"]},{"1333238341":["hashtag1","hashtag2"]},{"1333238317":["hashtag1","hashtag2"]},{"1333238325":["hashtag1","hashtag2"]},{"1333238336":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333238332, 1333238341, 1333238317, 1333238325, 1333238336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.19169616699219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:20:32.434178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/19/image_31012025_08_19_45_10349.jpg', '/home/pi/Desktop/images/31012025/08/19/image_31012025_08_20_05_9365.jpg', '/home/pi/Desktop/images/31012025/08/20/image_31012025_08_20_15_10342.jpg', '/home/pi/Desktop/images/31012025/08/20/image_31012025_08_20_24_9361.jpg', '/home/pi/Desktop/images/31012025/08/20/image_31012025_08_20_35_10429.jpg', '/home/pi/Desktop/images/31012025/08/20/image_31012025_08_20_45_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/19/image_31012025_08_19_45_10349.jpg
/home/pi/Desktop/images/31012025/08/19/image_31012025_08_20_05_9365.jpg
/home/pi/Desktop/images/31012025/08/20/image_31012025_08_20_15_10342.jpg
/home/pi/Desktop/images/31012025/08/20/image_31012025_08_20_24_9361.jpg
/home/pi/Desktop/images/31012025/08/20/image_31012025_08_20_35_10429.jpg
/home/pi/Desktop/images/31012025/08/20/image_31012025_08_20_45_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":["1333238386","1333238394","1333238430","1333238402","1333238380","1333238374"],"photo_ids_order":["1333238374","1333238380","1333238386","1333238394","1333238402","1333238430"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bbc9909e0987cf3503f1f4a7b0a6a8f7.jpg","text":"TemporaryFile(/tmp/multipartBody2611286335228811369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308093373,"filename":"image_31012025_08_20_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/1/31/b9a07811d389a5073c863d9eceb1130f.jpg","text":"TemporaryFile(/tmp/multipartBody7624556352751874321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308093373,"filename":"image_31012025_08_20_24_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5b287a3d605f0a9aacb3a9c56a1ecadf.jpg","text":"TemporaryFile(/tmp/multipartBody8771205570591926392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308093373,"filename":"image_31012025_08_20_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/1/31/95dfb51e1da309adac5a2b8c4334b6f2.jpg","text":"TemporaryFile(/tmp/multipartBody3383577050263076032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308093373,"filename":"image_31012025_08_20_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/1/31/febd79fb3e56f77bb932d7beb2e33599.jpg","text":"TemporaryFile(/tmp/multipartBody3820957902295505020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308093373,"filename":"image_31012025_08_20_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/1/31/47581e0b40af4b37abadfd24aca53081.jpg","text":"TemporaryFile(/tmp/multipartBody1649623686053576087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308093373,"filename":"image_31012025_08_19_45_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333238386","file1":"1333238380","file0":"1333238374","file4":"1333238402","file5":"1333238430","file3":"1333238394"},"map_files_photo_id_array":[{"photo_id":"1333238430","filename":"file5"},{"photo_id":"1333238386","filename":"file2"},{"photo_id":"1333238402","filename":"file4"},{"photo_id":"1333238380","filename":"file1"},{"photo_id":"1333238374","filename":"file0"},{"photo_id":"1333238394","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333238386":["hashtag1","hashtag2"]},{"1333238394":["hashtag1","hashtag2"]},{"1333238430":["hashtag1","hashtag2"]},{"1333238402":["hashtag1","hashtag2"]},{"1333238380":["hashtag1","hashtag2"]},{"1333238374":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333238386, 1333238394, 1333238430, 1333238402, 1333238380, 1333238374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.794787645339966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:21:32.678221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/20/image_31012025_08_20_55_9429.jpg', '/home/pi/Desktop/images/31012025/08/20/image_31012025_08_21_05_10424.jpg', '/home/pi/Desktop/images/31012025/08/21/image_31012025_08_21_14_9331.jpg', '/home/pi/Desktop/images/31012025/08/21/image_31012025_08_21_25_10422.jpg', '/home/pi/Desktop/images/31012025/08/21/image_31012025_08_21_35_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/20/image_31012025_08_20_55_9429.jpg
/home/pi/Desktop/images/31012025/08/20/image_31012025_08_21_05_10424.jpg
/home/pi/Desktop/images/31012025/08/21/image_31012025_08_21_14_9331.jpg
/home/pi/Desktop/images/31012025/08/21/image_31012025_08_21_25_10422.jpg
/home/pi/Desktop/images/31012025/08/21/image_31012025_08_21_35_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":["1333238569","1333238512","1333238574","1333238564","1333238519"],"photo_ids_order":["1333238512","1333238519","1333238564","1333238569","1333238574"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b2c6e9ccb28cf6b26ecc4b8f92002056.jpg","text":"TemporaryFile(/tmp/multipartBody1009472351667264226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308153576,"filename":"image_31012025_08_21_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/1/31/d7cc9379a42ec5880eba2420c3951e7a.jpg","text":"TemporaryFile(/tmp/multipartBody1791412261488376184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308153576,"filename":"image_31012025_08_20_55_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6b98ae682c5aa48794f5f539a8553357.jpg","text":"TemporaryFile(/tmp/multipartBody1328567112236350575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308153576,"filename":"image_31012025_08_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/1/31/44fa7988091f68cae35092f0ac66d3b4.jpg","text":"TemporaryFile(/tmp/multipartBody2707037473617281202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308153576,"filename":"image_31012025_08_21_14_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/11a8bf4301e4e9db79a275ce6e1c2098.jpg","text":"TemporaryFile(/tmp/multipartBody7349377500660288933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308153576,"filename":"image_31012025_08_21_05_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333238564","file1":"1333238519","file0":"1333238512","file4":"1333238574","file3":"1333238569"},"map_files_photo_id_array":[{"photo_id":"1333238564","filename":"file2"},{"photo_id":"1333238574","filename":"file4"},{"photo_id":"1333238519","filename":"file1"},{"photo_id":"1333238512","filename":"file0"},{"photo_id":"1333238569","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333238569":["hashtag1","hashtag2"]},{"1333238512":["hashtag1","hashtag2"]},{"1333238574":["hashtag1","hashtag2"]},{"1333238564":["hashtag1","hashtag2"]},{"1333238519":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333238569, 1333238512, 1333238574, 1333238564, 1333238519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.80254626274109 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:22:32.894927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/21/image_31012025_08_21_45_9428.jpg', '/home/pi/Desktop/images/31012025/08/21/image_31012025_08_22_04_9334.jpg', '/home/pi/Desktop/images/31012025/08/22/image_31012025_08_22_15_10458.jpg', '/home/pi/Desktop/images/31012025/08/22/image_31012025_08_22_25_10396.jpg', '/home/pi/Desktop/images/31012025/08/22/image_31012025_08_22_35_9348.jpg', '/home/pi/Desktop/images/31012025/08/22/image_31012025_08_22_45_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/21/image_31012025_08_21_45_9428.jpg
/home/pi/Desktop/images/31012025/08/21/image_31012025_08_22_04_9334.jpg
/home/pi/Desktop/images/31012025/08/22/image_31012025_08_22_15_10458.jpg
/home/pi/Desktop/images/31012025/08/22/image_31012025_08_22_25_10396.jpg
/home/pi/Desktop/images/31012025/08/22/image_31012025_08_22_35_9348.jpg
/home/pi/Desktop/images/31012025/08/22/image_31012025_08_22_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":["1333238641","1333238632","1333238626","1333238611","1333238616","1333238636"],"photo_ids_order":["1333238611","1333238616","1333238626","1333238632","1333238636","1333238641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/da129a4b857f0dc2ee5c259312b3db09.jpg","text":"TemporaryFile(/tmp/multipartBody5182053628070826154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308213821,"filename":"image_31012025_08_22_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/1/31/d123d7399285e085f8297e52751e7ea4.jpg","text":"TemporaryFile(/tmp/multipartBody9062895918341538699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308213821,"filename":"image_31012025_08_22_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/1/31/df41d2653fbdcd047bab05f37c199c60.jpg","text":"TemporaryFile(/tmp/multipartBody7851324753710788268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308213821,"filename":"image_31012025_08_22_15_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/14a6be774aceed1b25e372d8a9800feb.jpg","text":"TemporaryFile(/tmp/multipartBody3019454903251612495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308213821,"filename":"image_31012025_08_21_45_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/628fa782003903f96355e1d225487c3d.jpg","text":"TemporaryFile(/tmp/multipartBody6249926571652432066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308213821,"filename":"image_31012025_08_22_04_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fbaa68fbf93f0931712191ba4ba40009.jpg","text":"TemporaryFile(/tmp/multipartBody5959835747936781064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308213821,"filename":"image_31012025_08_22_35_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333238626","file1":"1333238616","file0":"1333238611","file4":"1333238636","file5":"1333238641","file3":"1333238632"},"map_files_photo_id_array":[{"photo_id":"1333238641","filename":"file5"},{"photo_id":"1333238626","filename":"file2"},{"photo_id":"1333238636","filename":"file4"},{"photo_id":"1333238616","filename":"file1"},{"photo_id":"1333238611","filename":"file0"},{"photo_id":"1333238632","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333238641":["hashtag1","hashtag2"]},{"1333238632":["hashtag1","hashtag2"]},{"1333238626":["hashtag1","hashtag2"]},{"1333238611":["hashtag1","hashtag2"]},{"1333238616":["hashtag1","hashtag2"]},{"1333238636":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333238641, 1333238632, 1333238626, 1333238611, 1333238616, 1333238636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68582844734192 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:23:33.141218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/22/image_31012025_08_22_55_10385.jpg', '/home/pi/Desktop/images/31012025/08/22/image_31012025_08_23_05_9354.jpg', '/home/pi/Desktop/images/31012025/08/23/image_31012025_08_23_15_10374.jpg', '/home/pi/Desktop/images/31012025/08/23/image_31012025_08_23_24_9425.jpg', '/home/pi/Desktop/images/31012025/08/23/image_31012025_08_23_35_10450.jpg', '/home/pi/Desktop/images/31012025/08/23/image_31012025_08_23_45_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/22/image_31012025_08_22_55_10385.jpg
/home/pi/Desktop/images/31012025/08/22/image_31012025_08_23_05_9354.jpg
/home/pi/Desktop/images/31012025/08/23/image_31012025_08_23_15_10374.jpg
/home/pi/Desktop/images/31012025/08/23/image_31012025_08_23_24_9425.jpg
/home/pi/Desktop/images/31012025/08/23/image_31012025_08_23_35_10450.jpg
/home/pi/Desktop/images/31012025/08/23/image_31012025_08_23_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":["1333238677","1333238725","1333238697","1333238685","1333238727","1333238669"],"photo_ids_order":["1333238669","1333238677","1333238685","1333238697","1333238725","1333238727"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6bff283cdd319f54cb490a1da3bae1e2.jpg","text":"TemporaryFile(/tmp/multipartBody432145784279526057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308274052,"filename":"image_31012025_08_23_05_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/923bc782ce82ad0d51d6d1535f91db25.jpg","text":"TemporaryFile(/tmp/multipartBody5001071427776108224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308274052,"filename":"image_31012025_08_23_35_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d3fe4050bff4b4ecdcb011d32f796cb7.jpg","text":"TemporaryFile(/tmp/multipartBody5777188783803832490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308274052,"filename":"image_31012025_08_23_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/1/31/c16e7066ae02e537b45ccc8d86357a68.jpg","text":"TemporaryFile(/tmp/multipartBody2300304959532850264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308274052,"filename":"image_31012025_08_23_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/1/31/edb9dcd8d58a87e12a26216dcdd67ebe.jpg","text":"TemporaryFile(/tmp/multipartBody7945026775683580299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308274052,"filename":"image_31012025_08_23_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/1/31/b4c77a3931983d9eaf123c5a6e570200.jpg","text":"TemporaryFile(/tmp/multipartBody274474037031754484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308274052,"filename":"image_31012025_08_22_55_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333238685","file1":"1333238677","file0":"1333238669","file4":"1333238725","file5":"1333238727","file3":"1333238697"},"map_files_photo_id_array":[{"photo_id":"1333238727","filename":"file5"},{"photo_id":"1333238685","filename":"file2"},{"photo_id":"1333238725","filename":"file4"},{"photo_id":"1333238677","filename":"file1"},{"photo_id":"1333238669","filename":"file0"},{"photo_id":"1333238697","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333238677":["hashtag1","hashtag2"]},{"1333238725":["hashtag1","hashtag2"]},{"1333238697":["hashtag1","hashtag2"]},{"1333238685":["hashtag1","hashtag2"]},{"1333238727":["hashtag1","hashtag2"]},{"1333238669":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333238677, 1333238725, 1333238697, 1333238685, 1333238727, 1333238669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.295949935913086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:24:32.344361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/23/image_31012025_08_23_55_9352.jpg', '/home/pi/Desktop/images/31012025/08/23/image_31012025_08_24_05_10415.jpg', '/home/pi/Desktop/images/31012025/08/24/image_31012025_08_24_14_9342.jpg', '/home/pi/Desktop/images/31012025/08/24/image_31012025_08_24_25_10458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/23/image_31012025_08_23_55_9352.jpg
/home/pi/Desktop/images/31012025/08/23/image_31012025_08_24_05_10415.jpg
/home/pi/Desktop/images/31012025/08/24/image_31012025_08_24_14_9342.jpg
/home/pi/Desktop/images/31012025/08/24/image_31012025_08_24_25_10458.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":["1333238796","1333238784","1333238801","1333238791"],"photo_ids_order":["1333238784","1333238791","1333238796","1333238801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5e348d1844eaa824fcc0144afac6ed2f.jpg","text":"TemporaryFile(/tmp/multipartBody4749848588812570582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308333226,"filename":"image_31012025_08_24_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/1/31/650cc0050064d37bfd0a0789f7e19269.jpg","text":"TemporaryFile(/tmp/multipartBody2379232264125714014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308333226,"filename":"image_31012025_08_23_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/1/31/e9a178acc8e80cfe7e0faf23758b7d87.jpg","text":"TemporaryFile(/tmp/multipartBody3908975094748972203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308333226,"filename":"image_31012025_08_24_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/1/31/8dd9acf643af92dc07dcd60832109d3a.jpg","text":"TemporaryFile(/tmp/multipartBody1659078796188508844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308333226,"filename":"image_31012025_08_24_05_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333238796","file1":"1333238791","file0":"1333238784","file3":"1333238801"},"map_files_photo_id_array":[{"photo_id":"1333238796","filename":"file2"},{"photo_id":"1333238791","filename":"file1"},{"photo_id":"1333238784","filename":"file0"},{"photo_id":"1333238801","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333238796":["hashtag1","hashtag2"]},{"1333238784":["hashtag1","hashtag2"]},{"1333238801":["hashtag1","hashtag2"]},{"1333238791":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333238796, 1333238784, 1333238801, 1333238791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.87765669822693 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 08:25:04.101116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/19/image_28012025_22_19_45_10362.jpg', '/home/pi/Desktop/images/28012025/22/19/image_28012025_22_19_54_9381.jpg', '/home/pi/Desktop/images/28012025/22/19/image_28012025_22_20_05_10359.jpg', '/home/pi/Desktop/images/28012025/22/20/image_28012025_22_20_14_9412.jpg', '/home/pi/Desktop/images/28012025/22/20/image_28012025_22_20_25_10360.jpg', '/home/pi/Desktop/images/28012025/22/20/image_28012025_22_20_35_10396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/19/image_28012025_22_19_45_10362.jpg
/home/pi/Desktop/images/28012025/22/19/image_28012025_22_19_54_9381.jpg
/home/pi/Desktop/images/28012025/22/19/image_28012025_22_20_05_10359.jpg
/home/pi/Desktop/images/28012025/22/20/image_28012025_22_20_14_9412.jpg
/home/pi/Desktop/images/28012025/22/20/image_28012025_22_20_25_10360.jpg
/home/pi/Desktop/images/28012025/22/20/image_28012025_22_20_35_10396.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":["1333239511","1333238821","1333239174","1333238853","1333238817","1333238813"],"photo_ids_order":["1333238813","1333238817","1333238821","1333238853","1333239174","1333239511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e312eaff5d240de413cc4c464961f83a.jpg","text":"TemporaryFile(/tmp/multipartBody7573556449831093390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308365888,"filename":"image_28012025_22_20_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/1/31/687162c76c828a7033996536193aa0f6.jpg","text":"TemporaryFile(/tmp/multipartBody1346057589530542764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308365888,"filename":"image_28012025_22_20_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/1/31/d51547e22311469a3d9dbce5e086a435.jpg","text":"TemporaryFile(/tmp/multipartBody4512784571528360970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308365888,"filename":"image_28012025_22_20_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/1/31/b0992c04d46842c7bccfba279980f128.jpg","text":"TemporaryFile(/tmp/multipartBody8765404903195439650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308365888,"filename":"image_28012025_22_20_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/1/31/8bb5c15ae9195fde1bfd02a3d16fe753.jpg","text":"TemporaryFile(/tmp/multipartBody3020418588681775035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308365888,"filename":"image_28012025_22_19_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/1/31/47606285ac09de158333d38fcd22c992.jpg","text":"TemporaryFile(/tmp/multipartBody3049103270258722890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308365888,"filename":"image_28012025_22_19_45_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333238821","file1":"1333238817","file0":"1333238813","file4":"1333239174","file5":"1333239511","file3":"1333238853"},"map_files_photo_id_array":[{"photo_id":"1333239511","filename":"file5"},{"photo_id":"1333238821","filename":"file2"},{"photo_id":"1333239174","filename":"file4"},{"photo_id":"1333238817","filename":"file1"},{"photo_id":"1333238813","filename":"file0"},{"photo_id":"1333238853","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333239511":["hashtag1","hashtag2"]},{"1333238821":["hashtag1","hashtag2"]},{"1333239174":["hashtag1","hashtag2"]},{"1333238853":["hashtag1","hashtag2"]},{"1333238817":["hashtag1","hashtag2"]},{"1333238813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333239511, 1333238821, 1333239174, 1333238853, 1333238817, 1333238813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09531211853027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:25:52.609031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/24/image_31012025_08_24_35_10357.jpg', '/home/pi/Desktop/images/31012025/08/24/image_31012025_08_25_05_10335.jpg', '/home/pi/Desktop/images/31012025/08/25/image_31012025_08_25_15_9331.jpg', '/home/pi/Desktop/images/31012025/08/25/image_31012025_08_25_25_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/24/image_31012025_08_24_35_10357.jpg
/home/pi/Desktop/images/31012025/08/24/image_31012025_08_25_05_10335.jpg
/home/pi/Desktop/images/31012025/08/25/image_31012025_08_25_15_9331.jpg
/home/pi/Desktop/images/31012025/08/25/image_31012025_08_25_25_10436.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.493807315826416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 08:26:03.533679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/24/image_31012025_08_24_35_10357.jpg', '/home/pi/Desktop/images/31012025/08/24/image_31012025_08_25_05_10335.jpg', '/home/pi/Desktop/images/31012025/08/25/image_31012025_08_25_15_9331.jpg', '/home/pi/Desktop/images/31012025/08/25/image_31012025_08_25_25_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/24/image_31012025_08_24_35_10357.jpg
/home/pi/Desktop/images/31012025/08/24/image_31012025_08_25_05_10335.jpg
/home/pi/Desktop/images/31012025/08/25/image_31012025_08_25_15_9331.jpg
/home/pi/Desktop/images/31012025/08/25/image_31012025_08_25_25_10436.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333239870","1333239954","1333239874","1333240061"],"photo_ids_order":["1333239870","1333239874","1333239954","1333240061"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d80eb8616fda9b840c03ee3d73eabbf6.jpg","text":"TemporaryFile(/tmp/multipartBody1492984904673118142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308424454,"filename":"image_31012025_08_24_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/1/31/dbd64002d2a66b0b96fbc00d124ef341.jpg","text":"TemporaryFile(/tmp/multipartBody6491476004024411535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308424454,"filename":"image_31012025_08_25_15_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/38735e50385dfc3e8c3039374d5c22a5.jpg","text":"TemporaryFile(/tmp/multipartBody7076588140739023151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308424454,"filename":"image_31012025_08_25_05_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d37507042fa829a5f01d0c4ea4c268bc.jpg","text":"TemporaryFile(/tmp/multipartBody2191870448218805042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308424454,"filename":"image_31012025_08_25_25_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333239954","file1":"1333239874","file0":"1333239870","file3":"1333240061"},"map_files_photo_id_array":[{"photo_id":"1333239954","filename":"file2"},{"photo_id":"1333239874","filename":"file1"},{"photo_id":"1333239870","filename":"file0"},{"photo_id":"1333240061","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333239870":["hashtag1","hashtag2"]},{"1333239954":["hashtag1","hashtag2"]},{"1333239874":["hashtag1","hashtag2"]},{"1333240061":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333239870, 1333239954, 1333239874, 1333240061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.141186237335205 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 08:26:42.831422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/25/image_31012025_08_25_34_9413.jpg', '/home/pi/Desktop/images/31012025/08/25/image_31012025_08_26_05_9490.jpg', '/home/pi/Desktop/images/31012025/08/26/image_31012025_08_26_15_10374.jpg', '/home/pi/Desktop/images/31012025/08/26/image_31012025_08_26_24_9335.jpg', '/home/pi/Desktop/images/31012025/08/26/image_31012025_08_26_35_10373.jpg', '/home/pi/Desktop/images/31012025/08/26/image_31012025_08_26_45_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/25/image_31012025_08_25_34_9413.jpg
/home/pi/Desktop/images/31012025/08/25/image_31012025_08_26_05_9490.jpg
/home/pi/Desktop/images/31012025/08/26/image_31012025_08_26_15_10374.jpg
/home/pi/Desktop/images/31012025/08/26/image_31012025_08_26_24_9335.jpg
/home/pi/Desktop/images/31012025/08/26/image_31012025_08_26_35_10373.jpg
/home/pi/Desktop/images/31012025/08/26/image_31012025_08_26_45_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":["1333240240","1333240275","1333240280","1333240277","1333240271","1333240285"],"photo_ids_order":["1333240240","1333240271","1333240275","1333240277","1333240280","1333240285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a9f68239f79984bf2bebd261eed62380.jpg","text":"TemporaryFile(/tmp/multipartBody1213856459060183353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308463752,"filename":"image_31012025_08_25_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/1/31/02954707f8745fef902082a65f5f3a3d.jpg","text":"TemporaryFile(/tmp/multipartBody8898999789536146968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308463752,"filename":"image_31012025_08_26_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/1/31/f589e9f024ecf6f494bb7346ff9f1e46.jpg","text":"TemporaryFile(/tmp/multipartBody7457031977257385857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308463752,"filename":"image_31012025_08_26_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/1/31/cfd3ee58bb5d602cca489cd807186f2e.jpg","text":"TemporaryFile(/tmp/multipartBody6026152728786991636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308463752,"filename":"image_31012025_08_26_24_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/56858e2aa20c012eaa75845e0ee222ec.jpg","text":"TemporaryFile(/tmp/multipartBody5987092700205180923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308463752,"filename":"image_31012025_08_26_05_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8e9a9457c9a63eb9a790ce9a8389106e.jpg","text":"TemporaryFile(/tmp/multipartBody313163481056967588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308463752,"filename":"image_31012025_08_26_45_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333240275","file1":"1333240271","file0":"1333240240","file4":"1333240280","file5":"1333240285","file3":"1333240277"},"map_files_photo_id_array":[{"photo_id":"1333240285","filename":"file5"},{"photo_id":"1333240275","filename":"file2"},{"photo_id":"1333240280","filename":"file4"},{"photo_id":"1333240271","filename":"file1"},{"photo_id":"1333240240","filename":"file0"},{"photo_id":"1333240277","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333240240":["hashtag1","hashtag2"]},{"1333240275":["hashtag1","hashtag2"]},{"1333240280":["hashtag1","hashtag2"]},{"1333240277":["hashtag1","hashtag2"]},{"1333240271":["hashtag1","hashtag2"]},{"1333240285":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333240240, 1333240275, 1333240280, 1333240277, 1333240271, 1333240285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.857722997665405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:27:33.037500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/26/image_31012025_08_26_55_9356.jpg', '/home/pi/Desktop/images/31012025/08/26/image_31012025_08_27_05_10426.jpg', '/home/pi/Desktop/images/31012025/08/27/image_31012025_08_27_14_9368.jpg', '/home/pi/Desktop/images/31012025/08/27/image_31012025_08_27_35_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/26/image_31012025_08_26_55_9356.jpg
/home/pi/Desktop/images/31012025/08/26/image_31012025_08_27_05_10426.jpg
/home/pi/Desktop/images/31012025/08/27/image_31012025_08_27_14_9368.jpg
/home/pi/Desktop/images/31012025/08/27/image_31012025_08_27_35_10362.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":["1333240314","1333240305","1333240310","1333240301"],"photo_ids_order":["1333240301","1333240305","1333240310","1333240314"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4fa0562df535a0496ba30df3ace795c5.jpg","text":"TemporaryFile(/tmp/multipartBody4716857668601458982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308513925,"filename":"image_31012025_08_27_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/1/31/75c8b97f52c20b0dac812f2b7524a856.jpg","text":"TemporaryFile(/tmp/multipartBody4137133468986877248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308513925,"filename":"image_31012025_08_27_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/1/31/7cc9870b6ef5e1e795b53516e094379f.jpg","text":"TemporaryFile(/tmp/multipartBody2105516614282178141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308513925,"filename":"image_31012025_08_27_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/1/31/86756d52e9d34b68ba60f675ba0bf73e.jpg","text":"TemporaryFile(/tmp/multipartBody1869747127313134422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308513925,"filename":"image_31012025_08_26_55_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333240310","file1":"1333240305","file0":"1333240301","file3":"1333240314"},"map_files_photo_id_array":[{"photo_id":"1333240310","filename":"file2"},{"photo_id":"1333240305","filename":"file1"},{"photo_id":"1333240301","filename":"file0"},{"photo_id":"1333240314","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333240314":["hashtag1","hashtag2"]},{"1333240305":["hashtag1","hashtag2"]},{"1333240310":["hashtag1","hashtag2"]},{"1333240301":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333240314, 1333240305, 1333240310, 1333240301)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 29.08573317527771 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:28:32.853863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/27/image_31012025_08_27_45_9350.jpg', '/home/pi/Desktop/images/31012025/08/27/image_31012025_08_28_05_10414.jpg', '/home/pi/Desktop/images/31012025/08/28/image_31012025_08_28_25_10419.jpg', '/home/pi/Desktop/images/31012025/08/28/image_31012025_08_28_34_9440.jpg', '/home/pi/Desktop/images/31012025/08/28/image_31012025_08_28_45_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/27/image_31012025_08_27_45_9350.jpg
/home/pi/Desktop/images/31012025/08/27/image_31012025_08_28_05_10414.jpg
/home/pi/Desktop/images/31012025/08/28/image_31012025_08_28_25_10419.jpg
/home/pi/Desktop/images/31012025/08/28/image_31012025_08_28_34_9440.jpg
/home/pi/Desktop/images/31012025/08/28/image_31012025_08_28_45_10368.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5081508159637451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 08:28:42.889748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/27/image_31012025_08_27_45_9350.jpg', '/home/pi/Desktop/images/31012025/08/27/image_31012025_08_28_05_10414.jpg', '/home/pi/Desktop/images/31012025/08/28/image_31012025_08_28_25_10419.jpg', '/home/pi/Desktop/images/31012025/08/28/image_31012025_08_28_34_9440.jpg', '/home/pi/Desktop/images/31012025/08/28/image_31012025_08_28_45_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/27/image_31012025_08_27_45_9350.jpg
/home/pi/Desktop/images/31012025/08/27/image_31012025_08_28_05_10414.jpg
/home/pi/Desktop/images/31012025/08/28/image_31012025_08_28_25_10419.jpg
/home/pi/Desktop/images/31012025/08/28/image_31012025_08_28_34_9440.jpg
/home/pi/Desktop/images/31012025/08/28/image_31012025_08_28_45_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":["1333240402","1333240395","1333240391","1333240406","1333240400"],"photo_ids_order":["1333240391","1333240395","1333240400","1333240402","1333240406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/70b6e6b0d2dea9ba2eddaaee4d468a3c.jpg","text":"TemporaryFile(/tmp/multipartBody6977041163564775163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308583793,"filename":"image_31012025_08_28_34_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/173bd49ade1ef520ad0a660c2944649e.jpg","text":"TemporaryFile(/tmp/multipartBody1946854898765526079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308583793,"filename":"image_31012025_08_28_05_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b369025907e58eaef64d6d4d6a31ca5e.jpg","text":"TemporaryFile(/tmp/multipartBody6218310460507099408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308583793,"filename":"image_31012025_08_27_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/1/31/2992398a2188497bf71050a13b9d99eb.jpg","text":"TemporaryFile(/tmp/multipartBody6123449538379529258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308583793,"filename":"image_31012025_08_28_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/1/31/9b5502d8f51fe8bb215d71181e8094a3.jpg","text":"TemporaryFile(/tmp/multipartBody3069713418899157631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308583793,"filename":"image_31012025_08_28_25_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333240400","file1":"1333240395","file0":"1333240391","file4":"1333240406","file3":"1333240402"},"map_files_photo_id_array":[{"photo_id":"1333240400","filename":"file2"},{"photo_id":"1333240406","filename":"file4"},{"photo_id":"1333240395","filename":"file1"},{"photo_id":"1333240391","filename":"file0"},{"photo_id":"1333240402","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333240402":["hashtag1","hashtag2"]},{"1333240395":["hashtag1","hashtag2"]},{"1333240391":["hashtag1","hashtag2"]},{"1333240406":["hashtag1","hashtag2"]},{"1333240400":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333240402, 1333240395, 1333240391, 1333240406, 1333240400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.99904799461365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:29:33.118620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/28/image_31012025_08_28_55_10352.jpg', '/home/pi/Desktop/images/31012025/08/28/image_31012025_08_29_05_9341.jpg', '/home/pi/Desktop/images/31012025/08/29/image_31012025_08_29_15_10334.jpg', '/home/pi/Desktop/images/31012025/08/29/image_31012025_08_29_25_10407.jpg', '/home/pi/Desktop/images/31012025/08/29/image_31012025_08_29_35_9346.jpg', '/home/pi/Desktop/images/31012025/08/29/image_31012025_08_29_45_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/28/image_31012025_08_28_55_10352.jpg
/home/pi/Desktop/images/31012025/08/28/image_31012025_08_29_05_9341.jpg
/home/pi/Desktop/images/31012025/08/29/image_31012025_08_29_15_10334.jpg
/home/pi/Desktop/images/31012025/08/29/image_31012025_08_29_25_10407.jpg
/home/pi/Desktop/images/31012025/08/29/image_31012025_08_29_35_9346.jpg
/home/pi/Desktop/images/31012025/08/29/image_31012025_08_29_45_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":["1333240453","1333240441","1333240435","1333240429","1333240449","1333240457"],"photo_ids_order":["1333240429","1333240435","1333240441","1333240449","1333240453","1333240457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6a81542b6883a404cc947b890d970754.jpg","text":"TemporaryFile(/tmp/multipartBody3819723746890216343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308634089,"filename":"image_31012025_08_29_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/1/31/db5c6b63da19f8ca4eefc998ccce8c70.jpg","text":"TemporaryFile(/tmp/multipartBody3178041142560990561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308634089,"filename":"image_31012025_08_29_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d71d32ff0b8a3288940d96c5d7b9c7a0.jpg","text":"TemporaryFile(/tmp/multipartBody9205896551722240083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308634089,"filename":"image_31012025_08_29_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/1/31/11be8a6de540f9e8b6b906ad5d1b6b0d.jpg","text":"TemporaryFile(/tmp/multipartBody7256795196453107872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308634089,"filename":"image_31012025_08_28_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/1/31/9ae76e34e7806e8313c63eae36158f90.jpg","text":"TemporaryFile(/tmp/multipartBody7552775623798762760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308634089,"filename":"image_31012025_08_29_25_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7776d7d79e3e97d6863b5dcc89296339.jpg","text":"TemporaryFile(/tmp/multipartBody255271691655266247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308634089,"filename":"image_31012025_08_29_45_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333240441","file1":"1333240435","file0":"1333240429","file4":"1333240453","file5":"1333240457","file3":"1333240449"},"map_files_photo_id_array":[{"photo_id":"1333240457","filename":"file5"},{"photo_id":"1333240441","filename":"file2"},{"photo_id":"1333240453","filename":"file4"},{"photo_id":"1333240435","filename":"file1"},{"photo_id":"1333240429","filename":"file0"},{"photo_id":"1333240449","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333240453":["hashtag1","hashtag2"]},{"1333240441":["hashtag1","hashtag2"]},{"1333240435":["hashtag1","hashtag2"]},{"1333240429":["hashtag1","hashtag2"]},{"1333240449":["hashtag1","hashtag2"]},{"1333240457":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333240453, 1333240441, 1333240435, 1333240429, 1333240449, 1333240457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11612510681152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:30:32.534261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/29/image_31012025_08_29_54_9409.jpg', '/home/pi/Desktop/images/31012025/08/29/image_31012025_08_30_05_10394.jpg', '/home/pi/Desktop/images/31012025/08/30/image_31012025_08_30_35_10440.jpg', '/home/pi/Desktop/images/31012025/08/30/image_31012025_08_30_44_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/29/image_31012025_08_29_54_9409.jpg
/home/pi/Desktop/images/31012025/08/29/image_31012025_08_30_05_10394.jpg
/home/pi/Desktop/images/31012025/08/30/image_31012025_08_30_35_10440.jpg
/home/pi/Desktop/images/31012025/08/30/image_31012025_08_30_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":["1333240486","1333240501","1333240494","1333240542"],"photo_ids_order":["1333240486","1333240494","1333240501","1333240542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/817dbbebf47258e11b68a0e9f77c1a57.jpg","text":"TemporaryFile(/tmp/multipartBody8702238459851482371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308693422,"filename":"image_31012025_08_29_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/1/31/a0350888ede8c12f26f7ab7bd435b530.jpg","text":"TemporaryFile(/tmp/multipartBody5301775719808788290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308693422,"filename":"image_31012025_08_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/1/31/a6e9fba5b98ba2448da2d20d7a16daaf.jpg","text":"TemporaryFile(/tmp/multipartBody670866515104967132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308693422,"filename":"image_31012025_08_30_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/1/31/53892fff6b030c4ed0487a4b9ec489d0.jpg","text":"TemporaryFile(/tmp/multipartBody1230290607704083317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308693422,"filename":"image_31012025_08_30_44_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333240501","file1":"1333240494","file0":"1333240486","file3":"1333240542"},"map_files_photo_id_array":[{"photo_id":"1333240501","filename":"file2"},{"photo_id":"1333240494","filename":"file1"},{"photo_id":"1333240486","filename":"file0"},{"photo_id":"1333240542","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333240486":["hashtag1","hashtag2"]},{"1333240501":["hashtag1","hashtag2"]},{"1333240494":["hashtag1","hashtag2"]},{"1333240542":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333240486, 1333240501, 1333240494, 1333240542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.23289966583252 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:31:32.739597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/30/image_31012025_08_30_55_10479.jpg', '/home/pi/Desktop/images/31012025/08/30/image_31012025_08_31_05_10362.jpg', '/home/pi/Desktop/images/31012025/08/31/image_31012025_08_31_15_9339.jpg', '/home/pi/Desktop/images/31012025/08/31/image_31012025_08_31_25_10364.jpg', '/home/pi/Desktop/images/31012025/08/31/image_31012025_08_31_35_10348.jpg', '/home/pi/Desktop/images/31012025/08/31/image_31012025_08_31_45_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/30/image_31012025_08_30_55_10479.jpg
/home/pi/Desktop/images/31012025/08/30/image_31012025_08_31_05_10362.jpg
/home/pi/Desktop/images/31012025/08/31/image_31012025_08_31_15_9339.jpg
/home/pi/Desktop/images/31012025/08/31/image_31012025_08_31_25_10364.jpg
/home/pi/Desktop/images/31012025/08/31/image_31012025_08_31_35_10348.jpg
/home/pi/Desktop/images/31012025/08/31/image_31012025_08_31_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":["1333240782","1333240776","1333240707","1333240769","1333240712","1333240786"],"photo_ids_order":["1333240707","1333240712","1333240769","1333240776","1333240782","1333240786"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/142626af67f7d52c1e2c6e45ebeedcdb.jpg","text":"TemporaryFile(/tmp/multipartBody8716185662292618694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308753645,"filename":"image_31012025_08_31_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e9dfb821140b72d5a4d9e63c4d0ace27.jpg","text":"TemporaryFile(/tmp/multipartBody6498776887064867977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308753645,"filename":"image_31012025_08_31_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/1/31/322bdb00a39fc28f8f7ece2de5599ca3.jpg","text":"TemporaryFile(/tmp/multipartBody5756579520377063130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308753645,"filename":"image_31012025_08_30_55_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0f07696e402b5f07f8fa21175838599b.jpg","text":"TemporaryFile(/tmp/multipartBody702004653669283196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308753645,"filename":"image_31012025_08_31_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/1/31/e24f88e4e56c5068321ae7752de68e86.jpg","text":"TemporaryFile(/tmp/multipartBody4406730915540492803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308753645,"filename":"image_31012025_08_31_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/1/31/2c9f8cf868c87a07c1acd358b88fcb6e.jpg","text":"TemporaryFile(/tmp/multipartBody1893977684508864910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308753645,"filename":"image_31012025_08_31_45_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333240769","file1":"1333240712","file0":"1333240707","file4":"1333240782","file5":"1333240786","file3":"1333240776"},"map_files_photo_id_array":[{"photo_id":"1333240786","filename":"file5"},{"photo_id":"1333240769","filename":"file2"},{"photo_id":"1333240782","filename":"file4"},{"photo_id":"1333240712","filename":"file1"},{"photo_id":"1333240707","filename":"file0"},{"photo_id":"1333240776","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333240782":["hashtag1","hashtag2"]},{"1333240776":["hashtag1","hashtag2"]},{"1333240707":["hashtag1","hashtag2"]},{"1333240769":["hashtag1","hashtag2"]},{"1333240712":["hashtag1","hashtag2"]},{"1333240786":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333240782, 1333240776, 1333240707, 1333240769, 1333240712, 1333240786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.07583522796631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:32:33.020155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/31/image_31012025_08_31_55_10370.jpg', '/home/pi/Desktop/images/31012025/08/31/image_31012025_08_32_04_9348.jpg', '/home/pi/Desktop/images/31012025/08/32/image_31012025_08_32_15_10702.jpg', '/home/pi/Desktop/images/31012025/08/32/image_31012025_08_32_24_9258.jpg', '/home/pi/Desktop/images/31012025/08/32/image_31012025_08_32_35_10339.jpg', '/home/pi/Desktop/images/31012025/08/32/image_31012025_08_32_45_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/31/image_31012025_08_31_55_10370.jpg
/home/pi/Desktop/images/31012025/08/31/image_31012025_08_32_04_9348.jpg
/home/pi/Desktop/images/31012025/08/32/image_31012025_08_32_15_10702.jpg
/home/pi/Desktop/images/31012025/08/32/image_31012025_08_32_24_9258.jpg
/home/pi/Desktop/images/31012025/08/32/image_31012025_08_32_35_10339.jpg
/home/pi/Desktop/images/31012025/08/32/image_31012025_08_32_45_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":["1333240822","1333240831","1333240813","1333240844","1333240838","1333240805"],"photo_ids_order":["1333240805","1333240813","1333240822","1333240831","1333240838","1333240844"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0978dfba558ca2f10c686b17405d782b.jpg","text":"TemporaryFile(/tmp/multipartBody6240125756306956567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308813926,"filename":"image_31012025_08_32_15_10702.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1afc5f97cfb5b6e32abb0d8312c99214.jpg","text":"TemporaryFile(/tmp/multipartBody1165416124197815628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308813926,"filename":"image_31012025_08_32_24_9258.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b83fa1c649c86311767a76359883377e.jpg","text":"TemporaryFile(/tmp/multipartBody5252507605649728829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308813926,"filename":"image_31012025_08_32_04_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a57b763301dce6453a44821093b0f2f3.jpg","text":"TemporaryFile(/tmp/multipartBody5547761698696071590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308813926,"filename":"image_31012025_08_32_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/1/31/f60ea47b4f3a382a0ddc9c4768fc00a5.jpg","text":"TemporaryFile(/tmp/multipartBody8918429134511068538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308813926,"filename":"image_31012025_08_32_35_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9b6260fed3e375a59b88385f154224a1.jpg","text":"TemporaryFile(/tmp/multipartBody4781923627276229810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308813926,"filename":"image_31012025_08_31_55_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333240822","file1":"1333240813","file0":"1333240805","file4":"1333240838","file5":"1333240844","file3":"1333240831"},"map_files_photo_id_array":[{"photo_id":"1333240844","filename":"file5"},{"photo_id":"1333240822","filename":"file2"},{"photo_id":"1333240838","filename":"file4"},{"photo_id":"1333240813","filename":"file1"},{"photo_id":"1333240805","filename":"file0"},{"photo_id":"1333240831","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333240822":["hashtag1","hashtag2"]},{"1333240831":["hashtag1","hashtag2"]},{"1333240813":["hashtag1","hashtag2"]},{"1333240844":["hashtag1","hashtag2"]},{"1333240838":["hashtag1","hashtag2"]},{"1333240805":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333240822, 1333240831, 1333240813, 1333240844, 1333240838, 1333240805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.711419105529785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:33:32.449108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/32/image_31012025_08_32_54_9355.jpg', '/home/pi/Desktop/images/31012025/08/32/image_31012025_08_33_05_10875.jpg', '/home/pi/Desktop/images/31012025/08/33/image_31012025_08_33_15_9434.jpg', '/home/pi/Desktop/images/31012025/08/33/image_31012025_08_33_25_10376.jpg', '/home/pi/Desktop/images/31012025/08/33/image_31012025_08_33_35_9423.jpg', '/home/pi/Desktop/images/31012025/08/33/image_31012025_08_33_45_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/32/image_31012025_08_32_54_9355.jpg
/home/pi/Desktop/images/31012025/08/32/image_31012025_08_33_05_10875.jpg
/home/pi/Desktop/images/31012025/08/33/image_31012025_08_33_15_9434.jpg
/home/pi/Desktop/images/31012025/08/33/image_31012025_08_33_25_10376.jpg
/home/pi/Desktop/images/31012025/08/33/image_31012025_08_33_35_9423.jpg
/home/pi/Desktop/images/31012025/08/33/image_31012025_08_33_45_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":["1333241017","1333240981","1333240930","1333241901","1333241198","1333241549"],"photo_ids_order":["1333240930","1333240981","1333241017","1333241198","1333241549","1333241901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0980574c79f2b9971170cf86a50b4104.jpg","text":"TemporaryFile(/tmp/multipartBody6463885054869186798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308873363,"filename":"image_31012025_08_33_15_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4dcc245b8e419831cdb665ac1a27e467.jpg","text":"TemporaryFile(/tmp/multipartBody1229142159901535837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308873363,"filename":"image_31012025_08_33_05_10875.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1e9b8168fe4d9af4241096717987eec5.jpg","text":"TemporaryFile(/tmp/multipartBody3643859936000387518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308873363,"filename":"image_31012025_08_32_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/1/31/b0a47c8fe07962385ed9dcdb12da6503.jpg","text":"TemporaryFile(/tmp/multipartBody3645779550744874711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308873363,"filename":"image_31012025_08_33_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/1/31/26e88541e5bf481c64df51598bd37949.jpg","text":"TemporaryFile(/tmp/multipartBody4735582880948840999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308873363,"filename":"image_31012025_08_33_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/1/31/30510e0e5f4c89e27e5f228fbced46ea.jpg","text":"TemporaryFile(/tmp/multipartBody3032982230969874152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308873363,"filename":"image_31012025_08_33_35_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333241017","file1":"1333240981","file0":"1333240930","file4":"1333241549","file5":"1333241901","file3":"1333241198"},"map_files_photo_id_array":[{"photo_id":"1333241901","filename":"file5"},{"photo_id":"1333241017","filename":"file2"},{"photo_id":"1333241549","filename":"file4"},{"photo_id":"1333240981","filename":"file1"},{"photo_id":"1333240930","filename":"file0"},{"photo_id":"1333241198","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333241017":["hashtag1","hashtag2"]},{"1333240981":["hashtag1","hashtag2"]},{"1333240930":["hashtag1","hashtag2"]},{"1333241901":["hashtag1","hashtag2"]},{"1333241198":["hashtag1","hashtag2"]},{"1333241549":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333241017, 1333240981, 1333240930, 1333241901, 1333241198, 1333241549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.002554178237915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:34:32.729803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/33/image_31012025_08_33_54_9357.jpg', '/home/pi/Desktop/images/31012025/08/33/image_31012025_08_34_05_10479.jpg', '/home/pi/Desktop/images/31012025/08/34/image_31012025_08_34_15_10351.jpg', '/home/pi/Desktop/images/31012025/08/34/image_31012025_08_34_25_9428.jpg', '/home/pi/Desktop/images/31012025/08/34/image_31012025_08_34_35_10447.jpg', '/home/pi/Desktop/images/31012025/08/34/image_31012025_08_34_44_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/33/image_31012025_08_33_54_9357.jpg
/home/pi/Desktop/images/31012025/08/33/image_31012025_08_34_05_10479.jpg
/home/pi/Desktop/images/31012025/08/34/image_31012025_08_34_15_10351.jpg
/home/pi/Desktop/images/31012025/08/34/image_31012025_08_34_25_9428.jpg
/home/pi/Desktop/images/31012025/08/34/image_31012025_08_34_35_10447.jpg
/home/pi/Desktop/images/31012025/08/34/image_31012025_08_34_44_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":["1333241979","1333241958","1333241966","1333242200","1333242256","1333242211"],"photo_ids_order":["1333241958","1333241966","1333241979","1333242200","1333242211","1333242256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e99e41974b38626ae5e9a9b2ccbeec1e.jpg","text":"TemporaryFile(/tmp/multipartBody667340462836851818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308933672,"filename":"image_31012025_08_34_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/1/31/9d272a6529753d44489522bd0ea277c2.jpg","text":"TemporaryFile(/tmp/multipartBody2890006143346566033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308933672,"filename":"image_31012025_08_33_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/1/31/bc2a4e50df24caa980edcfa081887858.jpg","text":"TemporaryFile(/tmp/multipartBody7351960260296423568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308933672,"filename":"image_31012025_08_34_05_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d5fb1ec856f73eb4438275f591ffa84a.jpg","text":"TemporaryFile(/tmp/multipartBody3967457900196963441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308933672,"filename":"image_31012025_08_34_25_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/147bbafe8f9682541ea448a0840a9b5a.jpg","text":"TemporaryFile(/tmp/multipartBody5210113761227996067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308933672,"filename":"image_31012025_08_34_44_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/18ee533a57325f280ff2a776421dbe43.jpg","text":"TemporaryFile(/tmp/multipartBody5592144636180038945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308933672,"filename":"image_31012025_08_34_35_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333241979","file1":"1333241966","file0":"1333241958","file4":"1333242211","file5":"1333242256","file3":"1333242200"},"map_files_photo_id_array":[{"photo_id":"1333242256","filename":"file5"},{"photo_id":"1333241979","filename":"file2"},{"photo_id":"1333242211","filename":"file4"},{"photo_id":"1333241966","filename":"file1"},{"photo_id":"1333241958","filename":"file0"},{"photo_id":"1333242200","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333241979":["hashtag1","hashtag2"]},{"1333241958":["hashtag1","hashtag2"]},{"1333241966":["hashtag1","hashtag2"]},{"1333242200":["hashtag1","hashtag2"]},{"1333242256":["hashtag1","hashtag2"]},{"1333242211":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333241979, 1333241958, 1333241966, 1333242200, 1333242256, 1333242211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69508123397827 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:35:32.964073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/34/image_31012025_08_34_55_10416.jpg', '/home/pi/Desktop/images/31012025/08/34/image_31012025_08_35_05_10441.jpg', '/home/pi/Desktop/images/31012025/08/35/image_31012025_08_35_15_9341.jpg', '/home/pi/Desktop/images/31012025/08/35/image_31012025_08_35_25_10470.jpg', '/home/pi/Desktop/images/31012025/08/35/image_31012025_08_35_34_9330.jpg', '/home/pi/Desktop/images/31012025/08/35/image_31012025_08_35_45_10410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/34/image_31012025_08_34_55_10416.jpg
/home/pi/Desktop/images/31012025/08/34/image_31012025_08_35_05_10441.jpg
/home/pi/Desktop/images/31012025/08/35/image_31012025_08_35_15_9341.jpg
/home/pi/Desktop/images/31012025/08/35/image_31012025_08_35_25_10470.jpg
/home/pi/Desktop/images/31012025/08/35/image_31012025_08_35_34_9330.jpg
/home/pi/Desktop/images/31012025/08/35/image_31012025_08_35_45_10410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333242411","1333242380","1333242386","1333242401","1333242394","1333242406"],"photo_ids_order":["1333242380","1333242386","1333242394","1333242401","1333242406","1333242411"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b78f6e297d3034eed5eb845ba8205c5e.jpg","text":"TemporaryFile(/tmp/multipartBody6329665984911541169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308993873,"filename":"image_31012025_08_35_45_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f8d3a2dc47a0805f5f0be9dcb29e75da.jpg","text":"TemporaryFile(/tmp/multipartBody4492098620719587165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308993873,"filename":"image_31012025_08_34_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/1/31/19be5caf57d7ff5f3e6f97d92cafdec8.jpg","text":"TemporaryFile(/tmp/multipartBody6609029833021234801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308993873,"filename":"image_31012025_08_35_05_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/493c001dd6cdbe26873621d321e09629.jpg","text":"TemporaryFile(/tmp/multipartBody7799407959484857829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308993873,"filename":"image_31012025_08_35_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/1/31/afb8db83af290da7d25ea3f0a01f1570.jpg","text":"TemporaryFile(/tmp/multipartBody5182232026678037198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308993873,"filename":"image_31012025_08_35_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/1/31/8db5539c3e7aabc14ee4cef1bfa5451e.jpg","text":"TemporaryFile(/tmp/multipartBody3951024567480815851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738308993873,"filename":"image_31012025_08_35_34_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333242394","file1":"1333242386","file0":"1333242380","file4":"1333242406","file5":"1333242411","file3":"1333242401"},"map_files_photo_id_array":[{"photo_id":"1333242411","filename":"file5"},{"photo_id":"1333242394","filename":"file2"},{"photo_id":"1333242406","filename":"file4"},{"photo_id":"1333242386","filename":"file1"},{"photo_id":"1333242380","filename":"file0"},{"photo_id":"1333242401","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333242411":["hashtag1","hashtag2"]},{"1333242380":["hashtag1","hashtag2"]},{"1333242386":["hashtag1","hashtag2"]},{"1333242401":["hashtag1","hashtag2"]},{"1333242394":["hashtag1","hashtag2"]},{"1333242406":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333242411, 1333242380, 1333242386, 1333242401, 1333242394, 1333242406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.913737297058105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:36:33.044893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/35/image_31012025_08_35_55_10360.jpg', '/home/pi/Desktop/images/31012025/08/35/image_31012025_08_36_04_9334.jpg', '/home/pi/Desktop/images/31012025/08/36/image_31012025_08_36_15_10422.jpg', '/home/pi/Desktop/images/31012025/08/36/image_31012025_08_36_25_10381.jpg', '/home/pi/Desktop/images/31012025/08/36/image_31012025_08_36_35_9332.jpg', '/home/pi/Desktop/images/31012025/08/36/image_31012025_08_36_45_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/35/image_31012025_08_35_55_10360.jpg
/home/pi/Desktop/images/31012025/08/35/image_31012025_08_36_04_9334.jpg
/home/pi/Desktop/images/31012025/08/36/image_31012025_08_36_15_10422.jpg
/home/pi/Desktop/images/31012025/08/36/image_31012025_08_36_25_10381.jpg
/home/pi/Desktop/images/31012025/08/36/image_31012025_08_36_35_9332.jpg
/home/pi/Desktop/images/31012025/08/36/image_31012025_08_36_45_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":["1333242635","1333242620","1333242608","1333242631","1333242601","1333242625"],"photo_ids_order":["1333242601","1333242608","1333242620","1333242625","1333242631","1333242635"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/169985f1c6d90eb2bf18ead93111f5f9.jpg","text":"TemporaryFile(/tmp/multipartBody9197910443806072272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309053957,"filename":"image_31012025_08_36_45_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/14092ca5a79a02da6c956920e1df5710.jpg","text":"TemporaryFile(/tmp/multipartBody6935193842713747234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309053957,"filename":"image_31012025_08_36_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/1/31/3283cae528344282f2fc518c09602b8e.jpg","text":"TemporaryFile(/tmp/multipartBody7087008627093617350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309053957,"filename":"image_31012025_08_36_04_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/72073f9ca04c6fee4f1fcf4ec5b34526.jpg","text":"TemporaryFile(/tmp/multipartBody5087637636253285590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309053957,"filename":"image_31012025_08_36_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/1/31/5bbe5d3cf6eb43927bdbc3b07a39015d.jpg","text":"TemporaryFile(/tmp/multipartBody6050086758038659402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309053957,"filename":"image_31012025_08_35_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/1/31/c0c46b368f99b022496ee60d1ba45dc8.jpg","text":"TemporaryFile(/tmp/multipartBody1492432206797768733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309053957,"filename":"image_31012025_08_36_25_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333242620","file1":"1333242608","file0":"1333242601","file4":"1333242631","file5":"1333242635","file3":"1333242625"},"map_files_photo_id_array":[{"photo_id":"1333242635","filename":"file5"},{"photo_id":"1333242620","filename":"file2"},{"photo_id":"1333242631","filename":"file4"},{"photo_id":"1333242608","filename":"file1"},{"photo_id":"1333242601","filename":"file0"},{"photo_id":"1333242625","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333242635":["hashtag1","hashtag2"]},{"1333242620":["hashtag1","hashtag2"]},{"1333242608":["hashtag1","hashtag2"]},{"1333242631":["hashtag1","hashtag2"]},{"1333242601":["hashtag1","hashtag2"]},{"1333242625":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333242635, 1333242620, 1333242608, 1333242631, 1333242601, 1333242625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12203621864319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:37:32.390662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/36/image_31012025_08_36_54_9345.jpg', '/home/pi/Desktop/images/31012025/08/36/image_31012025_08_37_05_10397.jpg', '/home/pi/Desktop/images/31012025/08/37/image_31012025_08_37_15_10348.jpg', '/home/pi/Desktop/images/31012025/08/37/image_31012025_08_37_24_9254.jpg', '/home/pi/Desktop/images/31012025/08/37/image_31012025_08_37_35_10493.jpg', '/home/pi/Desktop/images/31012025/08/37/image_31012025_08_37_45_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/36/image_31012025_08_36_54_9345.jpg
/home/pi/Desktop/images/31012025/08/36/image_31012025_08_37_05_10397.jpg
/home/pi/Desktop/images/31012025/08/37/image_31012025_08_37_15_10348.jpg
/home/pi/Desktop/images/31012025/08/37/image_31012025_08_37_24_9254.jpg
/home/pi/Desktop/images/31012025/08/37/image_31012025_08_37_35_10493.jpg
/home/pi/Desktop/images/31012025/08/37/image_31012025_08_37_45_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":["1333242819","1333242809","1333242803","1333242725","1333242790","1333242721"],"photo_ids_order":["1333242721","1333242725","1333242790","1333242803","1333242809","1333242819"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f90d975957193adbbc5b3379e47ac31c.jpg","text":"TemporaryFile(/tmp/multipartBody8308632900436630762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309113335,"filename":"image_31012025_08_37_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/1/31/0d306c31833aae90ad65db4c5b48dfb5.jpg","text":"TemporaryFile(/tmp/multipartBody2069909560600544592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309113335,"filename":"image_31012025_08_37_35_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/314c6b394c0fb6fe3d51a0205e9c5e32.jpg","text":"TemporaryFile(/tmp/multipartBody5090730532389091260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309113335,"filename":"image_31012025_08_37_24_9254.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/431127adae76f4bddf30e027e780b834.jpg","text":"TemporaryFile(/tmp/multipartBody584834706071979353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309113335,"filename":"image_31012025_08_37_05_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3af3aaf16f6f15dc9c5fd746bef0afc2.jpg","text":"TemporaryFile(/tmp/multipartBody5409247905011103521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309113335,"filename":"image_31012025_08_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/1/31/30eda35dd56b08a0e44dc43bc4fd248c.jpg","text":"TemporaryFile(/tmp/multipartBody441259282785746453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309113335,"filename":"image_31012025_08_36_54_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333242790","file1":"1333242725","file0":"1333242721","file4":"1333242809","file5":"1333242819","file3":"1333242803"},"map_files_photo_id_array":[{"photo_id":"1333242819","filename":"file5"},{"photo_id":"1333242790","filename":"file2"},{"photo_id":"1333242809","filename":"file4"},{"photo_id":"1333242725","filename":"file1"},{"photo_id":"1333242721","filename":"file0"},{"photo_id":"1333242803","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333242819":["hashtag1","hashtag2"]},{"1333242809":["hashtag1","hashtag2"]},{"1333242803":["hashtag1","hashtag2"]},{"1333242725":["hashtag1","hashtag2"]},{"1333242790":["hashtag1","hashtag2"]},{"1333242721":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333242819, 1333242809, 1333242803, 1333242725, 1333242790, 1333242721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.161858558654785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:38:32.606690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/37/image_31012025_08_37_55_9345.jpg', '/home/pi/Desktop/images/31012025/08/37/image_31012025_08_38_05_10457.jpg', '/home/pi/Desktop/images/31012025/08/38/image_31012025_08_38_14_9344.jpg', '/home/pi/Desktop/images/31012025/08/38/image_31012025_08_38_25_10327.jpg', '/home/pi/Desktop/images/31012025/08/38/image_31012025_08_38_35_10454.jpg', '/home/pi/Desktop/images/31012025/08/38/image_31012025_08_38_44_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/37/image_31012025_08_37_55_9345.jpg
/home/pi/Desktop/images/31012025/08/37/image_31012025_08_38_05_10457.jpg
/home/pi/Desktop/images/31012025/08/38/image_31012025_08_38_14_9344.jpg
/home/pi/Desktop/images/31012025/08/38/image_31012025_08_38_25_10327.jpg
/home/pi/Desktop/images/31012025/08/38/image_31012025_08_38_35_10454.jpg
/home/pi/Desktop/images/31012025/08/38/image_31012025_08_38_44_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":["1333242995","1333242986","1333242991","1333242994","1333242970","1333242978"],"photo_ids_order":["1333242970","1333242978","1333242986","1333242991","1333242994","1333242995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a0e993d5546c85a7f024c28528b62718.jpg","text":"TemporaryFile(/tmp/multipartBody5704747379051224440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309173529,"filename":"image_31012025_08_38_44_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a0e4c01e27bdc5e51afe2dcf91395c79.jpg","text":"TemporaryFile(/tmp/multipartBody308447429424694123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309173529,"filename":"image_31012025_08_38_14_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/51d475773cc89b76cf9b62776a419d94.jpg","text":"TemporaryFile(/tmp/multipartBody4768822137338080312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309173529,"filename":"image_31012025_08_38_25_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b13119f86020503ad680ba429157b02d.jpg","text":"TemporaryFile(/tmp/multipartBody7095594601737734045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309173529,"filename":"image_31012025_08_38_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/1/31/7416b1516d8e49f996272ffe50575803.jpg","text":"TemporaryFile(/tmp/multipartBody2124631584042821687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309173529,"filename":"image_31012025_08_37_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/1/31/e186a247065eaede1a2c29f7d8bf8993.jpg","text":"TemporaryFile(/tmp/multipartBody7310379025464510206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309173529,"filename":"image_31012025_08_38_05_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333242986","file1":"1333242978","file0":"1333242970","file4":"1333242994","file5":"1333242995","file3":"1333242991"},"map_files_photo_id_array":[{"photo_id":"1333242995","filename":"file5"},{"photo_id":"1333242986","filename":"file2"},{"photo_id":"1333242994","filename":"file4"},{"photo_id":"1333242978","filename":"file1"},{"photo_id":"1333242970","filename":"file0"},{"photo_id":"1333242991","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333242995":["hashtag1","hashtag2"]},{"1333242986":["hashtag1","hashtag2"]},{"1333242991":["hashtag1","hashtag2"]},{"1333242994":["hashtag1","hashtag2"]},{"1333242970":["hashtag1","hashtag2"]},{"1333242978":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333242995, 1333242986, 1333242991, 1333242994, 1333242970, 1333242978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24111032485962 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:39:32.917044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/38/image_31012025_08_38_55_10437.jpg', '/home/pi/Desktop/images/31012025/08/38/image_31012025_08_39_05_10363.jpg', '/home/pi/Desktop/images/31012025/08/39/image_31012025_08_39_15_9520.jpg', '/home/pi/Desktop/images/31012025/08/39/image_31012025_08_39_25_10442.jpg', '/home/pi/Desktop/images/31012025/08/39/image_31012025_08_39_35_9346.jpg', '/home/pi/Desktop/images/31012025/08/39/image_31012025_08_39_45_10380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/38/image_31012025_08_38_55_10437.jpg
/home/pi/Desktop/images/31012025/08/38/image_31012025_08_39_05_10363.jpg
/home/pi/Desktop/images/31012025/08/39/image_31012025_08_39_15_9520.jpg
/home/pi/Desktop/images/31012025/08/39/image_31012025_08_39_25_10442.jpg
/home/pi/Desktop/images/31012025/08/39/image_31012025_08_39_35_9346.jpg
/home/pi/Desktop/images/31012025/08/39/image_31012025_08_39_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":["1333243070","1333243058","1333243031","1333243040","1333243048","1333243024"],"photo_ids_order":["1333243024","1333243031","1333243040","1333243048","1333243058","1333243070"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/97c29c15f2070f13e3542b6e89b120fb.jpg","text":"TemporaryFile(/tmp/multipartBody5085414966129478889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309233826,"filename":"image_31012025_08_39_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/1/31/4b871b95556a80c245e61e2fa76c3022.jpg","text":"TemporaryFile(/tmp/multipartBody5062514761563377652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309233826,"filename":"image_31012025_08_39_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/1/31/be962723d0e4866eb7cbd3cce1277fc2.jpg","text":"TemporaryFile(/tmp/multipartBody848082601464319893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309233826,"filename":"image_31012025_08_39_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/1/31/0513b8d3d178cafbc4c493d867586c06.jpg","text":"TemporaryFile(/tmp/multipartBody8259132279471670101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309233826,"filename":"image_31012025_08_39_15_9520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b8b6492f308e505157c4bd180f2d3525.jpg","text":"TemporaryFile(/tmp/multipartBody6135471246497900626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309233826,"filename":"image_31012025_08_39_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/1/31/a5fb77314887763dccf000dd0a93833f.jpg","text":"TemporaryFile(/tmp/multipartBody2438373549080980183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309233826,"filename":"image_31012025_08_38_55_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333243040","file1":"1333243031","file0":"1333243024","file4":"1333243058","file5":"1333243070","file3":"1333243048"},"map_files_photo_id_array":[{"photo_id":"1333243070","filename":"file5"},{"photo_id":"1333243040","filename":"file2"},{"photo_id":"1333243058","filename":"file4"},{"photo_id":"1333243031","filename":"file1"},{"photo_id":"1333243024","filename":"file0"},{"photo_id":"1333243048","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333243070":["hashtag1","hashtag2"]},{"1333243058":["hashtag1","hashtag2"]},{"1333243031":["hashtag1","hashtag2"]},{"1333243040":["hashtag1","hashtag2"]},{"1333243048":["hashtag1","hashtag2"]},{"1333243024":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333243070, 1333243058, 1333243031, 1333243040, 1333243048, 1333243024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42105269432068 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:40:33.033413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/39/image_31012025_08_39_54_9350.jpg', '/home/pi/Desktop/images/31012025/08/39/image_31012025_08_40_05_10438.jpg', '/home/pi/Desktop/images/31012025/08/40/image_31012025_08_40_15_10364.jpg', '/home/pi/Desktop/images/31012025/08/40/image_31012025_08_40_25_9370.jpg', '/home/pi/Desktop/images/31012025/08/40/image_31012025_08_40_35_10355.jpg', '/home/pi/Desktop/images/31012025/08/40/image_31012025_08_40_45_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/39/image_31012025_08_39_54_9350.jpg
/home/pi/Desktop/images/31012025/08/39/image_31012025_08_40_05_10438.jpg
/home/pi/Desktop/images/31012025/08/40/image_31012025_08_40_15_10364.jpg
/home/pi/Desktop/images/31012025/08/40/image_31012025_08_40_25_9370.jpg
/home/pi/Desktop/images/31012025/08/40/image_31012025_08_40_35_10355.jpg
/home/pi/Desktop/images/31012025/08/40/image_31012025_08_40_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":["1333243199","1333243203","1333243206","1333243180","1333243188","1333243173"],"photo_ids_order":["1333243173","1333243180","1333243188","1333243199","1333243203","1333243206"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c48759a9ce800243dfad931a85c8e786.jpg","text":"TemporaryFile(/tmp/multipartBody2739387626330694222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309293944,"filename":"image_31012025_08_40_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/1/31/516cfa6c57596061efb621b4481a2910.jpg","text":"TemporaryFile(/tmp/multipartBody5372143527181814424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309293944,"filename":"image_31012025_08_40_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/1/31/b1351511bfc336c93abf22a949e9f816.jpg","text":"TemporaryFile(/tmp/multipartBody6632406440670635119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309293944,"filename":"image_31012025_08_40_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/1/31/53d4cdd3d21f08388e65bf4f0493de34.jpg","text":"TemporaryFile(/tmp/multipartBody4047215755328724463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309293944,"filename":"image_31012025_08_40_05_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4e05e7235faaa262ae2e85996bf0a61c.jpg","text":"TemporaryFile(/tmp/multipartBody4037220681404072253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309293944,"filename":"image_31012025_08_40_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/1/31/8db7f443758935b7e943bcddc4a5d467.jpg","text":"TemporaryFile(/tmp/multipartBody2109240027389410703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309293944,"filename":"image_31012025_08_39_54_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333243188","file1":"1333243180","file0":"1333243173","file4":"1333243203","file5":"1333243206","file3":"1333243199"},"map_files_photo_id_array":[{"photo_id":"1333243206","filename":"file5"},{"photo_id":"1333243188","filename":"file2"},{"photo_id":"1333243203","filename":"file4"},{"photo_id":"1333243180","filename":"file1"},{"photo_id":"1333243173","filename":"file0"},{"photo_id":"1333243199","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333243199":["hashtag1","hashtag2"]},{"1333243203":["hashtag1","hashtag2"]},{"1333243206":["hashtag1","hashtag2"]},{"1333243180":["hashtag1","hashtag2"]},{"1333243188":["hashtag1","hashtag2"]},{"1333243173":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333243199, 1333243203, 1333243206, 1333243180, 1333243188, 1333243173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.0966956615448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:41:32.271808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/40/image_31012025_08_40_55_9353.jpg', '/home/pi/Desktop/images/31012025/08/40/image_31012025_08_41_05_10357.jpg', '/home/pi/Desktop/images/31012025/08/41/image_31012025_08_41_15_10349.jpg', '/home/pi/Desktop/images/31012025/08/41/image_31012025_08_41_25_9334.jpg', '/home/pi/Desktop/images/31012025/08/41/image_31012025_08_41_35_10345.jpg', '/home/pi/Desktop/images/31012025/08/41/image_31012025_08_41_44_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/40/image_31012025_08_40_55_9353.jpg
/home/pi/Desktop/images/31012025/08/40/image_31012025_08_41_05_10357.jpg
/home/pi/Desktop/images/31012025/08/41/image_31012025_08_41_15_10349.jpg
/home/pi/Desktop/images/31012025/08/41/image_31012025_08_41_25_9334.jpg
/home/pi/Desktop/images/31012025/08/41/image_31012025_08_41_35_10345.jpg
/home/pi/Desktop/images/31012025/08/41/image_31012025_08_41_44_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":["1333243320","1333243323","1333243316","1333243307","1333243285","1333243311"],"photo_ids_order":["1333243285","1333243307","1333243311","1333243316","1333243320","1333243323"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/800768a65625d38cfab4a730ba9efb51.jpg","text":"TemporaryFile(/tmp/multipartBody6498570315176653262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309353204,"filename":"image_31012025_08_41_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/1/31/c5e8519a99ee488e77e4f1d18705d39c.jpg","text":"TemporaryFile(/tmp/multipartBody6335035166718366364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309353204,"filename":"image_31012025_08_41_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/1/31/472f39bf73cc109c10ba0d68c8f704a1.jpg","text":"TemporaryFile(/tmp/multipartBody8999501314856620045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309353204,"filename":"image_31012025_08_41_25_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/569c51786b65790977d9ac6c94c81161.jpg","text":"TemporaryFile(/tmp/multipartBody480929041227076130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309353204,"filename":"image_31012025_08_41_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/1/31/2516233320071b3e3b9bf0ccfde6cc2c.jpg","text":"TemporaryFile(/tmp/multipartBody6348444359509071308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309353204,"filename":"image_31012025_08_40_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/1/31/e2a52e7cfe76a00248fd0937eecf9f43.jpg","text":"TemporaryFile(/tmp/multipartBody5697813652493490489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309353204,"filename":"image_31012025_08_41_15_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333243311","file1":"1333243307","file0":"1333243285","file4":"1333243320","file5":"1333243323","file3":"1333243316"},"map_files_photo_id_array":[{"photo_id":"1333243323","filename":"file5"},{"photo_id":"1333243311","filename":"file2"},{"photo_id":"1333243320","filename":"file4"},{"photo_id":"1333243307","filename":"file1"},{"photo_id":"1333243285","filename":"file0"},{"photo_id":"1333243316","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333243320":["hashtag1","hashtag2"]},{"1333243323":["hashtag1","hashtag2"]},{"1333243316":["hashtag1","hashtag2"]},{"1333243307":["hashtag1","hashtag2"]},{"1333243285":["hashtag1","hashtag2"]},{"1333243311":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333243320, 1333243323, 1333243316, 1333243307, 1333243285, 1333243311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.226332664489746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:42:32.487075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/41/image_31012025_08_41_55_10486.jpg', '/home/pi/Desktop/images/31012025/08/41/image_31012025_08_42_05_10337.jpg', '/home/pi/Desktop/images/31012025/08/42/image_31012025_08_42_14_9325.jpg', '/home/pi/Desktop/images/31012025/08/42/image_31012025_08_42_25_10453.jpg', '/home/pi/Desktop/images/31012025/08/42/image_31012025_08_42_35_10361.jpg', '/home/pi/Desktop/images/31012025/08/42/image_31012025_08_42_45_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/41/image_31012025_08_41_55_10486.jpg
/home/pi/Desktop/images/31012025/08/41/image_31012025_08_42_05_10337.jpg
/home/pi/Desktop/images/31012025/08/42/image_31012025_08_42_14_9325.jpg
/home/pi/Desktop/images/31012025/08/42/image_31012025_08_42_25_10453.jpg
/home/pi/Desktop/images/31012025/08/42/image_31012025_08_42_35_10361.jpg
/home/pi/Desktop/images/31012025/08/42/image_31012025_08_42_45_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":["1333243535","1333243552","1333243528","1333243548","1333243542","1333243551"],"photo_ids_order":["1333243528","1333243535","1333243542","1333243548","1333243551","1333243552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b6967c2f0d429af948cbf557c7438ec9.jpg","text":"TemporaryFile(/tmp/multipartBody1578186773845062370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309413422,"filename":"image_31012025_08_42_05_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c6159982843c9ae00f603a14c761a4b6.jpg","text":"TemporaryFile(/tmp/multipartBody8073222590721805409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309413422,"filename":"image_31012025_08_42_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/1/31/dcdbb6f09725ba2bad7ae62b428c468e.jpg","text":"TemporaryFile(/tmp/multipartBody4711216462669891183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309413422,"filename":"image_31012025_08_41_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/1/31/20cf89f1718952e67ba130ba230c5780.jpg","text":"TemporaryFile(/tmp/multipartBody7304709610764995691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309413422,"filename":"image_31012025_08_42_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/1/31/bcc3fcd6412950aeaf9b7305aed63a8e.jpg","text":"TemporaryFile(/tmp/multipartBody3745102929035423857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309413422,"filename":"image_31012025_08_42_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/1/31/b7a0c68720ed8d29ca2905d5d123345a.jpg","text":"TemporaryFile(/tmp/multipartBody8666304948517857129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309413422,"filename":"image_31012025_08_42_35_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333243542","file1":"1333243535","file0":"1333243528","file4":"1333243551","file5":"1333243552","file3":"1333243548"},"map_files_photo_id_array":[{"photo_id":"1333243552","filename":"file5"},{"photo_id":"1333243542","filename":"file2"},{"photo_id":"1333243551","filename":"file4"},{"photo_id":"1333243535","filename":"file1"},{"photo_id":"1333243528","filename":"file0"},{"photo_id":"1333243548","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333243535":["hashtag1","hashtag2"]},{"1333243552":["hashtag1","hashtag2"]},{"1333243528":["hashtag1","hashtag2"]},{"1333243548":["hashtag1","hashtag2"]},{"1333243542":["hashtag1","hashtag2"]},{"1333243551":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333243535, 1333243552, 1333243528, 1333243548, 1333243542, 1333243551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.776139974594116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:43:32.693125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/42/image_31012025_08_42_55_10374.jpg', '/home/pi/Desktop/images/31012025/08/42/image_31012025_08_43_04_9346.jpg', '/home/pi/Desktop/images/31012025/08/43/image_31012025_08_43_15_10390.jpg', '/home/pi/Desktop/images/31012025/08/43/image_31012025_08_43_25_10349.jpg', '/home/pi/Desktop/images/31012025/08/43/image_31012025_08_43_34_9339.jpg', '/home/pi/Desktop/images/31012025/08/43/image_31012025_08_43_45_10466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/42/image_31012025_08_42_55_10374.jpg
/home/pi/Desktop/images/31012025/08/42/image_31012025_08_43_04_9346.jpg
/home/pi/Desktop/images/31012025/08/43/image_31012025_08_43_15_10390.jpg
/home/pi/Desktop/images/31012025/08/43/image_31012025_08_43_25_10349.jpg
/home/pi/Desktop/images/31012025/08/43/image_31012025_08_43_34_9339.jpg
/home/pi/Desktop/images/31012025/08/43/image_31012025_08_43_45_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":["1333243784","1333243832","1333243764","1333243755","1333243629","1333243737"],"photo_ids_order":["1333243629","1333243737","1333243755","1333243764","1333243784","1333243832"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/77ae454289e727684bd283189d3035fc.jpg","text":"TemporaryFile(/tmp/multipartBody7891466454443224881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309473622,"filename":"image_31012025_08_43_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/1/31/ff5c6ad217d37bf7d1a4f8ae3f5029a9.jpg","text":"TemporaryFile(/tmp/multipartBody8464678740570760796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309473622,"filename":"image_31012025_08_43_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/1/31/84c3ba446b7ec23af687b530132cfe99.jpg","text":"TemporaryFile(/tmp/multipartBody5036294127296318733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309473622,"filename":"image_31012025_08_43_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/012c5baabd18f9baddb6828bedbcbeb5.jpg","text":"TemporaryFile(/tmp/multipartBody7885165052085882510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309473622,"filename":"image_31012025_08_43_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/1/31/cf8e5ab97069686f8ee03f9512a81cfc.jpg","text":"TemporaryFile(/tmp/multipartBody8242777460689624256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309473622,"filename":"image_31012025_08_42_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/1/31/bf484a2faa55aa1ff54b06eee129b6b7.jpg","text":"TemporaryFile(/tmp/multipartBody4691568013015265419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309473622,"filename":"image_31012025_08_43_04_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333243755","file1":"1333243737","file0":"1333243629","file4":"1333243784","file5":"1333243832","file3":"1333243764"},"map_files_photo_id_array":[{"photo_id":"1333243832","filename":"file5"},{"photo_id":"1333243755","filename":"file2"},{"photo_id":"1333243784","filename":"file4"},{"photo_id":"1333243737","filename":"file1"},{"photo_id":"1333243629","filename":"file0"},{"photo_id":"1333243764","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333243784":["hashtag1","hashtag2"]},{"1333243832":["hashtag1","hashtag2"]},{"1333243764":["hashtag1","hashtag2"]},{"1333243755":["hashtag1","hashtag2"]},{"1333243629":["hashtag1","hashtag2"]},{"1333243737":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333243784, 1333243832, 1333243764, 1333243755, 1333243629, 1333243737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54149079322815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:44:32.945721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/43/image_31012025_08_43_55_10353.jpg', '/home/pi/Desktop/images/31012025/08/43/image_31012025_08_44_05_9339.jpg', '/home/pi/Desktop/images/31012025/08/44/image_31012025_08_44_15_10468.jpg', '/home/pi/Desktop/images/31012025/08/44/image_31012025_08_44_24_9337.jpg', '/home/pi/Desktop/images/31012025/08/44/image_31012025_08_44_35_10486.jpg', '/home/pi/Desktop/images/31012025/08/44/image_31012025_08_44_45_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/43/image_31012025_08_43_55_10353.jpg
/home/pi/Desktop/images/31012025/08/43/image_31012025_08_44_05_9339.jpg
/home/pi/Desktop/images/31012025/08/44/image_31012025_08_44_15_10468.jpg
/home/pi/Desktop/images/31012025/08/44/image_31012025_08_44_24_9337.jpg
/home/pi/Desktop/images/31012025/08/44/image_31012025_08_44_35_10486.jpg
/home/pi/Desktop/images/31012025/08/44/image_31012025_08_44_45_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":["1333243923","1333243911","1333243937","1333243928","1333243918","1333243935"],"photo_ids_order":["1333243911","1333243918","1333243923","1333243928","1333243935","1333243937"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dc5c35bb43472a1934c7bf958743d8b7.jpg","text":"TemporaryFile(/tmp/multipartBody5918872242986889233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309533853,"filename":"image_31012025_08_44_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/1/31/a45ccf67fa53c4b0539cfe15a5e534c9.jpg","text":"TemporaryFile(/tmp/multipartBody7336030936696435975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309533853,"filename":"image_31012025_08_43_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/1/31/e6c6b3d77b1674fe95290fa9e6cfd4c5.jpg","text":"TemporaryFile(/tmp/multipartBody6419985214194523675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309533853,"filename":"image_31012025_08_44_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/1/31/31dc7d6108f1957cf34dbf97700618e4.jpg","text":"TemporaryFile(/tmp/multipartBody4402993349088521692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309533853,"filename":"image_31012025_08_44_24_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e2b1061ee122fd0f2a1a5fa731460965.jpg","text":"TemporaryFile(/tmp/multipartBody5739901553473798736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309533853,"filename":"image_31012025_08_44_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/1/31/b9d554b17bb8d422266f81abe123a308.jpg","text":"TemporaryFile(/tmp/multipartBody3253589631359244971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309533853,"filename":"image_31012025_08_44_35_10486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333243923","file1":"1333243918","file0":"1333243911","file4":"1333243935","file5":"1333243937","file3":"1333243928"},"map_files_photo_id_array":[{"photo_id":"1333243937","filename":"file5"},{"photo_id":"1333243923","filename":"file2"},{"photo_id":"1333243935","filename":"file4"},{"photo_id":"1333243918","filename":"file1"},{"photo_id":"1333243911","filename":"file0"},{"photo_id":"1333243928","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333243923":["hashtag1","hashtag2"]},{"1333243911":["hashtag1","hashtag2"]},{"1333243937":["hashtag1","hashtag2"]},{"1333243928":["hashtag1","hashtag2"]},{"1333243918":["hashtag1","hashtag2"]},{"1333243935":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333243923, 1333243911, 1333243937, 1333243928, 1333243918, 1333243935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.062339067459106 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:45:33.078504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/44/image_31012025_08_44_55_9352.jpg', '/home/pi/Desktop/images/31012025/08/44/image_31012025_08_45_05_10428.jpg', '/home/pi/Desktop/images/31012025/08/45/image_31012025_08_45_14_9342.jpg', '/home/pi/Desktop/images/31012025/08/45/image_31012025_08_45_25_10501.jpg', '/home/pi/Desktop/images/31012025/08/45/image_31012025_08_45_35_10358.jpg', '/home/pi/Desktop/images/31012025/08/45/image_31012025_08_45_45_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/44/image_31012025_08_44_55_9352.jpg
/home/pi/Desktop/images/31012025/08/44/image_31012025_08_45_05_10428.jpg
/home/pi/Desktop/images/31012025/08/45/image_31012025_08_45_14_9342.jpg
/home/pi/Desktop/images/31012025/08/45/image_31012025_08_45_25_10501.jpg
/home/pi/Desktop/images/31012025/08/45/image_31012025_08_45_35_10358.jpg
/home/pi/Desktop/images/31012025/08/45/image_31012025_08_45_45_9353.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5485105514526367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 08:45:43.185355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/44/image_31012025_08_44_55_9352.jpg', '/home/pi/Desktop/images/31012025/08/44/image_31012025_08_45_05_10428.jpg', '/home/pi/Desktop/images/31012025/08/45/image_31012025_08_45_14_9342.jpg', '/home/pi/Desktop/images/31012025/08/45/image_31012025_08_45_25_10501.jpg', '/home/pi/Desktop/images/31012025/08/45/image_31012025_08_45_35_10358.jpg', '/home/pi/Desktop/images/31012025/08/45/image_31012025_08_45_45_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/44/image_31012025_08_44_55_9352.jpg
/home/pi/Desktop/images/31012025/08/44/image_31012025_08_45_05_10428.jpg
/home/pi/Desktop/images/31012025/08/45/image_31012025_08_45_14_9342.jpg
/home/pi/Desktop/images/31012025/08/45/image_31012025_08_45_25_10501.jpg
/home/pi/Desktop/images/31012025/08/45/image_31012025_08_45_35_10358.jpg
/home/pi/Desktop/images/31012025/08/45/image_31012025_08_45_45_9353.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":["1333243997","1333243990","1333243981","1333244011","1333244005","1333244001"],"photo_ids_order":["1333243981","1333243990","1333243997","1333244001","1333244005","1333244011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/535df724bdf35094f08fbb181a5c1fe3.jpg","text":"TemporaryFile(/tmp/multipartBody5903330191887815895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309604131,"filename":"image_31012025_08_45_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/1/31/eb0f47316fd2290b81023c4fa5f2fed8.jpg","text":"TemporaryFile(/tmp/multipartBody7614461152928604815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309604131,"filename":"image_31012025_08_45_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/1/31/d512b5520c58ddf98fd10f3280c430a6.jpg","text":"TemporaryFile(/tmp/multipartBody220813532448258998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309604131,"filename":"image_31012025_08_44_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/1/31/add7b690942f9563ecf47246a5b42842.jpg","text":"TemporaryFile(/tmp/multipartBody7296813384671840595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309604131,"filename":"image_31012025_08_45_45_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/29d8460419b0ac555e3234ae015439d6.jpg","text":"TemporaryFile(/tmp/multipartBody2615950328227514950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309604131,"filename":"image_31012025_08_45_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/1/31/b5db19e55eb49163068c57cc4e9559a8.jpg","text":"TemporaryFile(/tmp/multipartBody6813288961929128935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309604131,"filename":"image_31012025_08_45_25_10501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333243997","file1":"1333243990","file0":"1333243981","file4":"1333244005","file5":"1333244011","file3":"1333244001"},"map_files_photo_id_array":[{"photo_id":"1333244011","filename":"file5"},{"photo_id":"1333243997","filename":"file2"},{"photo_id":"1333244005","filename":"file4"},{"photo_id":"1333243990","filename":"file1"},{"photo_id":"1333243981","filename":"file0"},{"photo_id":"1333244001","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333243997":["hashtag1","hashtag2"]},{"1333243990":["hashtag1","hashtag2"]},{"1333243981":["hashtag1","hashtag2"]},{"1333244011":["hashtag1","hashtag2"]},{"1333244005":["hashtag1","hashtag2"]},{"1333244001":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333243997, 1333243990, 1333243981, 1333244011, 1333244005, 1333244001)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1333243997 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31012025/08/45/image_31012025_08_45_14_9342.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 61.47539663314819 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:46:52.428162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/20/image_28012025_22_20_44_9411.jpg', '/home/pi/Desktop/images/28012025/22/20/image_28012025_22_20_55_10361.jpg', '/home/pi/Desktop/images/28012025/22/20/image_28012025_22_21_04_9420.jpg', '/home/pi/Desktop/images/28012025/22/21/image_28012025_22_21_14_10348.jpg', '/home/pi/Desktop/images/28012025/22/21/image_28012025_22_21_25_10394.jpg', '/home/pi/Desktop/images/28012025/22/21/image_28012025_22_21_34_9389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/20/image_28012025_22_20_44_9411.jpg
/home/pi/Desktop/images/28012025/22/20/image_28012025_22_20_55_10361.jpg
/home/pi/Desktop/images/28012025/22/20/image_28012025_22_21_04_9420.jpg
/home/pi/Desktop/images/28012025/22/21/image_28012025_22_21_14_10348.jpg
/home/pi/Desktop/images/28012025/22/21/image_28012025_22_21_25_10394.jpg
/home/pi/Desktop/images/28012025/22/21/image_28012025_22_21_34_9389.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":["1333244081","1333244098","1333244119","1333244094","1333244103","1333244072"],"photo_ids_order":["1333244072","1333244081","1333244094","1333244098","1333244103","1333244119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d1d118bd5d54767c1051912b7e59c991.jpg","text":"TemporaryFile(/tmp/multipartBody2146738540312491752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309674721,"filename":"image_28012025_22_20_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/1/31/03f619c5e2ca50a3e2d3b2c05a39f2c6.jpg","text":"TemporaryFile(/tmp/multipartBody1900725081344287950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309674721,"filename":"image_28012025_22_21_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/1/31/a85666236221fe89e25205e7df37b52b.jpg","text":"TemporaryFile(/tmp/multipartBody5967747047311630276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309674721,"filename":"image_28012025_22_21_34_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5f5612b9de118b2eaa06b0966f684c52.jpg","text":"TemporaryFile(/tmp/multipartBody4692453439865256466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309674721,"filename":"image_28012025_22_21_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/1/31/1cbd18d97108c994172cee9df5ab9350.jpg","text":"TemporaryFile(/tmp/multipartBody2384086721189717479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309674721,"filename":"image_28012025_22_21_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/1/31/f342c4ba159bbf64cdf71337fe77ad45.jpg","text":"TemporaryFile(/tmp/multipartBody4452789306304021738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309674721,"filename":"image_28012025_22_20_44_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333244094","file1":"1333244081","file0":"1333244072","file4":"1333244103","file5":"1333244119","file3":"1333244098"},"map_files_photo_id_array":[{"photo_id":"1333244119","filename":"file5"},{"photo_id":"1333244094","filename":"file2"},{"photo_id":"1333244103","filename":"file4"},{"photo_id":"1333244081","filename":"file1"},{"photo_id":"1333244072","filename":"file0"},{"photo_id":"1333244098","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333244081":["hashtag1","hashtag2"]},{"1333244098":["hashtag1","hashtag2"]},{"1333244119":["hashtag1","hashtag2"]},{"1333244094":["hashtag1","hashtag2"]},{"1333244103":["hashtag1","hashtag2"]},{"1333244072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333244081, 1333244098, 1333244119, 1333244094, 1333244103, 1333244072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.532766342163086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 08:47:42.728184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/45/image_31012025_08_45_55_10361.jpg', '/home/pi/Desktop/images/31012025/08/45/image_31012025_08_46_04_9342.jpg', '/home/pi/Desktop/images/31012025/08/46/image_31012025_08_46_15_10398.jpg', '/home/pi/Desktop/images/31012025/08/46/image_31012025_08_46_25_10346.jpg', '/home/pi/Desktop/images/31012025/08/46/image_31012025_08_46_34_9340.jpg', '/home/pi/Desktop/images/31012025/08/46/image_31012025_08_46_45_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/45/image_31012025_08_45_55_10361.jpg
/home/pi/Desktop/images/31012025/08/45/image_31012025_08_46_04_9342.jpg
/home/pi/Desktop/images/31012025/08/46/image_31012025_08_46_15_10398.jpg
/home/pi/Desktop/images/31012025/08/46/image_31012025_08_46_25_10346.jpg
/home/pi/Desktop/images/31012025/08/46/image_31012025_08_46_34_9340.jpg
/home/pi/Desktop/images/31012025/08/46/image_31012025_08_46_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":["1333244180","1333244201","1333244207","1333244176","1333244155","1333244214"],"photo_ids_order":["1333244155","1333244176","1333244180","1333244201","1333244207","1333244214"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fa8ae301f76fbf2202e5b04e73bcc97c.jpg","text":"TemporaryFile(/tmp/multipartBody2016554892144734571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309723633,"filename":"image_31012025_08_46_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/1/31/cae5c8182267b9dcd78bd51636ddf7da.jpg","text":"TemporaryFile(/tmp/multipartBody8790073688555945080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309723633,"filename":"image_31012025_08_46_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/1/31/826674920b56bbc9e0b101ce32d2900e.jpg","text":"TemporaryFile(/tmp/multipartBody6395961549955338785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309723633,"filename":"image_31012025_08_46_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/1/31/cb30407f36ed071e01b8d558bbfaff09.jpg","text":"TemporaryFile(/tmp/multipartBody8609613354698225517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309723633,"filename":"image_31012025_08_46_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/1/31/80333fbf281a61d11add5aa73fa9cc9d.jpg","text":"TemporaryFile(/tmp/multipartBody2472847599167625944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309723633,"filename":"image_31012025_08_45_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/1/31/169cce59e8d6324d5160be14f3a1fa79.jpg","text":"TemporaryFile(/tmp/multipartBody604727052227813434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309723633,"filename":"image_31012025_08_46_45_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333244180","file1":"1333244176","file0":"1333244155","file4":"1333244207","file5":"1333244214","file3":"1333244201"},"map_files_photo_id_array":[{"photo_id":"1333244214","filename":"file5"},{"photo_id":"1333244180","filename":"file2"},{"photo_id":"1333244207","filename":"file4"},{"photo_id":"1333244176","filename":"file1"},{"photo_id":"1333244155","filename":"file0"},{"photo_id":"1333244201","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333244180":["hashtag1","hashtag2"]},{"1333244201":["hashtag1","hashtag2"]},{"1333244207":["hashtag1","hashtag2"]},{"1333244176":["hashtag1","hashtag2"]},{"1333244155":["hashtag1","hashtag2"]},{"1333244214":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333244180, 1333244201, 1333244207, 1333244176, 1333244155, 1333244214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.5659601688385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:48:32.922015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/46/image_31012025_08_46_55_10352.jpg', '/home/pi/Desktop/images/31012025/08/46/image_31012025_08_47_05_9370.jpg', '/home/pi/Desktop/images/31012025/08/47/image_31012025_08_47_15_10468.jpg', '/home/pi/Desktop/images/31012025/08/47/image_31012025_08_47_24_9355.jpg', '/home/pi/Desktop/images/31012025/08/47/image_31012025_08_47_35_10892.jpg', '/home/pi/Desktop/images/31012025/08/47/image_31012025_08_47_45_9754.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/46/image_31012025_08_46_55_10352.jpg
/home/pi/Desktop/images/31012025/08/46/image_31012025_08_47_05_9370.jpg
/home/pi/Desktop/images/31012025/08/47/image_31012025_08_47_15_10468.jpg
/home/pi/Desktop/images/31012025/08/47/image_31012025_08_47_24_9355.jpg
/home/pi/Desktop/images/31012025/08/47/image_31012025_08_47_35_10892.jpg
/home/pi/Desktop/images/31012025/08/47/image_31012025_08_47_45_9754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333244921","1333244549","1333244422","1333244836","1333244913","1333244604"],"photo_ids_order":["1333244422","1333244549","1333244604","1333244836","1333244913","1333244921"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/57cd9395b63ae054dc54afb4131cbc05.jpg","text":"TemporaryFile(/tmp/multipartBody3863108753727185336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309773830,"filename":"image_31012025_08_47_45_9754.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9e1b76d440368f69ae14c4e35645b110.jpg","text":"TemporaryFile(/tmp/multipartBody4125142011862853284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309773830,"filename":"image_31012025_08_47_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/1/31/5096526919731eaf8933b8fdd8bb6292.jpg","text":"TemporaryFile(/tmp/multipartBody2566121844509488562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309773830,"filename":"image_31012025_08_46_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/1/31/26c0a641e7305575ccd9c248da130f8d.jpg","text":"TemporaryFile(/tmp/multipartBody4727556932760613851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309773830,"filename":"image_31012025_08_47_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/1/31/58885487d9b4e2d7dd6400fdf187ebe8.jpg","text":"TemporaryFile(/tmp/multipartBody2333167417699958508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309773830,"filename":"image_31012025_08_47_35_10892.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3343526bde842f262c9d52329fbfe471.jpg","text":"TemporaryFile(/tmp/multipartBody647470833850043880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309773830,"filename":"image_31012025_08_47_15_10468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333244604","file1":"1333244549","file0":"1333244422","file4":"1333244913","file5":"1333244921","file3":"1333244836"},"map_files_photo_id_array":[{"photo_id":"1333244921","filename":"file5"},{"photo_id":"1333244604","filename":"file2"},{"photo_id":"1333244913","filename":"file4"},{"photo_id":"1333244549","filename":"file1"},{"photo_id":"1333244422","filename":"file0"},{"photo_id":"1333244836","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333244921":["hashtag1","hashtag2"]},{"1333244549":["hashtag1","hashtag2"]},{"1333244422":["hashtag1","hashtag2"]},{"1333244836":["hashtag1","hashtag2"]},{"1333244913":["hashtag1","hashtag2"]},{"1333244604":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333244921, 1333244549, 1333244422, 1333244836, 1333244913, 1333244604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97254014015198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:49:33.128309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/47/image_31012025_08_47_54_9348.jpg', '/home/pi/Desktop/images/31012025/08/47/image_31012025_08_48_05_10487.jpg', '/home/pi/Desktop/images/31012025/08/48/image_31012025_08_48_15_10348.jpg', '/home/pi/Desktop/images/31012025/08/48/image_31012025_08_48_25_9353.jpg', '/home/pi/Desktop/images/31012025/08/48/image_31012025_08_48_35_10465.jpg', '/home/pi/Desktop/images/31012025/08/48/image_31012025_08_48_44_9417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/47/image_31012025_08_47_54_9348.jpg
/home/pi/Desktop/images/31012025/08/47/image_31012025_08_48_05_10487.jpg
/home/pi/Desktop/images/31012025/08/48/image_31012025_08_48_15_10348.jpg
/home/pi/Desktop/images/31012025/08/48/image_31012025_08_48_25_9353.jpg
/home/pi/Desktop/images/31012025/08/48/image_31012025_08_48_35_10465.jpg
/home/pi/Desktop/images/31012025/08/48/image_31012025_08_48_44_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":["1333246057","1333245949","1333245774","1333245881","1333245671","1333245560"],"photo_ids_order":["1333245560","1333245671","1333245774","1333245881","1333245949","1333246057"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e9b2d2bed4520e80f1433e281a9edb0c.jpg","text":"TemporaryFile(/tmp/multipartBody5533363335950192573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309834137,"filename":"image_31012025_08_48_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/1/31/c788232bea91232b06b2c2c09b2a0f1e.jpg","text":"TemporaryFile(/tmp/multipartBody6834050254824780346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309834137,"filename":"image_31012025_08_48_35_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/38bcca6173c5ca5d4ce6c80807502d9c.jpg","text":"TemporaryFile(/tmp/multipartBody2578440770280155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309834137,"filename":"image_31012025_08_48_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/1/31/c3ce9230204edb20c45e9fcd65259ec0.jpg","text":"TemporaryFile(/tmp/multipartBody6705038161651376776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309834137,"filename":"image_31012025_08_48_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/1/31/e14d0285e825b6d05a7db3f06b03fd6f.jpg","text":"TemporaryFile(/tmp/multipartBody4418071565865812830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309834137,"filename":"image_31012025_08_48_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/1/31/624f5a29e0ffbd1e310f952307c31351.jpg","text":"TemporaryFile(/tmp/multipartBody897188231314945348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309834137,"filename":"image_31012025_08_47_54_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333245774","file1":"1333245671","file0":"1333245560","file4":"1333245949","file5":"1333246057","file3":"1333245881"},"map_files_photo_id_array":[{"photo_id":"1333246057","filename":"file5"},{"photo_id":"1333245774","filename":"file2"},{"photo_id":"1333245949","filename":"file4"},{"photo_id":"1333245671","filename":"file1"},{"photo_id":"1333245560","filename":"file0"},{"photo_id":"1333245881","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333246057":["hashtag1","hashtag2"]},{"1333245949":["hashtag1","hashtag2"]},{"1333245774":["hashtag1","hashtag2"]},{"1333245881":["hashtag1","hashtag2"]},{"1333245671":["hashtag1","hashtag2"]},{"1333245560":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333246057, 1333245949, 1333245774, 1333245881, 1333245671, 1333245560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.73963665962219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:50:32.474251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/48/image_31012025_08_48_55_10468.jpg', '/home/pi/Desktop/images/31012025/08/48/image_31012025_08_49_05_10348.jpg', '/home/pi/Desktop/images/31012025/08/49/image_31012025_08_49_15_9348.jpg', '/home/pi/Desktop/images/31012025/08/49/image_31012025_08_49_25_10342.jpg', '/home/pi/Desktop/images/31012025/08/49/image_31012025_08_49_34_9417.jpg', '/home/pi/Desktop/images/31012025/08/49/image_31012025_08_49_45_10448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/48/image_31012025_08_48_55_10468.jpg
/home/pi/Desktop/images/31012025/08/48/image_31012025_08_49_05_10348.jpg
/home/pi/Desktop/images/31012025/08/49/image_31012025_08_49_15_9348.jpg
/home/pi/Desktop/images/31012025/08/49/image_31012025_08_49_25_10342.jpg
/home/pi/Desktop/images/31012025/08/49/image_31012025_08_49_34_9417.jpg
/home/pi/Desktop/images/31012025/08/49/image_31012025_08_49_45_10448.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5485625267028809 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 08:50:42.510188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/48/image_31012025_08_48_55_10468.jpg', '/home/pi/Desktop/images/31012025/08/48/image_31012025_08_49_05_10348.jpg', '/home/pi/Desktop/images/31012025/08/49/image_31012025_08_49_15_9348.jpg', '/home/pi/Desktop/images/31012025/08/49/image_31012025_08_49_25_10342.jpg', '/home/pi/Desktop/images/31012025/08/49/image_31012025_08_49_34_9417.jpg', '/home/pi/Desktop/images/31012025/08/49/image_31012025_08_49_45_10448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/48/image_31012025_08_48_55_10468.jpg
/home/pi/Desktop/images/31012025/08/48/image_31012025_08_49_05_10348.jpg
/home/pi/Desktop/images/31012025/08/49/image_31012025_08_49_15_9348.jpg
/home/pi/Desktop/images/31012025/08/49/image_31012025_08_49_25_10342.jpg
/home/pi/Desktop/images/31012025/08/49/image_31012025_08_49_34_9417.jpg
/home/pi/Desktop/images/31012025/08/49/image_31012025_08_49_45_10448.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":["1333247391","1333246881","1333246713","1333247702","1333247521","1333247131"],"photo_ids_order":["1333246713","1333246881","1333247131","1333247391","1333247521","1333247702"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c22be4abce95c3d1afd6939e8494c09e.jpg","text":"TemporaryFile(/tmp/multipartBody2024886167852773337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309903426,"filename":"image_31012025_08_49_25_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ae44b80dbe39f201709f60f2ed2b4f30.jpg","text":"TemporaryFile(/tmp/multipartBody2287825428681506258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309903426,"filename":"image_31012025_08_49_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/1/31/f4f7cb2f7806b4b30ccfa93207fdaf6a.jpg","text":"TemporaryFile(/tmp/multipartBody5169548068672028102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309903426,"filename":"image_31012025_08_48_55_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/39280ad672aafaab4ea65b444c4c50a3.jpg","text":"TemporaryFile(/tmp/multipartBody4413763242225753350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309903426,"filename":"image_31012025_08_49_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/1/31/0de058e689aeee6ffbd50fe4a51aa103.jpg","text":"TemporaryFile(/tmp/multipartBody1392794668182912739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309903426,"filename":"image_31012025_08_49_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/1/31/cdfd785eea6adf9774ea08c9f5e9b4a9.jpg","text":"TemporaryFile(/tmp/multipartBody1141721942769788581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309903426,"filename":"image_31012025_08_49_15_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333247131","file1":"1333246881","file0":"1333246713","file4":"1333247521","file5":"1333247702","file3":"1333247391"},"map_files_photo_id_array":[{"photo_id":"1333247702","filename":"file5"},{"photo_id":"1333247131","filename":"file2"},{"photo_id":"1333247521","filename":"file4"},{"photo_id":"1333246881","filename":"file1"},{"photo_id":"1333246713","filename":"file0"},{"photo_id":"1333247391","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333247391":["hashtag1","hashtag2"]},{"1333246881":["hashtag1","hashtag2"]},{"1333246713":["hashtag1","hashtag2"]},{"1333247702":["hashtag1","hashtag2"]},{"1333247521":["hashtag1","hashtag2"]},{"1333247131":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333247391, 1333246881, 1333246713, 1333247702, 1333247521, 1333247131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.379416942596436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:51:32.627143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/49/image_31012025_08_49_55_10381.jpg', '/home/pi/Desktop/images/31012025/08/49/image_31012025_08_50_05_9354.jpg', '/home/pi/Desktop/images/31012025/08/50/image_31012025_08_50_15_10476.jpg', '/home/pi/Desktop/images/31012025/08/50/image_31012025_08_50_24_9346.jpg', '/home/pi/Desktop/images/31012025/08/50/image_31012025_08_50_35_10501.jpg', '/home/pi/Desktop/images/31012025/08/50/image_31012025_08_50_45_10390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/49/image_31012025_08_49_55_10381.jpg
/home/pi/Desktop/images/31012025/08/49/image_31012025_08_50_05_9354.jpg
/home/pi/Desktop/images/31012025/08/50/image_31012025_08_50_15_10476.jpg
/home/pi/Desktop/images/31012025/08/50/image_31012025_08_50_24_9346.jpg
/home/pi/Desktop/images/31012025/08/50/image_31012025_08_50_35_10501.jpg
/home/pi/Desktop/images/31012025/08/50/image_31012025_08_50_45_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":["1333248516","1333248422","1333248608","1333248841","1333248721","1333248258"],"photo_ids_order":["1333248258","1333248422","1333248516","1333248608","1333248721","1333248841"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d3078eee065d86156aaaf64cb1842447.jpg","text":"TemporaryFile(/tmp/multipartBody2481254631136389126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309953565,"filename":"image_31012025_08_50_15_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/652c615a2b372947b53596c4d4696ebb.jpg","text":"TemporaryFile(/tmp/multipartBody7050072919611701695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309953565,"filename":"image_31012025_08_50_05_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4fb8638a155cb9ca3d876115923d0b38.jpg","text":"TemporaryFile(/tmp/multipartBody1125502075176008169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309953565,"filename":"image_31012025_08_50_24_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/451bbef61510f89e093d0239818a518e.jpg","text":"TemporaryFile(/tmp/multipartBody6676085136291568001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309953565,"filename":"image_31012025_08_50_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/1/31/95d4bd0f623c95cb691166b9f2c9698b.jpg","text":"TemporaryFile(/tmp/multipartBody8815329583642165021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309953565,"filename":"image_31012025_08_50_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/1/31/f80b774c9088796f1ad098ad68949577.jpg","text":"TemporaryFile(/tmp/multipartBody2868869483418820290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738309953565,"filename":"image_31012025_08_49_55_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333248516","file1":"1333248422","file0":"1333248258","file4":"1333248721","file5":"1333248841","file3":"1333248608"},"map_files_photo_id_array":[{"photo_id":"1333248841","filename":"file5"},{"photo_id":"1333248516","filename":"file2"},{"photo_id":"1333248721","filename":"file4"},{"photo_id":"1333248422","filename":"file1"},{"photo_id":"1333248258","filename":"file0"},{"photo_id":"1333248608","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333248516":["hashtag1","hashtag2"]},{"1333248422":["hashtag1","hashtag2"]},{"1333248608":["hashtag1","hashtag2"]},{"1333248841":["hashtag1","hashtag2"]},{"1333248721":["hashtag1","hashtag2"]},{"1333248258":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333248516, 1333248422, 1333248608, 1333248841, 1333248721, 1333248258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.51533508300781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:52:32.969944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/50/image_31012025_08_50_55_9366.jpg', '/home/pi/Desktop/images/31012025/08/50/image_31012025_08_51_05_10345.jpg', '/home/pi/Desktop/images/31012025/08/51/image_31012025_08_51_15_10339.jpg', '/home/pi/Desktop/images/31012025/08/51/image_31012025_08_51_25_9413.jpg', '/home/pi/Desktop/images/31012025/08/51/image_31012025_08_51_35_10443.jpg', '/home/pi/Desktop/images/31012025/08/51/image_31012025_08_51_45_9365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/50/image_31012025_08_50_55_9366.jpg
/home/pi/Desktop/images/31012025/08/50/image_31012025_08_51_05_10345.jpg
/home/pi/Desktop/images/31012025/08/51/image_31012025_08_51_15_10339.jpg
/home/pi/Desktop/images/31012025/08/51/image_31012025_08_51_25_9413.jpg
/home/pi/Desktop/images/31012025/08/51/image_31012025_08_51_35_10443.jpg
/home/pi/Desktop/images/31012025/08/51/image_31012025_08_51_45_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":["1333249841","1333249718","1333249616","1333249523","1333249933","1333249930"],"photo_ids_order":["1333249523","1333249616","1333249718","1333249841","1333249930","1333249933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3f03ddec56893a0fa0ae64fcc079bb01.jpg","text":"TemporaryFile(/tmp/multipartBody3911882560287927003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310013902,"filename":"image_31012025_08_51_25_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/22913bd62f3c7277b85dc03bf1bf30c5.jpg","text":"TemporaryFile(/tmp/multipartBody7464326423301144022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310013902,"filename":"image_31012025_08_51_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/1/31/0c372025d57cdfb830013d91ed57c60b.jpg","text":"TemporaryFile(/tmp/multipartBody4646209526913472902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310013902,"filename":"image_31012025_08_51_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e7afb057376321e6fbdf316fe6902e35.jpg","text":"TemporaryFile(/tmp/multipartBody6493278790510838671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310013902,"filename":"image_31012025_08_50_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/1/31/457b0cba101fb53fc9e3bd18e68c128e.jpg","text":"TemporaryFile(/tmp/multipartBody972477717498266478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310013902,"filename":"image_31012025_08_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/1/31/d5fc532dd24ce2d462b4aaca96edb84a.jpg","text":"TemporaryFile(/tmp/multipartBody5404853638126309199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310013902,"filename":"image_31012025_08_51_35_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333249718","file1":"1333249616","file0":"1333249523","file4":"1333249930","file5":"1333249933","file3":"1333249841"},"map_files_photo_id_array":[{"photo_id":"1333249933","filename":"file5"},{"photo_id":"1333249718","filename":"file2"},{"photo_id":"1333249930","filename":"file4"},{"photo_id":"1333249616","filename":"file1"},{"photo_id":"1333249523","filename":"file0"},{"photo_id":"1333249841","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333249841":["hashtag1","hashtag2"]},{"1333249718":["hashtag1","hashtag2"]},{"1333249616":["hashtag1","hashtag2"]},{"1333249523":["hashtag1","hashtag2"]},{"1333249933":["hashtag1","hashtag2"]},{"1333249930":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333249841, 1333249718, 1333249616, 1333249523, 1333249933, 1333249930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.827465295791626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:53:33.046746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/51/image_31012025_08_51_55_10480.jpg', '/home/pi/Desktop/images/31012025/08/51/image_31012025_08_52_04_9347.jpg', '/home/pi/Desktop/images/31012025/08/52/image_31012025_08_52_15_10389.jpg', '/home/pi/Desktop/images/31012025/08/52/image_31012025_08_52_25_10382.jpg', '/home/pi/Desktop/images/31012025/08/52/image_31012025_08_52_45_10444.jpg', '/home/pi/Desktop/images/31012025/08/52/image_31012025_08_52_54_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/51/image_31012025_08_51_55_10480.jpg
/home/pi/Desktop/images/31012025/08/51/image_31012025_08_52_04_9347.jpg
/home/pi/Desktop/images/31012025/08/52/image_31012025_08_52_15_10389.jpg
/home/pi/Desktop/images/31012025/08/52/image_31012025_08_52_25_10382.jpg
/home/pi/Desktop/images/31012025/08/52/image_31012025_08_52_45_10444.jpg
/home/pi/Desktop/images/31012025/08/52/image_31012025_08_52_54_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":["1333250459","1333250429","1333250467","1333250383","1333250464","1333250280"],"photo_ids_order":["1333250280","1333250383","1333250429","1333250459","1333250464","1333250467"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e68f55fd2736b68e5559df8489cda307.jpg","text":"TemporaryFile(/tmp/multipartBody2661969738098076613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310073977,"filename":"image_31012025_08_52_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/1/31/04d8cac09aa84f876c678176806a0970.jpg","text":"TemporaryFile(/tmp/multipartBody3788588579338496219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310073977,"filename":"image_31012025_08_52_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/1/31/bf77ba18294d80d9b9387e8bd0d643a4.jpg","text":"TemporaryFile(/tmp/multipartBody2224707964663374603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310073977,"filename":"image_31012025_08_52_54_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d3e7fc5932ef473e4962c389a13afb94.jpg","text":"TemporaryFile(/tmp/multipartBody3470384356024546751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310073977,"filename":"image_31012025_08_52_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/1/31/c71e3fdbb44aafb97ee120285eaaf632.jpg","text":"TemporaryFile(/tmp/multipartBody7230560297940952668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310073977,"filename":"image_31012025_08_52_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/1/31/97ca31ef459f383cb6dfa97ffa2bb326.jpg","text":"TemporaryFile(/tmp/multipartBody4342293675173103356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310073977,"filename":"image_31012025_08_51_55_10480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333250429","file1":"1333250383","file0":"1333250280","file4":"1333250464","file5":"1333250467","file3":"1333250459"},"map_files_photo_id_array":[{"photo_id":"1333250467","filename":"file5"},{"photo_id":"1333250429","filename":"file2"},{"photo_id":"1333250464","filename":"file4"},{"photo_id":"1333250383","filename":"file1"},{"photo_id":"1333250280","filename":"file0"},{"photo_id":"1333250459","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333250459":["hashtag1","hashtag2"]},{"1333250429":["hashtag1","hashtag2"]},{"1333250467":["hashtag1","hashtag2"]},{"1333250383":["hashtag1","hashtag2"]},{"1333250464":["hashtag1","hashtag2"]},{"1333250280":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333250459, 1333250429, 1333250467, 1333250383, 1333250464, 1333250280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.92988038063049 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:54:32.442594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/52/image_31012025_08_53_05_10461.jpg', '/home/pi/Desktop/images/31012025/08/53/image_31012025_08_53_15_10345.jpg', '/home/pi/Desktop/images/31012025/08/53/image_31012025_08_53_25_9345.jpg', '/home/pi/Desktop/images/31012025/08/53/image_31012025_08_53_35_10488.jpg', '/home/pi/Desktop/images/31012025/08/53/image_31012025_08_53_44_9357.jpg', '/home/pi/Desktop/images/31012025/08/53/image_31012025_08_53_55_10463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/52/image_31012025_08_53_05_10461.jpg
/home/pi/Desktop/images/31012025/08/53/image_31012025_08_53_15_10345.jpg
/home/pi/Desktop/images/31012025/08/53/image_31012025_08_53_25_9345.jpg
/home/pi/Desktop/images/31012025/08/53/image_31012025_08_53_35_10488.jpg
/home/pi/Desktop/images/31012025/08/53/image_31012025_08_53_44_9357.jpg
/home/pi/Desktop/images/31012025/08/53/image_31012025_08_53_55_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":["1333250597","1333250639","1333250627","1333250635","1333250614","1333250644"],"photo_ids_order":["1333250597","1333250614","1333250627","1333250635","1333250639","1333250644"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ec4d991a691432e3f2725055a95e7bf2.jpg","text":"TemporaryFile(/tmp/multipartBody2158041828499226229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310133499,"filename":"image_31012025_08_53_05_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/32e6c4a6d998605fe694742120596bf7.jpg","text":"TemporaryFile(/tmp/multipartBody6611269992605195338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310133499,"filename":"image_31012025_08_53_44_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8ff749ad5518cdff8cdb49c38b5227c8.jpg","text":"TemporaryFile(/tmp/multipartBody1444671595727005022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310133499,"filename":"image_31012025_08_53_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/1/31/19098c01d359ad80ad7736c510e7d806.jpg","text":"TemporaryFile(/tmp/multipartBody3462593943335960646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310133499,"filename":"image_31012025_08_53_35_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/24b278ac7d690ee6fe45a3336d89d683.jpg","text":"TemporaryFile(/tmp/multipartBody7698640832401126454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310133499,"filename":"image_31012025_08_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/1/31/0ee69b12d457488f0188e94752206e50.jpg","text":"TemporaryFile(/tmp/multipartBody8566043394296744126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310133499,"filename":"image_31012025_08_53_55_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333250627","file1":"1333250614","file0":"1333250597","file4":"1333250639","file5":"1333250644","file3":"1333250635"},"map_files_photo_id_array":[{"photo_id":"1333250644","filename":"file5"},{"photo_id":"1333250627","filename":"file2"},{"photo_id":"1333250639","filename":"file4"},{"photo_id":"1333250614","filename":"file1"},{"photo_id":"1333250597","filename":"file0"},{"photo_id":"1333250635","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333250597":["hashtag1","hashtag2"]},{"1333250639":["hashtag1","hashtag2"]},{"1333250627":["hashtag1","hashtag2"]},{"1333250635":["hashtag1","hashtag2"]},{"1333250614":["hashtag1","hashtag2"]},{"1333250644":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333250597, 1333250639, 1333250627, 1333250635, 1333250614, 1333250644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.631163120269775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:55:32.575532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/53/image_31012025_08_54_05_10346.jpg', '/home/pi/Desktop/images/31012025/08/54/image_31012025_08_54_15_9325.jpg', '/home/pi/Desktop/images/31012025/08/54/image_31012025_08_54_25_10467.jpg', '/home/pi/Desktop/images/31012025/08/54/image_31012025_08_54_55_10454.jpg', '/home/pi/Desktop/images/31012025/08/54/image_31012025_08_55_05_9336.jpg', '/home/pi/Desktop/images/31012025/08/55/image_31012025_08_55_15_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/53/image_31012025_08_54_05_10346.jpg
/home/pi/Desktop/images/31012025/08/54/image_31012025_08_54_15_9325.jpg
/home/pi/Desktop/images/31012025/08/54/image_31012025_08_54_25_10467.jpg
/home/pi/Desktop/images/31012025/08/54/image_31012025_08_54_55_10454.jpg
/home/pi/Desktop/images/31012025/08/54/image_31012025_08_55_05_9336.jpg
/home/pi/Desktop/images/31012025/08/55/image_31012025_08_55_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":["1333251012","1333251006","1333251050","1333251142","1333251237","1333251018"],"photo_ids_order":["1333251006","1333251012","1333251018","1333251050","1333251142","1333251237"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f136bc9ba10e950611ae944c6d27d55d.jpg","text":"TemporaryFile(/tmp/multipartBody756583374029160770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310193485,"filename":"image_31012025_08_54_15_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/92b5934a56d2c90a2690087a8bd61aa8.jpg","text":"TemporaryFile(/tmp/multipartBody7742342328413633418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310193485,"filename":"image_31012025_08_54_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/1/31/47bdc916352ab70e700fc40da49a0d0a.jpg","text":"TemporaryFile(/tmp/multipartBody5158969219364225433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310193485,"filename":"image_31012025_08_54_55_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/386edceb9311998aaf0de952e1d5bf15.jpg","text":"TemporaryFile(/tmp/multipartBody6059400270099216147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310193485,"filename":"image_31012025_08_55_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/1/31/d10cf1052eb890748ee66bd8c80f26dc.jpg","text":"TemporaryFile(/tmp/multipartBody4238638161606464566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310193485,"filename":"image_31012025_08_55_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/1/31/c86feca66be0339a167b28d6b819fda0.jpg","text":"TemporaryFile(/tmp/multipartBody9221635225019094704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310193485,"filename":"image_31012025_08_54_25_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333251018","file1":"1333251012","file0":"1333251006","file4":"1333251142","file5":"1333251237","file3":"1333251050"},"map_files_photo_id_array":[{"photo_id":"1333251237","filename":"file5"},{"photo_id":"1333251018","filename":"file2"},{"photo_id":"1333251142","filename":"file4"},{"photo_id":"1333251012","filename":"file1"},{"photo_id":"1333251006","filename":"file0"},{"photo_id":"1333251050","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333251012":["hashtag1","hashtag2"]},{"1333251006":["hashtag1","hashtag2"]},{"1333251050":["hashtag1","hashtag2"]},{"1333251142":["hashtag1","hashtag2"]},{"1333251237":["hashtag1","hashtag2"]},{"1333251018":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333251012, 1333251006, 1333251050, 1333251142, 1333251237, 1333251018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.607032775878906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:56:32.826905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/55/image_31012025_08_55_25_10351.jpg', '/home/pi/Desktop/images/31012025/08/55/image_31012025_08_55_35_9365.jpg', '/home/pi/Desktop/images/31012025/08/55/image_31012025_08_55_54_9340.jpg', '/home/pi/Desktop/images/31012025/08/55/image_31012025_08_56_05_10373.jpg', '/home/pi/Desktop/images/31012025/08/56/image_31012025_08_56_15_10417.jpg', '/home/pi/Desktop/images/31012025/08/56/image_31012025_08_56_25_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/55/image_31012025_08_55_25_10351.jpg
/home/pi/Desktop/images/31012025/08/55/image_31012025_08_55_35_9365.jpg
/home/pi/Desktop/images/31012025/08/55/image_31012025_08_55_54_9340.jpg
/home/pi/Desktop/images/31012025/08/55/image_31012025_08_56_05_10373.jpg
/home/pi/Desktop/images/31012025/08/56/image_31012025_08_56_15_10417.jpg
/home/pi/Desktop/images/31012025/08/56/image_31012025_08_56_25_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":["1333251813","1333251818","1333251710","1333251605","1333251823","1333251828"],"photo_ids_order":["1333251605","1333251710","1333251813","1333251818","1333251823","1333251828"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cceda25fce602987bb4ffe14e24f9b2f.jpg","text":"TemporaryFile(/tmp/multipartBody4556753411010500128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310253736,"filename":"image_31012025_08_55_54_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/44ccaae048c5c7b3d76bd6fbf856174b.jpg","text":"TemporaryFile(/tmp/multipartBody7250230597501956862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310253736,"filename":"image_31012025_08_56_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/1/31/0e9eea1203dec1abb2c513a3e95a8b55.jpg","text":"TemporaryFile(/tmp/multipartBody3889675710860180208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310253736,"filename":"image_31012025_08_55_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/1/31/0e711c39d9772ee55de9a98e6a9c244d.jpg","text":"TemporaryFile(/tmp/multipartBody6909777757374463246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310253736,"filename":"image_31012025_08_55_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/1/31/0bc1cfd2d817b64bdc1df5d97b3c5e30.jpg","text":"TemporaryFile(/tmp/multipartBody7835725316510231858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310253736,"filename":"image_31012025_08_56_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/1/31/88147a48acbfa25cc000af531824dc48.jpg","text":"TemporaryFile(/tmp/multipartBody5808736171560429718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310253736,"filename":"image_31012025_08_56_25_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333251813","file1":"1333251710","file0":"1333251605","file4":"1333251823","file5":"1333251828","file3":"1333251818"},"map_files_photo_id_array":[{"photo_id":"1333251828","filename":"file5"},{"photo_id":"1333251813","filename":"file2"},{"photo_id":"1333251823","filename":"file4"},{"photo_id":"1333251710","filename":"file1"},{"photo_id":"1333251605","filename":"file0"},{"photo_id":"1333251818","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333251813":["hashtag1","hashtag2"]},{"1333251818":["hashtag1","hashtag2"]},{"1333251710":["hashtag1","hashtag2"]},{"1333251605":["hashtag1","hashtag2"]},{"1333251823":["hashtag1","hashtag2"]},{"1333251828":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333251813, 1333251818, 1333251710, 1333251605, 1333251823, 1333251828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.403876066207886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:57:33.042992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/56/image_31012025_08_56_35_10365.jpg', '/home/pi/Desktop/images/31012025/08/56/image_31012025_08_56_44_9415.jpg', '/home/pi/Desktop/images/31012025/08/56/image_31012025_08_56_55_10406.jpg', '/home/pi/Desktop/images/31012025/08/56/image_31012025_08_57_05_10351.jpg', '/home/pi/Desktop/images/31012025/08/57/image_31012025_08_57_14_9346.jpg', '/home/pi/Desktop/images/31012025/08/57/image_31012025_08_57_25_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/56/image_31012025_08_56_35_10365.jpg
/home/pi/Desktop/images/31012025/08/56/image_31012025_08_56_44_9415.jpg
/home/pi/Desktop/images/31012025/08/56/image_31012025_08_56_55_10406.jpg
/home/pi/Desktop/images/31012025/08/56/image_31012025_08_57_05_10351.jpg
/home/pi/Desktop/images/31012025/08/57/image_31012025_08_57_14_9346.jpg
/home/pi/Desktop/images/31012025/08/57/image_31012025_08_57_25_10392.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 www.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-01-31 08:59:04.362705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/56/image_31012025_08_56_35_10365.jpg', '/home/pi/Desktop/images/31012025/08/56/image_31012025_08_56_44_9415.jpg', '/home/pi/Desktop/images/31012025/08/56/image_31012025_08_56_55_10406.jpg', '/home/pi/Desktop/images/31012025/08/56/image_31012025_08_57_05_10351.jpg', '/home/pi/Desktop/images/31012025/08/57/image_31012025_08_57_14_9346.jpg', '/home/pi/Desktop/images/31012025/08/57/image_31012025_08_57_25_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/56/image_31012025_08_56_35_10365.jpg
/home/pi/Desktop/images/31012025/08/56/image_31012025_08_56_44_9415.jpg
/home/pi/Desktop/images/31012025/08/56/image_31012025_08_56_55_10406.jpg
/home/pi/Desktop/images/31012025/08/56/image_31012025_08_57_05_10351.jpg
/home/pi/Desktop/images/31012025/08/57/image_31012025_08_57_14_9346.jpg
/home/pi/Desktop/images/31012025/08/57/image_31012025_08_57_25_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":["1333252217","1333252226","1333252211","1333252205","1333252222","1333252242"],"photo_ids_order":["1333252205","1333252211","1333252217","1333252222","1333252226","1333252242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/204aeb49c49baa63c747b21c77cb9fc2.jpg","text":"TemporaryFile(/tmp/multipartBody6118240407800647651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310405407,"filename":"image_31012025_08_56_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/1/31/5ceeeb33372daa036c49d7c7c5b4a817.jpg","text":"TemporaryFile(/tmp/multipartBody8263251580228304437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310405407,"filename":"image_31012025_08_57_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/1/31/d3496be01e1464e3d430bbf380f6ce24.jpg","text":"TemporaryFile(/tmp/multipartBody942157834562670377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310405407,"filename":"image_31012025_08_56_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/1/31/423f1048b3811e59a4b89226e6201d06.jpg","text":"TemporaryFile(/tmp/multipartBody1444991158598867851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310405407,"filename":"image_31012025_08_56_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/1/31/e10b1ae4f86705c7f2ca712d26b453ea.jpg","text":"TemporaryFile(/tmp/multipartBody4633037032467005708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310405407,"filename":"image_31012025_08_57_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/1/31/e87afb91f39c84329b3a32977b0ec1fa.jpg","text":"TemporaryFile(/tmp/multipartBody1268827875700706583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310405407,"filename":"image_31012025_08_57_25_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333252217","file1":"1333252211","file0":"1333252205","file4":"1333252226","file5":"1333252242","file3":"1333252222"},"map_files_photo_id_array":[{"photo_id":"1333252242","filename":"file5"},{"photo_id":"1333252217","filename":"file2"},{"photo_id":"1333252226","filename":"file4"},{"photo_id":"1333252211","filename":"file1"},{"photo_id":"1333252205","filename":"file0"},{"photo_id":"1333252222","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333252217":["hashtag1","hashtag2"]},{"1333252226":["hashtag1","hashtag2"]},{"1333252211":["hashtag1","hashtag2"]},{"1333252205":["hashtag1","hashtag2"]},{"1333252222":["hashtag1","hashtag2"]},{"1333252242":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333252217, 1333252226, 1333252211, 1333252205, 1333252222, 1333252242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20239019393921 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 08:59:52.810776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/57/image_31012025_08_57_35_10347.jpg', '/home/pi/Desktop/images/31012025/08/57/image_31012025_08_57_45_9366.jpg', '/home/pi/Desktop/images/31012025/08/57/image_31012025_08_57_55_10359.jpg', '/home/pi/Desktop/images/31012025/08/57/image_31012025_08_58_05_10360.jpg', '/home/pi/Desktop/images/31012025/08/58/image_31012025_08_58_25_10453.jpg', '/home/pi/Desktop/images/31012025/08/58/image_31012025_08_58_34_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/57/image_31012025_08_57_35_10347.jpg
/home/pi/Desktop/images/31012025/08/57/image_31012025_08_57_45_9366.jpg
/home/pi/Desktop/images/31012025/08/57/image_31012025_08_57_55_10359.jpg
/home/pi/Desktop/images/31012025/08/57/image_31012025_08_58_05_10360.jpg
/home/pi/Desktop/images/31012025/08/58/image_31012025_08_58_25_10453.jpg
/home/pi/Desktop/images/31012025/08/58/image_31012025_08_58_34_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":["1333252331","1333252345","1333252341","1333252335","1333252326","1333252320"],"photo_ids_order":["1333252320","1333252326","1333252331","1333252335","1333252341","1333252345"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/14c6f95472c73a8b0050f2cc5831f6d2.jpg","text":"TemporaryFile(/tmp/multipartBody9035808689947312279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310453734,"filename":"image_31012025_08_57_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/1/31/b2283535567c0e1d003272971cbe309f.jpg","text":"TemporaryFile(/tmp/multipartBody1190545761438869348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310453734,"filename":"image_31012025_08_58_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/1/31/c4b68e6fb22c8576abdf8d006bd041a7.jpg","text":"TemporaryFile(/tmp/multipartBody2184253564385600831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310453734,"filename":"image_31012025_08_58_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/1/31/51501668d3a4d0d40074bdd731e772d4.jpg","text":"TemporaryFile(/tmp/multipartBody4539235574956958568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310453734,"filename":"image_31012025_08_58_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/1/31/4c1c27f4096995062a12660bb0343cd1.jpg","text":"TemporaryFile(/tmp/multipartBody1499453390549299254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310453734,"filename":"image_31012025_08_57_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/1/31/837248cf254364df370750f16dba4c78.jpg","text":"TemporaryFile(/tmp/multipartBody6449705933932532648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310453734,"filename":"image_31012025_08_57_35_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333252331","file1":"1333252326","file0":"1333252320","file4":"1333252341","file5":"1333252345","file3":"1333252335"},"map_files_photo_id_array":[{"photo_id":"1333252345","filename":"file5"},{"photo_id":"1333252331","filename":"file2"},{"photo_id":"1333252341","filename":"file4"},{"photo_id":"1333252326","filename":"file1"},{"photo_id":"1333252320","filename":"file0"},{"photo_id":"1333252335","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333252331":["hashtag1","hashtag2"]},{"1333252345":["hashtag1","hashtag2"]},{"1333252341":["hashtag1","hashtag2"]},{"1333252335":["hashtag1","hashtag2"]},{"1333252326":["hashtag1","hashtag2"]},{"1333252320":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333252331, 1333252345, 1333252341, 1333252335, 1333252326, 1333252320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.831876277923584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 09:00:43.032129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/58/image_31012025_08_58_55_10436.jpg', '/home/pi/Desktop/images/31012025/08/58/image_31012025_08_59_05_9396.jpg', '/home/pi/Desktop/images/31012025/08/59/image_31012025_08_59_15_10449.jpg', '/home/pi/Desktop/images/31012025/08/59/image_31012025_08_59_24_9345.jpg', '/home/pi/Desktop/images/31012025/08/59/image_31012025_08_59_35_10437.jpg', '/home/pi/Desktop/images/31012025/08/59/image_31012025_08_59_45_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/58/image_31012025_08_58_55_10436.jpg
/home/pi/Desktop/images/31012025/08/58/image_31012025_08_59_05_9396.jpg
/home/pi/Desktop/images/31012025/08/59/image_31012025_08_59_15_10449.jpg
/home/pi/Desktop/images/31012025/08/59/image_31012025_08_59_24_9345.jpg
/home/pi/Desktop/images/31012025/08/59/image_31012025_08_59_35_10437.jpg
/home/pi/Desktop/images/31012025/08/59/image_31012025_08_59_45_10373.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":["1333252387","1333252381","1333252392","1333252371","1333252377","1333252364"],"photo_ids_order":["1333252364","1333252371","1333252377","1333252381","1333252387","1333252392"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c6478048c42e330a88858bc8e83dfba4.jpg","text":"TemporaryFile(/tmp/multipartBody8707618744685954672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310503948,"filename":"image_31012025_08_59_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/1/31/7b5f79d90d1b1ccd31ebb322d060a05a.jpg","text":"TemporaryFile(/tmp/multipartBody5837241598836647308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310503948,"filename":"image_31012025_08_59_24_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/65573a9f9e4caacd515f74f1de0a3ba9.jpg","text":"TemporaryFile(/tmp/multipartBody6315885131477876111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310503948,"filename":"image_31012025_08_59_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/1/31/db23b9b2c901e60757271b47be660472.jpg","text":"TemporaryFile(/tmp/multipartBody2974415905642621963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310503948,"filename":"image_31012025_08_59_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/1/31/b0f807e82781a77a9a8fd431776fa684.jpg","text":"TemporaryFile(/tmp/multipartBody6292555179289656786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310503948,"filename":"image_31012025_08_59_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/1/31/c5741843ee10f0815cedf465c632117a.jpg","text":"TemporaryFile(/tmp/multipartBody6956830506559660612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310503948,"filename":"image_31012025_08_58_55_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333252377","file1":"1333252371","file0":"1333252364","file4":"1333252387","file5":"1333252392","file3":"1333252381"},"map_files_photo_id_array":[{"photo_id":"1333252392","filename":"file5"},{"photo_id":"1333252377","filename":"file2"},{"photo_id":"1333252387","filename":"file4"},{"photo_id":"1333252371","filename":"file1"},{"photo_id":"1333252364","filename":"file0"},{"photo_id":"1333252381","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333252387":["hashtag1","hashtag2"]},{"1333252381":["hashtag1","hashtag2"]},{"1333252392":["hashtag1","hashtag2"]},{"1333252371":["hashtag1","hashtag2"]},{"1333252377":["hashtag1","hashtag2"]},{"1333252364":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333252387, 1333252381, 1333252392, 1333252371, 1333252377, 1333252364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2489173412323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:01:32.320039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/08/59/image_31012025_08_59_55_9401.jpg', '/home/pi/Desktop/images/31012025/09/00/image_31012025_09_00_16_10074.jpg', '/home/pi/Desktop/images/31012025/09/00/image_31012025_09_00_26_10350.jpg', '/home/pi/Desktop/images/31012025/09/00/image_31012025_09_00_37_10480.jpg', '/home/pi/Desktop/images/31012025/09/00/image_31012025_09_00_46_9359.jpg', '/home/pi/Desktop/images/31012025/09/00/image_31012025_09_00_57_10406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/08/59/image_31012025_08_59_55_9401.jpg
/home/pi/Desktop/images/31012025/09/00/image_31012025_09_00_16_10074.jpg
/home/pi/Desktop/images/31012025/09/00/image_31012025_09_00_26_10350.jpg
/home/pi/Desktop/images/31012025/09/00/image_31012025_09_00_37_10480.jpg
/home/pi/Desktop/images/31012025/09/00/image_31012025_09_00_46_9359.jpg
/home/pi/Desktop/images/31012025/09/00/image_31012025_09_00_57_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":["1333252421","1333252441","1333252485","1333252464","1333252416","1333252410"],"photo_ids_order":["1333252410","1333252416","1333252421","1333252441","1333252464","1333252485"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/900432feaecd7cf13948d1b61566b3d2.jpg","text":"TemporaryFile(/tmp/multipartBody7562159842135254827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310553234,"filename":"image_31012025_09_00_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/1/31/8aaf59c8b9d41a5f7bc42a62aa4669a2.jpg","text":"TemporaryFile(/tmp/multipartBody1043019078554109073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310553234,"filename":"image_31012025_09_00_37_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/44cec3a7a7a8027bf75e73db47a02c77.jpg","text":"TemporaryFile(/tmp/multipartBody6372715108278096779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310553234,"filename":"image_31012025_09_00_57_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c397092201ca73d86f41ecad39fa2890.jpg","text":"TemporaryFile(/tmp/multipartBody3423107653373333106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310553234,"filename":"image_31012025_09_00_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/1/31/a6cc5fcec7911de430ecf9ebf908c6c2.jpg","text":"TemporaryFile(/tmp/multipartBody172203288892380975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310553234,"filename":"image_31012025_09_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/1/31/44a4b1591f275d8d622e2866399bad71.jpg","text":"TemporaryFile(/tmp/multipartBody785737340146413231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310553234,"filename":"image_31012025_08_59_55_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333252421","file1":"1333252416","file0":"1333252410","file4":"1333252464","file5":"1333252485","file3":"1333252441"},"map_files_photo_id_array":[{"photo_id":"1333252485","filename":"file5"},{"photo_id":"1333252421","filename":"file2"},{"photo_id":"1333252464","filename":"file4"},{"photo_id":"1333252416","filename":"file1"},{"photo_id":"1333252410","filename":"file0"},{"photo_id":"1333252441","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333252421":["hashtag1","hashtag2"]},{"1333252441":["hashtag1","hashtag2"]},{"1333252485":["hashtag1","hashtag2"]},{"1333252464":["hashtag1","hashtag2"]},{"1333252416":["hashtag1","hashtag2"]},{"1333252410":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333252421, 1333252441, 1333252485, 1333252464, 1333252416, 1333252410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.999290466308594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:02:32.509426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/00/image_31012025_09_01_06_9457.jpg', '/home/pi/Desktop/images/31012025/09/01/image_31012025_09_01_16_10342.jpg', '/home/pi/Desktop/images/31012025/09/01/image_31012025_09_01_27_10488.jpg', '/home/pi/Desktop/images/31012025/09/01/image_31012025_09_01_36_9355.jpg', '/home/pi/Desktop/images/31012025/09/01/image_31012025_09_01_47_10365.jpg', '/home/pi/Desktop/images/31012025/09/01/image_31012025_09_01_56_9462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/00/image_31012025_09_01_06_9457.jpg
/home/pi/Desktop/images/31012025/09/01/image_31012025_09_01_16_10342.jpg
/home/pi/Desktop/images/31012025/09/01/image_31012025_09_01_27_10488.jpg
/home/pi/Desktop/images/31012025/09/01/image_31012025_09_01_36_9355.jpg
/home/pi/Desktop/images/31012025/09/01/image_31012025_09_01_47_10365.jpg
/home/pi/Desktop/images/31012025/09/01/image_31012025_09_01_56_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":["1333252652","1333252648","1333252711","1333252656","1333252617","1333252643"],"photo_ids_order":["1333252617","1333252643","1333252648","1333252652","1333252656","1333252711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fcd7940bd8cf352d1bc3e417311fbf39.jpg","text":"TemporaryFile(/tmp/multipartBody4557591322936337469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310613426,"filename":"image_31012025_09_01_36_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8bf6967c18b82df06aa2ac73b7630b7f.jpg","text":"TemporaryFile(/tmp/multipartBody697773124881559534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310613426,"filename":"image_31012025_09_01_27_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b54ab35c54ad5c3818f53a3b0efce79f.jpg","text":"TemporaryFile(/tmp/multipartBody2670509005663028042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310613426,"filename":"image_31012025_09_01_56_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6de8a777e73a86771f775bb16a15ea46.jpg","text":"TemporaryFile(/tmp/multipartBody982032568558003099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310613426,"filename":"image_31012025_09_01_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/1/31/6037de71106f8a4a667a36df0d5e48e4.jpg","text":"TemporaryFile(/tmp/multipartBody3550171202116669880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310613426,"filename":"image_31012025_09_01_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/1/31/9461f44ab0780972ad6de294c43fbf53.jpg","text":"TemporaryFile(/tmp/multipartBody2015756223840187399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310613426,"filename":"image_31012025_09_01_16_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333252648","file1":"1333252643","file0":"1333252617","file4":"1333252656","file5":"1333252711","file3":"1333252652"},"map_files_photo_id_array":[{"photo_id":"1333252711","filename":"file5"},{"photo_id":"1333252648","filename":"file2"},{"photo_id":"1333252656","filename":"file4"},{"photo_id":"1333252643","filename":"file1"},{"photo_id":"1333252617","filename":"file0"},{"photo_id":"1333252652","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333252652":["hashtag1","hashtag2"]},{"1333252648":["hashtag1","hashtag2"]},{"1333252711":["hashtag1","hashtag2"]},{"1333252656":["hashtag1","hashtag2"]},{"1333252617":["hashtag1","hashtag2"]},{"1333252643":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333252652, 1333252648, 1333252711, 1333252656, 1333252617, 1333252643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.822394609451294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:03:32.759803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/01/image_31012025_09_02_06_10355.jpg', '/home/pi/Desktop/images/31012025/09/02/image_31012025_09_02_17_10464.jpg', '/home/pi/Desktop/images/31012025/09/02/image_31012025_09_02_26_9340.jpg', '/home/pi/Desktop/images/31012025/09/02/image_31012025_09_02_37_10444.jpg', '/home/pi/Desktop/images/31012025/09/02/image_31012025_09_02_56_10408.jpg', '/home/pi/Desktop/images/31012025/09/02/image_31012025_09_03_07_10481.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/01/image_31012025_09_02_06_10355.jpg
/home/pi/Desktop/images/31012025/09/02/image_31012025_09_02_17_10464.jpg
/home/pi/Desktop/images/31012025/09/02/image_31012025_09_02_26_9340.jpg
/home/pi/Desktop/images/31012025/09/02/image_31012025_09_02_37_10444.jpg
/home/pi/Desktop/images/31012025/09/02/image_31012025_09_02_56_10408.jpg
/home/pi/Desktop/images/31012025/09/02/image_31012025_09_03_07_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":["1333252832","1333252811","1333252820","1333252798","1333252840","1333252737"],"photo_ids_order":["1333252737","1333252798","1333252811","1333252820","1333252832","1333252840"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ceca44e05d3a73737e3c3eacc2b0c44c.jpg","text":"TemporaryFile(/tmp/multipartBody3586538432110880217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310673670,"filename":"image_31012025_09_02_56_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6e30e821f77788b4859e7c44c5420e04.jpg","text":"TemporaryFile(/tmp/multipartBody3427137335641146134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310673670,"filename":"image_31012025_09_02_26_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f31dcb12c81f265ad1c5896c87604023.jpg","text":"TemporaryFile(/tmp/multipartBody3214119501420132891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310673670,"filename":"image_31012025_09_02_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/1/31/09fa2bc8c9aff8d200067dab7e7800ac.jpg","text":"TemporaryFile(/tmp/multipartBody4270355039728139038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310673670,"filename":"image_31012025_09_02_17_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/269c91a8491a59616d59a02ea392ad8a.jpg","text":"TemporaryFile(/tmp/multipartBody4482246396712621117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310673670,"filename":"image_31012025_09_03_07_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/10276e68e7093b98ab9e300d3d1fdae8.jpg","text":"TemporaryFile(/tmp/multipartBody4283611073673255856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310673670,"filename":"image_31012025_09_02_06_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333252811","file1":"1333252798","file0":"1333252737","file4":"1333252832","file5":"1333252840","file3":"1333252820"},"map_files_photo_id_array":[{"photo_id":"1333252840","filename":"file5"},{"photo_id":"1333252811","filename":"file2"},{"photo_id":"1333252832","filename":"file4"},{"photo_id":"1333252798","filename":"file1"},{"photo_id":"1333252737","filename":"file0"},{"photo_id":"1333252820","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333252832":["hashtag1","hashtag2"]},{"1333252811":["hashtag1","hashtag2"]},{"1333252820":["hashtag1","hashtag2"]},{"1333252798":["hashtag1","hashtag2"]},{"1333252840":["hashtag1","hashtag2"]},{"1333252737":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333252832, 1333252811, 1333252820, 1333252798, 1333252840, 1333252737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.23036050796509 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:04:32.965242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/03/image_31012025_09_03_16_9347.jpg', '/home/pi/Desktop/images/31012025/09/03/image_31012025_09_03_26_9879.jpg', '/home/pi/Desktop/images/31012025/09/03/image_31012025_09_03_36_10369.jpg', '/home/pi/Desktop/images/31012025/09/03/image_31012025_09_03_47_10409.jpg', '/home/pi/Desktop/images/31012025/09/03/image_31012025_09_03_56_9350.jpg', '/home/pi/Desktop/images/31012025/09/03/image_31012025_09_04_07_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/03/image_31012025_09_03_16_9347.jpg
/home/pi/Desktop/images/31012025/09/03/image_31012025_09_03_26_9879.jpg
/home/pi/Desktop/images/31012025/09/03/image_31012025_09_03_36_10369.jpg
/home/pi/Desktop/images/31012025/09/03/image_31012025_09_03_47_10409.jpg
/home/pi/Desktop/images/31012025/09/03/image_31012025_09_03_56_9350.jpg
/home/pi/Desktop/images/31012025/09/03/image_31012025_09_04_07_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333252928","1333252921","1333252869","1333252941","1333252857","1333252938"],"photo_ids_order":["1333252857","1333252869","1333252921","1333252928","1333252938","1333252941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c95889f46a4fb2fafb7ee089b204e0ea.jpg","text":"TemporaryFile(/tmp/multipartBody5269512370102890774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310733911,"filename":"image_31012025_09_03_47_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/15bd92a80d3e422ec555ddfdf7a5bf8f.jpg","text":"TemporaryFile(/tmp/multipartBody2225652527267543960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310733911,"filename":"image_31012025_09_03_36_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/188573803db3754fc207a2f16c55b10c.jpg","text":"TemporaryFile(/tmp/multipartBody4779132765346788016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310733911,"filename":"image_31012025_09_03_26_9879.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/199273bf26cc047ca23440c4452275ab.jpg","text":"TemporaryFile(/tmp/multipartBody3547518927696496699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310733911,"filename":"image_31012025_09_04_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/1/31/71c4f892e16cbc29aa6fdfa099711354.jpg","text":"TemporaryFile(/tmp/multipartBody1362545840294006134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310733911,"filename":"image_31012025_09_03_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/1/31/8874fb9864e24fcb30a2b98e621948a0.jpg","text":"TemporaryFile(/tmp/multipartBody5181365752355554168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310733911,"filename":"image_31012025_09_03_56_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333252921","file1":"1333252869","file0":"1333252857","file4":"1333252938","file5":"1333252941","file3":"1333252928"},"map_files_photo_id_array":[{"photo_id":"1333252941","filename":"file5"},{"photo_id":"1333252921","filename":"file2"},{"photo_id":"1333252938","filename":"file4"},{"photo_id":"1333252869","filename":"file1"},{"photo_id":"1333252857","filename":"file0"},{"photo_id":"1333252928","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333252928":["hashtag1","hashtag2"]},{"1333252921":["hashtag1","hashtag2"]},{"1333252869":["hashtag1","hashtag2"]},{"1333252941":["hashtag1","hashtag2"]},{"1333252857":["hashtag1","hashtag2"]},{"1333252938":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333252928, 1333252921, 1333252869, 1333252941, 1333252857, 1333252938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.253174781799316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:05:33.118579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/04/image_31012025_09_04_16_9342.jpg', '/home/pi/Desktop/images/31012025/09/04/image_31012025_09_04_26_10364.jpg', '/home/pi/Desktop/images/31012025/09/04/image_31012025_09_04_37_10366.jpg', '/home/pi/Desktop/images/31012025/09/04/image_31012025_09_04_46_9432.jpg', '/home/pi/Desktop/images/31012025/09/04/image_31012025_09_04_56_10367.jpg', '/home/pi/Desktop/images/31012025/09/04/image_31012025_09_05_06_9461.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/04/image_31012025_09_04_16_9342.jpg
/home/pi/Desktop/images/31012025/09/04/image_31012025_09_04_26_10364.jpg
/home/pi/Desktop/images/31012025/09/04/image_31012025_09_04_37_10366.jpg
/home/pi/Desktop/images/31012025/09/04/image_31012025_09_04_46_9432.jpg
/home/pi/Desktop/images/31012025/09/04/image_31012025_09_04_56_10367.jpg
/home/pi/Desktop/images/31012025/09/04/image_31012025_09_05_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":["1333253111","1333253077","1333253092","1333253200","1333253084","1333253066"],"photo_ids_order":["1333253066","1333253077","1333253084","1333253092","1333253111","1333253200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/131a0e62179aa4ff68b797355ce126e4.jpg","text":"TemporaryFile(/tmp/multipartBody6315792106147011015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310794045,"filename":"image_31012025_09_04_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/1/31/79663327a1d30d61481df12f02f5541f.jpg","text":"TemporaryFile(/tmp/multipartBody3269940136697933646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310794045,"filename":"image_31012025_09_04_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/1/31/11f119ae33b1def54faa9ecd7d450abc.jpg","text":"TemporaryFile(/tmp/multipartBody7239192785406512822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310794045,"filename":"image_31012025_09_04_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/1/31/f6abfbc98a46b3a486288ceca419d74b.jpg","text":"TemporaryFile(/tmp/multipartBody6358955618149395921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310794045,"filename":"image_31012025_09_05_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/1/31/8952883b92ece8f02d264fb1ef43ef5e.jpg","text":"TemporaryFile(/tmp/multipartBody7143593668275542217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310794045,"filename":"image_31012025_09_04_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/1/31/7c0bc8f57ffb0643a8543520f9d9520e.jpg","text":"TemporaryFile(/tmp/multipartBody5699750708195336274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310794045,"filename":"image_31012025_09_04_16_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333253084","file1":"1333253077","file0":"1333253066","file4":"1333253111","file5":"1333253200","file3":"1333253092"},"map_files_photo_id_array":[{"photo_id":"1333253200","filename":"file5"},{"photo_id":"1333253084","filename":"file2"},{"photo_id":"1333253111","filename":"file4"},{"photo_id":"1333253077","filename":"file1"},{"photo_id":"1333253066","filename":"file0"},{"photo_id":"1333253092","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333253111":["hashtag1","hashtag2"]},{"1333253077":["hashtag1","hashtag2"]},{"1333253092":["hashtag1","hashtag2"]},{"1333253200":["hashtag1","hashtag2"]},{"1333253084":["hashtag1","hashtag2"]},{"1333253066":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333253111, 1333253077, 1333253092, 1333253200, 1333253084, 1333253066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.5169415473938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:06:32.320705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/05/image_31012025_09_05_16_10349.jpg', '/home/pi/Desktop/images/31012025/09/05/image_31012025_09_05_36_9459.jpg', '/home/pi/Desktop/images/31012025/09/05/image_31012025_09_05_46_10355.jpg', '/home/pi/Desktop/images/31012025/09/05/image_31012025_09_05_56_9491.jpg', '/home/pi/Desktop/images/31012025/09/05/image_31012025_09_06_06_10368.jpg', '/home/pi/Desktop/images/31012025/09/06/image_31012025_09_06_17_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/05/image_31012025_09_05_16_10349.jpg
/home/pi/Desktop/images/31012025/09/05/image_31012025_09_05_36_9459.jpg
/home/pi/Desktop/images/31012025/09/05/image_31012025_09_05_46_10355.jpg
/home/pi/Desktop/images/31012025/09/05/image_31012025_09_05_56_9491.jpg
/home/pi/Desktop/images/31012025/09/05/image_31012025_09_06_06_10368.jpg
/home/pi/Desktop/images/31012025/09/06/image_31012025_09_06_17_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":["1333253971","1333253993","1333253996","1333253984","1333253978","1333253987"],"photo_ids_order":["1333253971","1333253978","1333253984","1333253987","1333253993","1333253996"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b73a7df2343be6f1e886d64cb234f0dd.jpg","text":"TemporaryFile(/tmp/multipartBody2199209135165358666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310853254,"filename":"image_31012025_09_05_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/1/31/634287a0c837ba2a53db0e2549ccb6ed.jpg","text":"TemporaryFile(/tmp/multipartBody6634366483051707640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310853254,"filename":"image_31012025_09_06_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/1/31/7cb897da32e70484b5aab0c326c13c0e.jpg","text":"TemporaryFile(/tmp/multipartBody4420508712398352272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310853254,"filename":"image_31012025_09_06_17_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/335f05fe441ee5d70f565e6766750745.jpg","text":"TemporaryFile(/tmp/multipartBody2057938657113335655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310853254,"filename":"image_31012025_09_05_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/1/31/73d84aa6d2a3c31352a183f264b56f14.jpg","text":"TemporaryFile(/tmp/multipartBody7350301165763733084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310853254,"filename":"image_31012025_09_05_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/1/31/8fa6ce3e66f75329afbbcb4fe2d60579.jpg","text":"TemporaryFile(/tmp/multipartBody6927231529402228134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310853254,"filename":"image_31012025_09_05_56_9491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333253984","file1":"1333253978","file0":"1333253971","file4":"1333253993","file5":"1333253996","file3":"1333253987"},"map_files_photo_id_array":[{"photo_id":"1333253996","filename":"file5"},{"photo_id":"1333253984","filename":"file2"},{"photo_id":"1333253993","filename":"file4"},{"photo_id":"1333253978","filename":"file1"},{"photo_id":"1333253971","filename":"file0"},{"photo_id":"1333253987","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333253971":["hashtag1","hashtag2"]},{"1333253993":["hashtag1","hashtag2"]},{"1333253996":["hashtag1","hashtag2"]},{"1333253984":["hashtag1","hashtag2"]},{"1333253978":["hashtag1","hashtag2"]},{"1333253987":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333253971, 1333253993, 1333253996, 1333253984, 1333253978, 1333253987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.732521295547485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:07:32.516270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/06/image_31012025_09_06_26_9418.jpg', '/home/pi/Desktop/images/31012025/09/06/image_31012025_09_06_36_10358.jpg', '/home/pi/Desktop/images/31012025/09/06/image_31012025_09_06_47_10378.jpg', '/home/pi/Desktop/images/31012025/09/06/image_31012025_09_06_56_9329.jpg', '/home/pi/Desktop/images/31012025/09/06/image_31012025_09_07_06_10351.jpg', '/home/pi/Desktop/images/31012025/09/07/image_31012025_09_07_26_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/06/image_31012025_09_06_26_9418.jpg
/home/pi/Desktop/images/31012025/09/06/image_31012025_09_06_36_10358.jpg
/home/pi/Desktop/images/31012025/09/06/image_31012025_09_06_47_10378.jpg
/home/pi/Desktop/images/31012025/09/06/image_31012025_09_06_56_9329.jpg
/home/pi/Desktop/images/31012025/09/06/image_31012025_09_07_06_10351.jpg
/home/pi/Desktop/images/31012025/09/07/image_31012025_09_07_26_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":["1333254042","1333254095","1333254038","1333254190","1333254023","1333254247"],"photo_ids_order":["1333254023","1333254038","1333254042","1333254095","1333254190","1333254247"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6b7df29a2a7792a9c48f3201a3c3e212.jpg","text":"TemporaryFile(/tmp/multipartBody1209909820183560031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310913731,"filename":"image_31012025_09_06_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/1/31/0842d6f3355c8e68ecda328034902a7e.jpg","text":"TemporaryFile(/tmp/multipartBody6365879673013863251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310913731,"filename":"image_31012025_09_06_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/1/31/e58e89a1570df5543f238196efda0689.jpg","text":"TemporaryFile(/tmp/multipartBody5645747060720411907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310913731,"filename":"image_31012025_09_06_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/1/31/89842a79aa217795ab79c3ba0a73b73f.jpg","text":"TemporaryFile(/tmp/multipartBody172829089490962500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310913731,"filename":"image_31012025_09_07_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/1/31/8604009fc0908f4ae8c2f0a9bbade93f.jpg","text":"TemporaryFile(/tmp/multipartBody6797010556502634969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310913731,"filename":"image_31012025_09_06_26_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fcf88e2997d6ac33279d9a4eb56e13e8.jpg","text":"TemporaryFile(/tmp/multipartBody2104392539170484637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310913731,"filename":"image_31012025_09_07_26_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333254042","file1":"1333254038","file0":"1333254023","file4":"1333254190","file5":"1333254247","file3":"1333254095"},"map_files_photo_id_array":[{"photo_id":"1333254247","filename":"file5"},{"photo_id":"1333254042","filename":"file2"},{"photo_id":"1333254190","filename":"file4"},{"photo_id":"1333254038","filename":"file1"},{"photo_id":"1333254023","filename":"file0"},{"photo_id":"1333254095","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333254042":["hashtag1","hashtag2"]},{"1333254095":["hashtag1","hashtag2"]},{"1333254038":["hashtag1","hashtag2"]},{"1333254190":["hashtag1","hashtag2"]},{"1333254023":["hashtag1","hashtag2"]},{"1333254247":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333254042, 1333254095, 1333254038, 1333254190, 1333254023, 1333254247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.081549644470215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:08:32.767259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/07/image_31012025_09_07_37_10351.jpg', '/home/pi/Desktop/images/31012025/09/07/image_31012025_09_07_46_9470.jpg', '/home/pi/Desktop/images/31012025/09/07/image_31012025_09_07_56_10343.jpg', '/home/pi/Desktop/images/31012025/09/07/image_31012025_09_08_06_9423.jpg', '/home/pi/Desktop/images/31012025/09/08/image_31012025_09_08_16_10332.jpg', '/home/pi/Desktop/images/31012025/09/08/image_31012025_09_08_27_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/07/image_31012025_09_07_37_10351.jpg
/home/pi/Desktop/images/31012025/09/07/image_31012025_09_07_46_9470.jpg
/home/pi/Desktop/images/31012025/09/07/image_31012025_09_07_56_10343.jpg
/home/pi/Desktop/images/31012025/09/07/image_31012025_09_08_06_9423.jpg
/home/pi/Desktop/images/31012025/09/08/image_31012025_09_08_16_10332.jpg
/home/pi/Desktop/images/31012025/09/08/image_31012025_09_08_27_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":["1333254507","1333254683","1333254662","1333254592","1333254574","1333254586"],"photo_ids_order":["1333254507","1333254574","1333254586","1333254592","1333254662","1333254683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b01429abf466c6529fa8f5762e26119a.jpg","text":"TemporaryFile(/tmp/multipartBody7441687974570330319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310973703,"filename":"image_31012025_09_07_37_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7ce2689c58885754f51dfd69482e9178.jpg","text":"TemporaryFile(/tmp/multipartBody6279311702628074617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310973703,"filename":"image_31012025_09_08_27_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/17f87d88349f068ddaf9162da77554f7.jpg","text":"TemporaryFile(/tmp/multipartBody4046834945596731954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310973703,"filename":"image_31012025_09_08_16_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/093f48578d9d49fb2a4ff08d372e6b07.jpg","text":"TemporaryFile(/tmp/multipartBody6796765273195442841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310973703,"filename":"image_31012025_09_08_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/1/31/593b3e98436b0cbd0d303033e9455956.jpg","text":"TemporaryFile(/tmp/multipartBody3075590221942813164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310973703,"filename":"image_31012025_09_07_46_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5c597fe39a28fd0c841326f75c017420.jpg","text":"TemporaryFile(/tmp/multipartBody2754022575782516241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738310973703,"filename":"image_31012025_09_07_56_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333254586","file1":"1333254574","file0":"1333254507","file4":"1333254662","file5":"1333254683","file3":"1333254592"},"map_files_photo_id_array":[{"photo_id":"1333254683","filename":"file5"},{"photo_id":"1333254586","filename":"file2"},{"photo_id":"1333254662","filename":"file4"},{"photo_id":"1333254574","filename":"file1"},{"photo_id":"1333254507","filename":"file0"},{"photo_id":"1333254592","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333254507":["hashtag1","hashtag2"]},{"1333254683":["hashtag1","hashtag2"]},{"1333254662":["hashtag1","hashtag2"]},{"1333254592":["hashtag1","hashtag2"]},{"1333254574":["hashtag1","hashtag2"]},{"1333254586":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333254507, 1333254683, 1333254662, 1333254592, 1333254574, 1333254586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.996533155441284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:09:32.933311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/08/image_31012025_09_08_36_9446.jpg', '/home/pi/Desktop/images/31012025/09/08/image_31012025_09_08_46_10361.jpg', '/home/pi/Desktop/images/31012025/09/08/image_31012025_09_08_57_10468.jpg', '/home/pi/Desktop/images/31012025/09/08/image_31012025_09_09_06_9336.jpg', '/home/pi/Desktop/images/31012025/09/09/image_31012025_09_09_17_10360.jpg', '/home/pi/Desktop/images/31012025/09/09/image_31012025_09_09_26_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/08/image_31012025_09_08_36_9446.jpg
/home/pi/Desktop/images/31012025/09/08/image_31012025_09_08_46_10361.jpg
/home/pi/Desktop/images/31012025/09/08/image_31012025_09_08_57_10468.jpg
/home/pi/Desktop/images/31012025/09/08/image_31012025_09_09_06_9336.jpg
/home/pi/Desktop/images/31012025/09/09/image_31012025_09_09_17_10360.jpg
/home/pi/Desktop/images/31012025/09/09/image_31012025_09_09_26_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":["1333254703","1333254723","1333254714","1333254708","1333254728","1333254719"],"photo_ids_order":["1333254703","1333254708","1333254714","1333254719","1333254723","1333254728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1f8a5babe6aef0f7fdbb88694d74d995.jpg","text":"TemporaryFile(/tmp/multipartBody171455941702466856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311033864,"filename":"image_31012025_09_08_36_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8899ec55c46d39af623e47067b67a640.jpg","text":"TemporaryFile(/tmp/multipartBody1884011612596362478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311033864,"filename":"image_31012025_09_09_17_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d602eea4a5b8ad8658e12f0409048ee6.jpg","text":"TemporaryFile(/tmp/multipartBody6617076870365156115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311033864,"filename":"image_31012025_09_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/1/31/d47d06483f51e2f1775c6782ffdf078b.jpg","text":"TemporaryFile(/tmp/multipartBody5817981661745698044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311033864,"filename":"image_31012025_09_08_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/1/31/05e53a4acf8d1dc87df124be92d68db4.jpg","text":"TemporaryFile(/tmp/multipartBody5227718591574360945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311033864,"filename":"image_31012025_09_09_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/1/31/c9fd0ae9821ad56d805a4f559c180634.jpg","text":"TemporaryFile(/tmp/multipartBody7541341320107503400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311033864,"filename":"image_31012025_09_09_06_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333254714","file1":"1333254708","file0":"1333254703","file4":"1333254723","file5":"1333254728","file3":"1333254719"},"map_files_photo_id_array":[{"photo_id":"1333254728","filename":"file5"},{"photo_id":"1333254714","filename":"file2"},{"photo_id":"1333254723","filename":"file4"},{"photo_id":"1333254708","filename":"file1"},{"photo_id":"1333254703","filename":"file0"},{"photo_id":"1333254719","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333254703":["hashtag1","hashtag2"]},{"1333254723":["hashtag1","hashtag2"]},{"1333254714":["hashtag1","hashtag2"]},{"1333254708":["hashtag1","hashtag2"]},{"1333254728":["hashtag1","hashtag2"]},{"1333254719":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333254703, 1333254723, 1333254714, 1333254708, 1333254728, 1333254719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.058451890945435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:10:33.052263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/09/image_31012025_09_09_47_10462.jpg', '/home/pi/Desktop/images/31012025/09/09/image_31012025_09_09_56_9331.jpg', '/home/pi/Desktop/images/31012025/09/09/image_31012025_09_10_06_10361.jpg', '/home/pi/Desktop/images/31012025/09/10/image_31012025_09_10_26_10365.jpg', '/home/pi/Desktop/images/31012025/09/10/image_31012025_09_10_37_10436.jpg', '/home/pi/Desktop/images/31012025/09/10/image_31012025_09_10_46_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/09/image_31012025_09_09_47_10462.jpg
/home/pi/Desktop/images/31012025/09/09/image_31012025_09_09_56_9331.jpg
/home/pi/Desktop/images/31012025/09/09/image_31012025_09_10_06_10361.jpg
/home/pi/Desktop/images/31012025/09/10/image_31012025_09_10_26_10365.jpg
/home/pi/Desktop/images/31012025/09/10/image_31012025_09_10_37_10436.jpg
/home/pi/Desktop/images/31012025/09/10/image_31012025_09_10_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":["1333254766","1333254783","1333254779","1333254772","1333254760","1333254754"],"photo_ids_order":["1333254754","1333254760","1333254766","1333254772","1333254779","1333254783"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ae62b0e318a1b4db2329ecd429049c56.jpg","text":"TemporaryFile(/tmp/multipartBody286067923761614590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311093987,"filename":"image_31012025_09_10_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/1/31/06e8065d64fd4102c651f4b3c1a7d6a8.jpg","text":"TemporaryFile(/tmp/multipartBody3048056385773366556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311093987,"filename":"image_31012025_09_10_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/1/31/6c3f7de8303901ad9439de6f24d12f74.jpg","text":"TemporaryFile(/tmp/multipartBody4530188763106138277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311093987,"filename":"image_31012025_09_10_37_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d583305610d9fc30523da16cbb89cb60.jpg","text":"TemporaryFile(/tmp/multipartBody6108711878155585240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311093987,"filename":"image_31012025_09_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/1/31/e11a230561411125f4bc8db11ead6428.jpg","text":"TemporaryFile(/tmp/multipartBody7268985150842667985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311093987,"filename":"image_31012025_09_09_56_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9422ed1dccb58ec415320e1d7537fe68.jpg","text":"TemporaryFile(/tmp/multipartBody4743159870776328756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311093987,"filename":"image_31012025_09_09_47_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333254766","file1":"1333254760","file0":"1333254754","file4":"1333254779","file5":"1333254783","file3":"1333254772"},"map_files_photo_id_array":[{"photo_id":"1333254783","filename":"file5"},{"photo_id":"1333254766","filename":"file2"},{"photo_id":"1333254779","filename":"file4"},{"photo_id":"1333254760","filename":"file1"},{"photo_id":"1333254754","filename":"file0"},{"photo_id":"1333254772","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333254766":["hashtag1","hashtag2"]},{"1333254783":["hashtag1","hashtag2"]},{"1333254779":["hashtag1","hashtag2"]},{"1333254772":["hashtag1","hashtag2"]},{"1333254760":["hashtag1","hashtag2"]},{"1333254754":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333254766, 1333254783, 1333254779, 1333254772, 1333254760, 1333254754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06411957740784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:11:32.553044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/10/image_31012025_09_10_56_10370.jpg', '/home/pi/Desktop/images/31012025/09/10/image_31012025_09_11_07_10409.jpg', '/home/pi/Desktop/images/31012025/09/11/image_31012025_09_11_16_9636.jpg', '/home/pi/Desktop/images/31012025/09/11/image_31012025_09_11_26_9431.jpg', '/home/pi/Desktop/images/31012025/09/11/image_31012025_09_11_36_10353.jpg', '/home/pi/Desktop/images/31012025/09/11/image_31012025_09_11_47_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/10/image_31012025_09_10_56_10370.jpg
/home/pi/Desktop/images/31012025/09/10/image_31012025_09_11_07_10409.jpg
/home/pi/Desktop/images/31012025/09/11/image_31012025_09_11_16_9636.jpg
/home/pi/Desktop/images/31012025/09/11/image_31012025_09_11_26_9431.jpg
/home/pi/Desktop/images/31012025/09/11/image_31012025_09_11_36_10353.jpg
/home/pi/Desktop/images/31012025/09/11/image_31012025_09_11_47_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":["1333255254","1333254814","1333254807","1333254923","1333254821","1333255092"],"photo_ids_order":["1333254807","1333254814","1333254821","1333254923","1333255092","1333255254"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2359cc1fdfd9b200ff29291a16def458.jpg","text":"TemporaryFile(/tmp/multipartBody2783155951615317559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311153492,"filename":"image_31012025_09_11_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/1/31/df28e6907e95ad724a5f031b40bb8060.jpg","text":"TemporaryFile(/tmp/multipartBody8171993150339291534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311153492,"filename":"image_31012025_09_11_07_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/89283d42e3360560480a68c218cc6f7a.jpg","text":"TemporaryFile(/tmp/multipartBody8800826268748463057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311153492,"filename":"image_31012025_09_10_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/1/31/3a7108d59a631ef57bcaa411827d3d18.jpg","text":"TemporaryFile(/tmp/multipartBody982475751601833971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311153492,"filename":"image_31012025_09_11_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/1/31/8b826594347a86ffff6dbb9aa93dbc75.jpg","text":"TemporaryFile(/tmp/multipartBody6855414008537942815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311153492,"filename":"image_31012025_09_11_16_9636.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3b3f2ae932264ba63fde902c9eefd4b2.jpg","text":"TemporaryFile(/tmp/multipartBody7765853883023105293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311153492,"filename":"image_31012025_09_11_36_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333254821","file1":"1333254814","file0":"1333254807","file4":"1333255092","file5":"1333255254","file3":"1333254923"},"map_files_photo_id_array":[{"photo_id":"1333255254","filename":"file5"},{"photo_id":"1333254821","filename":"file2"},{"photo_id":"1333255092","filename":"file4"},{"photo_id":"1333254814","filename":"file1"},{"photo_id":"1333254807","filename":"file0"},{"photo_id":"1333254923","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333255254":["hashtag1","hashtag2"]},{"1333254814":["hashtag1","hashtag2"]},{"1333254807":["hashtag1","hashtag2"]},{"1333254923":["hashtag1","hashtag2"]},{"1333254821":["hashtag1","hashtag2"]},{"1333255092":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333255254, 1333254814, 1333254807, 1333254923, 1333254821, 1333255092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.769883155822754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:12:32.634918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/11/image_31012025_09_11_56_9423.jpg', '/home/pi/Desktop/images/31012025/09/11/image_31012025_09_12_06_10429.jpg', '/home/pi/Desktop/images/31012025/09/12/image_31012025_09_12_17_10357.jpg', '/home/pi/Desktop/images/31012025/09/12/image_31012025_09_12_26_9352.jpg', '/home/pi/Desktop/images/31012025/09/12/image_31012025_09_12_37_10372.jpg', '/home/pi/Desktop/images/31012025/09/12/image_31012025_09_12_46_9420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/11/image_31012025_09_11_56_9423.jpg
/home/pi/Desktop/images/31012025/09/11/image_31012025_09_12_06_10429.jpg
/home/pi/Desktop/images/31012025/09/12/image_31012025_09_12_17_10357.jpg
/home/pi/Desktop/images/31012025/09/12/image_31012025_09_12_26_9352.jpg
/home/pi/Desktop/images/31012025/09/12/image_31012025_09_12_37_10372.jpg
/home/pi/Desktop/images/31012025/09/12/image_31012025_09_12_46_9420.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5230963230133057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 09:12:42.662663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/11/image_31012025_09_11_56_9423.jpg', '/home/pi/Desktop/images/31012025/09/11/image_31012025_09_12_06_10429.jpg', '/home/pi/Desktop/images/31012025/09/12/image_31012025_09_12_17_10357.jpg', '/home/pi/Desktop/images/31012025/09/12/image_31012025_09_12_26_9352.jpg', '/home/pi/Desktop/images/31012025/09/12/image_31012025_09_12_37_10372.jpg', '/home/pi/Desktop/images/31012025/09/12/image_31012025_09_12_46_9420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/11/image_31012025_09_11_56_9423.jpg
/home/pi/Desktop/images/31012025/09/11/image_31012025_09_12_06_10429.jpg
/home/pi/Desktop/images/31012025/09/12/image_31012025_09_12_17_10357.jpg
/home/pi/Desktop/images/31012025/09/12/image_31012025_09_12_26_9352.jpg
/home/pi/Desktop/images/31012025/09/12/image_31012025_09_12_37_10372.jpg
/home/pi/Desktop/images/31012025/09/12/image_31012025_09_12_46_9420.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":["1333256313","1333256291","1333256309","1333256219","1333256305","1333256358"],"photo_ids_order":["1333256219","1333256291","1333256305","1333256309","1333256313","1333256358"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/76ef1e3df510ada9c4b93a960d933fb7.jpg","text":"TemporaryFile(/tmp/multipartBody7297128284971724325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311223595,"filename":"image_31012025_09_12_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/1/31/fc4524086c5915e3164522c41a47dc2d.jpg","text":"TemporaryFile(/tmp/multipartBody7461216750170023656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311223595,"filename":"image_31012025_09_12_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/1/31/e6e4e45481943d226582ed189de02db4.jpg","text":"TemporaryFile(/tmp/multipartBody1367958755659500447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311223595,"filename":"image_31012025_09_12_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/1/31/5b13c3851ffb284e6a53bc223daba8af.jpg","text":"TemporaryFile(/tmp/multipartBody3954028433634794639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311223595,"filename":"image_31012025_09_11_56_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c6699a5159f7cd051823c01ada69a9a6.jpg","text":"TemporaryFile(/tmp/multipartBody5054634922013698015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311223595,"filename":"image_31012025_09_12_17_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c47e7c430f67584b4f742a1d7e0c212b.jpg","text":"TemporaryFile(/tmp/multipartBody4063714522459602244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311223595,"filename":"image_31012025_09_12_46_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333256305","file1":"1333256291","file0":"1333256219","file4":"1333256313","file5":"1333256358","file3":"1333256309"},"map_files_photo_id_array":[{"photo_id":"1333256358","filename":"file5"},{"photo_id":"1333256305","filename":"file2"},{"photo_id":"1333256313","filename":"file4"},{"photo_id":"1333256291","filename":"file1"},{"photo_id":"1333256219","filename":"file0"},{"photo_id":"1333256309","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333256313":["hashtag1","hashtag2"]},{"1333256291":["hashtag1","hashtag2"]},{"1333256309":["hashtag1","hashtag2"]},{"1333256219":["hashtag1","hashtag2"]},{"1333256305":["hashtag1","hashtag2"]},{"1333256358":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333256313, 1333256291, 1333256309, 1333256219, 1333256305, 1333256358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95789313316345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:13:32.861493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/12/image_31012025_09_12_56_10345.jpg', '/home/pi/Desktop/images/31012025/09/12/image_31012025_09_13_07_10350.jpg', '/home/pi/Desktop/images/31012025/09/13/image_31012025_09_13_16_9343.jpg', '/home/pi/Desktop/images/31012025/09/13/image_31012025_09_13_26_10373.jpg', '/home/pi/Desktop/images/31012025/09/13/image_31012025_09_13_37_10403.jpg', '/home/pi/Desktop/images/31012025/09/13/image_31012025_09_13_46_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/12/image_31012025_09_12_56_10345.jpg
/home/pi/Desktop/images/31012025/09/12/image_31012025_09_13_07_10350.jpg
/home/pi/Desktop/images/31012025/09/13/image_31012025_09_13_16_9343.jpg
/home/pi/Desktop/images/31012025/09/13/image_31012025_09_13_26_10373.jpg
/home/pi/Desktop/images/31012025/09/13/image_31012025_09_13_37_10403.jpg
/home/pi/Desktop/images/31012025/09/13/image_31012025_09_13_46_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":["1333256454","1333256474","1333256468","1333256479","1333256461","1333256484"],"photo_ids_order":["1333256454","1333256461","1333256468","1333256474","1333256479","1333256484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/05a0c00051c615257664cab4bfb20f35.jpg","text":"TemporaryFile(/tmp/multipartBody8841722927416454762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311273781,"filename":"image_31012025_09_12_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/1/31/e7b046b72e88cf8f813323cf0453e5ad.jpg","text":"TemporaryFile(/tmp/multipartBody5209961014383941165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311273781,"filename":"image_31012025_09_13_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/1/31/f0561b277e8ca2d9de172b57f9593551.jpg","text":"TemporaryFile(/tmp/multipartBody8584010898862065424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311273781,"filename":"image_31012025_09_13_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/1/31/3b4020bfada63194f658c58543722bec.jpg","text":"TemporaryFile(/tmp/multipartBody6126576404416015715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311273781,"filename":"image_31012025_09_13_37_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/031d07597770524c42bfa70b96d06aa0.jpg","text":"TemporaryFile(/tmp/multipartBody7833967894817922751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311273781,"filename":"image_31012025_09_13_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/1/31/77942fa3d84b1fc751250895b1974518.jpg","text":"TemporaryFile(/tmp/multipartBody2754776314819116557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311273781,"filename":"image_31012025_09_13_46_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333256468","file1":"1333256461","file0":"1333256454","file4":"1333256479","file5":"1333256484","file3":"1333256474"},"map_files_photo_id_array":[{"photo_id":"1333256484","filename":"file5"},{"photo_id":"1333256468","filename":"file2"},{"photo_id":"1333256479","filename":"file4"},{"photo_id":"1333256461","filename":"file1"},{"photo_id":"1333256454","filename":"file0"},{"photo_id":"1333256474","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333256454":["hashtag1","hashtag2"]},{"1333256474":["hashtag1","hashtag2"]},{"1333256468":["hashtag1","hashtag2"]},{"1333256479":["hashtag1","hashtag2"]},{"1333256461":["hashtag1","hashtag2"]},{"1333256484":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333256454, 1333256474, 1333256468, 1333256479, 1333256461, 1333256484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.43146300315857 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:14:33.021268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/13/image_31012025_09_13_57_10399.jpg', '/home/pi/Desktop/images/31012025/09/13/image_31012025_09_14_06_9468.jpg', '/home/pi/Desktop/images/31012025/09/14/image_31012025_09_14_16_10342.jpg', '/home/pi/Desktop/images/31012025/09/14/image_31012025_09_14_27_10393.jpg', '/home/pi/Desktop/images/31012025/09/14/image_31012025_09_14_36_9447.jpg', '/home/pi/Desktop/images/31012025/09/14/image_31012025_09_14_47_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/13/image_31012025_09_13_57_10399.jpg
/home/pi/Desktop/images/31012025/09/13/image_31012025_09_14_06_9468.jpg
/home/pi/Desktop/images/31012025/09/14/image_31012025_09_14_16_10342.jpg
/home/pi/Desktop/images/31012025/09/14/image_31012025_09_14_27_10393.jpg
/home/pi/Desktop/images/31012025/09/14/image_31012025_09_14_36_9447.jpg
/home/pi/Desktop/images/31012025/09/14/image_31012025_09_14_47_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":["1333257254","1333257070","1333257250","1333257232","1333256878","1333257144"],"photo_ids_order":["1333256878","1333257070","1333257144","1333257232","1333257250","1333257254"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/08d19ddef646eb9e4714f04a0a257066.jpg","text":"TemporaryFile(/tmp/multipartBody7561411054352226784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311333927,"filename":"image_31012025_09_14_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/1/31/492e74b12ce65dad8680ab62b16ba46b.jpg","text":"TemporaryFile(/tmp/multipartBody3315214707787091853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311333927,"filename":"image_31012025_09_14_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/1/31/e5bdfd8153696ae2bff023506a79efc9.jpg","text":"TemporaryFile(/tmp/multipartBody2299548468863765643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311333927,"filename":"image_31012025_09_14_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/1/31/7276f289e55f60ede2f783fd730b4766.jpg","text":"TemporaryFile(/tmp/multipartBody1258395870803824947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311333927,"filename":"image_31012025_09_14_27_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4736e2bea51d41d183f62733311a5240.jpg","text":"TemporaryFile(/tmp/multipartBody2060795562337094128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311333927,"filename":"image_31012025_09_13_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/1/31/1cd5e9387bb9b17770a5c342d5154883.jpg","text":"TemporaryFile(/tmp/multipartBody8040024411782919669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311333927,"filename":"image_31012025_09_14_16_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333257144","file1":"1333257070","file0":"1333256878","file4":"1333257250","file5":"1333257254","file3":"1333257232"},"map_files_photo_id_array":[{"photo_id":"1333257254","filename":"file5"},{"photo_id":"1333257144","filename":"file2"},{"photo_id":"1333257250","filename":"file4"},{"photo_id":"1333257070","filename":"file1"},{"photo_id":"1333256878","filename":"file0"},{"photo_id":"1333257232","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333257254":["hashtag1","hashtag2"]},{"1333257070":["hashtag1","hashtag2"]},{"1333257250":["hashtag1","hashtag2"]},{"1333257232":["hashtag1","hashtag2"]},{"1333256878":["hashtag1","hashtag2"]},{"1333257144":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333257254, 1333257070, 1333257250, 1333257232, 1333256878, 1333257144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.46755528450012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:15:32.395236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/14/image_31012025_09_14_56_9374.jpg', '/home/pi/Desktop/images/31012025/09/14/image_31012025_09_15_06_10423.jpg', '/home/pi/Desktop/images/31012025/09/15/image_31012025_09_15_16_9536.jpg', '/home/pi/Desktop/images/31012025/09/15/image_31012025_09_15_26_10347.jpg', '/home/pi/Desktop/images/31012025/09/15/image_31012025_09_15_37_10340.jpg', '/home/pi/Desktop/images/31012025/09/15/image_31012025_09_15_46_9365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/14/image_31012025_09_14_56_9374.jpg
/home/pi/Desktop/images/31012025/09/14/image_31012025_09_15_06_10423.jpg
/home/pi/Desktop/images/31012025/09/15/image_31012025_09_15_16_9536.jpg
/home/pi/Desktop/images/31012025/09/15/image_31012025_09_15_26_10347.jpg
/home/pi/Desktop/images/31012025/09/15/image_31012025_09_15_37_10340.jpg
/home/pi/Desktop/images/31012025/09/15/image_31012025_09_15_46_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":["1333257572","1333257527","1333257518","1333257553","1333257615","1333257612"],"photo_ids_order":["1333257518","1333257527","1333257553","1333257572","1333257612","1333257615"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/45dd8819c554aabd4cd7bc92a4d455ad.jpg","text":"TemporaryFile(/tmp/multipartBody2923502904656506378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311393303,"filename":"image_31012025_09_15_26_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1a1206a4c959999b3d5cb64e15c96f4c.jpg","text":"TemporaryFile(/tmp/multipartBody3685376754775146897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311393303,"filename":"image_31012025_09_15_06_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6c3fbf6d41162d72b80a5770819c512c.jpg","text":"TemporaryFile(/tmp/multipartBody2153403786703743545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311393303,"filename":"image_31012025_09_14_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/1/31/e9fd71fb3774c8da2443f793c550e22a.jpg","text":"TemporaryFile(/tmp/multipartBody4199467762918907702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311393303,"filename":"image_31012025_09_15_16_9536.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/10ce890e46fe02315f4d7d772fc97ce9.jpg","text":"TemporaryFile(/tmp/multipartBody1370886031297735264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311393303,"filename":"image_31012025_09_15_46_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3e5aaa2325cb71e0b2255b8a02056596.jpg","text":"TemporaryFile(/tmp/multipartBody6100081851394341822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311393303,"filename":"image_31012025_09_15_37_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333257553","file1":"1333257527","file0":"1333257518","file4":"1333257612","file5":"1333257615","file3":"1333257572"},"map_files_photo_id_array":[{"photo_id":"1333257615","filename":"file5"},{"photo_id":"1333257553","filename":"file2"},{"photo_id":"1333257612","filename":"file4"},{"photo_id":"1333257527","filename":"file1"},{"photo_id":"1333257518","filename":"file0"},{"photo_id":"1333257572","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333257572":["hashtag1","hashtag2"]},{"1333257527":["hashtag1","hashtag2"]},{"1333257518":["hashtag1","hashtag2"]},{"1333257553":["hashtag1","hashtag2"]},{"1333257615":["hashtag1","hashtag2"]},{"1333257612":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333257572, 1333257527, 1333257518, 1333257553, 1333257615, 1333257612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29973220825195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:16:32.651094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/15/image_31012025_09_15_56_10354.jpg', '/home/pi/Desktop/images/31012025/09/15/image_31012025_09_16_07_10347.jpg', '/home/pi/Desktop/images/31012025/09/16/image_31012025_09_16_26_10365.jpg', '/home/pi/Desktop/images/31012025/09/16/image_31012025_09_16_36_9437.jpg', '/home/pi/Desktop/images/31012025/09/16/image_31012025_09_16_46_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/15/image_31012025_09_15_56_10354.jpg
/home/pi/Desktop/images/31012025/09/15/image_31012025_09_16_07_10347.jpg
/home/pi/Desktop/images/31012025/09/16/image_31012025_09_16_26_10365.jpg
/home/pi/Desktop/images/31012025/09/16/image_31012025_09_16_36_9437.jpg
/home/pi/Desktop/images/31012025/09/16/image_31012025_09_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":["1333258186","1333258522","1333257988","1333258056","1333258302"],"photo_ids_order":["1333257988","1333258056","1333258186","1333258302","1333258522"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2b7a46c155bce70e560234f7bb993719.jpg","text":"TemporaryFile(/tmp/multipartBody7453382678933230381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311453548,"filename":"image_31012025_09_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/1/31/416d9d92a1559b7cf9024fa7d0993d15.jpg","text":"TemporaryFile(/tmp/multipartBody5054285512853866610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311453548,"filename":"image_31012025_09_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/1/31/060b2a4382741d97678c94fb2f61ec20.jpg","text":"TemporaryFile(/tmp/multipartBody214097869009262023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311453548,"filename":"image_31012025_09_15_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4c6c2512837e3e0e5a6c88addc5d42fe.jpg","text":"TemporaryFile(/tmp/multipartBody1357415058126425655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311453548,"filename":"image_31012025_09_16_07_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3ceeb2f3ea4dff14a2660d8b74b0b25b.jpg","text":"TemporaryFile(/tmp/multipartBody5674391730185145441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311453548,"filename":"image_31012025_09_16_36_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333258186","file1":"1333258056","file0":"1333257988","file4":"1333258522","file3":"1333258302"},"map_files_photo_id_array":[{"photo_id":"1333258186","filename":"file2"},{"photo_id":"1333258522","filename":"file4"},{"photo_id":"1333258056","filename":"file1"},{"photo_id":"1333257988","filename":"file0"},{"photo_id":"1333258302","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333258186":["hashtag1","hashtag2"]},{"1333258522":["hashtag1","hashtag2"]},{"1333257988":["hashtag1","hashtag2"]},{"1333258056":["hashtag1","hashtag2"]},{"1333258302":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333258186, 1333258522, 1333257988, 1333258056, 1333258302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.3670814037323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:17:32.863925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/16/image_31012025_09_16_57_10557.jpg', '/home/pi/Desktop/images/31012025/09/16/image_31012025_09_17_06_9347.jpg', '/home/pi/Desktop/images/31012025/09/17/image_31012025_09_17_16_10350.jpg', '/home/pi/Desktop/images/31012025/09/17/image_31012025_09_17_26_9446.jpg', '/home/pi/Desktop/images/31012025/09/17/image_31012025_09_17_36_10363.jpg', '/home/pi/Desktop/images/31012025/09/17/image_31012025_09_17_47_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/16/image_31012025_09_16_57_10557.jpg
/home/pi/Desktop/images/31012025/09/16/image_31012025_09_17_06_9347.jpg
/home/pi/Desktop/images/31012025/09/17/image_31012025_09_17_16_10350.jpg
/home/pi/Desktop/images/31012025/09/17/image_31012025_09_17_26_9446.jpg
/home/pi/Desktop/images/31012025/09/17/image_31012025_09_17_36_10363.jpg
/home/pi/Desktop/images/31012025/09/17/image_31012025_09_17_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":["1333258745","1333258628","1333259052","1333258989","1333259048","1333258868"],"photo_ids_order":["1333258628","1333258745","1333258868","1333258989","1333259048","1333259052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3a898cc9b162e9be0d122f239e2f40b0.jpg","text":"TemporaryFile(/tmp/multipartBody6780758307427860752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311513779,"filename":"image_31012025_09_17_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/1/31/e2a8ba9fa27c59e168c32d5f8939fb1c.jpg","text":"TemporaryFile(/tmp/multipartBody5462091676312122516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311513779,"filename":"image_31012025_09_16_57_10557.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/75d31daf899d12d72a21158bd1b218af.jpg","text":"TemporaryFile(/tmp/multipartBody871204272581491711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311513779,"filename":"image_31012025_09_17_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/1/31/17c3e0e75e6cc34ca73b573b33531cf5.jpg","text":"TemporaryFile(/tmp/multipartBody2763588382344679183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311513779,"filename":"image_31012025_09_17_26_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5f97e6b02a225973ccb51665d8ef26f6.jpg","text":"TemporaryFile(/tmp/multipartBody4583359366605537130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311513779,"filename":"image_31012025_09_17_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/1/31/c96a4593ed2fa2ae5b2ea50792aadfda.jpg","text":"TemporaryFile(/tmp/multipartBody974653678724394896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311513779,"filename":"image_31012025_09_17_16_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333258868","file1":"1333258745","file0":"1333258628","file4":"1333259048","file5":"1333259052","file3":"1333258989"},"map_files_photo_id_array":[{"photo_id":"1333259052","filename":"file5"},{"photo_id":"1333258868","filename":"file2"},{"photo_id":"1333259048","filename":"file4"},{"photo_id":"1333258745","filename":"file1"},{"photo_id":"1333258628","filename":"file0"},{"photo_id":"1333258989","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333258745":["hashtag1","hashtag2"]},{"1333258628":["hashtag1","hashtag2"]},{"1333259052":["hashtag1","hashtag2"]},{"1333258989":["hashtag1","hashtag2"]},{"1333259048":["hashtag1","hashtag2"]},{"1333258868":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333258745, 1333258628, 1333259052, 1333258989, 1333259048, 1333258868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28034567832947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:18:33.000986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/17/image_31012025_09_17_56_9352.jpg', '/home/pi/Desktop/images/31012025/09/17/image_31012025_09_18_06_10358.jpg', '/home/pi/Desktop/images/31012025/09/18/image_31012025_09_18_17_10403.jpg', '/home/pi/Desktop/images/31012025/09/18/image_31012025_09_18_26_9330.jpg', '/home/pi/Desktop/images/31012025/09/18/image_31012025_09_18_36_10358.jpg', '/home/pi/Desktop/images/31012025/09/18/image_31012025_09_18_46_9444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/17/image_31012025_09_17_56_9352.jpg
/home/pi/Desktop/images/31012025/09/17/image_31012025_09_18_06_10358.jpg
/home/pi/Desktop/images/31012025/09/18/image_31012025_09_18_17_10403.jpg
/home/pi/Desktop/images/31012025/09/18/image_31012025_09_18_26_9330.jpg
/home/pi/Desktop/images/31012025/09/18/image_31012025_09_18_36_10358.jpg
/home/pi/Desktop/images/31012025/09/18/image_31012025_09_18_46_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":["1333259329","1333259257","1333259361","1333259232","1333259243","1333259249"],"photo_ids_order":["1333259232","1333259243","1333259249","1333259257","1333259329","1333259361"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7f93244bdb310e2c03c977c71df2e27f.jpg","text":"TemporaryFile(/tmp/multipartBody3269389636721814574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311573913,"filename":"image_31012025_09_18_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/1/31/62f224ff6038b90a7584b958880d6c39.jpg","text":"TemporaryFile(/tmp/multipartBody7908391429236164480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311573913,"filename":"image_31012025_09_18_26_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f2c9f33658e449369fd652e7f330f8a7.jpg","text":"TemporaryFile(/tmp/multipartBody1125134546210261012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311573913,"filename":"image_31012025_09_18_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/1/31/42cd7e46e39faa3421950aa38b2b6bc2.jpg","text":"TemporaryFile(/tmp/multipartBody976408065196110299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311573913,"filename":"image_31012025_09_17_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/1/31/9ab57ac5b80b4ef0341c9dfd82ee3f65.jpg","text":"TemporaryFile(/tmp/multipartBody6203494319859863079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311573913,"filename":"image_31012025_09_18_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/1/31/abb3b235467ba32fa75e811d02eb20be.jpg","text":"TemporaryFile(/tmp/multipartBody5012250515605476183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311573913,"filename":"image_31012025_09_18_17_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333259249","file1":"1333259243","file0":"1333259232","file4":"1333259329","file5":"1333259361","file3":"1333259257"},"map_files_photo_id_array":[{"photo_id":"1333259361","filename":"file5"},{"photo_id":"1333259249","filename":"file2"},{"photo_id":"1333259329","filename":"file4"},{"photo_id":"1333259243","filename":"file1"},{"photo_id":"1333259232","filename":"file0"},{"photo_id":"1333259257","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333259329":["hashtag1","hashtag2"]},{"1333259257":["hashtag1","hashtag2"]},{"1333259361":["hashtag1","hashtag2"]},{"1333259232":["hashtag1","hashtag2"]},{"1333259243":["hashtag1","hashtag2"]},{"1333259249":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333259329, 1333259257, 1333259361, 1333259232, 1333259243, 1333259249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03390979766846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:19:32.341362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/18/image_31012025_09_18_56_10357.jpg', '/home/pi/Desktop/images/31012025/09/18/image_31012025_09_19_07_10359.jpg', '/home/pi/Desktop/images/31012025/09/19/image_31012025_09_19_16_9370.jpg', '/home/pi/Desktop/images/31012025/09/19/image_31012025_09_19_26_10407.jpg', '/home/pi/Desktop/images/31012025/09/19/image_31012025_09_19_36_9457.jpg', '/home/pi/Desktop/images/31012025/09/19/image_31012025_09_19_46_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/18/image_31012025_09_18_56_10357.jpg
/home/pi/Desktop/images/31012025/09/18/image_31012025_09_19_07_10359.jpg
/home/pi/Desktop/images/31012025/09/19/image_31012025_09_19_16_9370.jpg
/home/pi/Desktop/images/31012025/09/19/image_31012025_09_19_26_10407.jpg
/home/pi/Desktop/images/31012025/09/19/image_31012025_09_19_36_9457.jpg
/home/pi/Desktop/images/31012025/09/19/image_31012025_09_19_46_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":["1333259491","1333259523","1333259505","1333259498","1333259516","1333259528"],"photo_ids_order":["1333259491","1333259498","1333259505","1333259516","1333259523","1333259528"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/182d208aab837eae53e07f598ea48434.jpg","text":"TemporaryFile(/tmp/multipartBody7178167361948467912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311633328,"filename":"image_31012025_09_18_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/1/31/b332215fbe6f08a3205009210d7c6042.jpg","text":"TemporaryFile(/tmp/multipartBody7036500184066369061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311633328,"filename":"image_31012025_09_19_36_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/95979f4d0dda0c730de9aa75f4db58bd.jpg","text":"TemporaryFile(/tmp/multipartBody1689427027262024507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311633328,"filename":"image_31012025_09_19_16_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a682f04d03b17c34a28c5a5e13b91dc9.jpg","text":"TemporaryFile(/tmp/multipartBody5808965076147636156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311633328,"filename":"image_31012025_09_19_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/1/31/394b34e7bcac96c6742b00497cfff7a2.jpg","text":"TemporaryFile(/tmp/multipartBody4825303408672931667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311633328,"filename":"image_31012025_09_19_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/1/31/d19ff2bb34e08570ef8172e06a28ecd9.jpg","text":"TemporaryFile(/tmp/multipartBody3417587668448774280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311633328,"filename":"image_31012025_09_19_46_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333259505","file1":"1333259498","file0":"1333259491","file4":"1333259523","file5":"1333259528","file3":"1333259516"},"map_files_photo_id_array":[{"photo_id":"1333259528","filename":"file5"},{"photo_id":"1333259505","filename":"file2"},{"photo_id":"1333259523","filename":"file4"},{"photo_id":"1333259498","filename":"file1"},{"photo_id":"1333259491","filename":"file0"},{"photo_id":"1333259516","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333259491":["hashtag1","hashtag2"]},{"1333259523":["hashtag1","hashtag2"]},{"1333259505":["hashtag1","hashtag2"]},{"1333259498":["hashtag1","hashtag2"]},{"1333259516":["hashtag1","hashtag2"]},{"1333259528":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333259491, 1333259523, 1333259505, 1333259498, 1333259516, 1333259528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.94706344604492 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:20:32.629810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/19/image_31012025_09_19_57_10367.jpg', '/home/pi/Desktop/images/31012025/09/19/image_31012025_09_20_06_9432.jpg', '/home/pi/Desktop/images/31012025/09/20/image_31012025_09_20_16_10336.jpg', '/home/pi/Desktop/images/31012025/09/20/image_31012025_09_20_26_9453.jpg', '/home/pi/Desktop/images/31012025/09/20/image_31012025_09_20_36_10377.jpg', '/home/pi/Desktop/images/31012025/09/20/image_31012025_09_20_47_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/19/image_31012025_09_19_57_10367.jpg
/home/pi/Desktop/images/31012025/09/19/image_31012025_09_20_06_9432.jpg
/home/pi/Desktop/images/31012025/09/20/image_31012025_09_20_16_10336.jpg
/home/pi/Desktop/images/31012025/09/20/image_31012025_09_20_26_9453.jpg
/home/pi/Desktop/images/31012025/09/20/image_31012025_09_20_36_10377.jpg
/home/pi/Desktop/images/31012025/09/20/image_31012025_09_20_47_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":["1333259566","1333259559","1333259553","1333259547","1333259573","1333259581"],"photo_ids_order":["1333259547","1333259553","1333259559","1333259566","1333259573","1333259581"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e141dfe881cac66ac87f6e72b23e46c5.jpg","text":"TemporaryFile(/tmp/multipartBody3513690131005157148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311693549,"filename":"image_31012025_09_20_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/1/31/26b309aa8e4c956baae4c9730d4f62a2.jpg","text":"TemporaryFile(/tmp/multipartBody1061329423352586117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311693549,"filename":"image_31012025_09_20_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/1/31/c3510b8c3753e74ce32d502537a46608.jpg","text":"TemporaryFile(/tmp/multipartBody4518549969726258939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311693549,"filename":"image_31012025_09_20_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/1/31/78c2c3f8b4fa3dd43d5d96eb130308e1.jpg","text":"TemporaryFile(/tmp/multipartBody384704973810480897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311693549,"filename":"image_31012025_09_19_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/1/31/5a3ee7b56aa408197341e2aef64495f0.jpg","text":"TemporaryFile(/tmp/multipartBody7328561053450570600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311693549,"filename":"image_31012025_09_20_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/1/31/c9a7453dd6b3a138211792e813ca603f.jpg","text":"TemporaryFile(/tmp/multipartBody814441650589336769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311693549,"filename":"image_31012025_09_20_47_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333259559","file1":"1333259553","file0":"1333259547","file4":"1333259573","file5":"1333259581","file3":"1333259566"},"map_files_photo_id_array":[{"photo_id":"1333259581","filename":"file5"},{"photo_id":"1333259559","filename":"file2"},{"photo_id":"1333259573","filename":"file4"},{"photo_id":"1333259553","filename":"file1"},{"photo_id":"1333259547","filename":"file0"},{"photo_id":"1333259566","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333259566":["hashtag1","hashtag2"]},{"1333259559":["hashtag1","hashtag2"]},{"1333259553":["hashtag1","hashtag2"]},{"1333259547":["hashtag1","hashtag2"]},{"1333259573":["hashtag1","hashtag2"]},{"1333259581":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333259566, 1333259559, 1333259553, 1333259547, 1333259573, 1333259581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1459321975708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:21:32.836634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/20/image_31012025_09_20_56_9448.jpg', '/home/pi/Desktop/images/31012025/09/20/image_31012025_09_21_06_10347.jpg', '/home/pi/Desktop/images/31012025/09/21/image_31012025_09_21_17_10418.jpg', '/home/pi/Desktop/images/31012025/09/21/image_31012025_09_21_26_9411.jpg', '/home/pi/Desktop/images/31012025/09/21/image_31012025_09_21_37_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/20/image_31012025_09_20_56_9448.jpg
/home/pi/Desktop/images/31012025/09/20/image_31012025_09_21_06_10347.jpg
/home/pi/Desktop/images/31012025/09/21/image_31012025_09_21_17_10418.jpg
/home/pi/Desktop/images/31012025/09/21/image_31012025_09_21_26_9411.jpg
/home/pi/Desktop/images/31012025/09/21/image_31012025_09_21_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.49225473403930664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 09:21:42.814519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/20/image_31012025_09_20_56_9448.jpg', '/home/pi/Desktop/images/31012025/09/20/image_31012025_09_21_06_10347.jpg', '/home/pi/Desktop/images/31012025/09/21/image_31012025_09_21_17_10418.jpg', '/home/pi/Desktop/images/31012025/09/21/image_31012025_09_21_26_9411.jpg', '/home/pi/Desktop/images/31012025/09/21/image_31012025_09_21_37_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/20/image_31012025_09_20_56_9448.jpg
/home/pi/Desktop/images/31012025/09/20/image_31012025_09_21_06_10347.jpg
/home/pi/Desktop/images/31012025/09/21/image_31012025_09_21_17_10418.jpg
/home/pi/Desktop/images/31012025/09/21/image_31012025_09_21_26_9411.jpg
/home/pi/Desktop/images/31012025/09/21/image_31012025_09_21_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":["1333259842","1333259824","1333259925","1333259846","1333259834"],"photo_ids_order":["1333259824","1333259834","1333259842","1333259846","1333259925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1371c5c920b1c09e3a46d6f011644881.jpg","text":"TemporaryFile(/tmp/multipartBody9150115015229546674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311763713,"filename":"image_31012025_09_21_17_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2d5a45e2ca98621935d1db50e65db3c6.jpg","text":"TemporaryFile(/tmp/multipartBody4836466627603542071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311763713,"filename":"image_31012025_09_20_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/1/31/1eb991c1048a825d31cd01addeb6700a.jpg","text":"TemporaryFile(/tmp/multipartBody2806026257318165190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311763713,"filename":"image_31012025_09_21_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/1/31/1f67e65fc63b5a5a97a283d07f5e7db2.jpg","text":"TemporaryFile(/tmp/multipartBody4038802644211493181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311763713,"filename":"image_31012025_09_21_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/1/31/672cc8a4faaf00577d3fcb4de3c5de19.jpg","text":"TemporaryFile(/tmp/multipartBody5346602750222524542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311763713,"filename":"image_31012025_09_21_06_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333259842","file1":"1333259834","file0":"1333259824","file4":"1333259925","file3":"1333259846"},"map_files_photo_id_array":[{"photo_id":"1333259842","filename":"file2"},{"photo_id":"1333259925","filename":"file4"},{"photo_id":"1333259834","filename":"file1"},{"photo_id":"1333259824","filename":"file0"},{"photo_id":"1333259846","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333259842":["hashtag1","hashtag2"]},{"1333259824":["hashtag1","hashtag2"]},{"1333259925":["hashtag1","hashtag2"]},{"1333259846":["hashtag1","hashtag2"]},{"1333259834":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333259842, 1333259824, 1333259925, 1333259846, 1333259834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.46581411361694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:22:33.082703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/21/image_31012025_09_21_56_10365.jpg', '/home/pi/Desktop/images/31012025/09/21/image_31012025_09_22_07_10370.jpg', '/home/pi/Desktop/images/31012025/09/22/image_31012025_09_22_16_9341.jpg', '/home/pi/Desktop/images/31012025/09/22/image_31012025_09_22_26_10353.jpg', '/home/pi/Desktop/images/31012025/09/22/image_31012025_09_22_36_9454.jpg', '/home/pi/Desktop/images/31012025/09/22/image_31012025_09_22_46_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/21/image_31012025_09_21_56_10365.jpg
/home/pi/Desktop/images/31012025/09/21/image_31012025_09_22_07_10370.jpg
/home/pi/Desktop/images/31012025/09/22/image_31012025_09_22_16_9341.jpg
/home/pi/Desktop/images/31012025/09/22/image_31012025_09_22_26_10353.jpg
/home/pi/Desktop/images/31012025/09/22/image_31012025_09_22_36_9454.jpg
/home/pi/Desktop/images/31012025/09/22/image_31012025_09_22_46_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":["1333260110","1333260104","1333260124","1333260118","1333260081","1333260129"],"photo_ids_order":["1333260081","1333260104","1333260110","1333260118","1333260124","1333260129"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c2064ca8e77bc4c4999ff2e88ba4a9cf.jpg","text":"TemporaryFile(/tmp/multipartBody4641153003532030924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311813995,"filename":"image_31012025_09_22_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/1/31/fdb2cb57bcfe9c74bc5e8d93d0b3e46b.jpg","text":"TemporaryFile(/tmp/multipartBody255223997980294770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311813995,"filename":"image_31012025_09_22_07_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f656a4e178746524dc95aa12cead6901.jpg","text":"TemporaryFile(/tmp/multipartBody4524218007708072802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311813995,"filename":"image_31012025_09_22_36_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9001b62346535260e6c80cbf9df80535.jpg","text":"TemporaryFile(/tmp/multipartBody223639872123468757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311813995,"filename":"image_31012025_09_22_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/1/31/69d069259257ec4b1c55680e0e009998.jpg","text":"TemporaryFile(/tmp/multipartBody3774359362217858750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311813995,"filename":"image_31012025_09_21_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/1/31/67b763db4da0b6b2f7c14f0dc4001a65.jpg","text":"TemporaryFile(/tmp/multipartBody7742622843545652904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311813995,"filename":"image_31012025_09_22_46_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333260110","file1":"1333260104","file0":"1333260081","file4":"1333260124","file5":"1333260129","file3":"1333260118"},"map_files_photo_id_array":[{"photo_id":"1333260129","filename":"file5"},{"photo_id":"1333260110","filename":"file2"},{"photo_id":"1333260124","filename":"file4"},{"photo_id":"1333260104","filename":"file1"},{"photo_id":"1333260081","filename":"file0"},{"photo_id":"1333260118","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333260110":["hashtag1","hashtag2"]},{"1333260104":["hashtag1","hashtag2"]},{"1333260124":["hashtag1","hashtag2"]},{"1333260118":["hashtag1","hashtag2"]},{"1333260081":["hashtag1","hashtag2"]},{"1333260129":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333260110, 1333260104, 1333260124, 1333260118, 1333260081, 1333260129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.189836263656616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:23:32.307049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/22/image_31012025_09_22_57_10456.jpg', '/home/pi/Desktop/images/31012025/09/22/image_31012025_09_23_06_9336.jpg', '/home/pi/Desktop/images/31012025/09/23/image_31012025_09_23_16_10373.jpg', '/home/pi/Desktop/images/31012025/09/23/image_31012025_09_23_27_10376.jpg', '/home/pi/Desktop/images/31012025/09/23/image_31012025_09_23_36_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/22/image_31012025_09_22_57_10456.jpg
/home/pi/Desktop/images/31012025/09/22/image_31012025_09_23_06_9336.jpg
/home/pi/Desktop/images/31012025/09/23/image_31012025_09_23_16_10373.jpg
/home/pi/Desktop/images/31012025/09/23/image_31012025_09_23_27_10376.jpg
/home/pi/Desktop/images/31012025/09/23/image_31012025_09_23_36_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":["1333260224","1333260220","1333260214","1333260195","1333260207"],"photo_ids_order":["1333260195","1333260207","1333260214","1333260220","1333260224"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e2b802b1c810d27281a8d127811e39e5.jpg","text":"TemporaryFile(/tmp/multipartBody1146974406365090600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311873215,"filename":"image_31012025_09_23_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/1/31/e4ede6a17de673f2075038553bfe0715.jpg","text":"TemporaryFile(/tmp/multipartBody8357251152033020942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311873215,"filename":"image_31012025_09_23_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/1/31/14935711cadf692d54ffea89ea3e61f5.jpg","text":"TemporaryFile(/tmp/multipartBody8176506320138217520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311873215,"filename":"image_31012025_09_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/1/31/5751358f2a9c9bc51867f52af3c5d3d5.jpg","text":"TemporaryFile(/tmp/multipartBody1917900362521978563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311873215,"filename":"image_31012025_09_22_57_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4a166fb1cd387b38cac0da444ac21ef6.jpg","text":"TemporaryFile(/tmp/multipartBody570202642397058615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311873215,"filename":"image_31012025_09_23_06_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333260214","file1":"1333260207","file0":"1333260195","file4":"1333260224","file3":"1333260220"},"map_files_photo_id_array":[{"photo_id":"1333260214","filename":"file2"},{"photo_id":"1333260224","filename":"file4"},{"photo_id":"1333260207","filename":"file1"},{"photo_id":"1333260195","filename":"file0"},{"photo_id":"1333260220","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333260224":["hashtag1","hashtag2"]},{"1333260220":["hashtag1","hashtag2"]},{"1333260214":["hashtag1","hashtag2"]},{"1333260195":["hashtag1","hashtag2"]},{"1333260207":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333260224, 1333260220, 1333260214, 1333260195, 1333260207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.32018709182739 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:24:32.530555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/23/image_31012025_09_23_47_10369.jpg', '/home/pi/Desktop/images/31012025/09/23/image_31012025_09_24_06_10368.jpg', '/home/pi/Desktop/images/31012025/09/24/image_31012025_09_24_17_10413.jpg', '/home/pi/Desktop/images/31012025/09/24/image_31012025_09_24_26_9335.jpg', '/home/pi/Desktop/images/31012025/09/24/image_31012025_09_24_36_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/23/image_31012025_09_23_47_10369.jpg
/home/pi/Desktop/images/31012025/09/23/image_31012025_09_24_06_10368.jpg
/home/pi/Desktop/images/31012025/09/24/image_31012025_09_24_17_10413.jpg
/home/pi/Desktop/images/31012025/09/24/image_31012025_09_24_26_9335.jpg
/home/pi/Desktop/images/31012025/09/24/image_31012025_09_24_36_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":["1333260292","1333260297","1333260284","1333260272","1333260278"],"photo_ids_order":["1333260272","1333260278","1333260284","1333260292","1333260297"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6d4d603112dbf0eee5cf5c90fc2e7c28.jpg","text":"TemporaryFile(/tmp/multipartBody8904259453556166897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311933419,"filename":"image_31012025_09_24_26_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/df5d41379b6cfdc73495aeed9779be03.jpg","text":"TemporaryFile(/tmp/multipartBody7105677325670898211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311933419,"filename":"image_31012025_09_24_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/1/31/20062d25066415ead39b7d7b5668ca14.jpg","text":"TemporaryFile(/tmp/multipartBody3893795763865152336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311933419,"filename":"image_31012025_09_24_17_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2b1810c0091328906f162b83dc97831d.jpg","text":"TemporaryFile(/tmp/multipartBody4869001466264178283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311933419,"filename":"image_31012025_09_23_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/1/31/8b74b7b4a0e2b233e005f3a2368ed68d.jpg","text":"TemporaryFile(/tmp/multipartBody5451699415522165614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311933419,"filename":"image_31012025_09_24_06_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333260284","file1":"1333260278","file0":"1333260272","file4":"1333260297","file3":"1333260292"},"map_files_photo_id_array":[{"photo_id":"1333260284","filename":"file2"},{"photo_id":"1333260297","filename":"file4"},{"photo_id":"1333260278","filename":"file1"},{"photo_id":"1333260272","filename":"file0"},{"photo_id":"1333260292","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333260292":["hashtag1","hashtag2"]},{"1333260297":["hashtag1","hashtag2"]},{"1333260284":["hashtag1","hashtag2"]},{"1333260272":["hashtag1","hashtag2"]},{"1333260278":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333260292, 1333260297, 1333260284, 1333260272, 1333260278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.16900038719177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:25:32.692806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/24/image_31012025_09_24_56_10375.jpg', '/home/pi/Desktop/images/31012025/09/24/image_31012025_09_25_07_10459.jpg', '/home/pi/Desktop/images/31012025/09/25/image_31012025_09_25_16_9336.jpg', '/home/pi/Desktop/images/31012025/09/25/image_31012025_09_25_26_10367.jpg', '/home/pi/Desktop/images/31012025/09/25/image_31012025_09_25_36_9470.jpg', '/home/pi/Desktop/images/31012025/09/25/image_31012025_09_25_46_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/24/image_31012025_09_24_56_10375.jpg
/home/pi/Desktop/images/31012025/09/24/image_31012025_09_25_07_10459.jpg
/home/pi/Desktop/images/31012025/09/25/image_31012025_09_25_16_9336.jpg
/home/pi/Desktop/images/31012025/09/25/image_31012025_09_25_26_10367.jpg
/home/pi/Desktop/images/31012025/09/25/image_31012025_09_25_36_9470.jpg
/home/pi/Desktop/images/31012025/09/25/image_31012025_09_25_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":["1333260350","1333260345","1333260354","1333260336","1333260321","1333260329"],"photo_ids_order":["1333260321","1333260329","1333260336","1333260345","1333260350","1333260354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/70c6b3ae9b664da59755a9a3f004eeb0.jpg","text":"TemporaryFile(/tmp/multipartBody5361126697423173426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311993617,"filename":"image_31012025_09_25_36_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/91ea4c692e842a6f9e76845bced96964.jpg","text":"TemporaryFile(/tmp/multipartBody7021130443988371932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311993617,"filename":"image_31012025_09_25_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/1/31/bbfccaebafce25096644c97ec7c07f32.jpg","text":"TemporaryFile(/tmp/multipartBody8642324068980353307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311993617,"filename":"image_31012025_09_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/1/31/da5d76fd8ea2c7cda26a854e691811e8.jpg","text":"TemporaryFile(/tmp/multipartBody6994294491358956703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311993617,"filename":"image_31012025_09_25_16_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5bef01d3c1fcc37bafbb162b665f8ea8.jpg","text":"TemporaryFile(/tmp/multipartBody8662893660319449938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311993617,"filename":"image_31012025_09_24_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/1/31/28d10e7154d21def38ba0b452af4b187.jpg","text":"TemporaryFile(/tmp/multipartBody2568195917009229948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738311993617,"filename":"image_31012025_09_25_07_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333260336","file1":"1333260329","file0":"1333260321","file4":"1333260350","file5":"1333260354","file3":"1333260345"},"map_files_photo_id_array":[{"photo_id":"1333260354","filename":"file5"},{"photo_id":"1333260336","filename":"file2"},{"photo_id":"1333260350","filename":"file4"},{"photo_id":"1333260329","filename":"file1"},{"photo_id":"1333260321","filename":"file0"},{"photo_id":"1333260345","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333260350":["hashtag1","hashtag2"]},{"1333260345":["hashtag1","hashtag2"]},{"1333260354":["hashtag1","hashtag2"]},{"1333260336":["hashtag1","hashtag2"]},{"1333260321":["hashtag1","hashtag2"]},{"1333260329":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333260350, 1333260345, 1333260354, 1333260336, 1333260321, 1333260329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.47744941711426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:26:32.869025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/25/image_31012025_09_25_57_10370.jpg', '/home/pi/Desktop/images/31012025/09/26/image_31012025_09_26_17_10682.jpg', '/home/pi/Desktop/images/31012025/09/26/image_31012025_09_26_26_9326.jpg', '/home/pi/Desktop/images/31012025/09/26/image_31012025_09_26_36_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/25/image_31012025_09_25_57_10370.jpg
/home/pi/Desktop/images/31012025/09/26/image_31012025_09_26_17_10682.jpg
/home/pi/Desktop/images/31012025/09/26/image_31012025_09_26_26_9326.jpg
/home/pi/Desktop/images/31012025/09/26/image_31012025_09_26_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":["1333260710","1333260703","1333260684","1333260717"],"photo_ids_order":["1333260684","1333260703","1333260710","1333260717"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1a7aec681a50ab668328028676a00e87.jpg","text":"TemporaryFile(/tmp/multipartBody2163777935373315563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312053739,"filename":"image_31012025_09_26_26_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5a1366204e9d70162631ce2cc4ddadd0.jpg","text":"TemporaryFile(/tmp/multipartBody4661011372430475364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312053739,"filename":"image_31012025_09_26_17_10682.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/475f5b77cc28e01090f0270e1e97595d.jpg","text":"TemporaryFile(/tmp/multipartBody7250447030582480883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312053739,"filename":"image_31012025_09_25_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/1/31/d69f9825dff2440518fc47728ac75f2f.jpg","text":"TemporaryFile(/tmp/multipartBody2386294337871161902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312053739,"filename":"image_31012025_09_26_36_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333260710","file1":"1333260703","file0":"1333260684","file3":"1333260717"},"map_files_photo_id_array":[{"photo_id":"1333260710","filename":"file2"},{"photo_id":"1333260703","filename":"file1"},{"photo_id":"1333260684","filename":"file0"},{"photo_id":"1333260717","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333260710":["hashtag1","hashtag2"]},{"1333260703":["hashtag1","hashtag2"]},{"1333260684":["hashtag1","hashtag2"]},{"1333260717":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333260710, 1333260703, 1333260684, 1333260717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.372154474258423 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 09:27:04.553155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/21/image_28012025_22_21_45_10389.jpg', '/home/pi/Desktop/images/28012025/22/21/image_28012025_22_21_55_10365.jpg', '/home/pi/Desktop/images/28012025/22/21/image_28012025_22_22_04_9343.jpg', '/home/pi/Desktop/images/28012025/22/22/image_28012025_22_22_15_10348.jpg', '/home/pi/Desktop/images/28012025/22/22/image_28012025_22_22_24_9341.jpg', '/home/pi/Desktop/images/28012025/22/22/image_28012025_22_22_34_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/21/image_28012025_22_21_45_10389.jpg
/home/pi/Desktop/images/28012025/22/21/image_28012025_22_21_55_10365.jpg
/home/pi/Desktop/images/28012025/22/21/image_28012025_22_22_04_9343.jpg
/home/pi/Desktop/images/28012025/22/22/image_28012025_22_22_15_10348.jpg
/home/pi/Desktop/images/28012025/22/22/image_28012025_22_22_24_9341.jpg
/home/pi/Desktop/images/28012025/22/22/image_28012025_22_22_34_10385.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":["1333261001","1333260911","1333261021","1333261024","1333260942","1333260890"],"photo_ids_order":["1333260890","1333260911","1333260942","1333261001","1333261021","1333261024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f3c800a6d7783c2f14291d20906529a6.jpg","text":"TemporaryFile(/tmp/multipartBody496521954843227490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312086289,"filename":"image_28012025_22_22_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/1/31/20327879b978bd7eba472ed4f8b93832.jpg","text":"TemporaryFile(/tmp/multipartBody8863469447133727154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312086289,"filename":"image_28012025_22_21_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/1/31/e392a2dfe0edcda8d37ef4fac3f40a71.jpg","text":"TemporaryFile(/tmp/multipartBody1465117125208741749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312086289,"filename":"image_28012025_22_22_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/1/31/fb5529f688d81d216a67f809bfad7f81.jpg","text":"TemporaryFile(/tmp/multipartBody4203604805041427157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312086289,"filename":"image_28012025_22_22_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/1/31/7e0e237685ecf37f8d50f1f1acb972f5.jpg","text":"TemporaryFile(/tmp/multipartBody8251917225703508454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312086289,"filename":"image_28012025_22_22_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/1/31/31523a861f295130b1ac08669701c009.jpg","text":"TemporaryFile(/tmp/multipartBody3578920691254447005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312086289,"filename":"image_28012025_22_21_45_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333260942","file1":"1333260911","file0":"1333260890","file4":"1333261021","file5":"1333261024","file3":"1333261001"},"map_files_photo_id_array":[{"photo_id":"1333261024","filename":"file5"},{"photo_id":"1333260942","filename":"file2"},{"photo_id":"1333261021","filename":"file4"},{"photo_id":"1333260911","filename":"file1"},{"photo_id":"1333260890","filename":"file0"},{"photo_id":"1333261001","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333261001":["hashtag1","hashtag2"]},{"1333260911":["hashtag1","hashtag2"]},{"1333261021":["hashtag1","hashtag2"]},{"1333261024":["hashtag1","hashtag2"]},{"1333260942":["hashtag1","hashtag2"]},{"1333260890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333261001, 1333260911, 1333261021, 1333261024, 1333260942, 1333260890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61608028411865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:27:53.151655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/26/image_31012025_09_26_47_10369.jpg', '/home/pi/Desktop/images/31012025/09/26/image_31012025_09_27_06_10339.jpg', '/home/pi/Desktop/images/31012025/09/27/image_31012025_09_27_26_10414.jpg', '/home/pi/Desktop/images/31012025/09/27/image_31012025_09_27_37_10471.jpg', '/home/pi/Desktop/images/31012025/09/27/image_31012025_09_27_46_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/26/image_31012025_09_26_47_10369.jpg
/home/pi/Desktop/images/31012025/09/26/image_31012025_09_27_06_10339.jpg
/home/pi/Desktop/images/31012025/09/27/image_31012025_09_27_26_10414.jpg
/home/pi/Desktop/images/31012025/09/27/image_31012025_09_27_37_10471.jpg
/home/pi/Desktop/images/31012025/09/27/image_31012025_09_27_46_9335.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333261099","1333261132","1333261140","1333261094","1333261136"],"photo_ids_order":["1333261094","1333261099","1333261132","1333261136","1333261140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/abb0dc9704202a843bf1a0be5c1ab4c3.jpg","text":"TemporaryFile(/tmp/multipartBody5131309558241770390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312134062,"filename":"image_31012025_09_27_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/1/31/0e4610417ad86a93b029f970f016823f.jpg","text":"TemporaryFile(/tmp/multipartBody1471649202754770133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312134062,"filename":"image_31012025_09_27_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/1/31/ab19673ed702ef5084dd06fd8b0729a0.jpg","text":"TemporaryFile(/tmp/multipartBody7350892535906277629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312134062,"filename":"image_31012025_09_27_46_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2ed4e9b7997b662bfe9096f54537cce1.jpg","text":"TemporaryFile(/tmp/multipartBody5166774097837751948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312134062,"filename":"image_31012025_09_26_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/1/31/97e362159119287bc25faa217d61031f.jpg","text":"TemporaryFile(/tmp/multipartBody4410852131422085376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312134062,"filename":"image_31012025_09_27_37_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333261132","file1":"1333261099","file0":"1333261094","file4":"1333261140","file3":"1333261136"},"map_files_photo_id_array":[{"photo_id":"1333261132","filename":"file2"},{"photo_id":"1333261140","filename":"file4"},{"photo_id":"1333261099","filename":"file1"},{"photo_id":"1333261094","filename":"file0"},{"photo_id":"1333261136","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333261099":["hashtag1","hashtag2"]},{"1333261132":["hashtag1","hashtag2"]},{"1333261140":["hashtag1","hashtag2"]},{"1333261094":["hashtag1","hashtag2"]},{"1333261136":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333261099, 1333261132, 1333261140, 1333261094, 1333261136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.89606976509094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:28:32.417251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/27/image_31012025_09_27_56_10351.jpg', '/home/pi/Desktop/images/31012025/09/27/image_31012025_09_28_07_10340.jpg', '/home/pi/Desktop/images/31012025/09/28/image_31012025_09_28_16_9341.jpg', '/home/pi/Desktop/images/31012025/09/28/image_31012025_09_28_27_10349.jpg', '/home/pi/Desktop/images/31012025/09/28/image_31012025_09_28_36_9477.jpg', '/home/pi/Desktop/images/31012025/09/28/image_31012025_09_28_46_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/27/image_31012025_09_27_56_10351.jpg
/home/pi/Desktop/images/31012025/09/27/image_31012025_09_28_07_10340.jpg
/home/pi/Desktop/images/31012025/09/28/image_31012025_09_28_16_9341.jpg
/home/pi/Desktop/images/31012025/09/28/image_31012025_09_28_27_10349.jpg
/home/pi/Desktop/images/31012025/09/28/image_31012025_09_28_36_9477.jpg
/home/pi/Desktop/images/31012025/09/28/image_31012025_09_28_46_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":["1333261207","1333261233","1333261215","1333261235","1333261229","1333261223"],"photo_ids_order":["1333261207","1333261215","1333261223","1333261229","1333261233","1333261235"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/757f25d3ed08920beec17a41a155e3e4.jpg","text":"TemporaryFile(/tmp/multipartBody4643243747591742087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312173341,"filename":"image_31012025_09_27_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/1/31/d93290f9ce56d2a06f11015b525ea1cf.jpg","text":"TemporaryFile(/tmp/multipartBody726862990335503240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312173341,"filename":"image_31012025_09_28_36_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8f4f40e3b74f82fd75e03295844f2d6f.jpg","text":"TemporaryFile(/tmp/multipartBody5675736195419437532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312173341,"filename":"image_31012025_09_28_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/1/31/d5a1373a4105ca14d0217c9821b2dac1.jpg","text":"TemporaryFile(/tmp/multipartBody2404455404014261478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312173341,"filename":"image_31012025_09_28_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/1/31/523c89f385a35c48a52374286a63a7e1.jpg","text":"TemporaryFile(/tmp/multipartBody5518216514503351794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312173341,"filename":"image_31012025_09_28_27_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/040b0d3bd0c78b335f82cc5a319bf130.jpg","text":"TemporaryFile(/tmp/multipartBody3934071810630477846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312173341,"filename":"image_31012025_09_28_16_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333261223","file1":"1333261215","file0":"1333261207","file4":"1333261233","file5":"1333261235","file3":"1333261229"},"map_files_photo_id_array":[{"photo_id":"1333261235","filename":"file5"},{"photo_id":"1333261223","filename":"file2"},{"photo_id":"1333261233","filename":"file4"},{"photo_id":"1333261215","filename":"file1"},{"photo_id":"1333261207","filename":"file0"},{"photo_id":"1333261229","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333261207":["hashtag1","hashtag2"]},{"1333261233":["hashtag1","hashtag2"]},{"1333261215":["hashtag1","hashtag2"]},{"1333261235":["hashtag1","hashtag2"]},{"1333261229":["hashtag1","hashtag2"]},{"1333261223":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333261207, 1333261233, 1333261215, 1333261235, 1333261229, 1333261223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88523268699646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:29:32.801326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/28/image_31012025_09_28_57_10401.jpg', '/home/pi/Desktop/images/31012025/09/28/image_31012025_09_29_06_9350.jpg', '/home/pi/Desktop/images/31012025/09/29/image_31012025_09_29_16_10350.jpg', '/home/pi/Desktop/images/31012025/09/29/image_31012025_09_29_27_10384.jpg', '/home/pi/Desktop/images/31012025/09/29/image_31012025_09_29_36_9354.jpg', '/home/pi/Desktop/images/31012025/09/29/image_31012025_09_29_47_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/28/image_31012025_09_28_57_10401.jpg
/home/pi/Desktop/images/31012025/09/28/image_31012025_09_29_06_9350.jpg
/home/pi/Desktop/images/31012025/09/29/image_31012025_09_29_16_10350.jpg
/home/pi/Desktop/images/31012025/09/29/image_31012025_09_29_27_10384.jpg
/home/pi/Desktop/images/31012025/09/29/image_31012025_09_29_36_9354.jpg
/home/pi/Desktop/images/31012025/09/29/image_31012025_09_29_47_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":["1333261275","1333261305","1333261289","1333261280","1333261301","1333261294"],"photo_ids_order":["1333261275","1333261280","1333261289","1333261294","1333261301","1333261305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3222fd1337b36bca6359080d0c7cf329.jpg","text":"TemporaryFile(/tmp/multipartBody7297299754675210299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312233770,"filename":"image_31012025_09_28_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/1/31/729347b4ccedb1bca2e846cc24cdc191.jpg","text":"TemporaryFile(/tmp/multipartBody2661173137493306550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312233770,"filename":"image_31012025_09_29_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/1/31/be807180e836de47702a6943afa3dc41.jpg","text":"TemporaryFile(/tmp/multipartBody8967758063450999025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312233770,"filename":"image_31012025_09_29_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/1/31/d1589fee07779c2f60e0751ccf3b6524.jpg","text":"TemporaryFile(/tmp/multipartBody3342349491161109666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312233770,"filename":"image_31012025_09_29_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/1/31/e004a022cfee1a695c7afeb8a330cb33.jpg","text":"TemporaryFile(/tmp/multipartBody3639361181215039597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312233770,"filename":"image_31012025_09_29_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/1/31/76b2dd0d288b966b5efb86de599e6163.jpg","text":"TemporaryFile(/tmp/multipartBody6582831106412948015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312233770,"filename":"image_31012025_09_29_27_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333261289","file1":"1333261280","file0":"1333261275","file4":"1333261301","file5":"1333261305","file3":"1333261294"},"map_files_photo_id_array":[{"photo_id":"1333261305","filename":"file5"},{"photo_id":"1333261289","filename":"file2"},{"photo_id":"1333261301","filename":"file4"},{"photo_id":"1333261280","filename":"file1"},{"photo_id":"1333261275","filename":"file0"},{"photo_id":"1333261294","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333261275":["hashtag1","hashtag2"]},{"1333261305":["hashtag1","hashtag2"]},{"1333261289":["hashtag1","hashtag2"]},{"1333261280":["hashtag1","hashtag2"]},{"1333261301":["hashtag1","hashtag2"]},{"1333261294":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333261275, 1333261305, 1333261289, 1333261280, 1333261301, 1333261294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.702656745910645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:30:32.952335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/29/image_31012025_09_29_56_9406.jpg', '/home/pi/Desktop/images/31012025/09/29/image_31012025_09_30_06_10340.jpg', '/home/pi/Desktop/images/31012025/09/30/image_31012025_09_30_26_9391.jpg', '/home/pi/Desktop/images/31012025/09/30/image_31012025_09_30_47_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/29/image_31012025_09_29_56_9406.jpg
/home/pi/Desktop/images/31012025/09/29/image_31012025_09_30_06_10340.jpg
/home/pi/Desktop/images/31012025/09/30/image_31012025_09_30_26_9391.jpg
/home/pi/Desktop/images/31012025/09/30/image_31012025_09_30_47_10446.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":["1333261369","1333261377","1333261362","1333261385"],"photo_ids_order":["1333261362","1333261369","1333261377","1333261385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5ba49cc464fe1755b868d3d8ae47442a.jpg","text":"TemporaryFile(/tmp/multipartBody6257326999976605027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312293833,"filename":"image_31012025_09_30_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/1/31/bbef1ce3fc585850ec13b12b1ca0cdc9.jpg","text":"TemporaryFile(/tmp/multipartBody2160048599690140966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312293833,"filename":"image_31012025_09_30_26_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1baf00bfda9f54c5e7e89c2720a982d5.jpg","text":"TemporaryFile(/tmp/multipartBody6857303056595084059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312293833,"filename":"image_31012025_09_29_56_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/172337ecb6f0b1b9ea1023c72bf48678.jpg","text":"TemporaryFile(/tmp/multipartBody2705459202816993032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312293833,"filename":"image_31012025_09_30_47_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333261377","file1":"1333261369","file0":"1333261362","file3":"1333261385"},"map_files_photo_id_array":[{"photo_id":"1333261377","filename":"file2"},{"photo_id":"1333261369","filename":"file1"},{"photo_id":"1333261362","filename":"file0"},{"photo_id":"1333261385","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333261369":["hashtag1","hashtag2"]},{"1333261377":["hashtag1","hashtag2"]},{"1333261362":["hashtag1","hashtag2"]},{"1333261385":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333261369, 1333261377, 1333261362, 1333261385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.303895235061646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 09:31:04.724744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/22/image_28012025_22_22_45_10429.jpg', '/home/pi/Desktop/images/28012025/22/22/image_28012025_22_22_54_9346.jpg', '/home/pi/Desktop/images/28012025/22/22/image_28012025_22_23_05_10338.jpg', '/home/pi/Desktop/images/28012025/22/23/image_28012025_22_23_15_10322.jpg', '/home/pi/Desktop/images/28012025/22/23/image_28012025_22_23_24_9408.jpg', '/home/pi/Desktop/images/28012025/22/23/image_28012025_22_23_35_10389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/22/image_28012025_22_22_45_10429.jpg
/home/pi/Desktop/images/28012025/22/22/image_28012025_22_22_54_9346.jpg
/home/pi/Desktop/images/28012025/22/22/image_28012025_22_23_05_10338.jpg
/home/pi/Desktop/images/28012025/22/23/image_28012025_22_23_15_10322.jpg
/home/pi/Desktop/images/28012025/22/23/image_28012025_22_23_24_9408.jpg
/home/pi/Desktop/images/28012025/22/23/image_28012025_22_23_35_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":["1333261537","1333261698","1333261551","1333261500","1333261544","1333261634"],"photo_ids_order":["1333261500","1333261537","1333261544","1333261551","1333261634","1333261698"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d2b49da4ad124863379ed1874f6cebe9.jpg","text":"TemporaryFile(/tmp/multipartBody664484801143512971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312326542,"filename":"image_28012025_22_22_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/1/31/50626a7fd9a9741ed766da7af633e28e.jpg","text":"TemporaryFile(/tmp/multipartBody9002486577330264468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312326542,"filename":"image_28012025_22_23_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/1/31/8b9e5e00eeeb3181ea8cc804208ec1a5.jpg","text":"TemporaryFile(/tmp/multipartBody5554549657869119458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312326542,"filename":"image_28012025_22_23_15_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1affe25b7f1ce6a61c8b0c3ff071d3a2.jpg","text":"TemporaryFile(/tmp/multipartBody146302873176560750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312326542,"filename":"image_28012025_22_22_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/1/31/7b4dcc70dff1a7218284406a235e8696.jpg","text":"TemporaryFile(/tmp/multipartBody6478591362578990485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312326542,"filename":"image_28012025_22_23_05_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4ea9e0e00fb31e686a3651ea2ac6f883.jpg","text":"TemporaryFile(/tmp/multipartBody5637351848165333629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312326542,"filename":"image_28012025_22_23_24_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333261544","file1":"1333261537","file0":"1333261500","file4":"1333261634","file5":"1333261698","file3":"1333261551"},"map_files_photo_id_array":[{"photo_id":"1333261698","filename":"file5"},{"photo_id":"1333261544","filename":"file2"},{"photo_id":"1333261634","filename":"file4"},{"photo_id":"1333261537","filename":"file1"},{"photo_id":"1333261500","filename":"file0"},{"photo_id":"1333261551","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333261537":["hashtag1","hashtag2"]},{"1333261698":["hashtag1","hashtag2"]},{"1333261551":["hashtag1","hashtag2"]},{"1333261500":["hashtag1","hashtag2"]},{"1333261544":["hashtag1","hashtag2"]},{"1333261634":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333261537, 1333261698, 1333261551, 1333261500, 1333261544, 1333261634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.31898546218872 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:31:53.129956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/30/image_31012025_09_30_56_9346.jpg', '/home/pi/Desktop/images/31012025/09/30/image_31012025_09_31_06_10339.jpg', '/home/pi/Desktop/images/31012025/09/31/image_31012025_09_31_16_9459.jpg', '/home/pi/Desktop/images/31012025/09/31/image_31012025_09_31_26_10368.jpg', '/home/pi/Desktop/images/31012025/09/31/image_31012025_09_31_37_10340.jpg', '/home/pi/Desktop/images/31012025/09/31/image_31012025_09_31_46_9365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/30/image_31012025_09_30_56_9346.jpg
/home/pi/Desktop/images/31012025/09/30/image_31012025_09_31_06_10339.jpg
/home/pi/Desktop/images/31012025/09/31/image_31012025_09_31_16_9459.jpg
/home/pi/Desktop/images/31012025/09/31/image_31012025_09_31_26_10368.jpg
/home/pi/Desktop/images/31012025/09/31/image_31012025_09_31_37_10340.jpg
/home/pi/Desktop/images/31012025/09/31/image_31012025_09_31_46_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":["1333261881","1333261884","1333261932","1333261946","1333261940","1333261877"],"photo_ids_order":["1333261877","1333261881","1333261884","1333261932","1333261940","1333261946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/276ff1dbe3ee1dadd080e151088d0629.jpg","text":"TemporaryFile(/tmp/multipartBody8463347244338456053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312374054,"filename":"image_31012025_09_31_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/1/31/887d24e283dd18288cf56e79cb60218f.jpg","text":"TemporaryFile(/tmp/multipartBody6269684275380056963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312374054,"filename":"image_31012025_09_31_16_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/adea90b7c6a14d617f9c7c3c5e11825c.jpg","text":"TemporaryFile(/tmp/multipartBody7473712934552018345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312374054,"filename":"image_31012025_09_31_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/1/31/548492e377d13ec44533f49d22e27fa2.jpg","text":"TemporaryFile(/tmp/multipartBody3021477024597730888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312374054,"filename":"image_31012025_09_31_46_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e6f5d7ae4ab2103b6e0e23b355180f23.jpg","text":"TemporaryFile(/tmp/multipartBody515507974754082300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312374054,"filename":"image_31012025_09_31_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/1/31/064a820e9330155419bc2881b862af8b.jpg","text":"TemporaryFile(/tmp/multipartBody306251901694958041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312374054,"filename":"image_31012025_09_30_56_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333261884","file1":"1333261881","file0":"1333261877","file4":"1333261940","file5":"1333261946","file3":"1333261932"},"map_files_photo_id_array":[{"photo_id":"1333261946","filename":"file5"},{"photo_id":"1333261884","filename":"file2"},{"photo_id":"1333261940","filename":"file4"},{"photo_id":"1333261881","filename":"file1"},{"photo_id":"1333261877","filename":"file0"},{"photo_id":"1333261932","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333261881":["hashtag1","hashtag2"]},{"1333261884":["hashtag1","hashtag2"]},{"1333261932":["hashtag1","hashtag2"]},{"1333261946":["hashtag1","hashtag2"]},{"1333261940":["hashtag1","hashtag2"]},{"1333261877":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333261881, 1333261884, 1333261932, 1333261946, 1333261940, 1333261877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.603031873703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 09:32:42.256583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/31/image_31012025_09_31_56_10361.jpg', '/home/pi/Desktop/images/31012025/09/31/image_31012025_09_32_07_10439.jpg', '/home/pi/Desktop/images/31012025/09/32/image_31012025_09_32_16_9340.jpg', '/home/pi/Desktop/images/31012025/09/32/image_31012025_09_32_27_10344.jpg', '/home/pi/Desktop/images/31012025/09/32/image_31012025_09_32_36_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/31/image_31012025_09_31_56_10361.jpg
/home/pi/Desktop/images/31012025/09/31/image_31012025_09_32_07_10439.jpg
/home/pi/Desktop/images/31012025/09/32/image_31012025_09_32_16_9340.jpg
/home/pi/Desktop/images/31012025/09/32/image_31012025_09_32_27_10344.jpg
/home/pi/Desktop/images/31012025/09/32/image_31012025_09_32_36_9336.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":["1333262011","1333262014","1333262008","1333262073","1333262015"],"photo_ids_order":["1333262008","1333262011","1333262014","1333262015","1333262073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ccd8cb4bb0f6ef9068f3776e6c1bdcbc.jpg","text":"TemporaryFile(/tmp/multipartBody8545304376175158836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312423173,"filename":"image_31012025_09_32_07_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3caf4ee7c714d44b51f950ace0c41cb0.jpg","text":"TemporaryFile(/tmp/multipartBody2351965590127400819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312423173,"filename":"image_31012025_09_32_16_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3aa355e0a415ac917a820a0359506027.jpg","text":"TemporaryFile(/tmp/multipartBody6583118294283716411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312423173,"filename":"image_31012025_09_31_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/1/31/aa7271d23bc7a2f4aa709c9a4164a860.jpg","text":"TemporaryFile(/tmp/multipartBody7692955790709387797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312423173,"filename":"image_31012025_09_32_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/1/31/6644d1e6b1e87da8cb7202ed95abd7a2.jpg","text":"TemporaryFile(/tmp/multipartBody2851370507860526561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312423173,"filename":"image_31012025_09_32_27_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333262014","file1":"1333262011","file0":"1333262008","file4":"1333262073","file3":"1333262015"},"map_files_photo_id_array":[{"photo_id":"1333262014","filename":"file2"},{"photo_id":"1333262073","filename":"file4"},{"photo_id":"1333262011","filename":"file1"},{"photo_id":"1333262008","filename":"file0"},{"photo_id":"1333262015","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333262011":["hashtag1","hashtag2"]},{"1333262014":["hashtag1","hashtag2"]},{"1333262008":["hashtag1","hashtag2"]},{"1333262073":["hashtag1","hashtag2"]},{"1333262015":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333262011, 1333262014, 1333262008, 1333262073, 1333262015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.20297813415527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:33:32.486210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/32/image_31012025_09_32_57_10402.jpg', '/home/pi/Desktop/images/31012025/09/32/image_31012025_09_33_06_9406.jpg', '/home/pi/Desktop/images/31012025/09/33/image_31012025_09_33_16_10347.jpg', '/home/pi/Desktop/images/31012025/09/33/image_31012025_09_33_27_10483.jpg', '/home/pi/Desktop/images/31012025/09/33/image_31012025_09_33_47_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/32/image_31012025_09_32_57_10402.jpg
/home/pi/Desktop/images/31012025/09/32/image_31012025_09_33_06_9406.jpg
/home/pi/Desktop/images/31012025/09/33/image_31012025_09_33_16_10347.jpg
/home/pi/Desktop/images/31012025/09/33/image_31012025_09_33_27_10483.jpg
/home/pi/Desktop/images/31012025/09/33/image_31012025_09_33_47_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":["1333262178","1333262142","1333262174","1333262183","1333262168"],"photo_ids_order":["1333262142","1333262168","1333262174","1333262178","1333262183"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cbaa391f0b414e36ffe7ab93735f90a4.jpg","text":"TemporaryFile(/tmp/multipartBody4923302974175602027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312473380,"filename":"image_31012025_09_33_27_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/06e8cd0bac588cf9f548ce5a243f0860.jpg","text":"TemporaryFile(/tmp/multipartBody6356579579960209704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312473380,"filename":"image_31012025_09_32_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/1/31/72e2ccba9685fcaf2e4a1f4bec7df373.jpg","text":"TemporaryFile(/tmp/multipartBody671912053839201078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312473380,"filename":"image_31012025_09_33_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/1/31/f0c50d09975a0a74bd3d9383641f40a2.jpg","text":"TemporaryFile(/tmp/multipartBody180276946012970442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312473380,"filename":"image_31012025_09_33_47_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/682e3cb7b84917dfc455f61df85e2f49.jpg","text":"TemporaryFile(/tmp/multipartBody1395727667499235346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312473380,"filename":"image_31012025_09_33_06_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333262174","file1":"1333262168","file0":"1333262142","file4":"1333262183","file3":"1333262178"},"map_files_photo_id_array":[{"photo_id":"1333262174","filename":"file2"},{"photo_id":"1333262183","filename":"file4"},{"photo_id":"1333262168","filename":"file1"},{"photo_id":"1333262142","filename":"file0"},{"photo_id":"1333262178","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333262178":["hashtag1","hashtag2"]},{"1333262142":["hashtag1","hashtag2"]},{"1333262174":["hashtag1","hashtag2"]},{"1333262183":["hashtag1","hashtag2"]},{"1333262168":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333262178, 1333262142, 1333262174, 1333262183, 1333262168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.91631054878235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:34:32.764401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/33/image_31012025_09_33_56_9458.jpg', '/home/pi/Desktop/images/31012025/09/33/image_31012025_09_34_06_10372.jpg', '/home/pi/Desktop/images/31012025/09/34/image_31012025_09_34_16_9397.jpg', '/home/pi/Desktop/images/31012025/09/34/image_31012025_09_34_26_10463.jpg', '/home/pi/Desktop/images/31012025/09/34/image_31012025_09_34_37_10476.jpg', '/home/pi/Desktop/images/31012025/09/34/image_31012025_09_34_46_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/33/image_31012025_09_33_56_9458.jpg
/home/pi/Desktop/images/31012025/09/33/image_31012025_09_34_06_10372.jpg
/home/pi/Desktop/images/31012025/09/34/image_31012025_09_34_16_9397.jpg
/home/pi/Desktop/images/31012025/09/34/image_31012025_09_34_26_10463.jpg
/home/pi/Desktop/images/31012025/09/34/image_31012025_09_34_37_10476.jpg
/home/pi/Desktop/images/31012025/09/34/image_31012025_09_34_46_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":["1333262265","1333262256","1333262294","1333262297","1333262276","1333262270"],"photo_ids_order":["1333262256","1333262265","1333262270","1333262276","1333262294","1333262297"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/52848876700d5c5b4d8a3f18ba2a933b.jpg","text":"TemporaryFile(/tmp/multipartBody7513597194667740702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312533688,"filename":"image_31012025_09_34_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/1/31/65154bdc865fca7796178371e4e792c4.jpg","text":"TemporaryFile(/tmp/multipartBody4214172071896266634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312533688,"filename":"image_31012025_09_33_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/1/31/46c0ece737e5803ff8b65645ebf76661.jpg","text":"TemporaryFile(/tmp/multipartBody3938885217769668845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312533688,"filename":"image_31012025_09_34_37_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/86a0a29542101c4e3049ca8bd84949bc.jpg","text":"TemporaryFile(/tmp/multipartBody4547419548818095959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312533688,"filename":"image_31012025_09_34_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/1/31/024ae1251c8744c9c9aa8457ffbefc60.jpg","text":"TemporaryFile(/tmp/multipartBody5209641566808232963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312533688,"filename":"image_31012025_09_34_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/1/31/60d4952972c867325992b256ece703cc.jpg","text":"TemporaryFile(/tmp/multipartBody3290484978145624116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312533688,"filename":"image_31012025_09_34_16_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333262270","file1":"1333262265","file0":"1333262256","file4":"1333262294","file5":"1333262297","file3":"1333262276"},"map_files_photo_id_array":[{"photo_id":"1333262297","filename":"file5"},{"photo_id":"1333262270","filename":"file2"},{"photo_id":"1333262294","filename":"file4"},{"photo_id":"1333262265","filename":"file1"},{"photo_id":"1333262256","filename":"file0"},{"photo_id":"1333262276","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333262265":["hashtag1","hashtag2"]},{"1333262256":["hashtag1","hashtag2"]},{"1333262294":["hashtag1","hashtag2"]},{"1333262297":["hashtag1","hashtag2"]},{"1333262276":["hashtag1","hashtag2"]},{"1333262270":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333262265, 1333262256, 1333262294, 1333262297, 1333262276, 1333262270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.26722526550293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:35:32.983970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/34/image_31012025_09_34_57_10361.jpg', '/home/pi/Desktop/images/31012025/09/34/image_31012025_09_35_06_9465.jpg', '/home/pi/Desktop/images/31012025/09/35/image_31012025_09_35_16_10348.jpg', '/home/pi/Desktop/images/31012025/09/35/image_31012025_09_35_27_10417.jpg', '/home/pi/Desktop/images/31012025/09/35/image_31012025_09_35_36_9445.jpg', '/home/pi/Desktop/images/31012025/09/35/image_31012025_09_35_47_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/34/image_31012025_09_34_57_10361.jpg
/home/pi/Desktop/images/31012025/09/34/image_31012025_09_35_06_9465.jpg
/home/pi/Desktop/images/31012025/09/35/image_31012025_09_35_16_10348.jpg
/home/pi/Desktop/images/31012025/09/35/image_31012025_09_35_27_10417.jpg
/home/pi/Desktop/images/31012025/09/35/image_31012025_09_35_36_9445.jpg
/home/pi/Desktop/images/31012025/09/35/image_31012025_09_35_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":["1333262530","1333262526","1333262486","1333262456","1333262615","1333262426"],"photo_ids_order":["1333262426","1333262456","1333262486","1333262526","1333262530","1333262615"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0afd616026737ce50e82fa6bd4bdf95b.jpg","text":"TemporaryFile(/tmp/multipartBody7627651117834608920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312594079,"filename":"image_31012025_09_35_36_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ca1abd9315bc9c2f46c85ca9beb29502.jpg","text":"TemporaryFile(/tmp/multipartBody6552514310244108053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312594079,"filename":"image_31012025_09_35_27_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9df036a0a7528c9f1faf1b07009e4f32.jpg","text":"TemporaryFile(/tmp/multipartBody6097837254190988928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312594079,"filename":"image_31012025_09_35_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/1/31/1c0e3c42fe9e0021490b6ef48871323d.jpg","text":"TemporaryFile(/tmp/multipartBody8524773556465483403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312594079,"filename":"image_31012025_09_35_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/1/31/caf4c3b89aa12b4b910db95cdbaa4fb8.jpg","text":"TemporaryFile(/tmp/multipartBody531438674927128032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312594079,"filename":"image_31012025_09_35_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/1/31/9a0c33b0f5acb1f51f73501bbe6c2a0e.jpg","text":"TemporaryFile(/tmp/multipartBody2061911237079534690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312594079,"filename":"image_31012025_09_34_57_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333262486","file1":"1333262456","file0":"1333262426","file4":"1333262530","file5":"1333262615","file3":"1333262526"},"map_files_photo_id_array":[{"photo_id":"1333262615","filename":"file5"},{"photo_id":"1333262486","filename":"file2"},{"photo_id":"1333262530","filename":"file4"},{"photo_id":"1333262456","filename":"file1"},{"photo_id":"1333262426","filename":"file0"},{"photo_id":"1333262526","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333262530":["hashtag1","hashtag2"]},{"1333262526":["hashtag1","hashtag2"]},{"1333262486":["hashtag1","hashtag2"]},{"1333262456":["hashtag1","hashtag2"]},{"1333262615":["hashtag1","hashtag2"]},{"1333262426":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333262530, 1333262526, 1333262486, 1333262456, 1333262615, 1333262426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.60520911216736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:36:32.733982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/35/image_31012025_09_35_56_9347.jpg', '/home/pi/Desktop/images/31012025/09/35/image_31012025_09_36_06_10350.jpg', '/home/pi/Desktop/images/31012025/09/36/image_31012025_09_36_17_10334.jpg', '/home/pi/Desktop/images/31012025/09/36/image_31012025_09_36_26_9336.jpg', '/home/pi/Desktop/images/31012025/09/36/image_31012025_09_36_36_10372.jpg', '/home/pi/Desktop/images/31012025/09/36/image_31012025_09_36_47_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/35/image_31012025_09_35_56_9347.jpg
/home/pi/Desktop/images/31012025/09/35/image_31012025_09_36_06_10350.jpg
/home/pi/Desktop/images/31012025/09/36/image_31012025_09_36_17_10334.jpg
/home/pi/Desktop/images/31012025/09/36/image_31012025_09_36_26_9336.jpg
/home/pi/Desktop/images/31012025/09/36/image_31012025_09_36_36_10372.jpg
/home/pi/Desktop/images/31012025/09/36/image_31012025_09_36_47_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":["1333263519","1333263504","1333263602","1333263493","1333263499","1333263616"],"photo_ids_order":["1333263493","1333263499","1333263504","1333263519","1333263602","1333263616"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/56068b2402587e0eb1bf2f0f9fae1816.jpg","text":"TemporaryFile(/tmp/multipartBody9097056536045771655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312653671,"filename":"image_31012025_09_36_26_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a1ffb09082a3a8848ea9e52ead115258.jpg","text":"TemporaryFile(/tmp/multipartBody4507460725688540916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312653671,"filename":"image_31012025_09_36_17_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d74d66e0f5072939e7a0feab890859d8.jpg","text":"TemporaryFile(/tmp/multipartBody1889165394264297645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312653671,"filename":"image_31012025_09_36_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/1/31/b443eed7c320945375b2a255778c66a5.jpg","text":"TemporaryFile(/tmp/multipartBody471425602073869844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312653671,"filename":"image_31012025_09_35_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/1/31/5a40b6c33ef5472e010d2cc01c08829e.jpg","text":"TemporaryFile(/tmp/multipartBody5243941789575640553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312653671,"filename":"image_31012025_09_36_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/1/31/fddc31a9cfc601830345ca912d5ce30a.jpg","text":"TemporaryFile(/tmp/multipartBody7486802619781558004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312653671,"filename":"image_31012025_09_36_47_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333263504","file1":"1333263499","file0":"1333263493","file4":"1333263602","file5":"1333263616","file3":"1333263519"},"map_files_photo_id_array":[{"photo_id":"1333263616","filename":"file5"},{"photo_id":"1333263504","filename":"file2"},{"photo_id":"1333263602","filename":"file4"},{"photo_id":"1333263499","filename":"file1"},{"photo_id":"1333263493","filename":"file0"},{"photo_id":"1333263519","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333263519":["hashtag1","hashtag2"]},{"1333263504":["hashtag1","hashtag2"]},{"1333263602":["hashtag1","hashtag2"]},{"1333263493":["hashtag1","hashtag2"]},{"1333263499":["hashtag1","hashtag2"]},{"1333263616":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333263519, 1333263504, 1333263602, 1333263493, 1333263499, 1333263616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.5814995765686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:37:32.749063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/36/image_31012025_09_36_56_9458.jpg', '/home/pi/Desktop/images/31012025/09/36/image_31012025_09_37_06_10350.jpg', '/home/pi/Desktop/images/31012025/09/37/image_31012025_09_37_17_10358.jpg', '/home/pi/Desktop/images/31012025/09/37/image_31012025_09_37_37_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/36/image_31012025_09_36_56_9458.jpg
/home/pi/Desktop/images/31012025/09/36/image_31012025_09_37_06_10350.jpg
/home/pi/Desktop/images/31012025/09/37/image_31012025_09_37_17_10358.jpg
/home/pi/Desktop/images/31012025/09/37/image_31012025_09_37_37_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.48125123977661133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 09:37:42.702544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/36/image_31012025_09_36_56_9458.jpg', '/home/pi/Desktop/images/31012025/09/36/image_31012025_09_37_06_10350.jpg', '/home/pi/Desktop/images/31012025/09/37/image_31012025_09_37_17_10358.jpg', '/home/pi/Desktop/images/31012025/09/37/image_31012025_09_37_37_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/36/image_31012025_09_36_56_9458.jpg
/home/pi/Desktop/images/31012025/09/36/image_31012025_09_37_06_10350.jpg
/home/pi/Desktop/images/31012025/09/37/image_31012025_09_37_17_10358.jpg
/home/pi/Desktop/images/31012025/09/37/image_31012025_09_37_37_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":["1333264046","1333263983","1333264042","1333263955"],"photo_ids_order":["1333263955","1333263983","1333264042","1333264046"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1542e75f0ee6f2fdbd280f3a3b4fee6c.jpg","text":"TemporaryFile(/tmp/multipartBody5679818149555400267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312723587,"filename":"image_31012025_09_37_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/1/31/0400966a552357898397d307f9918028.jpg","text":"TemporaryFile(/tmp/multipartBody2297790579701762401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312723587,"filename":"image_31012025_09_37_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/1/31/1a7f4d2c844d8815379a86d76c76334b.jpg","text":"TemporaryFile(/tmp/multipartBody7408748004281204150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312723587,"filename":"image_31012025_09_37_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/1/31/9d053beaea6299c95393b750db626bcf.jpg","text":"TemporaryFile(/tmp/multipartBody1937703199491587113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312723587,"filename":"image_31012025_09_36_56_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333264042","file1":"1333263983","file0":"1333263955","file3":"1333264046"},"map_files_photo_id_array":[{"photo_id":"1333264042","filename":"file2"},{"photo_id":"1333263983","filename":"file1"},{"photo_id":"1333263955","filename":"file0"},{"photo_id":"1333264046","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333264046":["hashtag1","hashtag2"]},{"1333263983":["hashtag1","hashtag2"]},{"1333264042":["hashtag1","hashtag2"]},{"1333263955":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333264046, 1333263983, 1333264042, 1333263955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.844817399978638 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:38:32.800845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/37/image_31012025_09_37_46_9353.jpg', '/home/pi/Desktop/images/31012025/09/37/image_31012025_09_38_07_10498.jpg', '/home/pi/Desktop/images/31012025/09/38/image_31012025_09_38_27_10363.jpg', '/home/pi/Desktop/images/31012025/09/38/image_31012025_09_38_36_9432.jpg', '/home/pi/Desktop/images/31012025/09/38/image_31012025_09_38_46_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/37/image_31012025_09_37_46_9353.jpg
/home/pi/Desktop/images/31012025/09/37/image_31012025_09_38_07_10498.jpg
/home/pi/Desktop/images/31012025/09/38/image_31012025_09_38_27_10363.jpg
/home/pi/Desktop/images/31012025/09/38/image_31012025_09_38_36_9432.jpg
/home/pi/Desktop/images/31012025/09/38/image_31012025_09_38_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":["1333264107","1333264130","1333264099","1333264126","1333264114"],"photo_ids_order":["1333264099","1333264107","1333264114","1333264126","1333264130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/13af473552a3d9a4ade408a32b702d55.jpg","text":"TemporaryFile(/tmp/multipartBody1284499167823301340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312773697,"filename":"image_31012025_09_38_07_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3d3858b13ffb4788c540b4c65b3b1ab5.jpg","text":"TemporaryFile(/tmp/multipartBody580193493513307518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312773697,"filename":"image_31012025_09_38_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/1/31/e30a18c33c7c51d16ee278f933802df5.jpg","text":"TemporaryFile(/tmp/multipartBody2122755189963542902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312773697,"filename":"image_31012025_09_37_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/1/31/b1092959bc039c468e87cfb994099764.jpg","text":"TemporaryFile(/tmp/multipartBody6631274368020303816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312773697,"filename":"image_31012025_09_38_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/1/31/38d18ca7567cfdb848b8a7ffeebb206e.jpg","text":"TemporaryFile(/tmp/multipartBody8807160747869047041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312773697,"filename":"image_31012025_09_38_27_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333264114","file1":"1333264107","file0":"1333264099","file4":"1333264130","file3":"1333264126"},"map_files_photo_id_array":[{"photo_id":"1333264114","filename":"file2"},{"photo_id":"1333264130","filename":"file4"},{"photo_id":"1333264107","filename":"file1"},{"photo_id":"1333264099","filename":"file0"},{"photo_id":"1333264126","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333264107":["hashtag1","hashtag2"]},{"1333264130":["hashtag1","hashtag2"]},{"1333264099":["hashtag1","hashtag2"]},{"1333264126":["hashtag1","hashtag2"]},{"1333264114":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333264107, 1333264130, 1333264099, 1333264126, 1333264114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.7135226726532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:39:33.036293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/38/image_31012025_09_38_57_10426.jpg', '/home/pi/Desktop/images/31012025/09/38/image_31012025_09_39_06_9414.jpg', '/home/pi/Desktop/images/31012025/09/39/image_31012025_09_39_17_10573.jpg', '/home/pi/Desktop/images/31012025/09/39/image_31012025_09_39_26_9352.jpg', '/home/pi/Desktop/images/31012025/09/39/image_31012025_09_39_36_10357.jpg', '/home/pi/Desktop/images/31012025/09/39/image_31012025_09_39_46_9406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/38/image_31012025_09_38_57_10426.jpg
/home/pi/Desktop/images/31012025/09/38/image_31012025_09_39_06_9414.jpg
/home/pi/Desktop/images/31012025/09/39/image_31012025_09_39_17_10573.jpg
/home/pi/Desktop/images/31012025/09/39/image_31012025_09_39_26_9352.jpg
/home/pi/Desktop/images/31012025/09/39/image_31012025_09_39_36_10357.jpg
/home/pi/Desktop/images/31012025/09/39/image_31012025_09_39_46_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333264212","1333264208","1333264223","1333264202","1333264197","1333264216"],"photo_ids_order":["1333264197","1333264202","1333264208","1333264212","1333264216","1333264223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8f944bc77254430ccd3d5e5eb13ec566.jpg","text":"TemporaryFile(/tmp/multipartBody750031744433111444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312833977,"filename":"image_31012025_09_39_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/1/31/73201bba81ca0adfa25d9ed094f64aca.jpg","text":"TemporaryFile(/tmp/multipartBody2461344904981658282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312833977,"filename":"image_31012025_09_39_17_10573.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d721ab9a2ea06d425dacf433ab6e0592.jpg","text":"TemporaryFile(/tmp/multipartBody1013389186234391554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312833977,"filename":"image_31012025_09_39_46_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8fba1f6e0372a3e64cb229833bfcc7b8.jpg","text":"TemporaryFile(/tmp/multipartBody5173435587688166436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312833977,"filename":"image_31012025_09_39_06_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9be8d30e36aa295fd44219fc220015a7.jpg","text":"TemporaryFile(/tmp/multipartBody1652707015489717891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312833977,"filename":"image_31012025_09_38_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/1/31/d89bc552cbbcc14e94350b46a67337de.jpg","text":"TemporaryFile(/tmp/multipartBody6582121034837226612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312833977,"filename":"image_31012025_09_39_36_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333264208","file1":"1333264202","file0":"1333264197","file4":"1333264216","file5":"1333264223","file3":"1333264212"},"map_files_photo_id_array":[{"photo_id":"1333264223","filename":"file5"},{"photo_id":"1333264208","filename":"file2"},{"photo_id":"1333264216","filename":"file4"},{"photo_id":"1333264202","filename":"file1"},{"photo_id":"1333264197","filename":"file0"},{"photo_id":"1333264212","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333264212":["hashtag1","hashtag2"]},{"1333264208":["hashtag1","hashtag2"]},{"1333264223":["hashtag1","hashtag2"]},{"1333264202":["hashtag1","hashtag2"]},{"1333264197":["hashtag1","hashtag2"]},{"1333264216":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333264212, 1333264208, 1333264223, 1333264202, 1333264197, 1333264216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2201988697052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:40:32.222787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/39/image_31012025_09_39_56_10410.jpg', '/home/pi/Desktop/images/31012025/09/39/image_31012025_09_40_07_10368.jpg', '/home/pi/Desktop/images/31012025/09/40/image_31012025_09_40_26_10375.jpg', '/home/pi/Desktop/images/31012025/09/40/image_31012025_09_40_36_10053.jpg', '/home/pi/Desktop/images/31012025/09/40/image_31012025_09_40_46_9605.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/39/image_31012025_09_39_56_10410.jpg
/home/pi/Desktop/images/31012025/09/39/image_31012025_09_40_07_10368.jpg
/home/pi/Desktop/images/31012025/09/40/image_31012025_09_40_26_10375.jpg
/home/pi/Desktop/images/31012025/09/40/image_31012025_09_40_36_10053.jpg
/home/pi/Desktop/images/31012025/09/40/image_31012025_09_40_46_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333264286","1333264268","1333264264","1333264281","1333264275"],"photo_ids_order":["1333264264","1333264268","1333264275","1333264281","1333264286"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/abd80d53533e42239b1865a243732a6a.jpg","text":"TemporaryFile(/tmp/multipartBody4523477893747970269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312893123,"filename":"image_31012025_09_40_46_9605.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0ae9483b52ecc86af7908af2ab294c1b.jpg","text":"TemporaryFile(/tmp/multipartBody1149446524485885412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312893123,"filename":"image_31012025_09_40_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/1/31/ec07842fa39737f3dfb2fa68eec4336e.jpg","text":"TemporaryFile(/tmp/multipartBody1163099222015293025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312893123,"filename":"image_31012025_09_39_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/1/31/9db007cb5db3a77a521949a8411e06a0.jpg","text":"TemporaryFile(/tmp/multipartBody1389626152371555158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312893123,"filename":"image_31012025_09_40_36_10053.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fdd9c0902f0ddf143cdeb194f15e6882.jpg","text":"TemporaryFile(/tmp/multipartBody3811674932844021050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312893123,"filename":"image_31012025_09_40_26_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333264275","file1":"1333264268","file0":"1333264264","file4":"1333264286","file3":"1333264281"},"map_files_photo_id_array":[{"photo_id":"1333264275","filename":"file2"},{"photo_id":"1333264286","filename":"file4"},{"photo_id":"1333264268","filename":"file1"},{"photo_id":"1333264264","filename":"file0"},{"photo_id":"1333264281","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333264286":["hashtag1","hashtag2"]},{"1333264268":["hashtag1","hashtag2"]},{"1333264264":["hashtag1","hashtag2"]},{"1333264281":["hashtag1","hashtag2"]},{"1333264275":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333264286, 1333264268, 1333264264, 1333264281, 1333264275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.489776849746704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:41:32.468234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/40/image_31012025_09_40_56_10340.jpg', '/home/pi/Desktop/images/31012025/09/40/image_31012025_09_41_07_10438.jpg', '/home/pi/Desktop/images/31012025/09/41/image_31012025_09_41_16_9363.jpg', '/home/pi/Desktop/images/31012025/09/41/image_31012025_09_41_26_10352.jpg', '/home/pi/Desktop/images/31012025/09/41/image_31012025_09_41_37_10355.jpg', '/home/pi/Desktop/images/31012025/09/41/image_31012025_09_41_46_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/40/image_31012025_09_40_56_10340.jpg
/home/pi/Desktop/images/31012025/09/40/image_31012025_09_41_07_10438.jpg
/home/pi/Desktop/images/31012025/09/41/image_31012025_09_41_16_9363.jpg
/home/pi/Desktop/images/31012025/09/41/image_31012025_09_41_26_10352.jpg
/home/pi/Desktop/images/31012025/09/41/image_31012025_09_41_37_10355.jpg
/home/pi/Desktop/images/31012025/09/41/image_31012025_09_41_46_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":["1333264691","1333264704","1333264580","1333264574","1333264585","1333264662"],"photo_ids_order":["1333264574","1333264580","1333264585","1333264662","1333264691","1333264704"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7676285f08a70817fd1d4a3d5fc8b238.jpg","text":"TemporaryFile(/tmp/multipartBody6234039013246822097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312953386,"filename":"image_31012025_09_41_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/1/31/2562e5468b97aad0e27bffe3ef5f8529.jpg","text":"TemporaryFile(/tmp/multipartBody2309649850011778398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312953386,"filename":"image_31012025_09_41_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/1/31/37b2a38a0bace8dd9b178c70157572c4.jpg","text":"TemporaryFile(/tmp/multipartBody6019213737007899611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312953386,"filename":"image_31012025_09_41_07_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3d47190410fb95fa1fcfd7ccc2dea5c2.jpg","text":"TemporaryFile(/tmp/multipartBody7086646081890196213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312953386,"filename":"image_31012025_09_40_56_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cb675c6dc592370f7e17040cde04639b.jpg","text":"TemporaryFile(/tmp/multipartBody800127887303413759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312953386,"filename":"image_31012025_09_41_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/1/31/8f3f4dc574f1dae55eecf73d3070eb9c.jpg","text":"TemporaryFile(/tmp/multipartBody6121766742897773488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738312953386,"filename":"image_31012025_09_41_26_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333264585","file1":"1333264580","file0":"1333264574","file4":"1333264691","file5":"1333264704","file3":"1333264662"},"map_files_photo_id_array":[{"photo_id":"1333264704","filename":"file5"},{"photo_id":"1333264585","filename":"file2"},{"photo_id":"1333264691","filename":"file4"},{"photo_id":"1333264580","filename":"file1"},{"photo_id":"1333264574","filename":"file0"},{"photo_id":"1333264662","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333264691":["hashtag1","hashtag2"]},{"1333264704":["hashtag1","hashtag2"]},{"1333264580":["hashtag1","hashtag2"]},{"1333264574":["hashtag1","hashtag2"]},{"1333264585":["hashtag1","hashtag2"]},{"1333264662":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333264691, 1333264704, 1333264580, 1333264574, 1333264585, 1333264662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30121445655823 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:42:32.778164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/41/image_31012025_09_41_57_10341.jpg', '/home/pi/Desktop/images/31012025/09/41/image_31012025_09_42_06_9358.jpg', '/home/pi/Desktop/images/31012025/09/42/image_31012025_09_42_16_10409.jpg', '/home/pi/Desktop/images/31012025/09/42/image_31012025_09_42_27_10482.jpg', '/home/pi/Desktop/images/31012025/09/42/image_31012025_09_42_47_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/41/image_31012025_09_41_57_10341.jpg
/home/pi/Desktop/images/31012025/09/41/image_31012025_09_42_06_9358.jpg
/home/pi/Desktop/images/31012025/09/42/image_31012025_09_42_16_10409.jpg
/home/pi/Desktop/images/31012025/09/42/image_31012025_09_42_27_10482.jpg
/home/pi/Desktop/images/31012025/09/42/image_31012025_09_42_47_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":["1333264805","1333264816","1333264810","1333264830","1333264824"],"photo_ids_order":["1333264805","1333264810","1333264816","1333264824","1333264830"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d118ddd16d657a2e7c828ef2b2f2a838.jpg","text":"TemporaryFile(/tmp/multipartBody7822499775517890933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313013692,"filename":"image_31012025_09_41_57_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5e55911e80813a8e1f3f56df977daea5.jpg","text":"TemporaryFile(/tmp/multipartBody8747929744770411406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313013692,"filename":"image_31012025_09_42_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/1/31/e663e0d1a232acab65ed17463b4a4783.jpg","text":"TemporaryFile(/tmp/multipartBody4858142966135551301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313013692,"filename":"image_31012025_09_42_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/1/31/c48a9c75d2e54ec45c4353e9ec587fac.jpg","text":"TemporaryFile(/tmp/multipartBody3419751414439850553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313013692,"filename":"image_31012025_09_42_47_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/32aced2306631f72acd3975da17099c5.jpg","text":"TemporaryFile(/tmp/multipartBody261914088501921910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313013692,"filename":"image_31012025_09_42_27_10482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333264816","file1":"1333264810","file0":"1333264805","file4":"1333264830","file3":"1333264824"},"map_files_photo_id_array":[{"photo_id":"1333264816","filename":"file2"},{"photo_id":"1333264830","filename":"file4"},{"photo_id":"1333264810","filename":"file1"},{"photo_id":"1333264805","filename":"file0"},{"photo_id":"1333264824","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333264805":["hashtag1","hashtag2"]},{"1333264816":["hashtag1","hashtag2"]},{"1333264810":["hashtag1","hashtag2"]},{"1333264830":["hashtag1","hashtag2"]},{"1333264824":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333264805, 1333264816, 1333264810, 1333264830, 1333264824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.60229206085205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:43:32.967731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/42/image_31012025_09_42_56_9347.jpg', '/home/pi/Desktop/images/31012025/09/42/image_31012025_09_43_06_10340.jpg', '/home/pi/Desktop/images/31012025/09/43/image_31012025_09_43_26_9347.jpg', '/home/pi/Desktop/images/31012025/09/43/image_31012025_09_43_36_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/42/image_31012025_09_42_56_9347.jpg
/home/pi/Desktop/images/31012025/09/42/image_31012025_09_43_06_10340.jpg
/home/pi/Desktop/images/31012025/09/43/image_31012025_09_43_26_9347.jpg
/home/pi/Desktop/images/31012025/09/43/image_31012025_09_43_36_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":["1333264911","1333264870","1333264878","1333264917"],"photo_ids_order":["1333264870","1333264878","1333264911","1333264917"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b8c5da78335e7987d73c49e8b13f7161.jpg","text":"TemporaryFile(/tmp/multipartBody7903018328354405540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313073849,"filename":"image_31012025_09_43_26_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bc3b4a0f95719e1b02590fd087ab1124.jpg","text":"TemporaryFile(/tmp/multipartBody5351392853646973572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313073849,"filename":"image_31012025_09_42_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/1/31/6296e47ba03a603cd8c7ed2a7d280e3b.jpg","text":"TemporaryFile(/tmp/multipartBody871215387440572489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313073849,"filename":"image_31012025_09_43_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/1/31/0fba7c598c2ea930580799393dcc3f1f.jpg","text":"TemporaryFile(/tmp/multipartBody8510971612942300029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313073849,"filename":"image_31012025_09_43_36_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333264911","file1":"1333264878","file0":"1333264870","file3":"1333264917"},"map_files_photo_id_array":[{"photo_id":"1333264911","filename":"file2"},{"photo_id":"1333264878","filename":"file1"},{"photo_id":"1333264870","filename":"file0"},{"photo_id":"1333264917","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333264911":["hashtag1","hashtag2"]},{"1333264870":["hashtag1","hashtag2"]},{"1333264878":["hashtag1","hashtag2"]},{"1333264917":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333264911, 1333264870, 1333264878, 1333264917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.230232000350952 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:44:33.057136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/43/image_31012025_09_43_47_10455.jpg', '/home/pi/Desktop/images/31012025/09/44/image_31012025_09_44_16_9347.jpg', '/home/pi/Desktop/images/31012025/09/44/image_31012025_09_44_26_10370.jpg', '/home/pi/Desktop/images/31012025/09/44/image_31012025_09_44_37_10441.jpg', '/home/pi/Desktop/images/31012025/09/44/image_31012025_09_44_46_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/43/image_31012025_09_43_47_10455.jpg
/home/pi/Desktop/images/31012025/09/44/image_31012025_09_44_16_9347.jpg
/home/pi/Desktop/images/31012025/09/44/image_31012025_09_44_26_10370.jpg
/home/pi/Desktop/images/31012025/09/44/image_31012025_09_44_37_10441.jpg
/home/pi/Desktop/images/31012025/09/44/image_31012025_09_44_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":["1333264964","1333264988","1333264993","1333264978","1333264971"],"photo_ids_order":["1333264964","1333264971","1333264978","1333264988","1333264993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9314132bf5283797dae673723d43baa7.jpg","text":"TemporaryFile(/tmp/multipartBody7479282315636939255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313133955,"filename":"image_31012025_09_43_47_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5a5694d353c873420d762612e764d41f.jpg","text":"TemporaryFile(/tmp/multipartBody6344790005077471513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313133955,"filename":"image_31012025_09_44_37_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3b5d9f40c3c30f0376c177724ab1be24.jpg","text":"TemporaryFile(/tmp/multipartBody2857986650629415152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313133955,"filename":"image_31012025_09_44_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/1/31/f004f49513ff7289366cd2d1e7edb763.jpg","text":"TemporaryFile(/tmp/multipartBody1424562029756707378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313133955,"filename":"image_31012025_09_44_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/1/31/b54f2a7559b703619710c16ee5ff703f.jpg","text":"TemporaryFile(/tmp/multipartBody4054575469086754346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313133955,"filename":"image_31012025_09_44_16_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333264978","file1":"1333264971","file0":"1333264964","file4":"1333264993","file3":"1333264988"},"map_files_photo_id_array":[{"photo_id":"1333264978","filename":"file2"},{"photo_id":"1333264993","filename":"file4"},{"photo_id":"1333264971","filename":"file1"},{"photo_id":"1333264964","filename":"file0"},{"photo_id":"1333264988","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333264964":["hashtag1","hashtag2"]},{"1333264988":["hashtag1","hashtag2"]},{"1333264993":["hashtag1","hashtag2"]},{"1333264978":["hashtag1","hashtag2"]},{"1333264971":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333264964, 1333264988, 1333264993, 1333264978, 1333264971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.11668276786804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:45:32.410274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/44/image_31012025_09_44_56_10423.jpg', '/home/pi/Desktop/images/31012025/09/44/image_31012025_09_45_07_10332.jpg', '/home/pi/Desktop/images/31012025/09/45/image_31012025_09_45_16_9328.jpg', '/home/pi/Desktop/images/31012025/09/45/image_31012025_09_45_27_10360.jpg', '/home/pi/Desktop/images/31012025/09/45/image_31012025_09_45_36_9395.jpg', '/home/pi/Desktop/images/31012025/09/45/image_31012025_09_45_46_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/44/image_31012025_09_44_56_10423.jpg
/home/pi/Desktop/images/31012025/09/44/image_31012025_09_45_07_10332.jpg
/home/pi/Desktop/images/31012025/09/45/image_31012025_09_45_16_9328.jpg
/home/pi/Desktop/images/31012025/09/45/image_31012025_09_45_27_10360.jpg
/home/pi/Desktop/images/31012025/09/45/image_31012025_09_45_36_9395.jpg
/home/pi/Desktop/images/31012025/09/45/image_31012025_09_45_46_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":["1333265050","1333265044","1333265038","1333265047","1333265032","1333265025"],"photo_ids_order":["1333265025","1333265032","1333265038","1333265044","1333265047","1333265050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e37c650b914cd6d0da2d21e291f7e3d8.jpg","text":"TemporaryFile(/tmp/multipartBody5925615143273197835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313193333,"filename":"image_31012025_09_45_46_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e1e0f0130bcf0eff0e7a9a90017e8fa4.jpg","text":"TemporaryFile(/tmp/multipartBody3376429638510229057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313193333,"filename":"image_31012025_09_45_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/1/31/f28a7aada8b23fb7ca9aec52ddcb2e52.jpg","text":"TemporaryFile(/tmp/multipartBody3366041759414904423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313193333,"filename":"image_31012025_09_45_16_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dea95e27d4ebe1274052738ece257d01.jpg","text":"TemporaryFile(/tmp/multipartBody3829375428454980542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313193333,"filename":"image_31012025_09_45_36_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/32ac2752e0508a8e74eea1bcc0c2c4b5.jpg","text":"TemporaryFile(/tmp/multipartBody5745568376471002454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313193333,"filename":"image_31012025_09_45_07_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a5b96ca7e90bd062f93c070ba62a055d.jpg","text":"TemporaryFile(/tmp/multipartBody611076818466900049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313193333,"filename":"image_31012025_09_44_56_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333265038","file1":"1333265032","file0":"1333265025","file4":"1333265047","file5":"1333265050","file3":"1333265044"},"map_files_photo_id_array":[{"photo_id":"1333265050","filename":"file5"},{"photo_id":"1333265038","filename":"file2"},{"photo_id":"1333265047","filename":"file4"},{"photo_id":"1333265032","filename":"file1"},{"photo_id":"1333265025","filename":"file0"},{"photo_id":"1333265044","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333265050":["hashtag1","hashtag2"]},{"1333265044":["hashtag1","hashtag2"]},{"1333265038":["hashtag1","hashtag2"]},{"1333265047":["hashtag1","hashtag2"]},{"1333265032":["hashtag1","hashtag2"]},{"1333265025":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333265050, 1333265044, 1333265038, 1333265047, 1333265032, 1333265025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98075985908508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:46:32.608316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/45/image_31012025_09_45_57_10488.jpg', '/home/pi/Desktop/images/31012025/09/45/image_31012025_09_46_06_9343.jpg', '/home/pi/Desktop/images/31012025/09/46/image_31012025_09_46_16_10342.jpg', '/home/pi/Desktop/images/31012025/09/46/image_31012025_09_46_27_10345.jpg', '/home/pi/Desktop/images/31012025/09/46/image_31012025_09_46_36_9354.jpg', '/home/pi/Desktop/images/31012025/09/46/image_31012025_09_46_47_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/45/image_31012025_09_45_57_10488.jpg
/home/pi/Desktop/images/31012025/09/45/image_31012025_09_46_06_9343.jpg
/home/pi/Desktop/images/31012025/09/46/image_31012025_09_46_16_10342.jpg
/home/pi/Desktop/images/31012025/09/46/image_31012025_09_46_27_10345.jpg
/home/pi/Desktop/images/31012025/09/46/image_31012025_09_46_36_9354.jpg
/home/pi/Desktop/images/31012025/09/46/image_31012025_09_46_47_10353.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.510977029800415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 09:46:42.582799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/45/image_31012025_09_45_57_10488.jpg', '/home/pi/Desktop/images/31012025/09/45/image_31012025_09_46_06_9343.jpg', '/home/pi/Desktop/images/31012025/09/46/image_31012025_09_46_16_10342.jpg', '/home/pi/Desktop/images/31012025/09/46/image_31012025_09_46_27_10345.jpg', '/home/pi/Desktop/images/31012025/09/46/image_31012025_09_46_36_9354.jpg', '/home/pi/Desktop/images/31012025/09/46/image_31012025_09_46_47_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/45/image_31012025_09_45_57_10488.jpg
/home/pi/Desktop/images/31012025/09/45/image_31012025_09_46_06_9343.jpg
/home/pi/Desktop/images/31012025/09/46/image_31012025_09_46_16_10342.jpg
/home/pi/Desktop/images/31012025/09/46/image_31012025_09_46_27_10345.jpg
/home/pi/Desktop/images/31012025/09/46/image_31012025_09_46_36_9354.jpg
/home/pi/Desktop/images/31012025/09/46/image_31012025_09_46_47_10353.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":["1333265804","1333265728","1333265721","1333265811","1333265808","1333265798"],"photo_ids_order":["1333265721","1333265728","1333265798","1333265804","1333265808","1333265811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e7c469c344d9c0e0ce005324a2f3232e.jpg","text":"TemporaryFile(/tmp/multipartBody3543578859493296695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313263492,"filename":"image_31012025_09_46_27_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dcf4299d14915cf71296ea27eb0aa754.jpg","text":"TemporaryFile(/tmp/multipartBody2860116656225714491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313263492,"filename":"image_31012025_09_46_06_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/952c79296bd8c7f08e4246597c3e810e.jpg","text":"TemporaryFile(/tmp/multipartBody2629371531579704260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313263492,"filename":"image_31012025_09_45_57_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cc9d6ab19ce5875dccfbcd63229baf55.jpg","text":"TemporaryFile(/tmp/multipartBody2494144250861545818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313263492,"filename":"image_31012025_09_46_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/1/31/da97fa7181277381f1247ce4758362d3.jpg","text":"TemporaryFile(/tmp/multipartBody2104779404411560229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313263492,"filename":"image_31012025_09_46_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/1/31/b4e34ac9e908d5f9ef89044a7f1252ea.jpg","text":"TemporaryFile(/tmp/multipartBody7535024205243712024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313263492,"filename":"image_31012025_09_46_16_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333265798","file1":"1333265728","file0":"1333265721","file4":"1333265808","file5":"1333265811","file3":"1333265804"},"map_files_photo_id_array":[{"photo_id":"1333265811","filename":"file5"},{"photo_id":"1333265798","filename":"file2"},{"photo_id":"1333265808","filename":"file4"},{"photo_id":"1333265728","filename":"file1"},{"photo_id":"1333265721","filename":"file0"},{"photo_id":"1333265804","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333265804":["hashtag1","hashtag2"]},{"1333265728":["hashtag1","hashtag2"]},{"1333265721":["hashtag1","hashtag2"]},{"1333265811":["hashtag1","hashtag2"]},{"1333265808":["hashtag1","hashtag2"]},{"1333265798":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333265804, 1333265728, 1333265721, 1333265811, 1333265808, 1333265798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.651631593704224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:47:32.951553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/46/image_31012025_09_46_56_9408.jpg', '/home/pi/Desktop/images/31012025/09/47/image_31012025_09_47_16_9590.jpg', '/home/pi/Desktop/images/31012025/09/47/image_31012025_09_47_26_10370.jpg', '/home/pi/Desktop/images/31012025/09/47/image_31012025_09_47_37_10327.jpg', '/home/pi/Desktop/images/31012025/09/47/image_31012025_09_47_46_9418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/46/image_31012025_09_46_56_9408.jpg
/home/pi/Desktop/images/31012025/09/47/image_31012025_09_47_16_9590.jpg
/home/pi/Desktop/images/31012025/09/47/image_31012025_09_47_26_10370.jpg
/home/pi/Desktop/images/31012025/09/47/image_31012025_09_47_37_10327.jpg
/home/pi/Desktop/images/31012025/09/47/image_31012025_09_47_46_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":["1333265852","1333265846","1333265832","1333265838","1333265855"],"photo_ids_order":["1333265832","1333265838","1333265846","1333265852","1333265855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6b0782fc2a91905d0ca16bb1f88063de.jpg","text":"TemporaryFile(/tmp/multipartBody1919366071383416032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313313837,"filename":"image_31012025_09_47_37_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/79ac7c3b2faa787bd9a84be7076f5932.jpg","text":"TemporaryFile(/tmp/multipartBody5236311850187321666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313313837,"filename":"image_31012025_09_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/1/31/3284250445502513057fb2135bc529a1.jpg","text":"TemporaryFile(/tmp/multipartBody4359676494096328937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313313837,"filename":"image_31012025_09_46_56_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b4d28cbcb7849ad4cc5a43bc4dc569fd.jpg","text":"TemporaryFile(/tmp/multipartBody1695832301334332747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313313837,"filename":"image_31012025_09_47_16_9590.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/711000a954f7f6799f0013127e979bc9.jpg","text":"TemporaryFile(/tmp/multipartBody5043706837492989486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313313837,"filename":"image_31012025_09_47_46_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333265846","file1":"1333265838","file0":"1333265832","file4":"1333265855","file3":"1333265852"},"map_files_photo_id_array":[{"photo_id":"1333265846","filename":"file2"},{"photo_id":"1333265855","filename":"file4"},{"photo_id":"1333265838","filename":"file1"},{"photo_id":"1333265832","filename":"file0"},{"photo_id":"1333265852","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333265852":["hashtag1","hashtag2"]},{"1333265846":["hashtag1","hashtag2"]},{"1333265832":["hashtag1","hashtag2"]},{"1333265838":["hashtag1","hashtag2"]},{"1333265855":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333265852, 1333265846, 1333265832, 1333265838, 1333265855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.873258113861084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:48:33.041129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/47/image_31012025_09_47_56_10352.jpg', '/home/pi/Desktop/images/31012025/09/47/image_31012025_09_48_06_9472.jpg', '/home/pi/Desktop/images/31012025/09/48/image_31012025_09_48_16_10446.jpg', '/home/pi/Desktop/images/31012025/09/48/image_31012025_09_48_27_10491.jpg', '/home/pi/Desktop/images/31012025/09/48/image_31012025_09_48_36_9342.jpg', '/home/pi/Desktop/images/31012025/09/48/image_31012025_09_48_46_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/47/image_31012025_09_47_56_10352.jpg
/home/pi/Desktop/images/31012025/09/47/image_31012025_09_48_06_9472.jpg
/home/pi/Desktop/images/31012025/09/48/image_31012025_09_48_16_10446.jpg
/home/pi/Desktop/images/31012025/09/48/image_31012025_09_48_27_10491.jpg
/home/pi/Desktop/images/31012025/09/48/image_31012025_09_48_36_9342.jpg
/home/pi/Desktop/images/31012025/09/48/image_31012025_09_48_46_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":["1333266147","1333265979","1333266129","1333266158","1333266143","1333266044"],"photo_ids_order":["1333265979","1333266044","1333266129","1333266143","1333266147","1333266158"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/14394437b2f9e1cc6203fb688291b731.jpg","text":"TemporaryFile(/tmp/multipartBody4925094188217998835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313374031,"filename":"image_31012025_09_48_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/1/31/ca0fb7868061931e0a4cc4be8211d3f3.jpg","text":"TemporaryFile(/tmp/multipartBody1623947005198608112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313374031,"filename":"image_31012025_09_47_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/91917abe3d529b33a6dab4253ee476c3.jpg","text":"TemporaryFile(/tmp/multipartBody7226384741197718435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313374031,"filename":"image_31012025_09_48_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/1/31/cc54cbf2281f28ab217d6a8aebd8b8bc.jpg","text":"TemporaryFile(/tmp/multipartBody8873021289253132057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313374031,"filename":"image_31012025_09_48_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/1/31/186274d19eab65cfce421b0cbd192d8e.jpg","text":"TemporaryFile(/tmp/multipartBody2211224217919991917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313374031,"filename":"image_31012025_09_48_27_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0c3ad7d3f1fe854fb143eeff79a748bf.jpg","text":"TemporaryFile(/tmp/multipartBody5856670868601362936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313374031,"filename":"image_31012025_09_48_06_9472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333266129","file1":"1333266044","file0":"1333265979","file4":"1333266147","file5":"1333266158","file3":"1333266143"},"map_files_photo_id_array":[{"photo_id":"1333266158","filename":"file5"},{"photo_id":"1333266129","filename":"file2"},{"photo_id":"1333266147","filename":"file4"},{"photo_id":"1333266044","filename":"file1"},{"photo_id":"1333265979","filename":"file0"},{"photo_id":"1333266143","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333266147":["hashtag1","hashtag2"]},{"1333265979":["hashtag1","hashtag2"]},{"1333266129":["hashtag1","hashtag2"]},{"1333266158":["hashtag1","hashtag2"]},{"1333266143":["hashtag1","hashtag2"]},{"1333266044":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333266147, 1333265979, 1333266129, 1333266158, 1333266143, 1333266044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.458258867263794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:49:32.345833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/48/image_31012025_09_48_56_9424.jpg', '/home/pi/Desktop/images/31012025/09/48/image_31012025_09_49_06_10399.jpg', '/home/pi/Desktop/images/31012025/09/49/image_31012025_09_49_17_10465.jpg', '/home/pi/Desktop/images/31012025/09/49/image_31012025_09_49_26_9399.jpg', '/home/pi/Desktop/images/31012025/09/49/image_31012025_09_49_37_10346.jpg', '/home/pi/Desktop/images/31012025/09/49/image_31012025_09_49_46_9416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/48/image_31012025_09_48_56_9424.jpg
/home/pi/Desktop/images/31012025/09/48/image_31012025_09_49_06_10399.jpg
/home/pi/Desktop/images/31012025/09/49/image_31012025_09_49_17_10465.jpg
/home/pi/Desktop/images/31012025/09/49/image_31012025_09_49_26_9399.jpg
/home/pi/Desktop/images/31012025/09/49/image_31012025_09_49_37_10346.jpg
/home/pi/Desktop/images/31012025/09/49/image_31012025_09_49_46_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":["1333266331","1333266325","1333266318","1333266306","1333266266","1333266335"],"photo_ids_order":["1333266266","1333266306","1333266318","1333266325","1333266331","1333266335"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/60954af75a7a9ee1eedc4cae2fc397de.jpg","text":"TemporaryFile(/tmp/multipartBody3078489948369995831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313433268,"filename":"image_31012025_09_49_37_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7eff1ca65712fa8c35329fe3ef7c7aea.jpg","text":"TemporaryFile(/tmp/multipartBody8400946026430223186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313433268,"filename":"image_31012025_09_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/1/31/13c95395c2f93e182d27bdeeb816783e.jpg","text":"TemporaryFile(/tmp/multipartBody8372937307681749220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313433268,"filename":"image_31012025_09_49_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/1/31/4be25f105bd057b712dcb852730a3009.jpg","text":"TemporaryFile(/tmp/multipartBody7110915394973525824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313433268,"filename":"image_31012025_09_49_06_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/eb8d8f2b86ad59214ab753146361694d.jpg","text":"TemporaryFile(/tmp/multipartBody4116101884606687121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313433268,"filename":"image_31012025_09_48_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/1/31/5d708d638a96f6df6c99006ff0c7439c.jpg","text":"TemporaryFile(/tmp/multipartBody3836516131517508189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313433268,"filename":"image_31012025_09_49_46_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333266318","file1":"1333266306","file0":"1333266266","file4":"1333266331","file5":"1333266335","file3":"1333266325"},"map_files_photo_id_array":[{"photo_id":"1333266335","filename":"file5"},{"photo_id":"1333266318","filename":"file2"},{"photo_id":"1333266331","filename":"file4"},{"photo_id":"1333266306","filename":"file1"},{"photo_id":"1333266266","filename":"file0"},{"photo_id":"1333266325","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333266331":["hashtag1","hashtag2"]},{"1333266325":["hashtag1","hashtag2"]},{"1333266318":["hashtag1","hashtag2"]},{"1333266306":["hashtag1","hashtag2"]},{"1333266266":["hashtag1","hashtag2"]},{"1333266335":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333266331, 1333266325, 1333266318, 1333266306, 1333266266, 1333266335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.756675481796265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:50:32.570289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/49/image_31012025_09_49_56_10362.jpg', '/home/pi/Desktop/images/31012025/09/49/image_31012025_09_50_07_10331.jpg', '/home/pi/Desktop/images/31012025/09/50/image_31012025_09_50_16_9345.jpg', '/home/pi/Desktop/images/31012025/09/50/image_31012025_09_50_26_10429.jpg', '/home/pi/Desktop/images/31012025/09/50/image_31012025_09_50_46_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/49/image_31012025_09_49_56_10362.jpg
/home/pi/Desktop/images/31012025/09/49/image_31012025_09_50_07_10331.jpg
/home/pi/Desktop/images/31012025/09/50/image_31012025_09_50_16_9345.jpg
/home/pi/Desktop/images/31012025/09/50/image_31012025_09_50_26_10429.jpg
/home/pi/Desktop/images/31012025/09/50/image_31012025_09_50_46_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":["1333266601","1333266555","1333266477","1333266525","1333266510"],"photo_ids_order":["1333266477","1333266510","1333266525","1333266555","1333266601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4225185571a25c10af8eed67bcaed5e5.jpg","text":"TemporaryFile(/tmp/multipartBody4901832628420676538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313493485,"filename":"image_31012025_09_50_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/1/31/1c6d0759d6097c34e2e76a8494b361bd.jpg","text":"TemporaryFile(/tmp/multipartBody8133736840995859018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313493485,"filename":"image_31012025_09_50_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/1/31/8425bb6129a91568ab2b9d04b33bd92e.jpg","text":"TemporaryFile(/tmp/multipartBody5882593583372942487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313493485,"filename":"image_31012025_09_49_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/1/31/3078358707ae36f15d09e4ebe64ff9b4.jpg","text":"TemporaryFile(/tmp/multipartBody2188023960260718263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313493485,"filename":"image_31012025_09_50_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/1/31/4865db870f4057819bc554428a0dad4a.jpg","text":"TemporaryFile(/tmp/multipartBody3488435361157093655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313493485,"filename":"image_31012025_09_50_07_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333266525","file1":"1333266510","file0":"1333266477","file4":"1333266601","file3":"1333266555"},"map_files_photo_id_array":[{"photo_id":"1333266525","filename":"file2"},{"photo_id":"1333266601","filename":"file4"},{"photo_id":"1333266510","filename":"file1"},{"photo_id":"1333266477","filename":"file0"},{"photo_id":"1333266555","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333266601":["hashtag1","hashtag2"]},{"1333266555":["hashtag1","hashtag2"]},{"1333266477":["hashtag1","hashtag2"]},{"1333266525":["hashtag1","hashtag2"]},{"1333266510":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333266601, 1333266555, 1333266477, 1333266525, 1333266510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.132211446762085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:51:32.910208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/50/image_31012025_09_50_57_10481.jpg', '/home/pi/Desktop/images/31012025/09/50/image_31012025_09_51_06_9338.jpg', '/home/pi/Desktop/images/31012025/09/51/image_31012025_09_51_16_10343.jpg', '/home/pi/Desktop/images/31012025/09/51/image_31012025_09_51_26_9387.jpg', '/home/pi/Desktop/images/31012025/09/51/image_31012025_09_51_36_10365.jpg', '/home/pi/Desktop/images/31012025/09/51/image_31012025_09_51_47_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/50/image_31012025_09_50_57_10481.jpg
/home/pi/Desktop/images/31012025/09/50/image_31012025_09_51_06_9338.jpg
/home/pi/Desktop/images/31012025/09/51/image_31012025_09_51_16_10343.jpg
/home/pi/Desktop/images/31012025/09/51/image_31012025_09_51_26_9387.jpg
/home/pi/Desktop/images/31012025/09/51/image_31012025_09_51_36_10365.jpg
/home/pi/Desktop/images/31012025/09/51/image_31012025_09_51_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":["1333266713","1333266672","1333266651","1333266645","1333266659","1333266731"],"photo_ids_order":["1333266645","1333266651","1333266659","1333266672","1333266713","1333266731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5ba64603d5502e4acd81cf3e7981fbb4.jpg","text":"TemporaryFile(/tmp/multipartBody7981470320501468018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313553829,"filename":"image_31012025_09_51_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/1/31/d8f41345afdc573ad2304bb5b0f74906.jpg","text":"TemporaryFile(/tmp/multipartBody6105791190404892428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313553829,"filename":"image_31012025_09_51_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/1/31/1e49b3b083147904240dfd0ec94dec2d.jpg","text":"TemporaryFile(/tmp/multipartBody6814057506392737787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313553829,"filename":"image_31012025_09_51_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/1/31/7f36dbab6e53e8a17ea339a2420219e5.jpg","text":"TemporaryFile(/tmp/multipartBody6608701468153599917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313553829,"filename":"image_31012025_09_50_57_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/719596e7292acfac40c7355937efcb39.jpg","text":"TemporaryFile(/tmp/multipartBody123835130700662988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313553829,"filename":"image_31012025_09_51_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/1/31/90de89e9d3f0eda84fe629746b6863dd.jpg","text":"TemporaryFile(/tmp/multipartBody4401667570325603851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313553829,"filename":"image_31012025_09_51_47_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333266659","file1":"1333266651","file0":"1333266645","file4":"1333266713","file5":"1333266731","file3":"1333266672"},"map_files_photo_id_array":[{"photo_id":"1333266731","filename":"file5"},{"photo_id":"1333266659","filename":"file2"},{"photo_id":"1333266713","filename":"file4"},{"photo_id":"1333266651","filename":"file1"},{"photo_id":"1333266645","filename":"file0"},{"photo_id":"1333266672","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333266713":["hashtag1","hashtag2"]},{"1333266672":["hashtag1","hashtag2"]},{"1333266651":["hashtag1","hashtag2"]},{"1333266645":["hashtag1","hashtag2"]},{"1333266659":["hashtag1","hashtag2"]},{"1333266731":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333266713, 1333266672, 1333266651, 1333266645, 1333266659, 1333266731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.74943685531616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:52:32.965080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/51/image_31012025_09_51_56_9444.jpg', '/home/pi/Desktop/images/31012025/09/51/image_31012025_09_52_06_10439.jpg', '/home/pi/Desktop/images/31012025/09/52/image_31012025_09_52_17_10343.jpg', '/home/pi/Desktop/images/31012025/09/52/image_31012025_09_52_26_9329.jpg', '/home/pi/Desktop/images/31012025/09/52/image_31012025_09_52_37_10363.jpg', '/home/pi/Desktop/images/31012025/09/52/image_31012025_09_52_46_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/51/image_31012025_09_51_56_9444.jpg
/home/pi/Desktop/images/31012025/09/51/image_31012025_09_52_06_10439.jpg
/home/pi/Desktop/images/31012025/09/52/image_31012025_09_52_17_10343.jpg
/home/pi/Desktop/images/31012025/09/52/image_31012025_09_52_26_9329.jpg
/home/pi/Desktop/images/31012025/09/52/image_31012025_09_52_37_10363.jpg
/home/pi/Desktop/images/31012025/09/52/image_31012025_09_52_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":["1333266988","1333266993","1333266945","1333266983","1333266956","1333267106"],"photo_ids_order":["1333266945","1333266956","1333266983","1333266988","1333266993","1333267106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fcba98991effb0057b0881e93da77201.jpg","text":"TemporaryFile(/tmp/multipartBody3035529869366867837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313613891,"filename":"image_31012025_09_52_26_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3f7641de34d7d4dee0c7060557ec2286.jpg","text":"TemporaryFile(/tmp/multipartBody3267195947405550586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313613891,"filename":"image_31012025_09_52_37_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7d63a077ff59eb1293dab3fcae7a6905.jpg","text":"TemporaryFile(/tmp/multipartBody1695457495286128139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313613891,"filename":"image_31012025_09_51_56_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9f12afba563b955d964888b291bf88fa.jpg","text":"TemporaryFile(/tmp/multipartBody7007372289982669039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313613891,"filename":"image_31012025_09_52_17_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3a35e5d0782864199c90ca062afd7cdf.jpg","text":"TemporaryFile(/tmp/multipartBody8714299284646325032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313613891,"filename":"image_31012025_09_52_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/1/31/2f9bb736233410bc1bff093b44158ec4.jpg","text":"TemporaryFile(/tmp/multipartBody2438993411651403630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313613891,"filename":"image_31012025_09_52_46_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333266983","file1":"1333266956","file0":"1333266945","file4":"1333266993","file5":"1333267106","file3":"1333266988"},"map_files_photo_id_array":[{"photo_id":"1333267106","filename":"file5"},{"photo_id":"1333266983","filename":"file2"},{"photo_id":"1333266993","filename":"file4"},{"photo_id":"1333266956","filename":"file1"},{"photo_id":"1333266945","filename":"file0"},{"photo_id":"1333266988","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333266988":["hashtag1","hashtag2"]},{"1333266993":["hashtag1","hashtag2"]},{"1333266945":["hashtag1","hashtag2"]},{"1333266983":["hashtag1","hashtag2"]},{"1333266956":["hashtag1","hashtag2"]},{"1333267106":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333266988, 1333266993, 1333266945, 1333266983, 1333266956, 1333267106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.75213027000427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:53:32.288586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/52/image_31012025_09_52_56_10369.jpg', '/home/pi/Desktop/images/31012025/09/52/image_31012025_09_53_07_10351.jpg', '/home/pi/Desktop/images/31012025/09/53/image_31012025_09_53_16_9348.jpg', '/home/pi/Desktop/images/31012025/09/53/image_31012025_09_53_26_10367.jpg', '/home/pi/Desktop/images/31012025/09/53/image_31012025_09_53_37_10466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/52/image_31012025_09_52_56_10369.jpg
/home/pi/Desktop/images/31012025/09/52/image_31012025_09_53_07_10351.jpg
/home/pi/Desktop/images/31012025/09/53/image_31012025_09_53_16_9348.jpg
/home/pi/Desktop/images/31012025/09/53/image_31012025_09_53_26_10367.jpg
/home/pi/Desktop/images/31012025/09/53/image_31012025_09_53_37_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":["1333267242","1333267218","1333267232","1333267226","1333267235"],"photo_ids_order":["1333267218","1333267226","1333267232","1333267235","1333267242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c779aefe68a20c22b9203780f5293a6c.jpg","text":"TemporaryFile(/tmp/multipartBody5998269996094782347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313673193,"filename":"image_31012025_09_53_37_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3be9ae5ad366ff57db5820a6a7e08d71.jpg","text":"TemporaryFile(/tmp/multipartBody8949241697984258766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313673193,"filename":"image_31012025_09_52_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/1/31/e5ea3b9385fa90e3655549429d3abe8a.jpg","text":"TemporaryFile(/tmp/multipartBody6765259257340186236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313673193,"filename":"image_31012025_09_53_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/1/31/2bdb989f095015a60017586378d68a7a.jpg","text":"TemporaryFile(/tmp/multipartBody275788588289117101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313673193,"filename":"image_31012025_09_53_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/1/31/add20d51d2fea3db843fc6f867d8c269.jpg","text":"TemporaryFile(/tmp/multipartBody1507965233958117206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313673193,"filename":"image_31012025_09_53_26_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333267232","file1":"1333267226","file0":"1333267218","file4":"1333267242","file3":"1333267235"},"map_files_photo_id_array":[{"photo_id":"1333267232","filename":"file2"},{"photo_id":"1333267242","filename":"file4"},{"photo_id":"1333267226","filename":"file1"},{"photo_id":"1333267218","filename":"file0"},{"photo_id":"1333267235","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333267242":["hashtag1","hashtag2"]},{"1333267218":["hashtag1","hashtag2"]},{"1333267232":["hashtag1","hashtag2"]},{"1333267226":["hashtag1","hashtag2"]},{"1333267235":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333267242, 1333267218, 1333267232, 1333267226, 1333267235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.838486433029175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:54:32.584399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/53/image_31012025_09_53_46_9364.jpg', '/home/pi/Desktop/images/31012025/09/53/image_31012025_09_54_06_9341.jpg', '/home/pi/Desktop/images/31012025/09/54/image_31012025_09_54_16_10352.jpg', '/home/pi/Desktop/images/31012025/09/54/image_31012025_09_54_27_10445.jpg', '/home/pi/Desktop/images/31012025/09/54/image_31012025_09_54_36_9349.jpg', '/home/pi/Desktop/images/31012025/09/54/image_31012025_09_54_46_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/53/image_31012025_09_53_46_9364.jpg
/home/pi/Desktop/images/31012025/09/53/image_31012025_09_54_06_9341.jpg
/home/pi/Desktop/images/31012025/09/54/image_31012025_09_54_16_10352.jpg
/home/pi/Desktop/images/31012025/09/54/image_31012025_09_54_27_10445.jpg
/home/pi/Desktop/images/31012025/09/54/image_31012025_09_54_36_9349.jpg
/home/pi/Desktop/images/31012025/09/54/image_31012025_09_54_46_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":["1333267279","1333267289","1333267310","1333267313","1333267307","1333267304"],"photo_ids_order":["1333267279","1333267289","1333267304","1333267307","1333267310","1333267313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/475b60871eb3a2a3670f67b436daa5db.jpg","text":"TemporaryFile(/tmp/multipartBody5921707544554997951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313733503,"filename":"image_31012025_09_53_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/1/31/4a1042ceb8792bfd68c10ec4e50e2597.jpg","text":"TemporaryFile(/tmp/multipartBody4281337858524279889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313733503,"filename":"image_31012025_09_54_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/1/31/098428e4d6c866b91edfc062eb2bcbc3.jpg","text":"TemporaryFile(/tmp/multipartBody6610875199846512792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313733503,"filename":"image_31012025_09_54_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/1/31/92cc85fabba29df49102e21fbb68a4df.jpg","text":"TemporaryFile(/tmp/multipartBody8186983904614967911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313733503,"filename":"image_31012025_09_54_46_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f694936d71a6dd7b1f939e8ab2e181c5.jpg","text":"TemporaryFile(/tmp/multipartBody5038107946222917041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313733503,"filename":"image_31012025_09_54_27_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ef61d535fade44530ce4d6f2db7712d5.jpg","text":"TemporaryFile(/tmp/multipartBody6591060313757306546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313733503,"filename":"image_31012025_09_54_16_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333267304","file1":"1333267289","file0":"1333267279","file4":"1333267310","file5":"1333267313","file3":"1333267307"},"map_files_photo_id_array":[{"photo_id":"1333267313","filename":"file5"},{"photo_id":"1333267304","filename":"file2"},{"photo_id":"1333267310","filename":"file4"},{"photo_id":"1333267289","filename":"file1"},{"photo_id":"1333267279","filename":"file0"},{"photo_id":"1333267307","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333267279":["hashtag1","hashtag2"]},{"1333267289":["hashtag1","hashtag2"]},{"1333267310":["hashtag1","hashtag2"]},{"1333267313":["hashtag1","hashtag2"]},{"1333267307":["hashtag1","hashtag2"]},{"1333267304":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333267279, 1333267289, 1333267310, 1333267313, 1333267307, 1333267304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.25835180282593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:55:32.826502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/54/image_31012025_09_54_56_9436.jpg', '/home/pi/Desktop/images/31012025/09/54/image_31012025_09_55_06_10356.jpg', '/home/pi/Desktop/images/31012025/09/55/image_31012025_09_55_17_10430.jpg', '/home/pi/Desktop/images/31012025/09/55/image_31012025_09_55_26_9336.jpg', '/home/pi/Desktop/images/31012025/09/55/image_31012025_09_55_36_10439.jpg', '/home/pi/Desktop/images/31012025/09/55/image_31012025_09_55_47_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/54/image_31012025_09_54_56_9436.jpg
/home/pi/Desktop/images/31012025/09/54/image_31012025_09_55_06_10356.jpg
/home/pi/Desktop/images/31012025/09/55/image_31012025_09_55_17_10430.jpg
/home/pi/Desktop/images/31012025/09/55/image_31012025_09_55_26_9336.jpg
/home/pi/Desktop/images/31012025/09/55/image_31012025_09_55_36_10439.jpg
/home/pi/Desktop/images/31012025/09/55/image_31012025_09_55_47_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":["1333267462","1333267456","1333267467","1333267472","1333267481","1333267477"],"photo_ids_order":["1333267456","1333267462","1333267467","1333267472","1333267477","1333267481"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e14527d00a3f00f13361242cfcacc9cd.jpg","text":"TemporaryFile(/tmp/multipartBody7591573061953362452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313793734,"filename":"image_31012025_09_55_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/1/31/4930c5017a0464ea936e2730f99fc4dc.jpg","text":"TemporaryFile(/tmp/multipartBody4159993611072516643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313793734,"filename":"image_31012025_09_54_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/1/31/8a7e873f69e62c72b469b738302ddaf7.jpg","text":"TemporaryFile(/tmp/multipartBody3235222388045751291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313793734,"filename":"image_31012025_09_55_17_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c3fb203e51ab0bb906baae6ae450bf3b.jpg","text":"TemporaryFile(/tmp/multipartBody8451140089772329605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313793734,"filename":"image_31012025_09_55_26_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2618ac52ef31c82e0435ae1af08b16c3.jpg","text":"TemporaryFile(/tmp/multipartBody2685946419329801275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313793734,"filename":"image_31012025_09_55_47_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0c9257f9f315b0af42a6c29c09bcf0f6.jpg","text":"TemporaryFile(/tmp/multipartBody1777355725495242423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313793734,"filename":"image_31012025_09_55_36_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333267467","file1":"1333267462","file0":"1333267456","file4":"1333267477","file5":"1333267481","file3":"1333267472"},"map_files_photo_id_array":[{"photo_id":"1333267481","filename":"file5"},{"photo_id":"1333267467","filename":"file2"},{"photo_id":"1333267477","filename":"file4"},{"photo_id":"1333267462","filename":"file1"},{"photo_id":"1333267456","filename":"file0"},{"photo_id":"1333267472","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333267462":["hashtag1","hashtag2"]},{"1333267456":["hashtag1","hashtag2"]},{"1333267467":["hashtag1","hashtag2"]},{"1333267472":["hashtag1","hashtag2"]},{"1333267481":["hashtag1","hashtag2"]},{"1333267477":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333267462, 1333267456, 1333267467, 1333267472, 1333267481, 1333267477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5536847114563 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:56:33.101645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/55/image_31012025_09_55_56_9333.jpg', '/home/pi/Desktop/images/31012025/09/55/image_31012025_09_56_07_10384.jpg', '/home/pi/Desktop/images/31012025/09/56/image_31012025_09_56_16_9349.jpg', '/home/pi/Desktop/images/31012025/09/56/image_31012025_09_56_26_10375.jpg', '/home/pi/Desktop/images/31012025/09/56/image_31012025_09_56_37_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/55/image_31012025_09_55_56_9333.jpg
/home/pi/Desktop/images/31012025/09/55/image_31012025_09_56_07_10384.jpg
/home/pi/Desktop/images/31012025/09/56/image_31012025_09_56_16_9349.jpg
/home/pi/Desktop/images/31012025/09/56/image_31012025_09_56_26_10375.jpg
/home/pi/Desktop/images/31012025/09/56/image_31012025_09_56_37_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":["1333267828","1333267766","1333267826","1333267693","1333267795"],"photo_ids_order":["1333267693","1333267766","1333267795","1333267826","1333267828"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0172d0bc9d16ac78c28a8c15d22a5e1d.jpg","text":"TemporaryFile(/tmp/multipartBody2215933920031004088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313854008,"filename":"image_31012025_09_56_37_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e1b96712b029d3ed9bed23ad68333b46.jpg","text":"TemporaryFile(/tmp/multipartBody1710897934668667851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313854008,"filename":"image_31012025_09_56_07_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/58e009ee38f97f6d0b72f25f5d0ed652.jpg","text":"TemporaryFile(/tmp/multipartBody5260212866012096257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313854008,"filename":"image_31012025_09_56_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/1/31/3a060e3872eb91f95b74a68719ac3890.jpg","text":"TemporaryFile(/tmp/multipartBody7583844557729258347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313854008,"filename":"image_31012025_09_55_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/1/31/f665183da1615add82d3e58c23a0a348.jpg","text":"TemporaryFile(/tmp/multipartBody437976649291465395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738313854008,"filename":"image_31012025_09_56_16_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333267795","file1":"1333267766","file0":"1333267693","file4":"1333267828","file3":"1333267826"},"map_files_photo_id_array":[{"photo_id":"1333267795","filename":"file2"},{"photo_id":"1333267828","filename":"file4"},{"photo_id":"1333267766","filename":"file1"},{"photo_id":"1333267693","filename":"file0"},{"photo_id":"1333267826","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333267828":["hashtag1","hashtag2"]},{"1333267766":["hashtag1","hashtag2"]},{"1333267826":["hashtag1","hashtag2"]},{"1333267693":["hashtag1","hashtag2"]},{"1333267795":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333267828, 1333267766, 1333267826, 1333267693, 1333267795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.71752333641052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:57:32.324808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/56/image_31012025_09_56_56_10341.jpg', '/home/pi/Desktop/images/31012025/09/57/image_31012025_09_57_16_10350.jpg', '/home/pi/Desktop/images/31012025/09/57/image_31012025_09_57_27_10355.jpg', '/home/pi/Desktop/images/31012025/09/57/image_31012025_09_57_36_9438.jpg', '/home/pi/Desktop/images/31012025/09/57/image_31012025_09_57_46_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/56/image_31012025_09_56_56_10341.jpg
/home/pi/Desktop/images/31012025/09/57/image_31012025_09_57_16_10350.jpg
/home/pi/Desktop/images/31012025/09/57/image_31012025_09_57_27_10355.jpg
/home/pi/Desktop/images/31012025/09/57/image_31012025_09_57_36_9438.jpg
/home/pi/Desktop/images/31012025/09/57/image_31012025_09_57_46_10354.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 www.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-01-31 09:59:04.001598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/56/image_31012025_09_56_56_10341.jpg', '/home/pi/Desktop/images/31012025/09/57/image_31012025_09_57_16_10350.jpg', '/home/pi/Desktop/images/31012025/09/57/image_31012025_09_57_27_10355.jpg', '/home/pi/Desktop/images/31012025/09/57/image_31012025_09_57_36_9438.jpg', '/home/pi/Desktop/images/31012025/09/57/image_31012025_09_57_46_10354.jpg', '/home/pi/Desktop/images/31012025/09/57/image_31012025_09_57_57_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/56/image_31012025_09_56_56_10341.jpg
/home/pi/Desktop/images/31012025/09/57/image_31012025_09_57_16_10350.jpg
/home/pi/Desktop/images/31012025/09/57/image_31012025_09_57_27_10355.jpg
/home/pi/Desktop/images/31012025/09/57/image_31012025_09_57_36_9438.jpg
/home/pi/Desktop/images/31012025/09/57/image_31012025_09_57_46_10354.jpg
/home/pi/Desktop/images/31012025/09/57/image_31012025_09_57_57_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":["1333268146","1333268150","1333268132","1333268126","1333268140","1333268164"],"photo_ids_order":["1333268126","1333268132","1333268140","1333268146","1333268150","1333268164"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/21d6c85cf74168d2b34558ed4c238206.jpg","text":"TemporaryFile(/tmp/multipartBody1545231950329290783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314004981,"filename":"image_31012025_09_57_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/1/31/511e7b9820a97d155bd30c542d9e6f68.jpg","text":"TemporaryFile(/tmp/multipartBody2832022521924557992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314004981,"filename":"image_31012025_09_57_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/1/31/b6271d2c35bb09d6c82b13de8632c914.jpg","text":"TemporaryFile(/tmp/multipartBody1679429515496883316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314004981,"filename":"image_31012025_09_57_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/1/31/037992e8a4bfcb1ce762a149351fd273.jpg","text":"TemporaryFile(/tmp/multipartBody6097825890598853905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314004981,"filename":"image_31012025_09_56_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/1/31/c00408c2e1a97fa90c31330f7821f676.jpg","text":"TemporaryFile(/tmp/multipartBody6439656238618363268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314004981,"filename":"image_31012025_09_57_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/1/31/560a82ca02a10035cef02a7a1748ee86.jpg","text":"TemporaryFile(/tmp/multipartBody4813773592211705349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314004981,"filename":"image_31012025_09_57_57_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333268140","file1":"1333268132","file0":"1333268126","file4":"1333268150","file5":"1333268164","file3":"1333268146"},"map_files_photo_id_array":[{"photo_id":"1333268164","filename":"file5"},{"photo_id":"1333268140","filename":"file2"},{"photo_id":"1333268150","filename":"file4"},{"photo_id":"1333268132","filename":"file1"},{"photo_id":"1333268126","filename":"file0"},{"photo_id":"1333268146","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333268146":["hashtag1","hashtag2"]},{"1333268150":["hashtag1","hashtag2"]},{"1333268132":["hashtag1","hashtag2"]},{"1333268126":["hashtag1","hashtag2"]},{"1333268140":["hashtag1","hashtag2"]},{"1333268164":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333268146, 1333268150, 1333268132, 1333268126, 1333268140, 1333268164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.441730260849 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 09:59:52.945811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/57/image_31012025_09_58_06_9324.jpg', '/home/pi/Desktop/images/31012025/09/58/image_31012025_09_58_16_10355.jpg', '/home/pi/Desktop/images/31012025/09/58/image_31012025_09_58_26_9464.jpg', '/home/pi/Desktop/images/31012025/09/58/image_31012025_09_58_36_10343.jpg', '/home/pi/Desktop/images/31012025/09/58/image_31012025_09_58_47_10363.jpg', '/home/pi/Desktop/images/31012025/09/58/image_31012025_09_58_56_9407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/57/image_31012025_09_58_06_9324.jpg
/home/pi/Desktop/images/31012025/09/58/image_31012025_09_58_16_10355.jpg
/home/pi/Desktop/images/31012025/09/58/image_31012025_09_58_26_9464.jpg
/home/pi/Desktop/images/31012025/09/58/image_31012025_09_58_36_10343.jpg
/home/pi/Desktop/images/31012025/09/58/image_31012025_09_58_47_10363.jpg
/home/pi/Desktop/images/31012025/09/58/image_31012025_09_58_56_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":["1333268192","1333268186","1333268198","1333268177","1333268179","1333268182"],"photo_ids_order":["1333268177","1333268179","1333268182","1333268186","1333268192","1333268198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7ebd1d7e1cca779346fad9df66652b7b.jpg","text":"TemporaryFile(/tmp/multipartBody5822444292632245836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314053864,"filename":"image_31012025_09_58_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/1/31/3ad511f1bcc221026130895f68d44ac3.jpg","text":"TemporaryFile(/tmp/multipartBody3834741190852399935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314053864,"filename":"image_31012025_09_58_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/1/31/14eb47cd5cef35fcecb6cd4af572b979.jpg","text":"TemporaryFile(/tmp/multipartBody4751098883315797335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314053864,"filename":"image_31012025_09_58_56_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8bb783d30f2a30a1ca2a1de26bc2e3c4.jpg","text":"TemporaryFile(/tmp/multipartBody5139206121345930821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314053864,"filename":"image_31012025_09_58_06_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/54aaa71cceb0466c41c670cb7476b765.jpg","text":"TemporaryFile(/tmp/multipartBody1094440538177746086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314053864,"filename":"image_31012025_09_58_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/1/31/ee1e3ee4afb0c896ddce70ddc12dd608.jpg","text":"TemporaryFile(/tmp/multipartBody5057335276090670711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314053864,"filename":"image_31012025_09_58_26_9464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333268182","file1":"1333268179","file0":"1333268177","file4":"1333268192","file5":"1333268198","file3":"1333268186"},"map_files_photo_id_array":[{"photo_id":"1333268198","filename":"file5"},{"photo_id":"1333268182","filename":"file2"},{"photo_id":"1333268192","filename":"file4"},{"photo_id":"1333268179","filename":"file1"},{"photo_id":"1333268177","filename":"file0"},{"photo_id":"1333268186","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333268192":["hashtag1","hashtag2"]},{"1333268186":["hashtag1","hashtag2"]},{"1333268198":["hashtag1","hashtag2"]},{"1333268177":["hashtag1","hashtag2"]},{"1333268179":["hashtag1","hashtag2"]},{"1333268182":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333268192, 1333268186, 1333268198, 1333268177, 1333268179, 1333268182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.18554735183716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 10:00:43.152896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/58/image_31012025_09_59_06_10351.jpg', '/home/pi/Desktop/images/31012025/09/59/image_31012025_09_59_16_9466.jpg', '/home/pi/Desktop/images/31012025/09/59/image_31012025_09_59_26_10363.jpg', '/home/pi/Desktop/images/31012025/09/59/image_31012025_09_59_37_10399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/58/image_31012025_09_59_06_10351.jpg
/home/pi/Desktop/images/31012025/09/59/image_31012025_09_59_16_9466.jpg
/home/pi/Desktop/images/31012025/09/59/image_31012025_09_59_26_10363.jpg
/home/pi/Desktop/images/31012025/09/59/image_31012025_09_59_37_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":["1333268283","1333268220","1333268234","1333268228"],"photo_ids_order":["1333268220","1333268228","1333268234","1333268283"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/43d3266a1e83ee79488f6dd8de7f7e50.jpg","text":"TemporaryFile(/tmp/multipartBody9131712159615280372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314104169,"filename":"image_31012025_09_59_37_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/810806980c2573593a83d92c2a8d55fa.jpg","text":"TemporaryFile(/tmp/multipartBody9184630897307366158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314104169,"filename":"image_31012025_09_59_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/1/31/7e7bac16dd9f22e69a10ef35e258bc6b.jpg","text":"TemporaryFile(/tmp/multipartBody8074961857642661542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314104169,"filename":"image_31012025_09_59_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/1/31/68ffaf0330b6bc269da33e48e2609242.jpg","text":"TemporaryFile(/tmp/multipartBody6546689919961078305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314104169,"filename":"image_31012025_09_59_16_9466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333268234","file1":"1333268228","file0":"1333268220","file3":"1333268283"},"map_files_photo_id_array":[{"photo_id":"1333268234","filename":"file2"},{"photo_id":"1333268228","filename":"file1"},{"photo_id":"1333268220","filename":"file0"},{"photo_id":"1333268283","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333268283":["hashtag1","hashtag2"]},{"1333268220":["hashtag1","hashtag2"]},{"1333268234":["hashtag1","hashtag2"]},{"1333268228":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333268283, 1333268220, 1333268234, 1333268228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 33.878485679626465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:01:32.435085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/09/59/image_31012025_09_59_46_9430.jpg', '/home/pi/Desktop/images/31012025/10/01/image_31012025_10_01_15_10077.jpg', '/home/pi/Desktop/images/31012025/10/01/image_31012025_10_01_25_10368.jpg', '/home/pi/Desktop/images/31012025/10/01/image_31012025_10_01_36_10345.jpg', '/home/pi/Desktop/images/31012025/10/01/image_31012025_10_01_45_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/09/59/image_31012025_09_59_46_9430.jpg
/home/pi/Desktop/images/31012025/10/01/image_31012025_10_01_15_10077.jpg
/home/pi/Desktop/images/31012025/10/01/image_31012025_10_01_25_10368.jpg
/home/pi/Desktop/images/31012025/10/01/image_31012025_10_01_36_10345.jpg
/home/pi/Desktop/images/31012025/10/01/image_31012025_10_01_45_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":["1333268460","1333268516","1333268569","1333268497","1333268473"],"photo_ids_order":["1333268460","1333268473","1333268497","1333268516","1333268569"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c7b75e2ea47e850b2832b6da270c4a6a.jpg","text":"TemporaryFile(/tmp/multipartBody1914865693726216052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314153328,"filename":"image_31012025_09_59_46_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b7b6325093ba17f527ad20518d9fc914.jpg","text":"TemporaryFile(/tmp/multipartBody8603891277824300715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314153328,"filename":"image_31012025_10_01_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/1/31/9e22fbe497538e01b21e9e682c045b8e.jpg","text":"TemporaryFile(/tmp/multipartBody6888745276567904365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314153328,"filename":"image_31012025_10_01_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/1/31/9ebd7994e74531dd6d99c26677a104bf.jpg","text":"TemporaryFile(/tmp/multipartBody2847107880134685132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314153328,"filename":"image_31012025_10_01_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/1/31/1af1fe2e9924dff39b25ee9350426de3.jpg","text":"TemporaryFile(/tmp/multipartBody4950188528254295660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314153328,"filename":"image_31012025_10_01_15_10077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333268497","file1":"1333268473","file0":"1333268460","file4":"1333268569","file3":"1333268516"},"map_files_photo_id_array":[{"photo_id":"1333268497","filename":"file2"},{"photo_id":"1333268569","filename":"file4"},{"photo_id":"1333268473","filename":"file1"},{"photo_id":"1333268460","filename":"file0"},{"photo_id":"1333268516","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333268460":["hashtag1","hashtag2"]},{"1333268516":["hashtag1","hashtag2"]},{"1333268569":["hashtag1","hashtag2"]},{"1333268497":["hashtag1","hashtag2"]},{"1333268473":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333268460, 1333268516, 1333268569, 1333268497, 1333268473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.00642275810242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:02:32.792995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/01/image_31012025_10_01_55_10346.jpg', '/home/pi/Desktop/images/31012025/10/01/image_31012025_10_02_06_10390.jpg', '/home/pi/Desktop/images/31012025/10/02/image_31012025_10_02_15_9477.jpg', '/home/pi/Desktop/images/31012025/10/02/image_31012025_10_02_26_10360.jpg', '/home/pi/Desktop/images/31012025/10/02/image_31012025_10_02_35_9444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/01/image_31012025_10_01_55_10346.jpg
/home/pi/Desktop/images/31012025/10/01/image_31012025_10_02_06_10390.jpg
/home/pi/Desktop/images/31012025/10/02/image_31012025_10_02_15_9477.jpg
/home/pi/Desktop/images/31012025/10/02/image_31012025_10_02_26_10360.jpg
/home/pi/Desktop/images/31012025/10/02/image_31012025_10_02_35_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":["1333268619","1333268610","1333268604","1333268597","1333268615"],"photo_ids_order":["1333268597","1333268604","1333268610","1333268615","1333268619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e127dd2c35147075919a6f4160a8d883.jpg","text":"TemporaryFile(/tmp/multipartBody1401095293229103343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314213700,"filename":"image_31012025_10_02_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/1/31/f21d4faf7edae23a11dd7b830626452d.jpg","text":"TemporaryFile(/tmp/multipartBody6546140539114333078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314213700,"filename":"image_31012025_10_02_15_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/95da036ba7ef07f7e1a4335b45b1981f.jpg","text":"TemporaryFile(/tmp/multipartBody3633382603618978871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314213700,"filename":"image_31012025_10_02_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/1/31/64750824439a4f9688831bb2fc904bb4.jpg","text":"TemporaryFile(/tmp/multipartBody8922155598207509507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314213700,"filename":"image_31012025_10_01_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/1/31/4ac10e69178f6f41a1e8507827db318d.jpg","text":"TemporaryFile(/tmp/multipartBody2792003311604528193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314213700,"filename":"image_31012025_10_02_26_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333268610","file1":"1333268604","file0":"1333268597","file4":"1333268619","file3":"1333268615"},"map_files_photo_id_array":[{"photo_id":"1333268610","filename":"file2"},{"photo_id":"1333268619","filename":"file4"},{"photo_id":"1333268604","filename":"file1"},{"photo_id":"1333268597","filename":"file0"},{"photo_id":"1333268615","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333268619":["hashtag1","hashtag2"]},{"1333268610":["hashtag1","hashtag2"]},{"1333268604":["hashtag1","hashtag2"]},{"1333268597":["hashtag1","hashtag2"]},{"1333268615":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333268619, 1333268610, 1333268604, 1333268597, 1333268615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.97867274284363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:03:33.017101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/02/image_31012025_10_02_56_10417.jpg', '/home/pi/Desktop/images/31012025/10/03/image_31012025_10_03_15_10331.jpg', '/home/pi/Desktop/images/31012025/10/03/image_31012025_10_03_25_9463.jpg', '/home/pi/Desktop/images/31012025/10/03/image_31012025_10_03_35_10361.jpg', '/home/pi/Desktop/images/31012025/10/03/image_31012025_10_03_46_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/02/image_31012025_10_02_56_10417.jpg
/home/pi/Desktop/images/31012025/10/03/image_31012025_10_03_15_10331.jpg
/home/pi/Desktop/images/31012025/10/03/image_31012025_10_03_25_9463.jpg
/home/pi/Desktop/images/31012025/10/03/image_31012025_10_03_35_10361.jpg
/home/pi/Desktop/images/31012025/10/03/image_31012025_10_03_46_10341.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4981832504272461 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 10:03:43.037481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/02/image_31012025_10_02_56_10417.jpg', '/home/pi/Desktop/images/31012025/10/03/image_31012025_10_03_15_10331.jpg', '/home/pi/Desktop/images/31012025/10/03/image_31012025_10_03_25_9463.jpg', '/home/pi/Desktop/images/31012025/10/03/image_31012025_10_03_35_10361.jpg', '/home/pi/Desktop/images/31012025/10/03/image_31012025_10_03_46_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/02/image_31012025_10_02_56_10417.jpg
/home/pi/Desktop/images/31012025/10/03/image_31012025_10_03_15_10331.jpg
/home/pi/Desktop/images/31012025/10/03/image_31012025_10_03_25_9463.jpg
/home/pi/Desktop/images/31012025/10/03/image_31012025_10_03_35_10361.jpg
/home/pi/Desktop/images/31012025/10/03/image_31012025_10_03_46_10341.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":["1333268835","1333268820","1333268825","1333268828","1333268813"],"photo_ids_order":["1333268813","1333268820","1333268825","1333268828","1333268835"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/981babbd8430169397936b6ef0193fab.jpg","text":"TemporaryFile(/tmp/multipartBody5949646545952533998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314283935,"filename":"image_31012025_10_03_46_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5fd9981ac7ab1ac00bab16619e3303d4.jpg","text":"TemporaryFile(/tmp/multipartBody8409540044947508871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314283935,"filename":"image_31012025_10_03_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/1/31/b15be8675b8e63bba0bc1ebb50c78605.jpg","text":"TemporaryFile(/tmp/multipartBody8847478071762895199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314283935,"filename":"image_31012025_10_03_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/1/31/e6fa334090fe60dc249bb10a13d1bd7a.jpg","text":"TemporaryFile(/tmp/multipartBody1467229634560382576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314283935,"filename":"image_31012025_10_03_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/1/31/7f595691033173b08021aa4d779fc62c.jpg","text":"TemporaryFile(/tmp/multipartBody533914814428942012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314283935,"filename":"image_31012025_10_02_56_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333268825","file1":"1333268820","file0":"1333268813","file4":"1333268835","file3":"1333268828"},"map_files_photo_id_array":[{"photo_id":"1333268825","filename":"file2"},{"photo_id":"1333268835","filename":"file4"},{"photo_id":"1333268820","filename":"file1"},{"photo_id":"1333268813","filename":"file0"},{"photo_id":"1333268828","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333268835":["hashtag1","hashtag2"]},{"1333268820":["hashtag1","hashtag2"]},{"1333268825":["hashtag1","hashtag2"]},{"1333268828":["hashtag1","hashtag2"]},{"1333268813":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333268835, 1333268820, 1333268825, 1333268828, 1333268813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.636133670806885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:04:32.307037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/03/image_31012025_10_03_55_9384.jpg', '/home/pi/Desktop/images/31012025/10/03/image_31012025_10_04_05_10330.jpg', '/home/pi/Desktop/images/31012025/10/04/image_31012025_10_04_16_10469.jpg', '/home/pi/Desktop/images/31012025/10/04/image_31012025_10_04_36_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/03/image_31012025_10_03_55_9384.jpg
/home/pi/Desktop/images/31012025/10/03/image_31012025_10_04_05_10330.jpg
/home/pi/Desktop/images/31012025/10/04/image_31012025_10_04_16_10469.jpg
/home/pi/Desktop/images/31012025/10/04/image_31012025_10_04_36_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":["1333268928","1333268915","1333268900","1333268923"],"photo_ids_order":["1333268900","1333268915","1333268923","1333268928"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dbe8f5f339e2df26614b7c3bbb6193cb.jpg","text":"TemporaryFile(/tmp/multipartBody4010906508772585055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314333178,"filename":"image_31012025_10_04_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/1/31/d08ba268da59072bcecc693fe7ce9a05.jpg","text":"TemporaryFile(/tmp/multipartBody5664894551419157224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314333178,"filename":"image_31012025_10_04_05_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/be144d2a0e8a5d4fb8c4f20dbf2310c1.jpg","text":"TemporaryFile(/tmp/multipartBody2308555763561493482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314333178,"filename":"image_31012025_10_03_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/1/31/f8e3bcfaa1f0c019b1628bbc54b5f7cd.jpg","text":"TemporaryFile(/tmp/multipartBody834092597808185280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314333178,"filename":"image_31012025_10_04_16_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333268923","file1":"1333268915","file0":"1333268900","file3":"1333268928"},"map_files_photo_id_array":[{"photo_id":"1333268923","filename":"file2"},{"photo_id":"1333268915","filename":"file1"},{"photo_id":"1333268900","filename":"file0"},{"photo_id":"1333268928","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333268928":["hashtag1","hashtag2"]},{"1333268915":["hashtag1","hashtag2"]},{"1333268900":["hashtag1","hashtag2"]},{"1333268923":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333268928, 1333268915, 1333268900, 1333268923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 36.881845235824585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:05:32.447943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/23/image_28012025_22_23_45_10372.jpg', '/home/pi/Desktop/images/28012025/22/23/image_28012025_22_23_54_9341.jpg', '/home/pi/Desktop/images/28012025/22/24/image_28012025_22_24_14_9328.jpg', '/home/pi/Desktop/images/28012025/22/24/image_28012025_22_24_24_10363.jpg', '/home/pi/Desktop/images/28012025/22/24/image_28012025_22_24_35_10334.jpg', '/home/pi/Desktop/images/28012025/22/24/image_28012025_22_24_44_9389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/23/image_28012025_22_23_45_10372.jpg
/home/pi/Desktop/images/28012025/22/23/image_28012025_22_23_54_9341.jpg
/home/pi/Desktop/images/28012025/22/24/image_28012025_22_24_14_9328.jpg
/home/pi/Desktop/images/28012025/22/24/image_28012025_22_24_24_10363.jpg
/home/pi/Desktop/images/28012025/22/24/image_28012025_22_24_35_10334.jpg
/home/pi/Desktop/images/28012025/22/24/image_28012025_22_24_44_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":["1333268961","1333268970","1333269041","1333269035","1333269046","1333269004"],"photo_ids_order":["1333268961","1333268970","1333269004","1333269035","1333269041","1333269046"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/52fc9c295a5a734a23a128132153ce35.jpg","text":"TemporaryFile(/tmp/multipartBody4210407404589873540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314394770,"filename":"image_28012025_22_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/1/31/1c2793f3e460b7d62f62b47d93ee0bab.jpg","text":"TemporaryFile(/tmp/multipartBody6922437363610931209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314394770,"filename":"image_28012025_22_23_54_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/afa705dfaf65f3618d9a3dab410f9d07.jpg","text":"TemporaryFile(/tmp/multipartBody5801010703297505596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314394770,"filename":"image_28012025_22_24_35_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3e4d87c56f3164f89f47700f88bf1cc7.jpg","text":"TemporaryFile(/tmp/multipartBody1014857732691989983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314394770,"filename":"image_28012025_22_24_24_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a4453bfd7de966fcc0d12423da29278a.jpg","text":"TemporaryFile(/tmp/multipartBody2502607335286307972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314394770,"filename":"image_28012025_22_24_44_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/02f56d63d8422cea84ac4fdb0933613b.jpg","text":"TemporaryFile(/tmp/multipartBody8138958281564560265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314394770,"filename":"image_28012025_22_24_14_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333269004","file1":"1333268970","file0":"1333268961","file4":"1333269041","file5":"1333269046","file3":"1333269035"},"map_files_photo_id_array":[{"photo_id":"1333269046","filename":"file5"},{"photo_id":"1333269004","filename":"file2"},{"photo_id":"1333269041","filename":"file4"},{"photo_id":"1333268970","filename":"file1"},{"photo_id":"1333268961","filename":"file0"},{"photo_id":"1333269035","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333268961":["hashtag1","hashtag2"]},{"1333268970":["hashtag1","hashtag2"]},{"1333269041":["hashtag1","hashtag2"]},{"1333269035":["hashtag1","hashtag2"]},{"1333269046":["hashtag1","hashtag2"]},{"1333269004":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333268961, 1333268970, 1333269041, 1333269035, 1333269046, 1333269004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.05319809913635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:06:32.682837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/04/image_31012025_10_04_45_9413.jpg', '/home/pi/Desktop/images/31012025/10/04/image_31012025_10_05_05_9484.jpg', '/home/pi/Desktop/images/31012025/10/05/image_31012025_10_05_15_10351.jpg', '/home/pi/Desktop/images/31012025/10/05/image_31012025_10_05_26_10364.jpg', '/home/pi/Desktop/images/31012025/10/05/image_31012025_10_05_35_9444.jpg', '/home/pi/Desktop/images/31012025/10/06/image_31012025_10_06_35_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/04/image_31012025_10_04_45_9413.jpg
/home/pi/Desktop/images/31012025/10/04/image_31012025_10_05_05_9484.jpg
/home/pi/Desktop/images/31012025/10/05/image_31012025_10_05_15_10351.jpg
/home/pi/Desktop/images/31012025/10/05/image_31012025_10_05_26_10364.jpg
/home/pi/Desktop/images/31012025/10/05/image_31012025_10_05_35_9444.jpg
/home/pi/Desktop/images/31012025/10/06/image_31012025_10_06_35_9331.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5103805065155029 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 10:06:42.648755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/04/image_31012025_10_04_45_9413.jpg', '/home/pi/Desktop/images/31012025/10/04/image_31012025_10_05_05_9484.jpg', '/home/pi/Desktop/images/31012025/10/05/image_31012025_10_05_15_10351.jpg', '/home/pi/Desktop/images/31012025/10/05/image_31012025_10_05_26_10364.jpg', '/home/pi/Desktop/images/31012025/10/05/image_31012025_10_05_35_9444.jpg', '/home/pi/Desktop/images/31012025/10/06/image_31012025_10_06_35_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/04/image_31012025_10_04_45_9413.jpg
/home/pi/Desktop/images/31012025/10/04/image_31012025_10_05_05_9484.jpg
/home/pi/Desktop/images/31012025/10/05/image_31012025_10_05_15_10351.jpg
/home/pi/Desktop/images/31012025/10/05/image_31012025_10_05_26_10364.jpg
/home/pi/Desktop/images/31012025/10/05/image_31012025_10_05_35_9444.jpg
/home/pi/Desktop/images/31012025/10/06/image_31012025_10_06_35_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":["1333269129","1333269284","1333269392","1333269388","1333269200","1333269384"],"photo_ids_order":["1333269129","1333269200","1333269284","1333269384","1333269388","1333269392"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4aeead146a55fa042063a8b3a2b890e1.jpg","text":"TemporaryFile(/tmp/multipartBody6504944523359316631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314463558,"filename":"image_31012025_10_04_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/1/31/919c922589ffa9672f9d7c21c5c354e9.jpg","text":"TemporaryFile(/tmp/multipartBody1658731956932295158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314463558,"filename":"image_31012025_10_05_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/1/31/a9b10e2f622b300d339ef127b78ddcf4.jpg","text":"TemporaryFile(/tmp/multipartBody5935977720285164750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314463558,"filename":"image_31012025_10_06_35_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/63208bd8559528c94ab22a3d9ed5535f.jpg","text":"TemporaryFile(/tmp/multipartBody4384208032663985850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314463558,"filename":"image_31012025_10_05_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/1/31/0291de4fc5af5b1353575158ec3e7624.jpg","text":"TemporaryFile(/tmp/multipartBody3376694100566782794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314463558,"filename":"image_31012025_10_05_05_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/51a135b789e4fb4a072cc7e32e76f1aa.jpg","text":"TemporaryFile(/tmp/multipartBody4574382609702351586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314463558,"filename":"image_31012025_10_05_26_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333269284","file1":"1333269200","file0":"1333269129","file4":"1333269388","file5":"1333269392","file3":"1333269384"},"map_files_photo_id_array":[{"photo_id":"1333269392","filename":"file5"},{"photo_id":"1333269284","filename":"file2"},{"photo_id":"1333269388","filename":"file4"},{"photo_id":"1333269200","filename":"file1"},{"photo_id":"1333269129","filename":"file0"},{"photo_id":"1333269384","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333269129":["hashtag1","hashtag2"]},{"1333269284":["hashtag1","hashtag2"]},{"1333269392":["hashtag1","hashtag2"]},{"1333269388":["hashtag1","hashtag2"]},{"1333269200":["hashtag1","hashtag2"]},{"1333269384":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333269129, 1333269284, 1333269392, 1333269388, 1333269200, 1333269384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98110318183899 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:07:32.955412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/06/image_31012025_10_06_45_10339.jpg', '/home/pi/Desktop/images/31012025/10/06/image_31012025_10_06_55_9466.jpg', '/home/pi/Desktop/images/31012025/10/07/image_31012025_10_07_16_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/06/image_31012025_10_06_45_10339.jpg
/home/pi/Desktop/images/31012025/10/06/image_31012025_10_06_55_9466.jpg
/home/pi/Desktop/images/31012025/10/07/image_31012025_10_07_16_10344.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":["1333269529","1333269570","1333269564"],"photo_ids_order":["1333269529","1333269564","1333269570"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/094f81646d880d964dcbc2a91c7cbe9e.jpg","text":"TemporaryFile(/tmp/multipartBody4216857854475109511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314513820,"filename":"image_31012025_10_06_45_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/133cbe0926208bee30a8ae5befb65036.jpg","text":"TemporaryFile(/tmp/multipartBody1356457290319020733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314513820,"filename":"image_31012025_10_07_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/1/31/5a4667b82afe7a79544efa8ddc0c6310.jpg","text":"TemporaryFile(/tmp/multipartBody1991568602213102018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314513820,"filename":"image_31012025_10_06_55_9466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333269570","file1":"1333269564","file0":"1333269529"},"map_files_photo_id_array":[{"photo_id":"1333269570","filename":"file2"},{"photo_id":"1333269564","filename":"file1"},{"photo_id":"1333269529","filename":"file0"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333269529":["hashtag1","hashtag2"]},{"1333269570":["hashtag1","hashtag2"]},{"1333269564":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333269529, 1333269570, 1333269564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.32664155960083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 10:08:03.887208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/24/image_28012025_22_24_55_10428.jpg', '/home/pi/Desktop/images/28012025/22/24/image_28012025_22_25_05_10371.jpg', '/home/pi/Desktop/images/28012025/22/25/image_28012025_22_25_14_9407.jpg', '/home/pi/Desktop/images/28012025/22/25/image_28012025_22_25_25_10361.jpg', '/home/pi/Desktop/images/28012025/22/25/image_28012025_22_25_34_9562.jpg', '/home/pi/Desktop/images/28012025/22/25/image_28012025_22_25_45_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/24/image_28012025_22_24_55_10428.jpg
/home/pi/Desktop/images/28012025/22/24/image_28012025_22_25_05_10371.jpg
/home/pi/Desktop/images/28012025/22/25/image_28012025_22_25_14_9407.jpg
/home/pi/Desktop/images/28012025/22/25/image_28012025_22_25_25_10361.jpg
/home/pi/Desktop/images/28012025/22/25/image_28012025_22_25_34_9562.jpg
/home/pi/Desktop/images/28012025/22/25/image_28012025_22_25_45_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":["1333269737","1333269731","1333269719","1333269605","1333269724","1333269703"],"photo_ids_order":["1333269605","1333269703","1333269719","1333269724","1333269731","1333269737"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4909e54c554bd9aea9c14134fd7ed6fe.jpg","text":"TemporaryFile(/tmp/multipartBody3485381311982751483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314545422,"filename":"image_28012025_22_25_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/1/31/7944b5451e2d0d63db1dbc48c7561a47.jpg","text":"TemporaryFile(/tmp/multipartBody8208015418401141349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314545422,"filename":"image_28012025_22_25_34_9562.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d7edf45bbbe99c94db521e448a1adb6b.jpg","text":"TemporaryFile(/tmp/multipartBody391374313646906813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314545422,"filename":"image_28012025_22_25_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/1/31/a643168f39774c56a67905036ccb4fd1.jpg","text":"TemporaryFile(/tmp/multipartBody4368344142584756114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314545422,"filename":"image_28012025_22_24_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/1/31/cd18f50047ffe96d1a332c5ba81fcccb.jpg","text":"TemporaryFile(/tmp/multipartBody7256753370715857723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314545422,"filename":"image_28012025_22_25_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/1/31/5ec0a44137bb317ba6e08b0d7b40ca5f.jpg","text":"TemporaryFile(/tmp/multipartBody6356113602243461302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314545422,"filename":"image_28012025_22_25_05_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333269719","file1":"1333269703","file0":"1333269605","file4":"1333269731","file5":"1333269737","file3":"1333269724"},"map_files_photo_id_array":[{"photo_id":"1333269737","filename":"file5"},{"photo_id":"1333269719","filename":"file2"},{"photo_id":"1333269731","filename":"file4"},{"photo_id":"1333269703","filename":"file1"},{"photo_id":"1333269605","filename":"file0"},{"photo_id":"1333269724","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333269737":["hashtag1","hashtag2"]},{"1333269731":["hashtag1","hashtag2"]},{"1333269719":["hashtag1","hashtag2"]},{"1333269605":["hashtag1","hashtag2"]},{"1333269724":["hashtag1","hashtag2"]},{"1333269703":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333269737, 1333269731, 1333269719, 1333269605, 1333269724, 1333269703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54485058784485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:08:53.132548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/07/image_31012025_10_07_35_10375.jpg', '/home/pi/Desktop/images/31012025/10/08/image_31012025_10_08_15_9408.jpg', '/home/pi/Desktop/images/31012025/10/08/image_31012025_10_08_25_10342.jpg', '/home/pi/Desktop/images/31012025/10/08/image_31012025_10_08_36_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/07/image_31012025_10_07_35_10375.jpg
/home/pi/Desktop/images/31012025/10/08/image_31012025_10_08_15_9408.jpg
/home/pi/Desktop/images/31012025/10/08/image_31012025_10_08_25_10342.jpg
/home/pi/Desktop/images/31012025/10/08/image_31012025_10_08_36_10354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333269771","1333269767","1333269758","1333269763"],"photo_ids_order":["1333269758","1333269763","1333269767","1333269771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f642f27b4c644f00eede90ec05610550.jpg","text":"TemporaryFile(/tmp/multipartBody8988685940785147017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314594019,"filename":"image_31012025_10_08_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/1/31/8812ea55da9c783830555d472b43ac58.jpg","text":"TemporaryFile(/tmp/multipartBody7338165541029224877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314594019,"filename":"image_31012025_10_08_25_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f9e7f06bcb30d671015a004fb19975af.jpg","text":"TemporaryFile(/tmp/multipartBody339699711723647221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314594019,"filename":"image_31012025_10_07_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/1/31/04c40e7264e0f4539b70f66bdc6a233c.jpg","text":"TemporaryFile(/tmp/multipartBody8811818415894879680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314594019,"filename":"image_31012025_10_08_15_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333269767","file1":"1333269763","file0":"1333269758","file3":"1333269771"},"map_files_photo_id_array":[{"photo_id":"1333269767","filename":"file2"},{"photo_id":"1333269763","filename":"file1"},{"photo_id":"1333269758","filename":"file0"},{"photo_id":"1333269771","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333269771":["hashtag1","hashtag2"]},{"1333269767":["hashtag1","hashtag2"]},{"1333269758":["hashtag1","hashtag2"]},{"1333269763":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333269771, 1333269767, 1333269758, 1333269763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.193669319152832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:09:32.344477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/08/image_31012025_10_08_55_10439.jpg', '/home/pi/Desktop/images/31012025/10/09/image_31012025_10_09_15_9329.jpg', '/home/pi/Desktop/images/31012025/10/09/image_31012025_10_09_25_10357.jpg', '/home/pi/Desktop/images/31012025/10/09/image_31012025_10_09_35_9468.jpg', '/home/pi/Desktop/images/31012025/10/09/image_31012025_10_09_45_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/08/image_31012025_10_08_55_10439.jpg
/home/pi/Desktop/images/31012025/10/09/image_31012025_10_09_15_9329.jpg
/home/pi/Desktop/images/31012025/10/09/image_31012025_10_09_25_10357.jpg
/home/pi/Desktop/images/31012025/10/09/image_31012025_10_09_35_9468.jpg
/home/pi/Desktop/images/31012025/10/09/image_31012025_10_09_45_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":["1333269803","1333269812","1333269796","1333269809","1333269789"],"photo_ids_order":["1333269789","1333269796","1333269803","1333269809","1333269812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7bc4efd16c86dc5f4e2d52e273fa9e0f.jpg","text":"TemporaryFile(/tmp/multipartBody3999217840246738653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314633251,"filename":"image_31012025_10_09_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/1/31/4a89145bc9d4d76e6d8cc4b45e2eb5ec.jpg","text":"TemporaryFile(/tmp/multipartBody7218490194067231893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314633251,"filename":"image_31012025_10_09_45_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/689eb1c0dbecf2324cbdb6378ffa5842.jpg","text":"TemporaryFile(/tmp/multipartBody4764643212941780269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314633251,"filename":"image_31012025_10_09_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/1/31/7084e3813c5dd04f3e7e6949d478b2a7.jpg","text":"TemporaryFile(/tmp/multipartBody6268913352710358180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314633251,"filename":"image_31012025_10_09_35_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/94d9221b71f95d9054a19ea37eb7cbb3.jpg","text":"TemporaryFile(/tmp/multipartBody4687415325006879505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314633251,"filename":"image_31012025_10_08_55_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333269803","file1":"1333269796","file0":"1333269789","file4":"1333269812","file3":"1333269809"},"map_files_photo_id_array":[{"photo_id":"1333269803","filename":"file2"},{"photo_id":"1333269812","filename":"file4"},{"photo_id":"1333269796","filename":"file1"},{"photo_id":"1333269789","filename":"file0"},{"photo_id":"1333269809","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333269803":["hashtag1","hashtag2"]},{"1333269812":["hashtag1","hashtag2"]},{"1333269796":["hashtag1","hashtag2"]},{"1333269809":["hashtag1","hashtag2"]},{"1333269789":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333269803, 1333269812, 1333269796, 1333269809, 1333269789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.379416942596436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:10:32.687036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/09/image_31012025_10_09_56_10350.jpg', '/home/pi/Desktop/images/31012025/10/10/image_31012025_10_10_15_10439.jpg', '/home/pi/Desktop/images/31012025/10/10/image_31012025_10_10_25_9462.jpg', '/home/pi/Desktop/images/31012025/10/10/image_31012025_10_10_35_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/09/image_31012025_10_09_56_10350.jpg
/home/pi/Desktop/images/31012025/10/10/image_31012025_10_10_15_10439.jpg
/home/pi/Desktop/images/31012025/10/10/image_31012025_10_10_25_9462.jpg
/home/pi/Desktop/images/31012025/10/10/image_31012025_10_10_35_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":["1333269992","1333269971","1333269944","1333269982"],"photo_ids_order":["1333269944","1333269971","1333269982","1333269992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6021b81b2b95e92731a27f1d0d88336c.jpg","text":"TemporaryFile(/tmp/multipartBody1470397222385289467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314693592,"filename":"image_31012025_10_10_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/1/31/12a68a5e52d609bed8eda7656c551e77.jpg","text":"TemporaryFile(/tmp/multipartBody3972291809872502821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314693592,"filename":"image_31012025_10_10_15_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8a126198aff6b24d62e61a5c7ad894fe.jpg","text":"TemporaryFile(/tmp/multipartBody8577307801388466092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314693592,"filename":"image_31012025_10_09_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/1/31/dfb8096bfde8076a66fec375a2003034.jpg","text":"TemporaryFile(/tmp/multipartBody8825448858882355991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314693592,"filename":"image_31012025_10_10_25_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333269982","file1":"1333269971","file0":"1333269944","file3":"1333269992"},"map_files_photo_id_array":[{"photo_id":"1333269982","filename":"file2"},{"photo_id":"1333269971","filename":"file1"},{"photo_id":"1333269944","filename":"file0"},{"photo_id":"1333269992","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333269992":["hashtag1","hashtag2"]},{"1333269971":["hashtag1","hashtag2"]},{"1333269944":["hashtag1","hashtag2"]},{"1333269982":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333269992, 1333269971, 1333269944, 1333269982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.825144052505493 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:11:32.837946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/10/image_31012025_10_10_46_10361.jpg', '/home/pi/Desktop/images/31012025/10/10/image_31012025_10_11_05_10373.jpg', '/home/pi/Desktop/images/31012025/10/11/image_31012025_10_11_25_9332.jpg', '/home/pi/Desktop/images/31012025/10/11/image_31012025_10_11_35_10340.jpg', '/home/pi/Desktop/images/31012025/10/11/image_31012025_10_11_45_9446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/10/image_31012025_10_10_46_10361.jpg
/home/pi/Desktop/images/31012025/10/10/image_31012025_10_11_05_10373.jpg
/home/pi/Desktop/images/31012025/10/11/image_31012025_10_11_25_9332.jpg
/home/pi/Desktop/images/31012025/10/11/image_31012025_10_11_35_10340.jpg
/home/pi/Desktop/images/31012025/10/11/image_31012025_10_11_45_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":["1333270056","1333270065","1333270047","1333270088","1333270076"],"photo_ids_order":["1333270047","1333270056","1333270065","1333270076","1333270088"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f73caf02a196a962dc5b9a148723720b.jpg","text":"TemporaryFile(/tmp/multipartBody5074420526357504212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314753741,"filename":"image_31012025_10_11_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/1/31/493db206cfda36ec485b64ca7855ff61.jpg","text":"TemporaryFile(/tmp/multipartBody7287276419765935730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314753741,"filename":"image_31012025_10_11_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/1/31/9105f53b52e6864cd6fe32f0bfd34388.jpg","text":"TemporaryFile(/tmp/multipartBody2791686921022331589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314753741,"filename":"image_31012025_10_10_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/1/31/e7c4a4a2d0d00979024bd1d218c4e60c.jpg","text":"TemporaryFile(/tmp/multipartBody4620702330952015485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314753741,"filename":"image_31012025_10_11_45_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4b8c612da9344e15b9b8108265dd2f64.jpg","text":"TemporaryFile(/tmp/multipartBody3201274292261449814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314753741,"filename":"image_31012025_10_11_35_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333270065","file1":"1333270056","file0":"1333270047","file4":"1333270088","file3":"1333270076"},"map_files_photo_id_array":[{"photo_id":"1333270065","filename":"file2"},{"photo_id":"1333270088","filename":"file4"},{"photo_id":"1333270056","filename":"file1"},{"photo_id":"1333270047","filename":"file0"},{"photo_id":"1333270076","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333270056":["hashtag1","hashtag2"]},{"1333270065":["hashtag1","hashtag2"]},{"1333270047":["hashtag1","hashtag2"]},{"1333270088":["hashtag1","hashtag2"]},{"1333270076":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333270056, 1333270065, 1333270047, 1333270088, 1333270076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.03914976119995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:12:33.020029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/11/image_31012025_10_11_55_10346.jpg', '/home/pi/Desktop/images/31012025/10/12/image_31012025_10_12_15_9400.jpg', '/home/pi/Desktop/images/31012025/10/12/image_31012025_10_12_36_10406.jpg', '/home/pi/Desktop/images/31012025/10/12/image_31012025_10_12_45_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/11/image_31012025_10_11_55_10346.jpg
/home/pi/Desktop/images/31012025/10/12/image_31012025_10_12_15_9400.jpg
/home/pi/Desktop/images/31012025/10/12/image_31012025_10_12_36_10406.jpg
/home/pi/Desktop/images/31012025/10/12/image_31012025_10_12_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":["1333270116","1333270124","1333270138","1333270147"],"photo_ids_order":["1333270116","1333270124","1333270138","1333270147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e5116b3a92a3c4a32f25dc65ca050451.jpg","text":"TemporaryFile(/tmp/multipartBody2148426352993297160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314813903,"filename":"image_31012025_10_11_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/1/31/39636823be5158724eb97fee4706af25.jpg","text":"TemporaryFile(/tmp/multipartBody6777296350756695286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314813903,"filename":"image_31012025_10_12_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/1/31/de717e3b3fc86d63c31af2eb4ddc2493.jpg","text":"TemporaryFile(/tmp/multipartBody7765919665278242076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314813903,"filename":"image_31012025_10_12_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/1/31/0c9f5f3c3d56f71bfb81de22cbe7d726.jpg","text":"TemporaryFile(/tmp/multipartBody5803855826621297167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314813903,"filename":"image_31012025_10_12_45_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333270138","file1":"1333270124","file0":"1333270116","file3":"1333270147"},"map_files_photo_id_array":[{"photo_id":"1333270138","filename":"file2"},{"photo_id":"1333270124","filename":"file1"},{"photo_id":"1333270116","filename":"file0"},{"photo_id":"1333270147","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333270116":["hashtag1","hashtag2"]},{"1333270124":["hashtag1","hashtag2"]},{"1333270138":["hashtag1","hashtag2"]},{"1333270147":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333270116, 1333270124, 1333270138, 1333270147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.64368438720703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 10:13:03.823396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/25/image_28012025_22_25_54_9486.jpg', '/home/pi/Desktop/images/28012025/22/25/image_28012025_22_26_04_10355.jpg', '/home/pi/Desktop/images/28012025/22/26/image_28012025_22_26_15_10343.jpg', '/home/pi/Desktop/images/28012025/22/26/image_28012025_22_26_24_9455.jpg', '/home/pi/Desktop/images/28012025/22/26/image_28012025_22_26_35_10355.jpg', '/home/pi/Desktop/images/28012025/22/26/image_28012025_22_26_54_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/25/image_28012025_22_25_54_9486.jpg
/home/pi/Desktop/images/28012025/22/25/image_28012025_22_26_04_10355.jpg
/home/pi/Desktop/images/28012025/22/26/image_28012025_22_26_15_10343.jpg
/home/pi/Desktop/images/28012025/22/26/image_28012025_22_26_24_9455.jpg
/home/pi/Desktop/images/28012025/22/26/image_28012025_22_26_35_10355.jpg
/home/pi/Desktop/images/28012025/22/26/image_28012025_22_26_54_9358.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":["1333270207","1333270216","1333270230","1333270212","1333270223","1333270202"],"photo_ids_order":["1333270202","1333270207","1333270212","1333270216","1333270223","1333270230"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3d3341047291c617165e4b427c307704.jpg","text":"TemporaryFile(/tmp/multipartBody6286478458175346903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314845543,"filename":"image_28012025_22_26_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/1/31/90d5b5c53b11da7a3374084caf731a34.jpg","text":"TemporaryFile(/tmp/multipartBody2709173086009201174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314845543,"filename":"image_28012025_22_26_24_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c1404cb9c44d0493a25f58c377af0690.jpg","text":"TemporaryFile(/tmp/multipartBody3345340696451172467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314845543,"filename":"image_28012025_22_26_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/1/31/5d7f48c735c6c11cad022ea578e110ec.jpg","text":"TemporaryFile(/tmp/multipartBody515783150561994403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314845543,"filename":"image_28012025_22_26_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/1/31/16abfaeb8af9592ee08f1e7d368deec6.jpg","text":"TemporaryFile(/tmp/multipartBody1623651889281578975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314845543,"filename":"image_28012025_22_26_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/1/31/dab9a3c4101d6df10124e33afa4e590c.jpg","text":"TemporaryFile(/tmp/multipartBody2980358365703314690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314845543,"filename":"image_28012025_22_25_54_9486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333270212","file1":"1333270207","file0":"1333270202","file4":"1333270223","file5":"1333270230","file3":"1333270216"},"map_files_photo_id_array":[{"photo_id":"1333270230","filename":"file5"},{"photo_id":"1333270212","filename":"file2"},{"photo_id":"1333270223","filename":"file4"},{"photo_id":"1333270207","filename":"file1"},{"photo_id":"1333270202","filename":"file0"},{"photo_id":"1333270216","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333270207":["hashtag1","hashtag2"]},{"1333270216":["hashtag1","hashtag2"]},{"1333270230":["hashtag1","hashtag2"]},{"1333270212":["hashtag1","hashtag2"]},{"1333270223":["hashtag1","hashtag2"]},{"1333270202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333270207, 1333270216, 1333270230, 1333270212, 1333270223, 1333270202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07910752296448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:13:52.176370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/12/image_31012025_10_12_55_10338.jpg', '/home/pi/Desktop/images/31012025/10/13/image_31012025_10_13_26_10365.jpg', '/home/pi/Desktop/images/31012025/10/13/image_31012025_10_13_35_9352.jpg', '/home/pi/Desktop/images/31012025/10/13/image_31012025_10_13_45_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/12/image_31012025_10_12_55_10338.jpg
/home/pi/Desktop/images/31012025/10/13/image_31012025_10_13_26_10365.jpg
/home/pi/Desktop/images/31012025/10/13/image_31012025_10_13_35_9352.jpg
/home/pi/Desktop/images/31012025/10/13/image_31012025_10_13_45_10411.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.49197864532470703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 10:14:03.047868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/12/image_31012025_10_12_55_10338.jpg', '/home/pi/Desktop/images/31012025/10/13/image_31012025_10_13_26_10365.jpg', '/home/pi/Desktop/images/31012025/10/13/image_31012025_10_13_35_9352.jpg', '/home/pi/Desktop/images/31012025/10/13/image_31012025_10_13_45_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/12/image_31012025_10_12_55_10338.jpg
/home/pi/Desktop/images/31012025/10/13/image_31012025_10_13_26_10365.jpg
/home/pi/Desktop/images/31012025/10/13/image_31012025_10_13_35_9352.jpg
/home/pi/Desktop/images/31012025/10/13/image_31012025_10_13_45_10411.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333270266","1333270260","1333270271","1333270253"],"photo_ids_order":["1333270253","1333270260","1333270266","1333270271"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/680b84fcf6816c02098963337299c6bb.jpg","text":"TemporaryFile(/tmp/multipartBody8790921144451664554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314903961,"filename":"image_31012025_10_13_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/1/31/21771e4574a33f651b47801035298af1.jpg","text":"TemporaryFile(/tmp/multipartBody8604945085111742704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314903961,"filename":"image_31012025_10_13_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/1/31/8f3e8b20e8f4c7085149633b8188931a.jpg","text":"TemporaryFile(/tmp/multipartBody6479186134187997382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314903961,"filename":"image_31012025_10_13_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/1/31/6a136a65e8130f4f21ab52a8b23a7f37.jpg","text":"TemporaryFile(/tmp/multipartBody8139028389303420170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314903961,"filename":"image_31012025_10_12_55_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333270266","file1":"1333270260","file0":"1333270253","file3":"1333270271"},"map_files_photo_id_array":[{"photo_id":"1333270266","filename":"file2"},{"photo_id":"1333270260","filename":"file1"},{"photo_id":"1333270253","filename":"file0"},{"photo_id":"1333270271","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333270266":["hashtag1","hashtag2"]},{"1333270260":["hashtag1","hashtag2"]},{"1333270271":["hashtag1","hashtag2"]},{"1333270253":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333270266, 1333270260, 1333270271, 1333270253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.199388027191162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 10:14:42.478338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/13/image_31012025_10_13_56_10416.jpg', '/home/pi/Desktop/images/31012025/10/14/image_31012025_10_14_16_10331.jpg', '/home/pi/Desktop/images/31012025/10/14/image_31012025_10_14_25_9439.jpg', '/home/pi/Desktop/images/31012025/10/14/image_31012025_10_14_35_10358.jpg', '/home/pi/Desktop/images/31012025/10/14/image_31012025_10_14_46_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/13/image_31012025_10_13_56_10416.jpg
/home/pi/Desktop/images/31012025/10/14/image_31012025_10_14_16_10331.jpg
/home/pi/Desktop/images/31012025/10/14/image_31012025_10_14_25_9439.jpg
/home/pi/Desktop/images/31012025/10/14/image_31012025_10_14_35_10358.jpg
/home/pi/Desktop/images/31012025/10/14/image_31012025_10_14_46_10438.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":["1333270302","1333270337","1333270354","1333270297","1333270351"],"photo_ids_order":["1333270297","1333270302","1333270337","1333270351","1333270354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/df46982fbd0de0a44760945c0b069eca.jpg","text":"TemporaryFile(/tmp/multipartBody3694374384754315933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314943365,"filename":"image_31012025_10_14_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/1/31/0b80558492e5620347c020a7b2ba97ac.jpg","text":"TemporaryFile(/tmp/multipartBody586023201193185960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314943365,"filename":"image_31012025_10_14_25_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7cdc38bd50dd2cfdfe3ce438be20b227.jpg","text":"TemporaryFile(/tmp/multipartBody6772139853767424410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314943365,"filename":"image_31012025_10_14_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/1/31/03895f0a85091054cdbd6623e5779f7c.jpg","text":"TemporaryFile(/tmp/multipartBody2408860275934346715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314943365,"filename":"image_31012025_10_13_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/1/31/e9b180b969d96057b72c8276816cdc22.jpg","text":"TemporaryFile(/tmp/multipartBody1037271313600840610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314943365,"filename":"image_31012025_10_14_35_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333270337","file1":"1333270302","file0":"1333270297","file4":"1333270354","file3":"1333270351"},"map_files_photo_id_array":[{"photo_id":"1333270337","filename":"file2"},{"photo_id":"1333270354","filename":"file4"},{"photo_id":"1333270302","filename":"file1"},{"photo_id":"1333270297","filename":"file0"},{"photo_id":"1333270351","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333270302":["hashtag1","hashtag2"]},{"1333270337":["hashtag1","hashtag2"]},{"1333270354":["hashtag1","hashtag2"]},{"1333270297":["hashtag1","hashtag2"]},{"1333270351":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333270302, 1333270337, 1333270354, 1333270297, 1333270351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.77741861343384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:15:32.762549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/14/image_31012025_10_14_55_9458.jpg', '/home/pi/Desktop/images/31012025/10/14/image_31012025_10_15_06_10352.jpg', '/home/pi/Desktop/images/31012025/10/15/image_31012025_10_15_15_9436.jpg', '/home/pi/Desktop/images/31012025/10/15/image_31012025_10_15_25_10365.jpg', '/home/pi/Desktop/images/31012025/10/15/image_31012025_10_15_36_10384.jpg', '/home/pi/Desktop/images/31012025/10/15/image_31012025_10_15_45_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/14/image_31012025_10_14_55_9458.jpg
/home/pi/Desktop/images/31012025/10/14/image_31012025_10_15_06_10352.jpg
/home/pi/Desktop/images/31012025/10/15/image_31012025_10_15_15_9436.jpg
/home/pi/Desktop/images/31012025/10/15/image_31012025_10_15_25_10365.jpg
/home/pi/Desktop/images/31012025/10/15/image_31012025_10_15_36_10384.jpg
/home/pi/Desktop/images/31012025/10/15/image_31012025_10_15_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":["1333270414","1333270416","1333270382","1333270409","1333270400","1333270390"],"photo_ids_order":["1333270382","1333270390","1333270400","1333270409","1333270414","1333270416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a205e355811a79ab5892d13bac5e0357.jpg","text":"TemporaryFile(/tmp/multipartBody1888623648120542936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314993689,"filename":"image_31012025_10_15_36_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ae70009308d29d94e633d0309d0ffee4.jpg","text":"TemporaryFile(/tmp/multipartBody1803403665615596343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314993689,"filename":"image_31012025_10_15_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/1/31/593429cefa865af03b6c84c93d4d853c.jpg","text":"TemporaryFile(/tmp/multipartBody7347792866704016196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314993689,"filename":"image_31012025_10_14_55_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/046b39b1de1143c3d13914db5be57b6b.jpg","text":"TemporaryFile(/tmp/multipartBody58040969731018703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314993689,"filename":"image_31012025_10_15_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/1/31/47afdf9002d1e285a64af7365fb25d8f.jpg","text":"TemporaryFile(/tmp/multipartBody3627491560100312978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314993689,"filename":"image_31012025_10_15_15_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dd0fbdba67af3f0f84f7b0f8ec950915.jpg","text":"TemporaryFile(/tmp/multipartBody5575586217452994296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738314993689,"filename":"image_31012025_10_15_06_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333270400","file1":"1333270390","file0":"1333270382","file4":"1333270414","file5":"1333270416","file3":"1333270409"},"map_files_photo_id_array":[{"photo_id":"1333270416","filename":"file5"},{"photo_id":"1333270400","filename":"file2"},{"photo_id":"1333270414","filename":"file4"},{"photo_id":"1333270390","filename":"file1"},{"photo_id":"1333270382","filename":"file0"},{"photo_id":"1333270409","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333270414":["hashtag1","hashtag2"]},{"1333270416":["hashtag1","hashtag2"]},{"1333270382":["hashtag1","hashtag2"]},{"1333270409":["hashtag1","hashtag2"]},{"1333270400":["hashtag1","hashtag2"]},{"1333270390":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333270414, 1333270416, 1333270382, 1333270409, 1333270400, 1333270390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38423442840576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:16:32.968343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/15/image_31012025_10_15_55_10348.jpg', '/home/pi/Desktop/images/31012025/10/15/image_31012025_10_16_05_9455.jpg', '/home/pi/Desktop/images/31012025/10/16/image_31012025_10_16_15_10341.jpg', '/home/pi/Desktop/images/31012025/10/16/image_31012025_10_16_26_10434.jpg', '/home/pi/Desktop/images/31012025/10/16/image_31012025_10_16_35_9336.jpg', '/home/pi/Desktop/images/31012025/10/16/image_31012025_10_16_45_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/15/image_31012025_10_15_55_10348.jpg
/home/pi/Desktop/images/31012025/10/15/image_31012025_10_16_05_9455.jpg
/home/pi/Desktop/images/31012025/10/16/image_31012025_10_16_15_10341.jpg
/home/pi/Desktop/images/31012025/10/16/image_31012025_10_16_26_10434.jpg
/home/pi/Desktop/images/31012025/10/16/image_31012025_10_16_35_9336.jpg
/home/pi/Desktop/images/31012025/10/16/image_31012025_10_16_45_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":["1333270801","1333270956","1333270679","1333270967","1333270946","1333270601"],"photo_ids_order":["1333270601","1333270679","1333270801","1333270946","1333270956","1333270967"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5f39c1a6404d240be96dbfa876d68202.jpg","text":"TemporaryFile(/tmp/multipartBody4143088265044750119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315053890,"filename":"image_31012025_10_16_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/1/31/6a23d54f9324e309aeb088260c5ab46b.jpg","text":"TemporaryFile(/tmp/multipartBody8989640670527501495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315053890,"filename":"image_31012025_10_16_35_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c3f5c03f7997c4488487bd824ffd8b35.jpg","text":"TemporaryFile(/tmp/multipartBody8776087313175138217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315053890,"filename":"image_31012025_10_16_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/1/31/a6e7f69a4c554314ca50c2c6f5fb450a.jpg","text":"TemporaryFile(/tmp/multipartBody8066985997650292325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315053890,"filename":"image_31012025_10_16_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/1/31/6b9c9ad323a35583fea56ba019d0b684.jpg","text":"TemporaryFile(/tmp/multipartBody8199475808031772227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315053890,"filename":"image_31012025_10_16_26_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0c64e2e23a6d769f53e1517dc32424ad.jpg","text":"TemporaryFile(/tmp/multipartBody2335391142946313477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315053890,"filename":"image_31012025_10_15_55_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333270801","file1":"1333270679","file0":"1333270601","file4":"1333270956","file5":"1333270967","file3":"1333270946"},"map_files_photo_id_array":[{"photo_id":"1333270967","filename":"file5"},{"photo_id":"1333270801","filename":"file2"},{"photo_id":"1333270956","filename":"file4"},{"photo_id":"1333270679","filename":"file1"},{"photo_id":"1333270601","filename":"file0"},{"photo_id":"1333270946","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333270801":["hashtag1","hashtag2"]},{"1333270956":["hashtag1","hashtag2"]},{"1333270679":["hashtag1","hashtag2"]},{"1333270967":["hashtag1","hashtag2"]},{"1333270946":["hashtag1","hashtag2"]},{"1333270601":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333270801, 1333270956, 1333270679, 1333270967, 1333270946, 1333270601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16338324546814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:17:33.054561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/16/image_31012025_10_16_55_9440.jpg', '/home/pi/Desktop/images/31012025/10/17/image_31012025_10_17_16_10358.jpg', '/home/pi/Desktop/images/31012025/10/17/image_31012025_10_17_25_9449.jpg', '/home/pi/Desktop/images/31012025/10/17/image_31012025_10_17_35_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/16/image_31012025_10_16_55_9440.jpg
/home/pi/Desktop/images/31012025/10/17/image_31012025_10_17_16_10358.jpg
/home/pi/Desktop/images/31012025/10/17/image_31012025_10_17_25_9449.jpg
/home/pi/Desktop/images/31012025/10/17/image_31012025_10_17_35_10343.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":["1333271220","1333271214","1333271384","1333271260"],"photo_ids_order":["1333271214","1333271220","1333271260","1333271384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7bd064ecefa59871fe65373adf062b2c.jpg","text":"TemporaryFile(/tmp/multipartBody480207069027890288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315113940,"filename":"image_31012025_10_17_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/1/31/08a525c84618add41d5b76deca4d4e3d.jpg","text":"TemporaryFile(/tmp/multipartBody5633640383610739862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315113940,"filename":"image_31012025_10_16_55_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/87a4711830e95d578555ed9bb83f3802.jpg","text":"TemporaryFile(/tmp/multipartBody1940853192084830262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315113940,"filename":"image_31012025_10_17_35_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/17e6cbb3f95176db31a2d5bd94ea93e3.jpg","text":"TemporaryFile(/tmp/multipartBody7593874618990174396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315113940,"filename":"image_31012025_10_17_25_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333271260","file1":"1333271220","file0":"1333271214","file3":"1333271384"},"map_files_photo_id_array":[{"photo_id":"1333271260","filename":"file2"},{"photo_id":"1333271220","filename":"file1"},{"photo_id":"1333271214","filename":"file0"},{"photo_id":"1333271384","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333271220":["hashtag1","hashtag2"]},{"1333271214":["hashtag1","hashtag2"]},{"1333271384":["hashtag1","hashtag2"]},{"1333271260":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333271220, 1333271214, 1333271384, 1333271260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.272297859191895 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:18:32.358030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/17/image_31012025_10_17_55_9343.jpg', '/home/pi/Desktop/images/31012025/10/17/image_31012025_10_18_05_10333.jpg', '/home/pi/Desktop/images/31012025/10/18/image_31012025_10_18_15_9384.jpg', '/home/pi/Desktop/images/31012025/10/18/image_31012025_10_18_25_10456.jpg', '/home/pi/Desktop/images/31012025/10/18/image_31012025_10_18_36_10405.jpg', '/home/pi/Desktop/images/31012025/10/18/image_31012025_10_18_45_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/17/image_31012025_10_17_55_9343.jpg
/home/pi/Desktop/images/31012025/10/17/image_31012025_10_18_05_10333.jpg
/home/pi/Desktop/images/31012025/10/18/image_31012025_10_18_15_9384.jpg
/home/pi/Desktop/images/31012025/10/18/image_31012025_10_18_25_10456.jpg
/home/pi/Desktop/images/31012025/10/18/image_31012025_10_18_36_10405.jpg
/home/pi/Desktop/images/31012025/10/18/image_31012025_10_18_45_9328.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5028657913208008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 10:18:42.296872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/17/image_31012025_10_17_55_9343.jpg', '/home/pi/Desktop/images/31012025/10/17/image_31012025_10_18_05_10333.jpg', '/home/pi/Desktop/images/31012025/10/18/image_31012025_10_18_15_9384.jpg', '/home/pi/Desktop/images/31012025/10/18/image_31012025_10_18_25_10456.jpg', '/home/pi/Desktop/images/31012025/10/18/image_31012025_10_18_36_10405.jpg', '/home/pi/Desktop/images/31012025/10/18/image_31012025_10_18_45_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/17/image_31012025_10_17_55_9343.jpg
/home/pi/Desktop/images/31012025/10/17/image_31012025_10_18_05_10333.jpg
/home/pi/Desktop/images/31012025/10/18/image_31012025_10_18_15_9384.jpg
/home/pi/Desktop/images/31012025/10/18/image_31012025_10_18_25_10456.jpg
/home/pi/Desktop/images/31012025/10/18/image_31012025_10_18_36_10405.jpg
/home/pi/Desktop/images/31012025/10/18/image_31012025_10_18_45_9328.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":["1333271565","1333271558","1333271573","1333271549","1333271554","1333271568"],"photo_ids_order":["1333271549","1333271554","1333271558","1333271565","1333271568","1333271573"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cc5039f851455d8a459cc1d4a9e2e88f.jpg","text":"TemporaryFile(/tmp/multipartBody8012558939867412121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315183195,"filename":"image_31012025_10_18_25_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/729914bbd6d05f44410634c353e94c5b.jpg","text":"TemporaryFile(/tmp/multipartBody4241633483296533021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315183195,"filename":"image_31012025_10_18_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/1/31/acb576c474465f09f68e5b1bb46c9408.jpg","text":"TemporaryFile(/tmp/multipartBody9158537580026807806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315183195,"filename":"image_31012025_10_18_45_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ef6458759a3d9dffa7ba23bdb0bddf97.jpg","text":"TemporaryFile(/tmp/multipartBody6753577572437158567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315183195,"filename":"image_31012025_10_17_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/1/31/066772e9fc49ced9cc7e617e927dfb9c.jpg","text":"TemporaryFile(/tmp/multipartBody8208645727334319690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315183195,"filename":"image_31012025_10_18_05_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d60ca4913b4ec4a466afff501eb3c9ce.jpg","text":"TemporaryFile(/tmp/multipartBody5721932396913929603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315183195,"filename":"image_31012025_10_18_36_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333271558","file1":"1333271554","file0":"1333271549","file4":"1333271568","file5":"1333271573","file3":"1333271565"},"map_files_photo_id_array":[{"photo_id":"1333271573","filename":"file5"},{"photo_id":"1333271558","filename":"file2"},{"photo_id":"1333271568","filename":"file4"},{"photo_id":"1333271554","filename":"file1"},{"photo_id":"1333271549","filename":"file0"},{"photo_id":"1333271565","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333271565":["hashtag1","hashtag2"]},{"1333271558":["hashtag1","hashtag2"]},{"1333271573":["hashtag1","hashtag2"]},{"1333271549":["hashtag1","hashtag2"]},{"1333271554":["hashtag1","hashtag2"]},{"1333271568":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333271565, 1333271558, 1333271573, 1333271549, 1333271554, 1333271568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.246965408325195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:19:32.586649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/18/image_31012025_10_18_55_10352.jpg', '/home/pi/Desktop/images/31012025/10/18/image_31012025_10_19_05_9461.jpg', '/home/pi/Desktop/images/31012025/10/19/image_31012025_10_19_15_10328.jpg', '/home/pi/Desktop/images/31012025/10/19/image_31012025_10_19_26_10353.jpg', '/home/pi/Desktop/images/31012025/10/19/image_31012025_10_19_35_9338.jpg', '/home/pi/Desktop/images/31012025/10/19/image_31012025_10_19_45_10465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/18/image_31012025_10_18_55_10352.jpg
/home/pi/Desktop/images/31012025/10/18/image_31012025_10_19_05_9461.jpg
/home/pi/Desktop/images/31012025/10/19/image_31012025_10_19_15_10328.jpg
/home/pi/Desktop/images/31012025/10/19/image_31012025_10_19_26_10353.jpg
/home/pi/Desktop/images/31012025/10/19/image_31012025_10_19_35_9338.jpg
/home/pi/Desktop/images/31012025/10/19/image_31012025_10_19_45_10465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333271637","1333271633","1333271621","1333271603","1333271626","1333271595"],"photo_ids_order":["1333271595","1333271603","1333271621","1333271626","1333271633","1333271637"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/efdee5350f283f35345c8226c6348224.jpg","text":"TemporaryFile(/tmp/multipartBody1141622270747543193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315233504,"filename":"image_31012025_10_19_45_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/34665900ccf010a30221ef22db489c81.jpg","text":"TemporaryFile(/tmp/multipartBody3551013205718569207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315233504,"filename":"image_31012025_10_19_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/1/31/a9ec2159caf15e1fa083daebdc798c63.jpg","text":"TemporaryFile(/tmp/multipartBody3636636169289698688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315233504,"filename":"image_31012025_10_19_15_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/32fa038d74e2c7c90562b82ab330048f.jpg","text":"TemporaryFile(/tmp/multipartBody5942717577828092724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315233504,"filename":"image_31012025_10_19_05_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d2085fc0e98c51a5a66dd94ef8611d8e.jpg","text":"TemporaryFile(/tmp/multipartBody7046342433857743127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315233504,"filename":"image_31012025_10_19_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/1/31/1b4cb9b998d0cd9b25190889e2ad5548.jpg","text":"TemporaryFile(/tmp/multipartBody8178156058668391807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315233504,"filename":"image_31012025_10_18_55_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333271621","file1":"1333271603","file0":"1333271595","file4":"1333271633","file5":"1333271637","file3":"1333271626"},"map_files_photo_id_array":[{"photo_id":"1333271637","filename":"file5"},{"photo_id":"1333271621","filename":"file2"},{"photo_id":"1333271633","filename":"file4"},{"photo_id":"1333271603","filename":"file1"},{"photo_id":"1333271595","filename":"file0"},{"photo_id":"1333271626","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333271637":["hashtag1","hashtag2"]},{"1333271633":["hashtag1","hashtag2"]},{"1333271621":["hashtag1","hashtag2"]},{"1333271603":["hashtag1","hashtag2"]},{"1333271626":["hashtag1","hashtag2"]},{"1333271595":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333271637, 1333271633, 1333271621, 1333271603, 1333271626, 1333271595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.090107679367065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:20:32.922840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/19/image_31012025_10_19_56_10414.jpg', '/home/pi/Desktop/images/31012025/10/20/image_31012025_10_20_16_10395.jpg', '/home/pi/Desktop/images/31012025/10/20/image_31012025_10_20_25_9329.jpg', '/home/pi/Desktop/images/31012025/10/20/image_31012025_10_20_35_10332.jpg', '/home/pi/Desktop/images/31012025/10/20/image_31012025_10_20_46_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/19/image_31012025_10_19_56_10414.jpg
/home/pi/Desktop/images/31012025/10/20/image_31012025_10_20_16_10395.jpg
/home/pi/Desktop/images/31012025/10/20/image_31012025_10_20_25_9329.jpg
/home/pi/Desktop/images/31012025/10/20/image_31012025_10_20_35_10332.jpg
/home/pi/Desktop/images/31012025/10/20/image_31012025_10_20_46_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":["1333271873","1333271798","1333271854","1333271877","1333271815"],"photo_ids_order":["1333271798","1333271815","1333271854","1333271873","1333271877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/06a12be887dda5649a8ece2f3c174978.jpg","text":"TemporaryFile(/tmp/multipartBody627749256694760596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315293828,"filename":"image_31012025_10_20_35_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5b1b70ef2b3bae7c0e18216fa2fe5bb0.jpg","text":"TemporaryFile(/tmp/multipartBody6726612851755224855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315293828,"filename":"image_31012025_10_19_56_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/32370ab3ebdc99f68e52638b659d85aa.jpg","text":"TemporaryFile(/tmp/multipartBody4292101140010306691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315293828,"filename":"image_31012025_10_20_25_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f342c7ca91e3cfba74b5630262b73b8d.jpg","text":"TemporaryFile(/tmp/multipartBody3377834992317623656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315293828,"filename":"image_31012025_10_20_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/1/31/953cf48b2ed25ed2ac90e25371dd0d13.jpg","text":"TemporaryFile(/tmp/multipartBody4461053779297856218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315293828,"filename":"image_31012025_10_20_16_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333271854","file1":"1333271815","file0":"1333271798","file4":"1333271877","file3":"1333271873"},"map_files_photo_id_array":[{"photo_id":"1333271854","filename":"file2"},{"photo_id":"1333271877","filename":"file4"},{"photo_id":"1333271815","filename":"file1"},{"photo_id":"1333271798","filename":"file0"},{"photo_id":"1333271873","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333271873":["hashtag1","hashtag2"]},{"1333271798":["hashtag1","hashtag2"]},{"1333271854":["hashtag1","hashtag2"]},{"1333271877":["hashtag1","hashtag2"]},{"1333271815":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333271873, 1333271798, 1333271854, 1333271877, 1333271815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.82640051841736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:21:33.124863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/20/image_31012025_10_20_55_9457.jpg', '/home/pi/Desktop/images/31012025/10/20/image_31012025_10_21_05_10416.jpg', '/home/pi/Desktop/images/31012025/10/21/image_31012025_10_21_15_9424.jpg', '/home/pi/Desktop/images/31012025/10/21/image_31012025_10_21_25_10461.jpg', '/home/pi/Desktop/images/31012025/10/21/image_31012025_10_21_36_10344.jpg', '/home/pi/Desktop/images/31012025/10/21/image_31012025_10_21_45_9427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/20/image_31012025_10_20_55_9457.jpg
/home/pi/Desktop/images/31012025/10/20/image_31012025_10_21_05_10416.jpg
/home/pi/Desktop/images/31012025/10/21/image_31012025_10_21_15_9424.jpg
/home/pi/Desktop/images/31012025/10/21/image_31012025_10_21_25_10461.jpg
/home/pi/Desktop/images/31012025/10/21/image_31012025_10_21_36_10344.jpg
/home/pi/Desktop/images/31012025/10/21/image_31012025_10_21_45_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":["1333272541","1333272535","1333272529","1333272550","1333272544","1333272564"],"photo_ids_order":["1333272529","1333272535","1333272541","1333272544","1333272550","1333272564"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/06aca10c28b2bd886705ee9bcbd19c4f.jpg","text":"TemporaryFile(/tmp/multipartBody7028352638697032697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315354062,"filename":"image_31012025_10_21_15_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f632bb70f7c39cd015da4dfaeb543883.jpg","text":"TemporaryFile(/tmp/multipartBody1418849128325906319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315354062,"filename":"image_31012025_10_21_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/1/31/f25ec8461ef67781de07b2c74563da17.jpg","text":"TemporaryFile(/tmp/multipartBody3820627605278958005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315354062,"filename":"image_31012025_10_20_55_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7e7cda2d786c8ec7e0c6fd82d60b4431.jpg","text":"TemporaryFile(/tmp/multipartBody2798339736785208675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315354062,"filename":"image_31012025_10_21_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/1/31/597760a7e3b8178fe0a629d7eb579c97.jpg","text":"TemporaryFile(/tmp/multipartBody2222265714145899980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315354062,"filename":"image_31012025_10_21_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/1/31/a0536e496bc5337a116889a100f3b0b7.jpg","text":"TemporaryFile(/tmp/multipartBody8986509742580044067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315354062,"filename":"image_31012025_10_21_45_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333272541","file1":"1333272535","file0":"1333272529","file4":"1333272550","file5":"1333272564","file3":"1333272544"},"map_files_photo_id_array":[{"photo_id":"1333272564","filename":"file5"},{"photo_id":"1333272541","filename":"file2"},{"photo_id":"1333272550","filename":"file4"},{"photo_id":"1333272535","filename":"file1"},{"photo_id":"1333272529","filename":"file0"},{"photo_id":"1333272544","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333272541":["hashtag1","hashtag2"]},{"1333272535":["hashtag1","hashtag2"]},{"1333272529":["hashtag1","hashtag2"]},{"1333272550":["hashtag1","hashtag2"]},{"1333272544":["hashtag1","hashtag2"]},{"1333272564":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333272541, 1333272535, 1333272529, 1333272550, 1333272544, 1333272564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.594189405441284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:22:32.435551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/21/image_31012025_10_21_55_10379.jpg', '/home/pi/Desktop/images/31012025/10/21/image_31012025_10_22_06_10371.jpg', '/home/pi/Desktop/images/31012025/10/22/image_31012025_10_22_15_9438.jpg', '/home/pi/Desktop/images/31012025/10/22/image_31012025_10_22_26_10352.jpg', '/home/pi/Desktop/images/31012025/10/22/image_31012025_10_22_35_9431.jpg', '/home/pi/Desktop/images/31012025/10/22/image_31012025_10_22_45_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/21/image_31012025_10_21_55_10379.jpg
/home/pi/Desktop/images/31012025/10/21/image_31012025_10_22_06_10371.jpg
/home/pi/Desktop/images/31012025/10/22/image_31012025_10_22_15_9438.jpg
/home/pi/Desktop/images/31012025/10/22/image_31012025_10_22_26_10352.jpg
/home/pi/Desktop/images/31012025/10/22/image_31012025_10_22_35_9431.jpg
/home/pi/Desktop/images/31012025/10/22/image_31012025_10_22_45_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":["1333272965","1333272903","1333272989","1333272898","1333272985","1333272844"],"photo_ids_order":["1333272844","1333272898","1333272903","1333272965","1333272985","1333272989"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6f8c1a8574b483009a1c1319842bb805.jpg","text":"TemporaryFile(/tmp/multipartBody3935387856536854352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315413336,"filename":"image_31012025_10_22_26_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/68a47bee1b1f351e862050def48c6389.jpg","text":"TemporaryFile(/tmp/multipartBody1897930661811016655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315413336,"filename":"image_31012025_10_22_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/1/31/953c1b8db0cb15df24de59657d09ca5b.jpg","text":"TemporaryFile(/tmp/multipartBody1257548334796098981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315413336,"filename":"image_31012025_10_22_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/1/31/7052ff336262da3da400299eea30342d.jpg","text":"TemporaryFile(/tmp/multipartBody3840555337875256149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315413336,"filename":"image_31012025_10_22_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/1/31/385a9576d4291e9e5382d1f00a6fcee4.jpg","text":"TemporaryFile(/tmp/multipartBody4192635559387840808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315413336,"filename":"image_31012025_10_22_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/1/31/405da062b6ca92c81d9b1cb17b36458f.jpg","text":"TemporaryFile(/tmp/multipartBody80500835163486826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315413336,"filename":"image_31012025_10_21_55_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333272903","file1":"1333272898","file0":"1333272844","file4":"1333272985","file5":"1333272989","file3":"1333272965"},"map_files_photo_id_array":[{"photo_id":"1333272989","filename":"file5"},{"photo_id":"1333272903","filename":"file2"},{"photo_id":"1333272985","filename":"file4"},{"photo_id":"1333272898","filename":"file1"},{"photo_id":"1333272844","filename":"file0"},{"photo_id":"1333272965","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333272965":["hashtag1","hashtag2"]},{"1333272903":["hashtag1","hashtag2"]},{"1333272989":["hashtag1","hashtag2"]},{"1333272898":["hashtag1","hashtag2"]},{"1333272985":["hashtag1","hashtag2"]},{"1333272844":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333272965, 1333272903, 1333272989, 1333272898, 1333272985, 1333272844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67991542816162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:23:32.603420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/22/image_31012025_10_22_55_9444.jpg', '/home/pi/Desktop/images/31012025/10/22/image_31012025_10_23_05_10360.jpg', '/home/pi/Desktop/images/31012025/10/23/image_31012025_10_23_16_10409.jpg', '/home/pi/Desktop/images/31012025/10/23/image_31012025_10_23_25_9363.jpg', '/home/pi/Desktop/images/31012025/10/23/image_31012025_10_23_35_10392.jpg', '/home/pi/Desktop/images/31012025/10/23/image_31012025_10_23_46_10401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/22/image_31012025_10_22_55_9444.jpg
/home/pi/Desktop/images/31012025/10/22/image_31012025_10_23_05_10360.jpg
/home/pi/Desktop/images/31012025/10/23/image_31012025_10_23_16_10409.jpg
/home/pi/Desktop/images/31012025/10/23/image_31012025_10_23_25_9363.jpg
/home/pi/Desktop/images/31012025/10/23/image_31012025_10_23_35_10392.jpg
/home/pi/Desktop/images/31012025/10/23/image_31012025_10_23_46_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":["1333273052","1333273055","1333273034","1333273048","1333273023","1333273017"],"photo_ids_order":["1333273017","1333273023","1333273034","1333273048","1333273052","1333273055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/463c6132040dc195b78cd319106ab100.jpg","text":"TemporaryFile(/tmp/multipartBody1091413472227322098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315473525,"filename":"image_31012025_10_23_35_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b9229d6c75a31acff5f187d72c61f69f.jpg","text":"TemporaryFile(/tmp/multipartBody8475863556887987135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315473525,"filename":"image_31012025_10_23_46_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7e9326647f603d8fd47c1be945b259af.jpg","text":"TemporaryFile(/tmp/multipartBody4760116962027381303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315473525,"filename":"image_31012025_10_23_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/1/31/2816f1c5f468f11ae9dcba738e8d159d.jpg","text":"TemporaryFile(/tmp/multipartBody5772849598141956656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315473525,"filename":"image_31012025_10_23_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0ae9a442c9bf37b6de9ca28aaa43e9ec.jpg","text":"TemporaryFile(/tmp/multipartBody6840543813091458955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315473525,"filename":"image_31012025_10_23_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/1/31/2563c88dbc3b22580894f01d355f6aa9.jpg","text":"TemporaryFile(/tmp/multipartBody2107041694683972390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315473525,"filename":"image_31012025_10_22_55_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333273034","file1":"1333273023","file0":"1333273017","file4":"1333273052","file5":"1333273055","file3":"1333273048"},"map_files_photo_id_array":[{"photo_id":"1333273055","filename":"file5"},{"photo_id":"1333273034","filename":"file2"},{"photo_id":"1333273052","filename":"file4"},{"photo_id":"1333273023","filename":"file1"},{"photo_id":"1333273017","filename":"file0"},{"photo_id":"1333273048","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333273052":["hashtag1","hashtag2"]},{"1333273055":["hashtag1","hashtag2"]},{"1333273034":["hashtag1","hashtag2"]},{"1333273048":["hashtag1","hashtag2"]},{"1333273023":["hashtag1","hashtag2"]},{"1333273017":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333273052, 1333273055, 1333273034, 1333273048, 1333273023, 1333273017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16493821144104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:24:32.808457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/23/image_31012025_10_23_55_9356.jpg', '/home/pi/Desktop/images/31012025/10/23/image_31012025_10_24_06_10401.jpg', '/home/pi/Desktop/images/31012025/10/24/image_31012025_10_24_15_9330.jpg', '/home/pi/Desktop/images/31012025/10/24/image_31012025_10_24_25_10463.jpg', '/home/pi/Desktop/images/31012025/10/24/image_31012025_10_24_36_10475.jpg', '/home/pi/Desktop/images/31012025/10/24/image_31012025_10_24_45_9442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/23/image_31012025_10_23_55_9356.jpg
/home/pi/Desktop/images/31012025/10/23/image_31012025_10_24_06_10401.jpg
/home/pi/Desktop/images/31012025/10/24/image_31012025_10_24_15_9330.jpg
/home/pi/Desktop/images/31012025/10/24/image_31012025_10_24_25_10463.jpg
/home/pi/Desktop/images/31012025/10/24/image_31012025_10_24_36_10475.jpg
/home/pi/Desktop/images/31012025/10/24/image_31012025_10_24_45_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":["1333273187","1333273246","1333273228","1333273224","1333273218","1333273212"],"photo_ids_order":["1333273187","1333273212","1333273218","1333273224","1333273228","1333273246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4bb2a935ff8708ce23ab2c6f0cc3a534.jpg","text":"TemporaryFile(/tmp/multipartBody5050721570176740424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315533714,"filename":"image_31012025_10_23_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/1/31/bac98861d84f83de8300047ea92b53c5.jpg","text":"TemporaryFile(/tmp/multipartBody7291074957922411587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315533714,"filename":"image_31012025_10_24_45_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cc49f91f07bf279d4768514eeb83deec.jpg","text":"TemporaryFile(/tmp/multipartBody7084134724193466004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315533714,"filename":"image_31012025_10_24_36_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fbd41b7d42cf7093492f770dc4b973c8.jpg","text":"TemporaryFile(/tmp/multipartBody4855808915193249991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315533714,"filename":"image_31012025_10_24_25_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e48d24a906c31d92d24eaf2ca4f7b470.jpg","text":"TemporaryFile(/tmp/multipartBody1071094700500795098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315533714,"filename":"image_31012025_10_24_15_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/42c9f33d9f00e6df80f61c2b44ed219d.jpg","text":"TemporaryFile(/tmp/multipartBody6827888079916621245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315533714,"filename":"image_31012025_10_24_06_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333273218","file1":"1333273212","file0":"1333273187","file4":"1333273228","file5":"1333273246","file3":"1333273224"},"map_files_photo_id_array":[{"photo_id":"1333273246","filename":"file5"},{"photo_id":"1333273218","filename":"file2"},{"photo_id":"1333273228","filename":"file4"},{"photo_id":"1333273212","filename":"file1"},{"photo_id":"1333273187","filename":"file0"},{"photo_id":"1333273224","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333273187":["hashtag1","hashtag2"]},{"1333273246":["hashtag1","hashtag2"]},{"1333273228":["hashtag1","hashtag2"]},{"1333273224":["hashtag1","hashtag2"]},{"1333273218":["hashtag1","hashtag2"]},{"1333273212":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333273187, 1333273246, 1333273228, 1333273224, 1333273218, 1333273212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95026779174805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:25:33.078158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/24/image_31012025_10_24_56_10380.jpg', '/home/pi/Desktop/images/31012025/10/24/image_31012025_10_25_05_9387.jpg', '/home/pi/Desktop/images/31012025/10/25/image_31012025_10_25_15_10330.jpg', '/home/pi/Desktop/images/31012025/10/25/image_31012025_10_25_26_10435.jpg', '/home/pi/Desktop/images/31012025/10/25/image_31012025_10_25_35_9330.jpg', '/home/pi/Desktop/images/31012025/10/25/image_31012025_10_25_45_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/24/image_31012025_10_24_56_10380.jpg
/home/pi/Desktop/images/31012025/10/24/image_31012025_10_25_05_9387.jpg
/home/pi/Desktop/images/31012025/10/25/image_31012025_10_25_15_10330.jpg
/home/pi/Desktop/images/31012025/10/25/image_31012025_10_25_26_10435.jpg
/home/pi/Desktop/images/31012025/10/25/image_31012025_10_25_35_9330.jpg
/home/pi/Desktop/images/31012025/10/25/image_31012025_10_25_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":["1333273370","1333273352","1333273340","1333273447","1333273377","1333273524"],"photo_ids_order":["1333273340","1333273352","1333273370","1333273377","1333273447","1333273524"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/98ed4ecbac386ccab23238ae1294603d.jpg","text":"TemporaryFile(/tmp/multipartBody456136230976337230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315593995,"filename":"image_31012025_10_25_15_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a18d32b3b86eb001bddcbfc965b8c14d.jpg","text":"TemporaryFile(/tmp/multipartBody5542612495755885238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315593995,"filename":"image_31012025_10_25_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/1/31/278efe92e2f84514a7134665961e109a.jpg","text":"TemporaryFile(/tmp/multipartBody5412704602811151739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315593995,"filename":"image_31012025_10_24_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/1/31/4753e03f63ec650c2b3cf3fdab5759e6.jpg","text":"TemporaryFile(/tmp/multipartBody4746443907652389618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315593995,"filename":"image_31012025_10_25_35_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/db833c55acab47a0aab009edb61a3f5d.jpg","text":"TemporaryFile(/tmp/multipartBody5492376536692024847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315593995,"filename":"image_31012025_10_25_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/1/31/ec4a3bc0ade40ec1973e056d88c08fce.jpg","text":"TemporaryFile(/tmp/multipartBody1103809523385438082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315593995,"filename":"image_31012025_10_25_45_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333273370","file1":"1333273352","file0":"1333273340","file4":"1333273447","file5":"1333273524","file3":"1333273377"},"map_files_photo_id_array":[{"photo_id":"1333273524","filename":"file5"},{"photo_id":"1333273370","filename":"file2"},{"photo_id":"1333273447","filename":"file4"},{"photo_id":"1333273352","filename":"file1"},{"photo_id":"1333273340","filename":"file0"},{"photo_id":"1333273377","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333273370":["hashtag1","hashtag2"]},{"1333273352":["hashtag1","hashtag2"]},{"1333273340":["hashtag1","hashtag2"]},{"1333273447":["hashtag1","hashtag2"]},{"1333273377":["hashtag1","hashtag2"]},{"1333273524":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333273370, 1333273352, 1333273340, 1333273447, 1333273377, 1333273524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.624109506607056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:26:32.305606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/25/image_31012025_10_25_55_9417.jpg', '/home/pi/Desktop/images/31012025/10/25/image_31012025_10_26_05_10330.jpg', '/home/pi/Desktop/images/31012025/10/26/image_31012025_10_26_16_10387.jpg', '/home/pi/Desktop/images/31012025/10/26/image_31012025_10_26_25_9408.jpg', '/home/pi/Desktop/images/31012025/10/26/image_31012025_10_26_35_10338.jpg', '/home/pi/Desktop/images/31012025/10/26/image_31012025_10_26_46_10408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/25/image_31012025_10_25_55_9417.jpg
/home/pi/Desktop/images/31012025/10/25/image_31012025_10_26_05_10330.jpg
/home/pi/Desktop/images/31012025/10/26/image_31012025_10_26_16_10387.jpg
/home/pi/Desktop/images/31012025/10/26/image_31012025_10_26_25_9408.jpg
/home/pi/Desktop/images/31012025/10/26/image_31012025_10_26_35_10338.jpg
/home/pi/Desktop/images/31012025/10/26/image_31012025_10_26_46_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":["1333273874","1333273832","1333273864","1333273729","1333273872","1333273869"],"photo_ids_order":["1333273729","1333273832","1333273864","1333273869","1333273872","1333273874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/737d48ee86a028fffac6d0079f5663e5.jpg","text":"TemporaryFile(/tmp/multipartBody6925489763972854308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315653213,"filename":"image_31012025_10_26_46_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6e25dac4c18148a023f8e57d1c3359b2.jpg","text":"TemporaryFile(/tmp/multipartBody2469249393567252529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315653213,"filename":"image_31012025_10_26_05_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/544d76bb9958de4384c8bd447617b1da.jpg","text":"TemporaryFile(/tmp/multipartBody5268303659497792505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315653213,"filename":"image_31012025_10_26_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/1/31/86dde25ebd29073d1c48d5560103b3c1.jpg","text":"TemporaryFile(/tmp/multipartBody1118548994919561708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315653213,"filename":"image_31012025_10_25_55_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aa25880628a639c22386b125f8201144.jpg","text":"TemporaryFile(/tmp/multipartBody3409989420792890597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315653213,"filename":"image_31012025_10_26_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1c7f0656c39f3e60a07faa28ca296fab.jpg","text":"TemporaryFile(/tmp/multipartBody1056048375627216533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315653213,"filename":"image_31012025_10_26_25_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333273864","file1":"1333273832","file0":"1333273729","file4":"1333273872","file5":"1333273874","file3":"1333273869"},"map_files_photo_id_array":[{"photo_id":"1333273874","filename":"file5"},{"photo_id":"1333273864","filename":"file2"},{"photo_id":"1333273872","filename":"file4"},{"photo_id":"1333273832","filename":"file1"},{"photo_id":"1333273729","filename":"file0"},{"photo_id":"1333273869","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333273874":["hashtag1","hashtag2"]},{"1333273832":["hashtag1","hashtag2"]},{"1333273864":["hashtag1","hashtag2"]},{"1333273729":["hashtag1","hashtag2"]},{"1333273872":["hashtag1","hashtag2"]},{"1333273869":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333273874, 1333273832, 1333273864, 1333273729, 1333273872, 1333273869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0256929397583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:27:32.644272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/26/image_31012025_10_26_55_9348.jpg', '/home/pi/Desktop/images/31012025/10/26/image_31012025_10_27_05_10344.jpg', '/home/pi/Desktop/images/31012025/10/27/image_31012025_10_27_15_9406.jpg', '/home/pi/Desktop/images/31012025/10/27/image_31012025_10_27_25_10356.jpg', '/home/pi/Desktop/images/31012025/10/27/image_31012025_10_27_36_10428.jpg', '/home/pi/Desktop/images/31012025/10/27/image_31012025_10_27_45_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/26/image_31012025_10_26_55_9348.jpg
/home/pi/Desktop/images/31012025/10/26/image_31012025_10_27_05_10344.jpg
/home/pi/Desktop/images/31012025/10/27/image_31012025_10_27_15_9406.jpg
/home/pi/Desktop/images/31012025/10/27/image_31012025_10_27_25_10356.jpg
/home/pi/Desktop/images/31012025/10/27/image_31012025_10_27_36_10428.jpg
/home/pi/Desktop/images/31012025/10/27/image_31012025_10_27_45_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":["1333273960","1333273963","1333273957","1333273951","1333273947","1333273938"],"photo_ids_order":["1333273938","1333273947","1333273951","1333273957","1333273960","1333273963"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/69ab31fb441cd04856b3856518bf25b7.jpg","text":"TemporaryFile(/tmp/multipartBody6563126591450073605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315713550,"filename":"image_31012025_10_27_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/1/31/9c96a7ef4ae1e469cced0eb87e1cbeb2.jpg","text":"TemporaryFile(/tmp/multipartBody8769432419161120104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315713550,"filename":"image_31012025_10_27_45_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a96359b9f57602afb480e2623b2474d8.jpg","text":"TemporaryFile(/tmp/multipartBody8348449877097190937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315713550,"filename":"image_31012025_10_27_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/df699e3cabe47fecffec3321077a67b3.jpg","text":"TemporaryFile(/tmp/multipartBody3943777880336070916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315713550,"filename":"image_31012025_10_27_15_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/34ab59398632bc5b0a42d30f4c1717c3.jpg","text":"TemporaryFile(/tmp/multipartBody1056511656663764189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315713550,"filename":"image_31012025_10_27_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/1/31/acd483f7984d7c423d8765955332832c.jpg","text":"TemporaryFile(/tmp/multipartBody7548990842142354236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315713550,"filename":"image_31012025_10_26_55_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333273951","file1":"1333273947","file0":"1333273938","file4":"1333273960","file5":"1333273963","file3":"1333273957"},"map_files_photo_id_array":[{"photo_id":"1333273963","filename":"file5"},{"photo_id":"1333273951","filename":"file2"},{"photo_id":"1333273960","filename":"file4"},{"photo_id":"1333273947","filename":"file1"},{"photo_id":"1333273938","filename":"file0"},{"photo_id":"1333273957","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333273960":["hashtag1","hashtag2"]},{"1333273963":["hashtag1","hashtag2"]},{"1333273957":["hashtag1","hashtag2"]},{"1333273951":["hashtag1","hashtag2"]},{"1333273947":["hashtag1","hashtag2"]},{"1333273938":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333273960, 1333273963, 1333273957, 1333273951, 1333273947, 1333273938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54482436180115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:28:32.975750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/27/image_31012025_10_27_55_10354.jpg', '/home/pi/Desktop/images/31012025/10/27/image_31012025_10_28_05_9460.jpg', '/home/pi/Desktop/images/31012025/10/28/image_31012025_10_28_15_10394.jpg', '/home/pi/Desktop/images/31012025/10/28/image_31012025_10_28_26_10340.jpg', '/home/pi/Desktop/images/31012025/10/28/image_31012025_10_28_35_9336.jpg', '/home/pi/Desktop/images/31012025/10/28/image_31012025_10_28_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/27/image_31012025_10_27_55_10354.jpg
/home/pi/Desktop/images/31012025/10/27/image_31012025_10_28_05_9460.jpg
/home/pi/Desktop/images/31012025/10/28/image_31012025_10_28_15_10394.jpg
/home/pi/Desktop/images/31012025/10/28/image_31012025_10_28_26_10340.jpg
/home/pi/Desktop/images/31012025/10/28/image_31012025_10_28_35_9336.jpg
/home/pi/Desktop/images/31012025/10/28/image_31012025_10_28_45_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":["1333274000","1333274032","1333274031","1333273992","1333274024","1333274012"],"photo_ids_order":["1333273992","1333274000","1333274012","1333274024","1333274031","1333274032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bd721d810d25eb4c9aaf13421268632c.jpg","text":"TemporaryFile(/tmp/multipartBody696749892481091427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315773888,"filename":"image_31012025_10_28_05_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c5f9612acf129453b7a8d771a051a0d4.jpg","text":"TemporaryFile(/tmp/multipartBody7242529007448066910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315773888,"filename":"image_31012025_10_28_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/1/31/957bf3602aafce19a78623e2962975e7.jpg","text":"TemporaryFile(/tmp/multipartBody3139280304155042671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315773888,"filename":"image_31012025_10_28_35_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4545f3dc7054988550476fb1b9291e73.jpg","text":"TemporaryFile(/tmp/multipartBody8478743921665291660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315773888,"filename":"image_31012025_10_27_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/1/31/f0c4b21fe0dd09c827977f76a5ff31bf.jpg","text":"TemporaryFile(/tmp/multipartBody3559579665508024325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315773888,"filename":"image_31012025_10_28_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/1/31/a38de8ee027a979f1af6d6fe649cefaf.jpg","text":"TemporaryFile(/tmp/multipartBody2117357753250588333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315773888,"filename":"image_31012025_10_28_15_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333274012","file1":"1333274000","file0":"1333273992","file4":"1333274031","file5":"1333274032","file3":"1333274024"},"map_files_photo_id_array":[{"photo_id":"1333274032","filename":"file5"},{"photo_id":"1333274012","filename":"file2"},{"photo_id":"1333274031","filename":"file4"},{"photo_id":"1333274000","filename":"file1"},{"photo_id":"1333273992","filename":"file0"},{"photo_id":"1333274024","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333274000":["hashtag1","hashtag2"]},{"1333274032":["hashtag1","hashtag2"]},{"1333274031":["hashtag1","hashtag2"]},{"1333273992":["hashtag1","hashtag2"]},{"1333274024":["hashtag1","hashtag2"]},{"1333274012":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333274000, 1333274032, 1333274031, 1333273992, 1333274024, 1333274012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.21863031387329 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:29:33.058512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/28/image_31012025_10_28_56_10465.jpg', '/home/pi/Desktop/images/31012025/10/29/image_31012025_10_29_15_10344.jpg', '/home/pi/Desktop/images/31012025/10/29/image_31012025_10_29_25_9409.jpg', '/home/pi/Desktop/images/31012025/10/29/image_31012025_10_29_35_10419.jpg', '/home/pi/Desktop/images/31012025/10/29/image_31012025_10_29_46_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/28/image_31012025_10_28_56_10465.jpg
/home/pi/Desktop/images/31012025/10/29/image_31012025_10_29_15_10344.jpg
/home/pi/Desktop/images/31012025/10/29/image_31012025_10_29_25_9409.jpg
/home/pi/Desktop/images/31012025/10/29/image_31012025_10_29_35_10419.jpg
/home/pi/Desktop/images/31012025/10/29/image_31012025_10_29_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":["1333274083","1333274097","1333274067","1333274061","1333274075"],"photo_ids_order":["1333274061","1333274067","1333274075","1333274083","1333274097"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7ab108c0cad8ce76bbfd7b03983b5e56.jpg","text":"TemporaryFile(/tmp/multipartBody1733793903102581723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315833943,"filename":"image_31012025_10_29_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/1/31/30f249656e2df286a064c6ff1818450a.jpg","text":"TemporaryFile(/tmp/multipartBody9130741390789577521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315833943,"filename":"image_31012025_10_29_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/1/31/97d3c4ce4c49c8c34885a4dbd04863cb.jpg","text":"TemporaryFile(/tmp/multipartBody4913758645556767621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315833943,"filename":"image_31012025_10_29_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/1/31/fe87fd2e115e9aa98cbaf66e85b1ed03.jpg","text":"TemporaryFile(/tmp/multipartBody8709827291453191537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315833943,"filename":"image_31012025_10_28_56_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d1a96221c228c540c4ffc53fcab82f23.jpg","text":"TemporaryFile(/tmp/multipartBody5949162502516668222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315833943,"filename":"image_31012025_10_29_25_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333274075","file1":"1333274067","file0":"1333274061","file4":"1333274097","file3":"1333274083"},"map_files_photo_id_array":[{"photo_id":"1333274075","filename":"file2"},{"photo_id":"1333274097","filename":"file4"},{"photo_id":"1333274067","filename":"file1"},{"photo_id":"1333274061","filename":"file0"},{"photo_id":"1333274083","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333274083":["hashtag1","hashtag2"]},{"1333274097":["hashtag1","hashtag2"]},{"1333274067":["hashtag1","hashtag2"]},{"1333274061":["hashtag1","hashtag2"]},{"1333274075":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333274083, 1333274097, 1333274067, 1333274061, 1333274075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.67611527442932 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:30:32.218831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/29/image_31012025_10_29_55_9337.jpg', '/home/pi/Desktop/images/31012025/10/29/image_31012025_10_30_05_10336.jpg', '/home/pi/Desktop/images/31012025/10/30/image_31012025_10_30_16_10449.jpg', '/home/pi/Desktop/images/31012025/10/30/image_31012025_10_30_25_9440.jpg', '/home/pi/Desktop/images/31012025/10/30/image_31012025_10_30_36_10347.jpg', '/home/pi/Desktop/images/31012025/10/30/image_31012025_10_30_45_9430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/29/image_31012025_10_29_55_9337.jpg
/home/pi/Desktop/images/31012025/10/29/image_31012025_10_30_05_10336.jpg
/home/pi/Desktop/images/31012025/10/30/image_31012025_10_30_16_10449.jpg
/home/pi/Desktop/images/31012025/10/30/image_31012025_10_30_25_9440.jpg
/home/pi/Desktop/images/31012025/10/30/image_31012025_10_30_36_10347.jpg
/home/pi/Desktop/images/31012025/10/30/image_31012025_10_30_45_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":["1333274158","1333274157","1333274154","1333274133","1333274141","1333274147"],"photo_ids_order":["1333274133","1333274141","1333274147","1333274154","1333274157","1333274158"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a8a18a808b042a822b3882a099480e23.jpg","text":"TemporaryFile(/tmp/multipartBody8252659421596471553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315893113,"filename":"image_31012025_10_30_45_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aa30880e8549a3631a23032b73883e26.jpg","text":"TemporaryFile(/tmp/multipartBody8418390599329108354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315893113,"filename":"image_31012025_10_30_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/1/31/20eea83cafd5078808593a45f329865c.jpg","text":"TemporaryFile(/tmp/multipartBody875575417730674468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315893113,"filename":"image_31012025_10_30_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/1/31/964968d0c9f894114d6ad5d5298fbde3.jpg","text":"TemporaryFile(/tmp/multipartBody4696625402052282298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315893113,"filename":"image_31012025_10_29_55_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/acaf3e6d2d06d3cd17f7aa3fc7e342d9.jpg","text":"TemporaryFile(/tmp/multipartBody1262218053619754370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315893113,"filename":"image_31012025_10_30_05_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2e31a506287f3fede77eadff967f4015.jpg","text":"TemporaryFile(/tmp/multipartBody4004815957725971349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315893113,"filename":"image_31012025_10_30_16_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333274147","file1":"1333274141","file0":"1333274133","file4":"1333274157","file5":"1333274158","file3":"1333274154"},"map_files_photo_id_array":[{"photo_id":"1333274158","filename":"file5"},{"photo_id":"1333274147","filename":"file2"},{"photo_id":"1333274157","filename":"file4"},{"photo_id":"1333274141","filename":"file1"},{"photo_id":"1333274133","filename":"file0"},{"photo_id":"1333274154","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333274158":["hashtag1","hashtag2"]},{"1333274157":["hashtag1","hashtag2"]},{"1333274154":["hashtag1","hashtag2"]},{"1333274133":["hashtag1","hashtag2"]},{"1333274141":["hashtag1","hashtag2"]},{"1333274147":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333274158, 1333274157, 1333274154, 1333274133, 1333274141, 1333274147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.255913734436035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:31:32.484052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/30/image_31012025_10_30_55_10424.jpg', '/home/pi/Desktop/images/31012025/10/30/image_31012025_10_31_05_9430.jpg', '/home/pi/Desktop/images/31012025/10/31/image_31012025_10_31_15_10321.jpg', '/home/pi/Desktop/images/31012025/10/31/image_31012025_10_31_26_10353.jpg', '/home/pi/Desktop/images/31012025/10/31/image_31012025_10_31_35_9309.jpg', '/home/pi/Desktop/images/31012025/10/31/image_31012025_10_31_45_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/30/image_31012025_10_30_55_10424.jpg
/home/pi/Desktop/images/31012025/10/30/image_31012025_10_31_05_9430.jpg
/home/pi/Desktop/images/31012025/10/31/image_31012025_10_31_15_10321.jpg
/home/pi/Desktop/images/31012025/10/31/image_31012025_10_31_26_10353.jpg
/home/pi/Desktop/images/31012025/10/31/image_31012025_10_31_35_9309.jpg
/home/pi/Desktop/images/31012025/10/31/image_31012025_10_31_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":["1333274293","1333274193","1333274448","1333274187","1333274403","1333274198"],"photo_ids_order":["1333274187","1333274193","1333274198","1333274293","1333274403","1333274448"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d320f2f2cf3c915f5cf44eebdba6699d.jpg","text":"TemporaryFile(/tmp/multipartBody3153734678093316356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315953385,"filename":"image_31012025_10_31_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/1/31/48b7e8ee5755fce6b5842d8daf512aa5.jpg","text":"TemporaryFile(/tmp/multipartBody4172170925942627960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315953385,"filename":"image_31012025_10_31_05_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2fc3092649ef79260788335c8adb5c8c.jpg","text":"TemporaryFile(/tmp/multipartBody5974636076056944215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315953385,"filename":"image_31012025_10_31_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/1/31/f7608fea9002d2d71f7f5154e710f8f5.jpg","text":"TemporaryFile(/tmp/multipartBody3570850144315853155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315953385,"filename":"image_31012025_10_30_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/1/31/cd2c4be4afe7b81617a236cb06436bfa.jpg","text":"TemporaryFile(/tmp/multipartBody7618223241444832128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315953385,"filename":"image_31012025_10_31_35_9309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b134bbabe29d3f3900d85b14c29e4961.jpg","text":"TemporaryFile(/tmp/multipartBody8891816369981767435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738315953385,"filename":"image_31012025_10_31_15_10321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333274198","file1":"1333274193","file0":"1333274187","file4":"1333274403","file5":"1333274448","file3":"1333274293"},"map_files_photo_id_array":[{"photo_id":"1333274448","filename":"file5"},{"photo_id":"1333274198","filename":"file2"},{"photo_id":"1333274403","filename":"file4"},{"photo_id":"1333274193","filename":"file1"},{"photo_id":"1333274187","filename":"file0"},{"photo_id":"1333274293","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333274293":["hashtag1","hashtag2"]},{"1333274193":["hashtag1","hashtag2"]},{"1333274448":["hashtag1","hashtag2"]},{"1333274187":["hashtag1","hashtag2"]},{"1333274403":["hashtag1","hashtag2"]},{"1333274198":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333274293, 1333274193, 1333274448, 1333274187, 1333274403, 1333274198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.684919357299805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:32:32.692010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/31/image_31012025_10_31_56_10412.jpg', '/home/pi/Desktop/images/31012025/10/31/image_31012025_10_32_05_9329.jpg', '/home/pi/Desktop/images/31012025/10/32/image_31012025_10_32_15_10320.jpg', '/home/pi/Desktop/images/31012025/10/32/image_31012025_10_32_26_10346.jpg', '/home/pi/Desktop/images/31012025/10/32/image_31012025_10_32_45_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/31/image_31012025_10_31_56_10412.jpg
/home/pi/Desktop/images/31012025/10/31/image_31012025_10_32_05_9329.jpg
/home/pi/Desktop/images/31012025/10/32/image_31012025_10_32_15_10320.jpg
/home/pi/Desktop/images/31012025/10/32/image_31012025_10_32_26_10346.jpg
/home/pi/Desktop/images/31012025/10/32/image_31012025_10_32_45_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333274653","1333274761","1333274619","1333274594","1333274630"],"photo_ids_order":["1333274594","1333274619","1333274630","1333274653","1333274761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ad002ee9dcd7c98f540e4c7c27c5fbf6.jpg","text":"TemporaryFile(/tmp/multipartBody3216428191883172727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316013573,"filename":"image_31012025_10_32_26_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3ad6ee9286a0a188d5172284ed68425c.jpg","text":"TemporaryFile(/tmp/multipartBody6913502614287331370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316013573,"filename":"image_31012025_10_32_45_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f48896293033efccf81c53353451225d.jpg","text":"TemporaryFile(/tmp/multipartBody828134190449330555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316013573,"filename":"image_31012025_10_32_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/1/31/cf5357283af25933bd651a4e276f6885.jpg","text":"TemporaryFile(/tmp/multipartBody7841599278710759462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316013573,"filename":"image_31012025_10_31_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/1/31/e2852873456ec057213189dee136ae1a.jpg","text":"TemporaryFile(/tmp/multipartBody250773036548179953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316013573,"filename":"image_31012025_10_32_15_10320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333274630","file1":"1333274619","file0":"1333274594","file4":"1333274761","file3":"1333274653"},"map_files_photo_id_array":[{"photo_id":"1333274630","filename":"file2"},{"photo_id":"1333274761","filename":"file4"},{"photo_id":"1333274619","filename":"file1"},{"photo_id":"1333274594","filename":"file0"},{"photo_id":"1333274653","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333274653":["hashtag1","hashtag2"]},{"1333274761":["hashtag1","hashtag2"]},{"1333274619":["hashtag1","hashtag2"]},{"1333274594":["hashtag1","hashtag2"]},{"1333274630":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333274653, 1333274761, 1333274619, 1333274594, 1333274630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.673216819763184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:33:32.833214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/32/image_31012025_10_32_55_9488.jpg', '/home/pi/Desktop/images/31012025/10/32/image_31012025_10_33_05_10325.jpg', '/home/pi/Desktop/images/31012025/10/33/image_31012025_10_33_16_10344.jpg', '/home/pi/Desktop/images/31012025/10/33/image_31012025_10_33_35_10387.jpg', '/home/pi/Desktop/images/31012025/10/33/image_31012025_10_33_45_9468.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/32/image_31012025_10_32_55_9488.jpg
/home/pi/Desktop/images/31012025/10/32/image_31012025_10_33_05_10325.jpg
/home/pi/Desktop/images/31012025/10/33/image_31012025_10_33_16_10344.jpg
/home/pi/Desktop/images/31012025/10/33/image_31012025_10_33_35_10387.jpg
/home/pi/Desktop/images/31012025/10/33/image_31012025_10_33_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":["1333274850","1333274844","1333274820","1333274867","1333274831"],"photo_ids_order":["1333274820","1333274831","1333274844","1333274850","1333274867"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c7dd6e446c901a053bbc37f15530d331.jpg","text":"TemporaryFile(/tmp/multipartBody6926011680829822723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316073741,"filename":"image_31012025_10_33_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/1/31/5742ae82032f051e3d6285591c3eec14.jpg","text":"TemporaryFile(/tmp/multipartBody5642817312280325123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316073741,"filename":"image_31012025_10_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/1/31/380e257e9c3534582cd0bf0259c2a98f.jpg","text":"TemporaryFile(/tmp/multipartBody5610457326671359888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316073741,"filename":"image_31012025_10_32_55_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/949e8d9aeab3d07394c8d29f57f60c50.jpg","text":"TemporaryFile(/tmp/multipartBody3586329314837200550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316073741,"filename":"image_31012025_10_33_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/1/31/14d6ac9eacce3a0e4e147dd48dac4364.jpg","text":"TemporaryFile(/tmp/multipartBody6622262475885544022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316073741,"filename":"image_31012025_10_33_05_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333274844","file1":"1333274831","file0":"1333274820","file4":"1333274867","file3":"1333274850"},"map_files_photo_id_array":[{"photo_id":"1333274844","filename":"file2"},{"photo_id":"1333274867","filename":"file4"},{"photo_id":"1333274831","filename":"file1"},{"photo_id":"1333274820","filename":"file0"},{"photo_id":"1333274850","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333274850":["hashtag1","hashtag2"]},{"1333274844":["hashtag1","hashtag2"]},{"1333274820":["hashtag1","hashtag2"]},{"1333274867":["hashtag1","hashtag2"]},{"1333274831":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333274850, 1333274844, 1333274820, 1333274867, 1333274831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.701223850250244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:34:33.019147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/33/image_31012025_10_33_55_10352.jpg', '/home/pi/Desktop/images/31012025/10/33/image_31012025_10_34_06_10355.jpg', '/home/pi/Desktop/images/31012025/10/34/image_31012025_10_34_15_9316.jpg', '/home/pi/Desktop/images/31012025/10/34/image_31012025_10_34_25_10337.jpg', '/home/pi/Desktop/images/31012025/10/34/image_31012025_10_34_36_10430.jpg', '/home/pi/Desktop/images/31012025/10/34/image_31012025_10_34_45_9373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/33/image_31012025_10_33_55_10352.jpg
/home/pi/Desktop/images/31012025/10/33/image_31012025_10_34_06_10355.jpg
/home/pi/Desktop/images/31012025/10/34/image_31012025_10_34_15_9316.jpg
/home/pi/Desktop/images/31012025/10/34/image_31012025_10_34_25_10337.jpg
/home/pi/Desktop/images/31012025/10/34/image_31012025_10_34_36_10430.jpg
/home/pi/Desktop/images/31012025/10/34/image_31012025_10_34_45_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":["1333274947","1333274994","1333274952","1333274987","1333274981","1333274960"],"photo_ids_order":["1333274947","1333274952","1333274960","1333274981","1333274987","1333274994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/68c8533671561ceffc592e5e3dcee907.jpg","text":"TemporaryFile(/tmp/multipartBody776424067306531352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316133931,"filename":"image_31012025_10_33_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/1/31/53f028f33346b3bd09396fbe9a0d75ed.jpg","text":"TemporaryFile(/tmp/multipartBody4850878803629266913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316133931,"filename":"image_31012025_10_34_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/1/31/8583411e4e01b1571e63bbd59f811a82.jpg","text":"TemporaryFile(/tmp/multipartBody6784704337816884150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316133931,"filename":"image_31012025_10_34_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/1/31/85b14ca926dccaa0ccbcf1c2d7c3718e.jpg","text":"TemporaryFile(/tmp/multipartBody5995830435446880563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316133931,"filename":"image_31012025_10_34_36_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9218c0d9ee003501df6369fb3352274a.jpg","text":"TemporaryFile(/tmp/multipartBody7288023854978834698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316133931,"filename":"image_31012025_10_34_25_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e90cd23695f4879f53e43cdc770678cf.jpg","text":"TemporaryFile(/tmp/multipartBody8140774449258275532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316133931,"filename":"image_31012025_10_34_15_9316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333274960","file1":"1333274952","file0":"1333274947","file4":"1333274987","file5":"1333274994","file3":"1333274981"},"map_files_photo_id_array":[{"photo_id":"1333274994","filename":"file5"},{"photo_id":"1333274960","filename":"file2"},{"photo_id":"1333274987","filename":"file4"},{"photo_id":"1333274952","filename":"file1"},{"photo_id":"1333274947","filename":"file0"},{"photo_id":"1333274981","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333274947":["hashtag1","hashtag2"]},{"1333274994":["hashtag1","hashtag2"]},{"1333274952":["hashtag1","hashtag2"]},{"1333274987":["hashtag1","hashtag2"]},{"1333274981":["hashtag1","hashtag2"]},{"1333274960":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333274947, 1333274994, 1333274952, 1333274987, 1333274981, 1333274960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.58746695518494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:35:32.392855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/34/image_31012025_10_34_55_10347.jpg', '/home/pi/Desktop/images/31012025/10/34/image_31012025_10_35_06_10465.jpg', '/home/pi/Desktop/images/31012025/10/35/image_31012025_10_35_15_9333.jpg', '/home/pi/Desktop/images/31012025/10/35/image_31012025_10_35_25_10354.jpg', '/home/pi/Desktop/images/31012025/10/35/image_31012025_10_35_35_9419.jpg', '/home/pi/Desktop/images/31012025/10/35/image_31012025_10_35_45_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/34/image_31012025_10_34_55_10347.jpg
/home/pi/Desktop/images/31012025/10/34/image_31012025_10_35_06_10465.jpg
/home/pi/Desktop/images/31012025/10/35/image_31012025_10_35_15_9333.jpg
/home/pi/Desktop/images/31012025/10/35/image_31012025_10_35_25_10354.jpg
/home/pi/Desktop/images/31012025/10/35/image_31012025_10_35_35_9419.jpg
/home/pi/Desktop/images/31012025/10/35/image_31012025_10_35_45_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6542098522186279 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 10:35:42.168815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/34/image_31012025_10_34_55_10347.jpg', '/home/pi/Desktop/images/31012025/10/34/image_31012025_10_35_06_10465.jpg', '/home/pi/Desktop/images/31012025/10/35/image_31012025_10_35_15_9333.jpg', '/home/pi/Desktop/images/31012025/10/35/image_31012025_10_35_25_10354.jpg', '/home/pi/Desktop/images/31012025/10/35/image_31012025_10_35_35_9419.jpg', '/home/pi/Desktop/images/31012025/10/35/image_31012025_10_35_45_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/34/image_31012025_10_34_55_10347.jpg
/home/pi/Desktop/images/31012025/10/34/image_31012025_10_35_06_10465.jpg
/home/pi/Desktop/images/31012025/10/35/image_31012025_10_35_15_9333.jpg
/home/pi/Desktop/images/31012025/10/35/image_31012025_10_35_25_10354.jpg
/home/pi/Desktop/images/31012025/10/35/image_31012025_10_35_35_9419.jpg
/home/pi/Desktop/images/31012025/10/35/image_31012025_10_35_45_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":["1333275544","1333275538","1333275526","1333275554","1333275551","1333275548"],"photo_ids_order":["1333275526","1333275538","1333275544","1333275548","1333275551","1333275554"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2a32c301cdf995ac95d4efcc152ebec2.jpg","text":"TemporaryFile(/tmp/multipartBody8729686542811069518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316203082,"filename":"image_31012025_10_35_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/1/31/bf456baaf0f5510eae821b8c7074cda7.jpg","text":"TemporaryFile(/tmp/multipartBody1562593282734760950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316203082,"filename":"image_31012025_10_35_06_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bd5018141f0fdc6d0ffce886d42897e1.jpg","text":"TemporaryFile(/tmp/multipartBody5027428471335381448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316203082,"filename":"image_31012025_10_34_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/1/31/97ff090e58c6e1ed95138645c0daef48.jpg","text":"TemporaryFile(/tmp/multipartBody4876259675473847560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316203082,"filename":"image_31012025_10_35_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/1/31/54193302ac2db64fe875f47e12430d1f.jpg","text":"TemporaryFile(/tmp/multipartBody3061729615394913712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316203082,"filename":"image_31012025_10_35_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/1/31/077ebda1669aadfbcd1536c93b82cea5.jpg","text":"TemporaryFile(/tmp/multipartBody6579687343920009450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316203082,"filename":"image_31012025_10_35_25_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333275544","file1":"1333275538","file0":"1333275526","file4":"1333275551","file5":"1333275554","file3":"1333275548"},"map_files_photo_id_array":[{"photo_id":"1333275554","filename":"file5"},{"photo_id":"1333275544","filename":"file2"},{"photo_id":"1333275551","filename":"file4"},{"photo_id":"1333275538","filename":"file1"},{"photo_id":"1333275526","filename":"file0"},{"photo_id":"1333275548","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333275544":["hashtag1","hashtag2"]},{"1333275538":["hashtag1","hashtag2"]},{"1333275526":["hashtag1","hashtag2"]},{"1333275554":["hashtag1","hashtag2"]},{"1333275551":["hashtag1","hashtag2"]},{"1333275548":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333275544, 1333275538, 1333275526, 1333275554, 1333275551, 1333275548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.61528944969177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:36:32.484358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/35/image_31012025_10_35_56_10339.jpg', '/home/pi/Desktop/images/31012025/10/36/image_31012025_10_36_15_10335.jpg', '/home/pi/Desktop/images/31012025/10/36/image_31012025_10_36_26_10450.jpg', '/home/pi/Desktop/images/31012025/10/36/image_31012025_10_36_35_9343.jpg', '/home/pi/Desktop/images/31012025/10/36/image_31012025_10_36_45_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/35/image_31012025_10_35_56_10339.jpg
/home/pi/Desktop/images/31012025/10/36/image_31012025_10_36_15_10335.jpg
/home/pi/Desktop/images/31012025/10/36/image_31012025_10_36_26_10450.jpg
/home/pi/Desktop/images/31012025/10/36/image_31012025_10_36_35_9343.jpg
/home/pi/Desktop/images/31012025/10/36/image_31012025_10_36_45_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333275703","1333275720","1333275716","1333275710","1333275694"],"photo_ids_order":["1333275694","1333275703","1333275710","1333275716","1333275720"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/26f1d9e0ba1ca6f7d69653cf123c7c08.jpg","text":"TemporaryFile(/tmp/multipartBody7889157053992083705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316253366,"filename":"image_31012025_10_36_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f61e32ce4ae356467f1093e11d3145ad.jpg","text":"TemporaryFile(/tmp/multipartBody5932491705976387920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316253366,"filename":"image_31012025_10_36_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bd7271f1fb8c43438d434231496d9b4b.jpg","text":"TemporaryFile(/tmp/multipartBody3985065229992775011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316253366,"filename":"image_31012025_10_36_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/63e13aa9c3a061773087c720a02ffed4.jpg","text":"TemporaryFile(/tmp/multipartBody3632091830030159989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316253366,"filename":"image_31012025_10_36_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/1/31/49c982421617f967e1376d8cec717219.jpg","text":"TemporaryFile(/tmp/multipartBody9217716552560103471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316253366,"filename":"image_31012025_10_35_56_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333275710","file1":"1333275703","file0":"1333275694","file4":"1333275720","file3":"1333275716"},"map_files_photo_id_array":[{"photo_id":"1333275710","filename":"file2"},{"photo_id":"1333275720","filename":"file4"},{"photo_id":"1333275703","filename":"file1"},{"photo_id":"1333275694","filename":"file0"},{"photo_id":"1333275716","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333275703":["hashtag1","hashtag2"]},{"1333275720":["hashtag1","hashtag2"]},{"1333275716":["hashtag1","hashtag2"]},{"1333275710":["hashtag1","hashtag2"]},{"1333275694":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333275703, 1333275720, 1333275716, 1333275710, 1333275694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.695842027664185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:37:32.859194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/36/image_31012025_10_36_55_9432.jpg', '/home/pi/Desktop/images/31012025/10/36/image_31012025_10_37_05_10445.jpg', '/home/pi/Desktop/images/31012025/10/37/image_31012025_10_37_16_10473.jpg', '/home/pi/Desktop/images/31012025/10/37/image_31012025_10_37_25_9332.jpg', '/home/pi/Desktop/images/31012025/10/37/image_31012025_10_37_35_10347.jpg', '/home/pi/Desktop/images/31012025/10/37/image_31012025_10_37_45_9444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/36/image_31012025_10_36_55_9432.jpg
/home/pi/Desktop/images/31012025/10/36/image_31012025_10_37_05_10445.jpg
/home/pi/Desktop/images/31012025/10/37/image_31012025_10_37_16_10473.jpg
/home/pi/Desktop/images/31012025/10/37/image_31012025_10_37_25_9332.jpg
/home/pi/Desktop/images/31012025/10/37/image_31012025_10_37_35_10347.jpg
/home/pi/Desktop/images/31012025/10/37/image_31012025_10_37_45_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":["1333276108","1333276113","1333276118","1333276273","1333276243","1333276194"],"photo_ids_order":["1333276108","1333276113","1333276118","1333276194","1333276243","1333276273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ef779044705bcd06fb4a7fd5a42739c3.jpg","text":"TemporaryFile(/tmp/multipartBody5579322643932076816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316313758,"filename":"image_31012025_10_36_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/1/31/8896b9b60998b16260b879d6424d2581.jpg","text":"TemporaryFile(/tmp/multipartBody3728741427333686771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316313758,"filename":"image_31012025_10_37_05_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4c25c837d4ddd0a4dad8d5587066084c.jpg","text":"TemporaryFile(/tmp/multipartBody2324648639467815154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316313758,"filename":"image_31012025_10_37_16_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0d92f0bccfff4183663c6ae7e1228bae.jpg","text":"TemporaryFile(/tmp/multipartBody4440353810166586965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316313758,"filename":"image_31012025_10_37_45_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/544a2f3b81aa5c8c295bff4a681cdb50.jpg","text":"TemporaryFile(/tmp/multipartBody4550820733694620708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316313758,"filename":"image_31012025_10_37_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/1/31/bef63930d3686f510501db895fc5b65e.jpg","text":"TemporaryFile(/tmp/multipartBody8989556253575024129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316313758,"filename":"image_31012025_10_37_25_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333276118","file1":"1333276113","file0":"1333276108","file4":"1333276243","file5":"1333276273","file3":"1333276194"},"map_files_photo_id_array":[{"photo_id":"1333276273","filename":"file5"},{"photo_id":"1333276118","filename":"file2"},{"photo_id":"1333276243","filename":"file4"},{"photo_id":"1333276113","filename":"file1"},{"photo_id":"1333276108","filename":"file0"},{"photo_id":"1333276194","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333276108":["hashtag1","hashtag2"]},{"1333276113":["hashtag1","hashtag2"]},{"1333276118":["hashtag1","hashtag2"]},{"1333276273":["hashtag1","hashtag2"]},{"1333276243":["hashtag1","hashtag2"]},{"1333276194":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333276108, 1333276113, 1333276118, 1333276273, 1333276243, 1333276194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14313340187073 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:38:32.952181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/37/image_31012025_10_37_55_10341.jpg', '/home/pi/Desktop/images/31012025/10/37/image_31012025_10_38_06_10338.jpg', '/home/pi/Desktop/images/31012025/10/38/image_31012025_10_38_15_9389.jpg', '/home/pi/Desktop/images/31012025/10/38/image_31012025_10_38_25_10340.jpg', '/home/pi/Desktop/images/31012025/10/38/image_31012025_10_38_36_10397.jpg', '/home/pi/Desktop/images/31012025/10/38/image_31012025_10_38_45_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/37/image_31012025_10_37_55_10341.jpg
/home/pi/Desktop/images/31012025/10/37/image_31012025_10_38_06_10338.jpg
/home/pi/Desktop/images/31012025/10/38/image_31012025_10_38_15_9389.jpg
/home/pi/Desktop/images/31012025/10/38/image_31012025_10_38_25_10340.jpg
/home/pi/Desktop/images/31012025/10/38/image_31012025_10_38_36_10397.jpg
/home/pi/Desktop/images/31012025/10/38/image_31012025_10_38_45_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":["1333277439","1333277432","1333277435","1333277405","1333277437","1333277428"],"photo_ids_order":["1333277405","1333277428","1333277432","1333277435","1333277437","1333277439"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3bc0921430aaf9a88c609c0d49dd990f.jpg","text":"TemporaryFile(/tmp/multipartBody4126476748255658174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316373868,"filename":"image_31012025_10_38_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/1/31/67c6a478961dc4969e1305b17b2f924b.jpg","text":"TemporaryFile(/tmp/multipartBody8505718199435618653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316373868,"filename":"image_31012025_10_38_15_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/108716cce7b3283bcf443d4231838806.jpg","text":"TemporaryFile(/tmp/multipartBody5470898489573274224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316373868,"filename":"image_31012025_10_38_25_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ee15210a5ddbacea3b371c3bc9ffe914.jpg","text":"TemporaryFile(/tmp/multipartBody52733655840256277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316373868,"filename":"image_31012025_10_37_55_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f18d75b63778b14978df0b99a82b3f93.jpg","text":"TemporaryFile(/tmp/multipartBody7908466820533378345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316373868,"filename":"image_31012025_10_38_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/1/31/37ccce47202a954445d9f6ed57e34d60.jpg","text":"TemporaryFile(/tmp/multipartBody1103387906009949292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316373868,"filename":"image_31012025_10_38_06_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333277432","file1":"1333277428","file0":"1333277405","file4":"1333277437","file5":"1333277439","file3":"1333277435"},"map_files_photo_id_array":[{"photo_id":"1333277439","filename":"file5"},{"photo_id":"1333277432","filename":"file2"},{"photo_id":"1333277437","filename":"file4"},{"photo_id":"1333277428","filename":"file1"},{"photo_id":"1333277405","filename":"file0"},{"photo_id":"1333277435","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333277439":["hashtag1","hashtag2"]},{"1333277432":["hashtag1","hashtag2"]},{"1333277435":["hashtag1","hashtag2"]},{"1333277405":["hashtag1","hashtag2"]},{"1333277437":["hashtag1","hashtag2"]},{"1333277428":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333277439, 1333277432, 1333277435, 1333277405, 1333277437, 1333277428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.266106843948364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:39:32.269103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/38/image_31012025_10_38_55_10354.jpg', '/home/pi/Desktop/images/31012025/10/38/image_31012025_10_39_06_10343.jpg', '/home/pi/Desktop/images/31012025/10/39/image_31012025_10_39_15_9334.jpg', '/home/pi/Desktop/images/31012025/10/39/image_31012025_10_39_36_10347.jpg', '/home/pi/Desktop/images/31012025/10/39/image_31012025_10_39_45_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/38/image_31012025_10_38_55_10354.jpg
/home/pi/Desktop/images/31012025/10/38/image_31012025_10_39_06_10343.jpg
/home/pi/Desktop/images/31012025/10/39/image_31012025_10_39_15_9334.jpg
/home/pi/Desktop/images/31012025/10/39/image_31012025_10_39_36_10347.jpg
/home/pi/Desktop/images/31012025/10/39/image_31012025_10_39_45_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":["1333277718","1333277762","1333277723","1333277734","1333277758"],"photo_ids_order":["1333277718","1333277723","1333277734","1333277758","1333277762"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2607250d9494e4b22f976952e3ec394c.jpg","text":"TemporaryFile(/tmp/multipartBody24444766505592228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316433174,"filename":"image_31012025_10_38_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/1/31/d0fbae46f09a698cebc4acdfdbade94c.jpg","text":"TemporaryFile(/tmp/multipartBody6793675997454035943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316433174,"filename":"image_31012025_10_39_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/1/31/426adf693a5295e69f38336b4c191734.jpg","text":"TemporaryFile(/tmp/multipartBody5771020169382430902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316433174,"filename":"image_31012025_10_39_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/1/31/8c05d6e2502507e544837515f2aa357b.jpg","text":"TemporaryFile(/tmp/multipartBody4380550272950492813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316433174,"filename":"image_31012025_10_39_15_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1e32b89d94206b9bb7ed5a3d09ebb23e.jpg","text":"TemporaryFile(/tmp/multipartBody5699316770480180734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316433174,"filename":"image_31012025_10_39_36_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333277734","file1":"1333277723","file0":"1333277718","file4":"1333277762","file3":"1333277758"},"map_files_photo_id_array":[{"photo_id":"1333277734","filename":"file2"},{"photo_id":"1333277762","filename":"file4"},{"photo_id":"1333277723","filename":"file1"},{"photo_id":"1333277718","filename":"file0"},{"photo_id":"1333277758","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333277718":["hashtag1","hashtag2"]},{"1333277762":["hashtag1","hashtag2"]},{"1333277723":["hashtag1","hashtag2"]},{"1333277734":["hashtag1","hashtag2"]},{"1333277758":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333277718, 1333277762, 1333277723, 1333277734, 1333277758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.66288924217224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:40:32.473755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/39/image_31012025_10_39_56_10448.jpg', '/home/pi/Desktop/images/31012025/10/39/image_31012025_10_40_05_9337.jpg', '/home/pi/Desktop/images/31012025/10/40/image_31012025_10_40_15_10343.jpg', '/home/pi/Desktop/images/31012025/10/40/image_31012025_10_40_26_10452.jpg', '/home/pi/Desktop/images/31012025/10/40/image_31012025_10_40_35_9332.jpg', '/home/pi/Desktop/images/31012025/10/40/image_31012025_10_40_45_10396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/39/image_31012025_10_39_56_10448.jpg
/home/pi/Desktop/images/31012025/10/39/image_31012025_10_40_05_9337.jpg
/home/pi/Desktop/images/31012025/10/40/image_31012025_10_40_15_10343.jpg
/home/pi/Desktop/images/31012025/10/40/image_31012025_10_40_26_10452.jpg
/home/pi/Desktop/images/31012025/10/40/image_31012025_10_40_35_9332.jpg
/home/pi/Desktop/images/31012025/10/40/image_31012025_10_40_45_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":["1333278191","1333278047","1333277999","1333278128","1333278122","1333278178"],"photo_ids_order":["1333277999","1333278047","1333278122","1333278128","1333278178","1333278191"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c4764a49e1bfcf63e187f9e163ae5538.jpg","text":"TemporaryFile(/tmp/multipartBody8523343867024041649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316493373,"filename":"image_31012025_10_40_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/1/31/c9f1d9856c3a3df33b5a66fad9845f69.jpg","text":"TemporaryFile(/tmp/multipartBody1901960844915631861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316493373,"filename":"image_31012025_10_40_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/1/31/c1f4586fa535da7c0b2aa1cc7f271dc0.jpg","text":"TemporaryFile(/tmp/multipartBody5029256801063347363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316493373,"filename":"image_31012025_10_39_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/1/31/7f181594d9f508d5bd5c042e42e49362.jpg","text":"TemporaryFile(/tmp/multipartBody6610467807517986477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316493373,"filename":"image_31012025_10_40_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/1/31/b2a4f8691041a513db5e79a601b01af0.jpg","text":"TemporaryFile(/tmp/multipartBody8315043943081708572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316493373,"filename":"image_31012025_10_40_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/1/31/3bdf660a82cce658e51627e1e8a082fd.jpg","text":"TemporaryFile(/tmp/multipartBody6739071640759360988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316493373,"filename":"image_31012025_10_40_35_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333278122","file1":"1333278047","file0":"1333277999","file4":"1333278178","file5":"1333278191","file3":"1333278128"},"map_files_photo_id_array":[{"photo_id":"1333278191","filename":"file5"},{"photo_id":"1333278122","filename":"file2"},{"photo_id":"1333278178","filename":"file4"},{"photo_id":"1333278047","filename":"file1"},{"photo_id":"1333277999","filename":"file0"},{"photo_id":"1333278128","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333278191":["hashtag1","hashtag2"]},{"1333278047":["hashtag1","hashtag2"]},{"1333277999":["hashtag1","hashtag2"]},{"1333278128":["hashtag1","hashtag2"]},{"1333278122":["hashtag1","hashtag2"]},{"1333278178":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333278191, 1333278047, 1333277999, 1333278128, 1333278122, 1333278178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.84314966201782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:41:32.707371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/40/image_31012025_10_40_55_9375.jpg', '/home/pi/Desktop/images/31012025/10/40/image_31012025_10_41_05_10334.jpg', '/home/pi/Desktop/images/31012025/10/41/image_31012025_10_41_16_10383.jpg', '/home/pi/Desktop/images/31012025/10/41/image_31012025_10_41_25_9350.jpg', '/home/pi/Desktop/images/31012025/10/41/image_31012025_10_41_35_10395.jpg', '/home/pi/Desktop/images/31012025/10/41/image_31012025_10_41_46_10405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/40/image_31012025_10_40_55_9375.jpg
/home/pi/Desktop/images/31012025/10/40/image_31012025_10_41_05_10334.jpg
/home/pi/Desktop/images/31012025/10/41/image_31012025_10_41_16_10383.jpg
/home/pi/Desktop/images/31012025/10/41/image_31012025_10_41_25_9350.jpg
/home/pi/Desktop/images/31012025/10/41/image_31012025_10_41_35_10395.jpg
/home/pi/Desktop/images/31012025/10/41/image_31012025_10_41_46_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":["1333278641","1333278563","1333278626","1333278646","1333278576","1333278633"],"photo_ids_order":["1333278563","1333278576","1333278626","1333278633","1333278641","1333278646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dce3d09706e2ba2e832f2e9d3c67eecf.jpg","text":"TemporaryFile(/tmp/multipartBody5984409860681707585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316553610,"filename":"image_31012025_10_41_35_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6c9161a3c9bb8bd48d5e566c9a4fbba9.jpg","text":"TemporaryFile(/tmp/multipartBody1942937992410354204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316553610,"filename":"image_31012025_10_40_55_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d036e27f6467a4e302a9c3ea87a9b51e.jpg","text":"TemporaryFile(/tmp/multipartBody8019714884595544324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316553610,"filename":"image_31012025_10_41_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/1/31/df4712c21d5aa5ceaadb1af06e5d305a.jpg","text":"TemporaryFile(/tmp/multipartBody577623464528748185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316553610,"filename":"image_31012025_10_41_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/1/31/8536294132eb0e20272d1a7cb4fac79e.jpg","text":"TemporaryFile(/tmp/multipartBody712312138716107973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316553610,"filename":"image_31012025_10_41_05_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/84470f4376f7187ef11d615d5dbe0f6c.jpg","text":"TemporaryFile(/tmp/multipartBody3813589699821886947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316553610,"filename":"image_31012025_10_41_25_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333278626","file1":"1333278576","file0":"1333278563","file4":"1333278641","file5":"1333278646","file3":"1333278633"},"map_files_photo_id_array":[{"photo_id":"1333278646","filename":"file5"},{"photo_id":"1333278626","filename":"file2"},{"photo_id":"1333278641","filename":"file4"},{"photo_id":"1333278576","filename":"file1"},{"photo_id":"1333278563","filename":"file0"},{"photo_id":"1333278633","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333278641":["hashtag1","hashtag2"]},{"1333278563":["hashtag1","hashtag2"]},{"1333278626":["hashtag1","hashtag2"]},{"1333278646":["hashtag1","hashtag2"]},{"1333278576":["hashtag1","hashtag2"]},{"1333278633":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333278641, 1333278563, 1333278626, 1333278646, 1333278576, 1333278633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.50710463523865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:42:32.969592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/41/image_31012025_10_41_55_9347.jpg', '/home/pi/Desktop/images/31012025/10/41/image_31012025_10_42_05_10375.jpg', '/home/pi/Desktop/images/31012025/10/42/image_31012025_10_42_16_10333.jpg', '/home/pi/Desktop/images/31012025/10/42/image_31012025_10_42_25_9350.jpg', '/home/pi/Desktop/images/31012025/10/42/image_31012025_10_42_36_10358.jpg', '/home/pi/Desktop/images/31012025/10/42/image_31012025_10_42_45_9425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/41/image_31012025_10_41_55_9347.jpg
/home/pi/Desktop/images/31012025/10/41/image_31012025_10_42_05_10375.jpg
/home/pi/Desktop/images/31012025/10/42/image_31012025_10_42_16_10333.jpg
/home/pi/Desktop/images/31012025/10/42/image_31012025_10_42_25_9350.jpg
/home/pi/Desktop/images/31012025/10/42/image_31012025_10_42_36_10358.jpg
/home/pi/Desktop/images/31012025/10/42/image_31012025_10_42_45_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":["1333278692","1333278665","1333278680","1333278694","1333278687","1333278672"],"photo_ids_order":["1333278665","1333278672","1333278680","1333278687","1333278692","1333278694"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c8eb93874331ab7bb4d84e74686523ba.jpg","text":"TemporaryFile(/tmp/multipartBody2232271532534999806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316613865,"filename":"image_31012025_10_42_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/1/31/c8229ff4a89dcd1ca0e445c627fcfc03.jpg","text":"TemporaryFile(/tmp/multipartBody6207864333936644487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316613865,"filename":"image_31012025_10_41_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/1/31/7b97b4faabcb9118fda8f835673ea0ca.jpg","text":"TemporaryFile(/tmp/multipartBody2879891421230430348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316613865,"filename":"image_31012025_10_42_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/1/31/5fa98cb10acc994995bc04e066fa3a99.jpg","text":"TemporaryFile(/tmp/multipartBody1704885538747518721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316613865,"filename":"image_31012025_10_42_45_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0fae6ec60c6aaf7971082efb94550375.jpg","text":"TemporaryFile(/tmp/multipartBody2252735674661467511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316613865,"filename":"image_31012025_10_42_25_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2b14595a9ae464db9bb590c86fe47ab4.jpg","text":"TemporaryFile(/tmp/multipartBody5171122998720825686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316613865,"filename":"image_31012025_10_42_05_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333278680","file1":"1333278672","file0":"1333278665","file4":"1333278692","file5":"1333278694","file3":"1333278687"},"map_files_photo_id_array":[{"photo_id":"1333278694","filename":"file5"},{"photo_id":"1333278680","filename":"file2"},{"photo_id":"1333278692","filename":"file4"},{"photo_id":"1333278672","filename":"file1"},{"photo_id":"1333278665","filename":"file0"},{"photo_id":"1333278687","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333278692":["hashtag1","hashtag2"]},{"1333278665":["hashtag1","hashtag2"]},{"1333278680":["hashtag1","hashtag2"]},{"1333278694":["hashtag1","hashtag2"]},{"1333278687":["hashtag1","hashtag2"]},{"1333278672":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333278692, 1333278665, 1333278680, 1333278694, 1333278687, 1333278672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.501370429992676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:43:32.351450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/42/image_31012025_10_42_55_10363.jpg', '/home/pi/Desktop/images/31012025/10/42/image_31012025_10_43_06_10343.jpg', '/home/pi/Desktop/images/31012025/10/43/image_31012025_10_43_15_9371.jpg', '/home/pi/Desktop/images/31012025/10/43/image_31012025_10_43_25_10358.jpg', '/home/pi/Desktop/images/31012025/10/43/image_31012025_10_43_36_10460.jpg', '/home/pi/Desktop/images/31012025/10/43/image_31012025_10_43_45_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/42/image_31012025_10_42_55_10363.jpg
/home/pi/Desktop/images/31012025/10/42/image_31012025_10_43_06_10343.jpg
/home/pi/Desktop/images/31012025/10/43/image_31012025_10_43_15_9371.jpg
/home/pi/Desktop/images/31012025/10/43/image_31012025_10_43_25_10358.jpg
/home/pi/Desktop/images/31012025/10/43/image_31012025_10_43_36_10460.jpg
/home/pi/Desktop/images/31012025/10/43/image_31012025_10_43_45_9355.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5081794261932373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 10:43:42.404856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/42/image_31012025_10_42_55_10363.jpg', '/home/pi/Desktop/images/31012025/10/42/image_31012025_10_43_06_10343.jpg', '/home/pi/Desktop/images/31012025/10/43/image_31012025_10_43_15_9371.jpg', '/home/pi/Desktop/images/31012025/10/43/image_31012025_10_43_25_10358.jpg', '/home/pi/Desktop/images/31012025/10/43/image_31012025_10_43_36_10460.jpg', '/home/pi/Desktop/images/31012025/10/43/image_31012025_10_43_45_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/42/image_31012025_10_42_55_10363.jpg
/home/pi/Desktop/images/31012025/10/42/image_31012025_10_43_06_10343.jpg
/home/pi/Desktop/images/31012025/10/43/image_31012025_10_43_15_9371.jpg
/home/pi/Desktop/images/31012025/10/43/image_31012025_10_43_25_10358.jpg
/home/pi/Desktop/images/31012025/10/43/image_31012025_10_43_36_10460.jpg
/home/pi/Desktop/images/31012025/10/43/image_31012025_10_43_45_9355.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":["1333278740","1333278734","1333278753","1333278744","1333278747","1333278729"],"photo_ids_order":["1333278729","1333278734","1333278740","1333278744","1333278747","1333278753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b75ff233292acd4b928ef80c2fcf138b.jpg","text":"TemporaryFile(/tmp/multipartBody6602878274015806288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316683329,"filename":"image_31012025_10_43_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/1/31/3356c50228f89e6216bf4795847d21c1.jpg","text":"TemporaryFile(/tmp/multipartBody5604879071100788157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316683329,"filename":"image_31012025_10_43_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/1/31/de64d319218340eed537eb1f998b2aff.jpg","text":"TemporaryFile(/tmp/multipartBody4518014940727717669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316683329,"filename":"image_31012025_10_43_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/1/31/c4ef799656bbb5486133983402dbce95.jpg","text":"TemporaryFile(/tmp/multipartBody5730543320792034270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316683329,"filename":"image_31012025_10_43_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/1/31/ba4881a17df48d82ed024bda1be34604.jpg","text":"TemporaryFile(/tmp/multipartBody92257169885780720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316683329,"filename":"image_31012025_10_43_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/1/31/4ba1c735e4856fc6f9127e6353027170.jpg","text":"TemporaryFile(/tmp/multipartBody3480727968386697877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316683329,"filename":"image_31012025_10_42_55_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333278740","file1":"1333278734","file0":"1333278729","file4":"1333278747","file5":"1333278753","file3":"1333278744"},"map_files_photo_id_array":[{"photo_id":"1333278753","filename":"file5"},{"photo_id":"1333278740","filename":"file2"},{"photo_id":"1333278747","filename":"file4"},{"photo_id":"1333278734","filename":"file1"},{"photo_id":"1333278729","filename":"file0"},{"photo_id":"1333278744","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333278740":["hashtag1","hashtag2"]},{"1333278734":["hashtag1","hashtag2"]},{"1333278753":["hashtag1","hashtag2"]},{"1333278744":["hashtag1","hashtag2"]},{"1333278747":["hashtag1","hashtag2"]},{"1333278729":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333278740, 1333278734, 1333278753, 1333278744, 1333278747, 1333278729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.924742221832275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:44:32.432109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/43/image_31012025_10_43_56_10404.jpg', '/home/pi/Desktop/images/31012025/10/43/image_31012025_10_44_05_9410.jpg', '/home/pi/Desktop/images/31012025/10/44/image_31012025_10_44_15_10402.jpg', '/home/pi/Desktop/images/31012025/10/44/image_31012025_10_44_25_9432.jpg', '/home/pi/Desktop/images/31012025/10/44/image_31012025_10_44_35_10349.jpg', '/home/pi/Desktop/images/31012025/10/44/image_31012025_10_44_46_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/43/image_31012025_10_43_56_10404.jpg
/home/pi/Desktop/images/31012025/10/43/image_31012025_10_44_05_9410.jpg
/home/pi/Desktop/images/31012025/10/44/image_31012025_10_44_15_10402.jpg
/home/pi/Desktop/images/31012025/10/44/image_31012025_10_44_25_9432.jpg
/home/pi/Desktop/images/31012025/10/44/image_31012025_10_44_35_10349.jpg
/home/pi/Desktop/images/31012025/10/44/image_31012025_10_44_46_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":["1333278848","1333278895","1333278853","1333278841","1333278855","1333278912"],"photo_ids_order":["1333278841","1333278848","1333278853","1333278855","1333278895","1333278912"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/72b64ff2d0f7c0fbb82a1395fe9d39de.jpg","text":"TemporaryFile(/tmp/multipartBody3223745071727987594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316733335,"filename":"image_31012025_10_44_05_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5602ba1fd4e020b753a1052f1ddf90a0.jpg","text":"TemporaryFile(/tmp/multipartBody3174451814053152355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316733335,"filename":"image_31012025_10_44_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/1/31/1cabaf9f25ee0655aa34d4979e1b7a2f.jpg","text":"TemporaryFile(/tmp/multipartBody7056478818139846226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316733335,"filename":"image_31012025_10_44_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/1/31/2cc05d00963beb02d8c536d3aa30338b.jpg","text":"TemporaryFile(/tmp/multipartBody7564066101332174200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316733335,"filename":"image_31012025_10_43_56_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d3aaa6419b194de0131e62a1ec915e76.jpg","text":"TemporaryFile(/tmp/multipartBody9164881659748564311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316733335,"filename":"image_31012025_10_44_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/1/31/8983ad01f5f4dff9059f2e02d5ee9fd0.jpg","text":"TemporaryFile(/tmp/multipartBody5273500866003022329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316733335,"filename":"image_31012025_10_44_46_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333278853","file1":"1333278848","file0":"1333278841","file4":"1333278895","file5":"1333278912","file3":"1333278855"},"map_files_photo_id_array":[{"photo_id":"1333278912","filename":"file5"},{"photo_id":"1333278853","filename":"file2"},{"photo_id":"1333278895","filename":"file4"},{"photo_id":"1333278848","filename":"file1"},{"photo_id":"1333278841","filename":"file0"},{"photo_id":"1333278855","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333278848":["hashtag1","hashtag2"]},{"1333278895":["hashtag1","hashtag2"]},{"1333278853":["hashtag1","hashtag2"]},{"1333278841":["hashtag1","hashtag2"]},{"1333278855":["hashtag1","hashtag2"]},{"1333278912":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333278848, 1333278895, 1333278853, 1333278841, 1333278855, 1333278912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.391688108444214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:45:32.666755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/44/image_31012025_10_44_55_9393.jpg', '/home/pi/Desktop/images/31012025/10/44/image_31012025_10_45_05_10349.jpg', '/home/pi/Desktop/images/31012025/10/45/image_31012025_10_45_16_10557.jpg', '/home/pi/Desktop/images/31012025/10/45/image_31012025_10_45_36_10450.jpg', '/home/pi/Desktop/images/31012025/10/45/image_31012025_10_45_45_9448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/44/image_31012025_10_44_55_9393.jpg
/home/pi/Desktop/images/31012025/10/44/image_31012025_10_45_05_10349.jpg
/home/pi/Desktop/images/31012025/10/45/image_31012025_10_45_16_10557.jpg
/home/pi/Desktop/images/31012025/10/45/image_31012025_10_45_36_10450.jpg
/home/pi/Desktop/images/31012025/10/45/image_31012025_10_45_45_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":["1333278983","1333278977","1333278970","1333278952","1333278963"],"photo_ids_order":["1333278952","1333278963","1333278970","1333278977","1333278983"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/228a3b67c97de04d37c092149824423c.jpg","text":"TemporaryFile(/tmp/multipartBody1115984375098828449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316793549,"filename":"image_31012025_10_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/1/31/2c172cf20255e7a8785f054fd8a26021.jpg","text":"TemporaryFile(/tmp/multipartBody7489586718301791619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316793549,"filename":"image_31012025_10_45_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/1/31/18fe64eaffc9b2eaca03afc027f1dcf6.jpg","text":"TemporaryFile(/tmp/multipartBody6847172622998154068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316793549,"filename":"image_31012025_10_45_16_10557.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1e171e5b0afc0f73abb596a21f242985.jpg","text":"TemporaryFile(/tmp/multipartBody6585920353190572521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316793549,"filename":"image_31012025_10_44_55_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3c1ffe375c4f160201ef6b3e4ea61cc0.jpg","text":"TemporaryFile(/tmp/multipartBody4552530828803407283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316793549,"filename":"image_31012025_10_45_05_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333278970","file1":"1333278963","file0":"1333278952","file4":"1333278983","file3":"1333278977"},"map_files_photo_id_array":[{"photo_id":"1333278970","filename":"file2"},{"photo_id":"1333278983","filename":"file4"},{"photo_id":"1333278963","filename":"file1"},{"photo_id":"1333278952","filename":"file0"},{"photo_id":"1333278977","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333278983":["hashtag1","hashtag2"]},{"1333278977":["hashtag1","hashtag2"]},{"1333278970":["hashtag1","hashtag2"]},{"1333278952":["hashtag1","hashtag2"]},{"1333278963":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333278983, 1333278977, 1333278970, 1333278952, 1333278963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.097880125045776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:46:32.968776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/45/image_31012025_10_45_56_10351.jpg', '/home/pi/Desktop/images/31012025/10/45/image_31012025_10_46_05_9427.jpg', '/home/pi/Desktop/images/31012025/10/46/image_31012025_10_46_15_10351.jpg', '/home/pi/Desktop/images/31012025/10/46/image_31012025_10_46_26_10421.jpg', '/home/pi/Desktop/images/31012025/10/46/image_31012025_10_46_35_9341.jpg', '/home/pi/Desktop/images/31012025/10/46/image_31012025_10_46_45_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/45/image_31012025_10_45_56_10351.jpg
/home/pi/Desktop/images/31012025/10/45/image_31012025_10_46_05_9427.jpg
/home/pi/Desktop/images/31012025/10/46/image_31012025_10_46_15_10351.jpg
/home/pi/Desktop/images/31012025/10/46/image_31012025_10_46_26_10421.jpg
/home/pi/Desktop/images/31012025/10/46/image_31012025_10_46_35_9341.jpg
/home/pi/Desktop/images/31012025/10/46/image_31012025_10_46_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":["1333279316","1333279310","1333279498","1333279444","1333279339","1333279425"],"photo_ids_order":["1333279310","1333279316","1333279339","1333279425","1333279444","1333279498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d04e2df52b7b575b385425d4172d465c.jpg","text":"TemporaryFile(/tmp/multipartBody4842277211471182523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316853898,"filename":"image_31012025_10_46_05_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/91de0dd5d209eb767fc4286d45651c0d.jpg","text":"TemporaryFile(/tmp/multipartBody7402971038532244862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316853898,"filename":"image_31012025_10_45_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/1/31/bef3cffc68c2c68a55b720132e8b3469.jpg","text":"TemporaryFile(/tmp/multipartBody7641966982881456332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316853898,"filename":"image_31012025_10_46_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/1/31/ae1c3f37a057fb2ed4360ec080df587a.jpg","text":"TemporaryFile(/tmp/multipartBody8312916602183670327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316853898,"filename":"image_31012025_10_46_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/1/31/de1a693bac1509d4493b8589b92e514f.jpg","text":"TemporaryFile(/tmp/multipartBody5982341006317314254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316853898,"filename":"image_31012025_10_46_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/1/31/c741c2b88aa1817cb0d407f445bd11ba.jpg","text":"TemporaryFile(/tmp/multipartBody3341360342428301824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316853898,"filename":"image_31012025_10_46_26_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333279339","file1":"1333279316","file0":"1333279310","file4":"1333279444","file5":"1333279498","file3":"1333279425"},"map_files_photo_id_array":[{"photo_id":"1333279498","filename":"file5"},{"photo_id":"1333279339","filename":"file2"},{"photo_id":"1333279444","filename":"file4"},{"photo_id":"1333279316","filename":"file1"},{"photo_id":"1333279310","filename":"file0"},{"photo_id":"1333279425","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333279316":["hashtag1","hashtag2"]},{"1333279310":["hashtag1","hashtag2"]},{"1333279498":["hashtag1","hashtag2"]},{"1333279444":["hashtag1","hashtag2"]},{"1333279339":["hashtag1","hashtag2"]},{"1333279425":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333279316, 1333279310, 1333279498, 1333279444, 1333279339, 1333279425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.05665969848633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:47:33.054454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/46/image_31012025_10_46_55_9381.jpg', '/home/pi/Desktop/images/31012025/10/46/image_31012025_10_47_05_10348.jpg', '/home/pi/Desktop/images/31012025/10/47/image_31012025_10_47_16_10350.jpg', '/home/pi/Desktop/images/31012025/10/47/image_31012025_10_47_25_9359.jpg', '/home/pi/Desktop/images/31012025/10/47/image_31012025_10_47_35_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/46/image_31012025_10_46_55_9381.jpg
/home/pi/Desktop/images/31012025/10/46/image_31012025_10_47_05_10348.jpg
/home/pi/Desktop/images/31012025/10/47/image_31012025_10_47_16_10350.jpg
/home/pi/Desktop/images/31012025/10/47/image_31012025_10_47_25_9359.jpg
/home/pi/Desktop/images/31012025/10/47/image_31012025_10_47_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":["1333279760","1333279741","1333279735","1333279632","1333279626"],"photo_ids_order":["1333279626","1333279632","1333279735","1333279741","1333279760"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5278a9a65aa9c8c3d18ae67bc684ede8.jpg","text":"TemporaryFile(/tmp/multipartBody6621020655021203492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316913961,"filename":"image_31012025_10_47_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/1/31/1c46f3868eb6b62b546ae56481ca8386.jpg","text":"TemporaryFile(/tmp/multipartBody4689193948043293681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316913961,"filename":"image_31012025_10_47_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/1/31/ec601d1e715f650e5301073022db51a0.jpg","text":"TemporaryFile(/tmp/multipartBody5659363137791123080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316913961,"filename":"image_31012025_10_47_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/1/31/cc49ad3708c1efb9594a177c42e238a9.jpg","text":"TemporaryFile(/tmp/multipartBody2927154020817073987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316913961,"filename":"image_31012025_10_47_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/1/31/34c98001645a6787cda12ff98d697358.jpg","text":"TemporaryFile(/tmp/multipartBody98801214573591237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316913961,"filename":"image_31012025_10_46_55_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333279735","file1":"1333279632","file0":"1333279626","file4":"1333279760","file3":"1333279741"},"map_files_photo_id_array":[{"photo_id":"1333279735","filename":"file2"},{"photo_id":"1333279760","filename":"file4"},{"photo_id":"1333279632","filename":"file1"},{"photo_id":"1333279626","filename":"file0"},{"photo_id":"1333279741","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333279760":["hashtag1","hashtag2"]},{"1333279741":["hashtag1","hashtag2"]},{"1333279735":["hashtag1","hashtag2"]},{"1333279632":["hashtag1","hashtag2"]},{"1333279626":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333279760, 1333279741, 1333279735, 1333279632, 1333279626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.3603515625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:48:32.267944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/47/image_31012025_10_47_46_10360.jpg', '/home/pi/Desktop/images/31012025/10/47/image_31012025_10_48_05_10357.jpg', '/home/pi/Desktop/images/31012025/10/48/image_31012025_10_48_16_10391.jpg', '/home/pi/Desktop/images/31012025/10/48/image_31012025_10_48_25_9350.jpg', '/home/pi/Desktop/images/31012025/10/48/image_31012025_10_48_35_10417.jpg', '/home/pi/Desktop/images/31012025/10/48/image_31012025_10_48_45_9447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/47/image_31012025_10_47_46_10360.jpg
/home/pi/Desktop/images/31012025/10/47/image_31012025_10_48_05_10357.jpg
/home/pi/Desktop/images/31012025/10/48/image_31012025_10_48_16_10391.jpg
/home/pi/Desktop/images/31012025/10/48/image_31012025_10_48_25_9350.jpg
/home/pi/Desktop/images/31012025/10/48/image_31012025_10_48_35_10417.jpg
/home/pi/Desktop/images/31012025/10/48/image_31012025_10_48_45_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":["1333279846","1333279906","1333279909","1333279863","1333279868","1333279856"],"photo_ids_order":["1333279846","1333279856","1333279863","1333279868","1333279906","1333279909"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2843f1ad6851f43b94c9fbfbc6971d22.jpg","text":"TemporaryFile(/tmp/multipartBody3342651373201200821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316973172,"filename":"image_31012025_10_47_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/1/31/28c4750e8e2cd0f7394f87b9f11dac3a.jpg","text":"TemporaryFile(/tmp/multipartBody7021974184486936740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316973172,"filename":"image_31012025_10_48_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/1/31/11b27534bd7a521eb1d1deae59cac3b7.jpg","text":"TemporaryFile(/tmp/multipartBody7284084452242838736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316973172,"filename":"image_31012025_10_48_45_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f7604fd92e2311f296ddda843e3e13dc.jpg","text":"TemporaryFile(/tmp/multipartBody2092070947252306417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316973172,"filename":"image_31012025_10_48_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/1/31/4800c5c303d06ee72427d603d934e532.jpg","text":"TemporaryFile(/tmp/multipartBody579495699616843077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316973172,"filename":"image_31012025_10_48_25_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/22899048a8b33813a667764670079c15.jpg","text":"TemporaryFile(/tmp/multipartBody8919400882139962969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738316973172,"filename":"image_31012025_10_48_05_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333279863","file1":"1333279856","file0":"1333279846","file4":"1333279906","file5":"1333279909","file3":"1333279868"},"map_files_photo_id_array":[{"photo_id":"1333279909","filename":"file5"},{"photo_id":"1333279863","filename":"file2"},{"photo_id":"1333279906","filename":"file4"},{"photo_id":"1333279856","filename":"file1"},{"photo_id":"1333279846","filename":"file0"},{"photo_id":"1333279868","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333279846":["hashtag1","hashtag2"]},{"1333279906":["hashtag1","hashtag2"]},{"1333279909":["hashtag1","hashtag2"]},{"1333279863":["hashtag1","hashtag2"]},{"1333279868":["hashtag1","hashtag2"]},{"1333279856":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333279846, 1333279906, 1333279909, 1333279863, 1333279868, 1333279856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.53965091705322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:49:32.511387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/48/image_31012025_10_48_55_10356.jpg', '/home/pi/Desktop/images/31012025/10/48/image_31012025_10_49_06_10419.jpg', '/home/pi/Desktop/images/31012025/10/49/image_31012025_10_49_15_9332.jpg', '/home/pi/Desktop/images/31012025/10/49/image_31012025_10_49_36_10350.jpg', '/home/pi/Desktop/images/31012025/10/49/image_31012025_10_49_45_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/48/image_31012025_10_48_55_10356.jpg
/home/pi/Desktop/images/31012025/10/48/image_31012025_10_49_06_10419.jpg
/home/pi/Desktop/images/31012025/10/49/image_31012025_10_49_15_9332.jpg
/home/pi/Desktop/images/31012025/10/49/image_31012025_10_49_36_10350.jpg
/home/pi/Desktop/images/31012025/10/49/image_31012025_10_49_45_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":["1333279959","1333279947","1333279982","1333279976","1333279970"],"photo_ids_order":["1333279947","1333279959","1333279970","1333279976","1333279982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7e0d2bf2473fd51d7a70bfecb014ae30.jpg","text":"TemporaryFile(/tmp/multipartBody1001016046282219587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317033403,"filename":"image_31012025_10_49_06_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fa69a046a7d546d52d8a30190e7ad3d4.jpg","text":"TemporaryFile(/tmp/multipartBody3127445668382122332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317033403,"filename":"image_31012025_10_48_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/1/31/510fce428c0bf5390d9995b4c133a937.jpg","text":"TemporaryFile(/tmp/multipartBody9163741768950449290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317033403,"filename":"image_31012025_10_49_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/1/31/abf0e871d010dbf8e85b3eed858a036a.jpg","text":"TemporaryFile(/tmp/multipartBody6482648415941225254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317033403,"filename":"image_31012025_10_49_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/1/31/795248d4afc304a01021f89cb16bf587.jpg","text":"TemporaryFile(/tmp/multipartBody8199170174148035634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317033403,"filename":"image_31012025_10_49_15_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333279970","file1":"1333279959","file0":"1333279947","file4":"1333279982","file3":"1333279976"},"map_files_photo_id_array":[{"photo_id":"1333279970","filename":"file2"},{"photo_id":"1333279982","filename":"file4"},{"photo_id":"1333279959","filename":"file1"},{"photo_id":"1333279947","filename":"file0"},{"photo_id":"1333279976","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333279959":["hashtag1","hashtag2"]},{"1333279947":["hashtag1","hashtag2"]},{"1333279982":["hashtag1","hashtag2"]},{"1333279976":["hashtag1","hashtag2"]},{"1333279970":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333279959, 1333279947, 1333279982, 1333279976, 1333279970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.69343400001526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:50:32.687372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/49/image_31012025_10_49_55_10353.jpg', '/home/pi/Desktop/images/31012025/10/49/image_31012025_10_50_05_9360.jpg', '/home/pi/Desktop/images/31012025/10/50/image_31012025_10_50_15_10342.jpg', '/home/pi/Desktop/images/31012025/10/50/image_31012025_10_50_26_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/49/image_31012025_10_49_55_10353.jpg
/home/pi/Desktop/images/31012025/10/49/image_31012025_10_50_05_9360.jpg
/home/pi/Desktop/images/31012025/10/50/image_31012025_10_50_15_10342.jpg
/home/pi/Desktop/images/31012025/10/50/image_31012025_10_50_26_10354.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.48265695571899414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 10:50:42.641442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/49/image_31012025_10_49_55_10353.jpg', '/home/pi/Desktop/images/31012025/10/49/image_31012025_10_50_05_9360.jpg', '/home/pi/Desktop/images/31012025/10/50/image_31012025_10_50_15_10342.jpg', '/home/pi/Desktop/images/31012025/10/50/image_31012025_10_50_26_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/49/image_31012025_10_49_55_10353.jpg
/home/pi/Desktop/images/31012025/10/49/image_31012025_10_50_05_9360.jpg
/home/pi/Desktop/images/31012025/10/50/image_31012025_10_50_15_10342.jpg
/home/pi/Desktop/images/31012025/10/50/image_31012025_10_50_26_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":["1333280182","1333280185","1333280178","1333280172"],"photo_ids_order":["1333280172","1333280178","1333280182","1333280185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/006115876c029c021a6bb931eb19c2a6.jpg","text":"TemporaryFile(/tmp/multipartBody3719212687593347580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317103517,"filename":"image_31012025_10_50_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/1/31/9c623135aa489634877d00ed982948c2.jpg","text":"TemporaryFile(/tmp/multipartBody7457913105429550417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317103517,"filename":"image_31012025_10_50_26_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2d913730a902efde4de80cbe02b3ad91.jpg","text":"TemporaryFile(/tmp/multipartBody8617982979172467987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317103517,"filename":"image_31012025_10_50_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/1/31/e79badcea7045cb1dc143da9081aff69.jpg","text":"TemporaryFile(/tmp/multipartBody91593576719323863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317103517,"filename":"image_31012025_10_49_55_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333280182","file1":"1333280178","file0":"1333280172","file3":"1333280185"},"map_files_photo_id_array":[{"photo_id":"1333280182","filename":"file2"},{"photo_id":"1333280178","filename":"file1"},{"photo_id":"1333280172","filename":"file0"},{"photo_id":"1333280185","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333280182":["hashtag1","hashtag2"]},{"1333280185":["hashtag1","hashtag2"]},{"1333280178":["hashtag1","hashtag2"]},{"1333280172":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333280182, 1333280185, 1333280178, 1333280172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.215117931365967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:51:33.038886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/26/image_28012025_22_27_05_10451.jpg', '/home/pi/Desktop/images/28012025/22/27/image_28012025_22_27_14_9407.jpg', '/home/pi/Desktop/images/28012025/22/27/image_28012025_22_27_35_10378.jpg', '/home/pi/Desktop/images/28012025/22/27/image_28012025_22_27_44_9439.jpg', '/home/pi/Desktop/images/28012025/22/27/image_28012025_22_27_55_10368.jpg', '/home/pi/Desktop/images/28012025/22/28/image_28012025_22_28_34_9402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/26/image_28012025_22_27_05_10451.jpg
/home/pi/Desktop/images/28012025/22/27/image_28012025_22_27_14_9407.jpg
/home/pi/Desktop/images/28012025/22/27/image_28012025_22_27_35_10378.jpg
/home/pi/Desktop/images/28012025/22/27/image_28012025_22_27_44_9439.jpg
/home/pi/Desktop/images/28012025/22/27/image_28012025_22_27_55_10368.jpg
/home/pi/Desktop/images/28012025/22/28/image_28012025_22_28_34_9402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333280486","1333280222","1333280484","1333280472","1333280481","1333280436"],"photo_ids_order":["1333280222","1333280436","1333280472","1333280481","1333280484","1333280486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/501f48ce6b0e02f59985438462a83942.jpg","text":"TemporaryFile(/tmp/multipartBody4946364769238410771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317155355,"filename":"image_28012025_22_28_34_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/377e4fbacd04efa775f217d5379042ab.jpg","text":"TemporaryFile(/tmp/multipartBody7518211264650763231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317155355,"filename":"image_28012025_22_27_05_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/139f42a0ee42d5c6b47323149b8b16c3.jpg","text":"TemporaryFile(/tmp/multipartBody5331125676387927247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317155355,"filename":"image_28012025_22_27_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/1/31/4b4751c8b2cfacc2e0835d2b449eccba.jpg","text":"TemporaryFile(/tmp/multipartBody5108483843021904295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317155355,"filename":"image_28012025_22_27_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/1/31/14389175146de8c182b6e214e8f8232a.jpg","text":"TemporaryFile(/tmp/multipartBody7157524442731136898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317155355,"filename":"image_28012025_22_27_44_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1be04fb5745c623b2282771dff25b9de.jpg","text":"TemporaryFile(/tmp/multipartBody316047026288153354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317155355,"filename":"image_28012025_22_27_14_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333280472","file1":"1333280436","file0":"1333280222","file4":"1333280484","file5":"1333280486","file3":"1333280481"},"map_files_photo_id_array":[{"photo_id":"1333280486","filename":"file5"},{"photo_id":"1333280472","filename":"file2"},{"photo_id":"1333280484","filename":"file4"},{"photo_id":"1333280436","filename":"file1"},{"photo_id":"1333280222","filename":"file0"},{"photo_id":"1333280481","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333280486":["hashtag1","hashtag2"]},{"1333280222":["hashtag1","hashtag2"]},{"1333280484":["hashtag1","hashtag2"]},{"1333280472":["hashtag1","hashtag2"]},{"1333280481":["hashtag1","hashtag2"]},{"1333280436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333280486, 1333280222, 1333280484, 1333280472, 1333280481, 1333280436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.76246428489685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:52:32.305562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/50/image_31012025_10_50_35_9339.jpg', '/home/pi/Desktop/images/31012025/10/52/image_31012025_10_52_25_9449.jpg', '/home/pi/Desktop/images/31012025/10/52/image_31012025_10_52_36_10410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/50/image_31012025_10_50_35_9339.jpg
/home/pi/Desktop/images/31012025/10/52/image_31012025_10_52_25_9449.jpg
/home/pi/Desktop/images/31012025/10/52/image_31012025_10_52_36_10410.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":["1333280551","1333280545","1333280538"],"photo_ids_order":["1333280538","1333280545","1333280551"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0f8d19a325f16a984662e8ff4fa6b20a.jpg","text":"TemporaryFile(/tmp/multipartBody5216176612445833960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317213167,"filename":"image_31012025_10_52_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/1/31/af1d26b0eed9de210448e8230295f637.jpg","text":"TemporaryFile(/tmp/multipartBody404762239253085748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317213167,"filename":"image_31012025_10_52_25_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4fb661c9907e1b7a1914a8e5a63bd7e3.jpg","text":"TemporaryFile(/tmp/multipartBody5023318576780622517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317213167,"filename":"image_31012025_10_50_35_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333280551","file1":"1333280545","file0":"1333280538"},"map_files_photo_id_array":[{"photo_id":"1333280551","filename":"file2"},{"photo_id":"1333280545","filename":"file1"},{"photo_id":"1333280538","filename":"file0"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333280551":["hashtag1","hashtag2"]},{"1333280545":["hashtag1","hashtag2"]},{"1333280538":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333280551, 1333280545, 1333280538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.747905492782593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 10:53:04.071412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/28/image_28012025_22_28_45_10352.jpg', '/home/pi/Desktop/images/28012025/22/28/image_28012025_22_28_55_10368.jpg', '/home/pi/Desktop/images/28012025/22/28/image_28012025_22_29_04_9413.jpg', '/home/pi/Desktop/images/28012025/22/29/image_28012025_22_29_24_9410.jpg', '/home/pi/Desktop/images/28012025/22/29/image_28012025_22_29_35_10415.jpg', '/home/pi/Desktop/images/28012025/22/29/image_28012025_22_29_54_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/28/image_28012025_22_28_45_10352.jpg
/home/pi/Desktop/images/28012025/22/28/image_28012025_22_28_55_10368.jpg
/home/pi/Desktop/images/28012025/22/28/image_28012025_22_29_04_9413.jpg
/home/pi/Desktop/images/28012025/22/29/image_28012025_22_29_24_9410.jpg
/home/pi/Desktop/images/28012025/22/29/image_28012025_22_29_35_10415.jpg
/home/pi/Desktop/images/28012025/22/29/image_28012025_22_29_54_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":["1333280657","1333280651","1333280645","1333280648","1333280636","1333280640"],"photo_ids_order":["1333280636","1333280640","1333280645","1333280648","1333280651","1333280657"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0c792b5f0bb0d90f9ec5a6354b8ca803.jpg","text":"TemporaryFile(/tmp/multipartBody7387148615277315252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317245819,"filename":"image_28012025_22_29_54_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f5dbe4b9d7958533d9c11fbfbf8a8f76.jpg","text":"TemporaryFile(/tmp/multipartBody691103647926735730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317245819,"filename":"image_28012025_22_29_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/1/31/7b63c539777f93c77ebe92ff824e9e97.jpg","text":"TemporaryFile(/tmp/multipartBody3778798092260700586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317245819,"filename":"image_28012025_22_29_04_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bdcbfb40de83ac3054fe164d577d1d54.jpg","text":"TemporaryFile(/tmp/multipartBody6067055186137964035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317245819,"filename":"image_28012025_22_29_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/1/31/854dc86feb838ea5e9c2098313e8c579.jpg","text":"TemporaryFile(/tmp/multipartBody6675253977874906295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317245819,"filename":"image_28012025_22_28_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/1/31/8fd9525324df0a71776387a440779f33.jpg","text":"TemporaryFile(/tmp/multipartBody2461320584442567130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317245819,"filename":"image_28012025_22_28_55_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333280645","file1":"1333280640","file0":"1333280636","file4":"1333280651","file5":"1333280657","file3":"1333280648"},"map_files_photo_id_array":[{"photo_id":"1333280657","filename":"file5"},{"photo_id":"1333280645","filename":"file2"},{"photo_id":"1333280651","filename":"file4"},{"photo_id":"1333280640","filename":"file1"},{"photo_id":"1333280636","filename":"file0"},{"photo_id":"1333280648","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333280657":["hashtag1","hashtag2"]},{"1333280651":["hashtag1","hashtag2"]},{"1333280645":["hashtag1","hashtag2"]},{"1333280648":["hashtag1","hashtag2"]},{"1333280636":["hashtag1","hashtag2"]},{"1333280640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333280657, 1333280651, 1333280645, 1333280648, 1333280636, 1333280640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.911136865615845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:53:52.470335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/52/image_31012025_10_52_55_10351.jpg', '/home/pi/Desktop/images/31012025/10/53/image_31012025_10_53_15_9330.jpg', '/home/pi/Desktop/images/31012025/10/53/image_31012025_10_53_25_10360.jpg', '/home/pi/Desktop/images/31012025/10/53/image_31012025_10_53_35_9441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/52/image_31012025_10_52_55_10351.jpg
/home/pi/Desktop/images/31012025/10/53/image_31012025_10_53_15_9330.jpg
/home/pi/Desktop/images/31012025/10/53/image_31012025_10_53_25_10360.jpg
/home/pi/Desktop/images/31012025/10/53/image_31012025_10_53_35_9441.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333280692","1333280686","1333280689","1333280680"],"photo_ids_order":["1333280680","1333280686","1333280689","1333280692"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e0b170356311bb4e6e7b06b613ddb336.jpg","text":"TemporaryFile(/tmp/multipartBody3492072396254197371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317293348,"filename":"image_31012025_10_53_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/1/31/57a04c40621561eaf4d9b104468befc0.jpg","text":"TemporaryFile(/tmp/multipartBody4460062964823304298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317293348,"filename":"image_31012025_10_53_15_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d4da10c37470282ab1df99a036db050e.jpg","text":"TemporaryFile(/tmp/multipartBody6888281537437199614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317293348,"filename":"image_31012025_10_53_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/1/31/260d4aa63d2986512e3d1474986457c5.jpg","text":"TemporaryFile(/tmp/multipartBody8484105668504544279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317293348,"filename":"image_31012025_10_52_55_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333280689","file1":"1333280686","file0":"1333280680","file3":"1333280692"},"map_files_photo_id_array":[{"photo_id":"1333280689","filename":"file2"},{"photo_id":"1333280686","filename":"file1"},{"photo_id":"1333280680","filename":"file0"},{"photo_id":"1333280692","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333280692":["hashtag1","hashtag2"]},{"1333280686":["hashtag1","hashtag2"]},{"1333280689":["hashtag1","hashtag2"]},{"1333280680":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333280692, 1333280686, 1333280689, 1333280680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.81639838218689 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:54:32.726900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/53/image_31012025_10_53_56_10360.jpg', '/home/pi/Desktop/images/31012025/10/54/image_31012025_10_54_15_10329.jpg', '/home/pi/Desktop/images/31012025/10/54/image_31012025_10_54_26_10391.jpg', '/home/pi/Desktop/images/31012025/10/54/image_31012025_10_54_35_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/53/image_31012025_10_53_56_10360.jpg
/home/pi/Desktop/images/31012025/10/54/image_31012025_10_54_15_10329.jpg
/home/pi/Desktop/images/31012025/10/54/image_31012025_10_54_26_10391.jpg
/home/pi/Desktop/images/31012025/10/54/image_31012025_10_54_35_9335.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":["1333281598","1333281696","1333281690","1333281684"],"photo_ids_order":["1333281598","1333281684","1333281690","1333281696"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bc77f25890cdb49001b18cbcc2a37533.jpg","text":"TemporaryFile(/tmp/multipartBody7438683495138817849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317333600,"filename":"image_31012025_10_53_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/1/31/1c216a5bd0e4090bd6941d913b806cba.jpg","text":"TemporaryFile(/tmp/multipartBody5757933163590901917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317333600,"filename":"image_31012025_10_54_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/1/31/8add6995a350fad5e6de5e68bde55771.jpg","text":"TemporaryFile(/tmp/multipartBody4886407732028368055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317333600,"filename":"image_31012025_10_54_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/1/31/b8a2fd4e5303b9016fbfc69cb9db5f36.jpg","text":"TemporaryFile(/tmp/multipartBody4772214648580486911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317333600,"filename":"image_31012025_10_54_15_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333281690","file1":"1333281684","file0":"1333281598","file3":"1333281696"},"map_files_photo_id_array":[{"photo_id":"1333281690","filename":"file2"},{"photo_id":"1333281684","filename":"file1"},{"photo_id":"1333281598","filename":"file0"},{"photo_id":"1333281696","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333281598":["hashtag1","hashtag2"]},{"1333281696":["hashtag1","hashtag2"]},{"1333281690":["hashtag1","hashtag2"]},{"1333281684":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333281598, 1333281696, 1333281690, 1333281684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.654316186904907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 10:55:04.442913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/29/image_28012025_22_30_05_10340.jpg', '/home/pi/Desktop/images/28012025/22/30/image_28012025_22_30_14_9363.jpg', '/home/pi/Desktop/images/28012025/22/30/image_28012025_22_30_24_10364.jpg', '/home/pi/Desktop/images/28012025/22/30/image_28012025_22_30_35_10355.jpg', '/home/pi/Desktop/images/28012025/22/30/image_28012025_22_30_44_9407.jpg', '/home/pi/Desktop/images/28012025/22/30/image_28012025_22_30_55_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/29/image_28012025_22_30_05_10340.jpg
/home/pi/Desktop/images/28012025/22/30/image_28012025_22_30_14_9363.jpg
/home/pi/Desktop/images/28012025/22/30/image_28012025_22_30_24_10364.jpg
/home/pi/Desktop/images/28012025/22/30/image_28012025_22_30_35_10355.jpg
/home/pi/Desktop/images/28012025/22/30/image_28012025_22_30_44_9407.jpg
/home/pi/Desktop/images/28012025/22/30/image_28012025_22_30_55_10419.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":["1333281722","1333281731","1333281710","1333281739","1333281718","1333281714"],"photo_ids_order":["1333281710","1333281714","1333281718","1333281722","1333281731","1333281739"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9ffbf28bdd26d2a844ea835adec71001.jpg","text":"TemporaryFile(/tmp/multipartBody3225679965951708957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317366630,"filename":"image_28012025_22_30_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/1/31/1f4d631090829d4467e96460e6adb9f9.jpg","text":"TemporaryFile(/tmp/multipartBody7589620291275420934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317366630,"filename":"image_28012025_22_30_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/1/31/9297e23b6249bfe9a518e3602ec50350.jpg","text":"TemporaryFile(/tmp/multipartBody5998759030156962249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317366630,"filename":"image_28012025_22_30_05_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1bab27278ce90ebdddf0bf95fa27bcf8.jpg","text":"TemporaryFile(/tmp/multipartBody8659727380196510135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317366630,"filename":"image_28012025_22_30_55_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f3f4fb1aad56bbe5e63accc37a8a6be4.jpg","text":"TemporaryFile(/tmp/multipartBody4906789908561876063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317366630,"filename":"image_28012025_22_30_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/1/31/0b2765f98df36726a4e547ad4eb4b253.jpg","text":"TemporaryFile(/tmp/multipartBody3507283790708255110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317366630,"filename":"image_28012025_22_30_14_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333281718","file1":"1333281714","file0":"1333281710","file4":"1333281731","file5":"1333281739","file3":"1333281722"},"map_files_photo_id_array":[{"photo_id":"1333281739","filename":"file5"},{"photo_id":"1333281718","filename":"file2"},{"photo_id":"1333281731","filename":"file4"},{"photo_id":"1333281714","filename":"file1"},{"photo_id":"1333281710","filename":"file0"},{"photo_id":"1333281722","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333281722":["hashtag1","hashtag2"]},{"1333281731":["hashtag1","hashtag2"]},{"1333281710":["hashtag1","hashtag2"]},{"1333281739":["hashtag1","hashtag2"]},{"1333281718":["hashtag1","hashtag2"]},{"1333281714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333281722, 1333281731, 1333281710, 1333281739, 1333281718, 1333281714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.769938707351685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:55:52.887376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/54/image_31012025_10_54_45_10351.jpg', '/home/pi/Desktop/images/31012025/10/54/image_31012025_10_55_05_10339.jpg', '/home/pi/Desktop/images/31012025/10/55/image_31012025_10_55_16_10523.jpg', '/home/pi/Desktop/images/31012025/10/55/image_31012025_10_55_25_9431.jpg', '/home/pi/Desktop/images/31012025/10/55/image_31012025_10_55_36_10328.jpg', '/home/pi/Desktop/images/31012025/10/55/image_31012025_10_55_45_9447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/54/image_31012025_10_54_45_10351.jpg
/home/pi/Desktop/images/31012025/10/54/image_31012025_10_55_05_10339.jpg
/home/pi/Desktop/images/31012025/10/55/image_31012025_10_55_16_10523.jpg
/home/pi/Desktop/images/31012025/10/55/image_31012025_10_55_25_9431.jpg
/home/pi/Desktop/images/31012025/10/55/image_31012025_10_55_36_10328.jpg
/home/pi/Desktop/images/31012025/10/55/image_31012025_10_55_45_9447.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333282201","1333282248","1333282161","1333282206","1333282304","1333282297"],"photo_ids_order":["1333282161","1333282201","1333282206","1333282248","1333282297","1333282304"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/24568c7a86efd25983edec4303ae7db8.jpg","text":"TemporaryFile(/tmp/multipartBody1772429220129110690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317413789,"filename":"image_31012025_10_55_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/1/31/522d7b5d648f0596309128423f46d86d.jpg","text":"TemporaryFile(/tmp/multipartBody8728679939813075195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317413789,"filename":"image_31012025_10_55_25_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1b884f0c6b057ee0865b3cda2bf96c5e.jpg","text":"TemporaryFile(/tmp/multipartBody3533112790858597246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317413789,"filename":"image_31012025_10_54_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/1/31/f24931f09b658f6fd812bc0ceba16182.jpg","text":"TemporaryFile(/tmp/multipartBody5638927400678538040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317413789,"filename":"image_31012025_10_55_16_10523.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3a8021c47fdc7b7f8fa65743b40106df.jpg","text":"TemporaryFile(/tmp/multipartBody5486776385042669410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317413789,"filename":"image_31012025_10_55_45_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/17ba9da355b74689ad1f9897524e4c54.jpg","text":"TemporaryFile(/tmp/multipartBody6252345121658137179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317413789,"filename":"image_31012025_10_55_36_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333282206","file1":"1333282201","file0":"1333282161","file4":"1333282297","file5":"1333282304","file3":"1333282248"},"map_files_photo_id_array":[{"photo_id":"1333282304","filename":"file5"},{"photo_id":"1333282206","filename":"file2"},{"photo_id":"1333282297","filename":"file4"},{"photo_id":"1333282201","filename":"file1"},{"photo_id":"1333282161","filename":"file0"},{"photo_id":"1333282248","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333282201":["hashtag1","hashtag2"]},{"1333282248":["hashtag1","hashtag2"]},{"1333282161":["hashtag1","hashtag2"]},{"1333282206":["hashtag1","hashtag2"]},{"1333282304":["hashtag1","hashtag2"]},{"1333282297":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333282201, 1333282248, 1333282161, 1333282206, 1333282304, 1333282297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12822651863098 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 10:56:43.110969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/55/image_31012025_10_55_55_10357.jpg', '/home/pi/Desktop/images/31012025/10/55/image_31012025_10_56_06_10402.jpg', '/home/pi/Desktop/images/31012025/10/56/image_31012025_10_56_15_9345.jpg', '/home/pi/Desktop/images/31012025/10/56/image_31012025_10_56_25_10354.jpg', '/home/pi/Desktop/images/31012025/10/56/image_31012025_10_56_35_9460.jpg', '/home/pi/Desktop/images/31012025/10/56/image_31012025_10_56_45_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/55/image_31012025_10_55_55_10357.jpg
/home/pi/Desktop/images/31012025/10/55/image_31012025_10_56_06_10402.jpg
/home/pi/Desktop/images/31012025/10/56/image_31012025_10_56_15_9345.jpg
/home/pi/Desktop/images/31012025/10/56/image_31012025_10_56_25_10354.jpg
/home/pi/Desktop/images/31012025/10/56/image_31012025_10_56_35_9460.jpg
/home/pi/Desktop/images/31012025/10/56/image_31012025_10_56_45_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":["1333282678","1333282393","1333282765","1333282714","1333282866","1333282685"],"photo_ids_order":["1333282393","1333282678","1333282685","1333282714","1333282765","1333282866"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a35273214961f651012843320a100bba.jpg","text":"TemporaryFile(/tmp/multipartBody2321362476929134840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317464030,"filename":"image_31012025_10_56_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/1/31/f3dceaee4b9febdebc046c1e2a16baf3.jpg","text":"TemporaryFile(/tmp/multipartBody5003313753616219702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317464030,"filename":"image_31012025_10_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/1/31/6b23c7f4586b12caae74a6fa6c607053.jpg","text":"TemporaryFile(/tmp/multipartBody8296972748722424343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317464030,"filename":"image_31012025_10_56_35_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/68ae47e5b63ae6d1f9cbf7f0f6246f7c.jpg","text":"TemporaryFile(/tmp/multipartBody5980041196259413138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317464030,"filename":"image_31012025_10_56_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/1/31/416f5d31a3425e2bea4452e44dd1ad4b.jpg","text":"TemporaryFile(/tmp/multipartBody363190305896038665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317464030,"filename":"image_31012025_10_56_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/1/31/2261181f9e1b4dd32101dc02c6cac6d5.jpg","text":"TemporaryFile(/tmp/multipartBody8332846665998095251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317464030,"filename":"image_31012025_10_56_15_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333282685","file1":"1333282678","file0":"1333282393","file4":"1333282765","file5":"1333282866","file3":"1333282714"},"map_files_photo_id_array":[{"photo_id":"1333282866","filename":"file5"},{"photo_id":"1333282685","filename":"file2"},{"photo_id":"1333282765","filename":"file4"},{"photo_id":"1333282678","filename":"file1"},{"photo_id":"1333282393","filename":"file0"},{"photo_id":"1333282714","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333282678":["hashtag1","hashtag2"]},{"1333282393":["hashtag1","hashtag2"]},{"1333282765":["hashtag1","hashtag2"]},{"1333282714":["hashtag1","hashtag2"]},{"1333282866":["hashtag1","hashtag2"]},{"1333282685":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333282678, 1333282393, 1333282765, 1333282714, 1333282866, 1333282685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.631245374679565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:57:32.346244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/56/image_31012025_10_56_56_10464.jpg', '/home/pi/Desktop/images/31012025/10/56/image_31012025_10_57_05_9332.jpg', '/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_16_10438.jpg', '/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_25_9458.jpg', '/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_35_10363.jpg', '/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_46_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/56/image_31012025_10_56_56_10464.jpg
/home/pi/Desktop/images/31012025/10/56/image_31012025_10_57_05_9332.jpg
/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_16_10438.jpg
/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_25_9458.jpg
/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_35_10363.jpg
/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_46_10398.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5137784481048584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 10:57:42.336132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/56/image_31012025_10_56_56_10464.jpg', '/home/pi/Desktop/images/31012025/10/56/image_31012025_10_57_05_9332.jpg', '/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_16_10438.jpg', '/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_25_9458.jpg', '/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_35_10363.jpg', '/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_46_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/56/image_31012025_10_56_56_10464.jpg
/home/pi/Desktop/images/31012025/10/56/image_31012025_10_57_05_9332.jpg
/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_16_10438.jpg
/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_25_9458.jpg
/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_35_10363.jpg
/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_46_10398.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 10:59:04.665999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/56/image_31012025_10_56_56_10464.jpg', '/home/pi/Desktop/images/31012025/10/56/image_31012025_10_57_05_9332.jpg', '/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_16_10438.jpg', '/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_25_9458.jpg', '/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_35_10363.jpg', '/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_46_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/56/image_31012025_10_56_56_10464.jpg
/home/pi/Desktop/images/31012025/10/56/image_31012025_10_57_05_9332.jpg
/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_16_10438.jpg
/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_25_9458.jpg
/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_35_10363.jpg
/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_46_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":["1333283506","1333283496","1333283562","1333283502","1333283555","1333283488"],"photo_ids_order":["1333283488","1333283496","1333283502","1333283506","1333283555","1333283562"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/67de025bac6101a8392190332e30cf0d.jpg","text":"TemporaryFile(/tmp/multipartBody7678604692677576267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317605703,"filename":"image_31012025_10_57_25_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/585e60391be75cc30ec3d1c490401ee3.jpg","text":"TemporaryFile(/tmp/multipartBody7169486619115453716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317605703,"filename":"image_31012025_10_57_05_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0f78d336d6308a8794dfccf1c626b845.jpg","text":"TemporaryFile(/tmp/multipartBody2206890854396105890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317605703,"filename":"image_31012025_10_57_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/1/31/23df37ec1cfa45fcd8106e3f143c1944.jpg","text":"TemporaryFile(/tmp/multipartBody8936190094062025597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317605703,"filename":"image_31012025_10_57_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/1/31/000073cb29bc6ebc88718076d9cad1be.jpg","text":"TemporaryFile(/tmp/multipartBody7793684244080494650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317605703,"filename":"image_31012025_10_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/1/31/0b7ba27eafc9d1cc33852c20c3e2a2d1.jpg","text":"TemporaryFile(/tmp/multipartBody6478365278041349886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317605703,"filename":"image_31012025_10_56_56_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333283502","file1":"1333283496","file0":"1333283488","file4":"1333283555","file5":"1333283562","file3":"1333283506"},"map_files_photo_id_array":[{"photo_id":"1333283562","filename":"file5"},{"photo_id":"1333283502","filename":"file2"},{"photo_id":"1333283555","filename":"file4"},{"photo_id":"1333283496","filename":"file1"},{"photo_id":"1333283488","filename":"file0"},{"photo_id":"1333283506","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333283506":["hashtag1","hashtag2"]},{"1333283496":["hashtag1","hashtag2"]},{"1333283562":["hashtag1","hashtag2"]},{"1333283502":["hashtag1","hashtag2"]},{"1333283555":["hashtag1","hashtag2"]},{"1333283488":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333283506, 1333283496, 1333283562, 1333283502, 1333283555, 1333283488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69387888908386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 10:59:53.053560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_55_9327.jpg', '/home/pi/Desktop/images/31012025/10/57/image_31012025_10_58_05_10331.jpg', '/home/pi/Desktop/images/31012025/10/58/image_31012025_10_58_16_10399.jpg', '/home/pi/Desktop/images/31012025/10/58/image_31012025_10_58_25_9443.jpg', '/home/pi/Desktop/images/31012025/10/58/image_31012025_10_58_36_10343.jpg', '/home/pi/Desktop/images/31012025/10/58/image_31012025_10_58_45_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/57/image_31012025_10_57_55_9327.jpg
/home/pi/Desktop/images/31012025/10/57/image_31012025_10_58_05_10331.jpg
/home/pi/Desktop/images/31012025/10/58/image_31012025_10_58_16_10399.jpg
/home/pi/Desktop/images/31012025/10/58/image_31012025_10_58_25_9443.jpg
/home/pi/Desktop/images/31012025/10/58/image_31012025_10_58_36_10343.jpg
/home/pi/Desktop/images/31012025/10/58/image_31012025_10_58_45_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":["1333283608","1333283592","1333283601","1333283621","1333283615","1333283596"],"photo_ids_order":["1333283592","1333283596","1333283601","1333283608","1333283615","1333283621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/27590f76c1f1dae0b69a15344631dd51.jpg","text":"TemporaryFile(/tmp/multipartBody7988798343458475013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317653992,"filename":"image_31012025_10_58_25_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/be01a2f8c8782f69d02c47e35eb9f370.jpg","text":"TemporaryFile(/tmp/multipartBody5657875441895411195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317653992,"filename":"image_31012025_10_57_55_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b11d5ea3641a1f8a5c2b244f7eed7117.jpg","text":"TemporaryFile(/tmp/multipartBody5794087856921533126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317653992,"filename":"image_31012025_10_58_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/1/31/f44a816241dd33932c84328b17a57102.jpg","text":"TemporaryFile(/tmp/multipartBody5096383662263603716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317653992,"filename":"image_31012025_10_58_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/1/31/d2c4a118bc2b629d8eae9070ca218bf7.jpg","text":"TemporaryFile(/tmp/multipartBody684926916855014071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317653992,"filename":"image_31012025_10_58_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/1/31/a9bed82a8ffe5e43550f49ea8831f251.jpg","text":"TemporaryFile(/tmp/multipartBody4216231397052788918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317653992,"filename":"image_31012025_10_58_05_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333283601","file1":"1333283596","file0":"1333283592","file4":"1333283615","file5":"1333283621","file3":"1333283608"},"map_files_photo_id_array":[{"photo_id":"1333283621","filename":"file5"},{"photo_id":"1333283601","filename":"file2"},{"photo_id":"1333283615","filename":"file4"},{"photo_id":"1333283596","filename":"file1"},{"photo_id":"1333283592","filename":"file0"},{"photo_id":"1333283608","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333283608":["hashtag1","hashtag2"]},{"1333283592":["hashtag1","hashtag2"]},{"1333283601":["hashtag1","hashtag2"]},{"1333283621":["hashtag1","hashtag2"]},{"1333283615":["hashtag1","hashtag2"]},{"1333283596":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333283608, 1333283592, 1333283601, 1333283621, 1333283615, 1333283596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.78977370262146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 11:00:42.215676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/58/image_31012025_10_58_55_10433.jpg', '/home/pi/Desktop/images/31012025/10/58/image_31012025_10_59_06_10392.jpg', '/home/pi/Desktop/images/31012025/10/59/image_31012025_10_59_15_9333.jpg', '/home/pi/Desktop/images/31012025/10/59/image_31012025_10_59_25_10350.jpg', '/home/pi/Desktop/images/31012025/10/59/image_31012025_10_59_36_10363.jpg', '/home/pi/Desktop/images/31012025/10/59/image_31012025_10_59_45_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/58/image_31012025_10_58_55_10433.jpg
/home/pi/Desktop/images/31012025/10/58/image_31012025_10_59_06_10392.jpg
/home/pi/Desktop/images/31012025/10/59/image_31012025_10_59_15_9333.jpg
/home/pi/Desktop/images/31012025/10/59/image_31012025_10_59_25_10350.jpg
/home/pi/Desktop/images/31012025/10/59/image_31012025_10_59_36_10363.jpg
/home/pi/Desktop/images/31012025/10/59/image_31012025_10_59_45_9346.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":["1333283719","1333283811","1333283792","1333283762","1333283816","1333283779"],"photo_ids_order":["1333283719","1333283762","1333283779","1333283792","1333283811","1333283816"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/62e1f27dfbfb7be9ecf75399bc0011fb.jpg","text":"TemporaryFile(/tmp/multipartBody6349119512322629680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317703118,"filename":"image_31012025_10_58_55_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/565d4e6b2ffc1fb7800cd066bea8fe85.jpg","text":"TemporaryFile(/tmp/multipartBody9029605469388578788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317703118,"filename":"image_31012025_10_59_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/1/31/4e54ed4417dd5c91986b75fcd2976181.jpg","text":"TemporaryFile(/tmp/multipartBody6803401234710819172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317703118,"filename":"image_31012025_10_59_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/1/31/4c1a16a0a677041eaedcf1237cc82a5d.jpg","text":"TemporaryFile(/tmp/multipartBody3984940567562789256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317703118,"filename":"image_31012025_10_59_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/1/31/0d57dff43dbcf2fd37d611f84fe79069.jpg","text":"TemporaryFile(/tmp/multipartBody3986957155399396936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317703118,"filename":"image_31012025_10_59_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/1/31/6802705ccf798aff71f897a30bf3724e.jpg","text":"TemporaryFile(/tmp/multipartBody4208096176087861921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317703118,"filename":"image_31012025_10_59_15_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333283779","file1":"1333283762","file0":"1333283719","file4":"1333283811","file5":"1333283816","file3":"1333283792"},"map_files_photo_id_array":[{"photo_id":"1333283816","filename":"file5"},{"photo_id":"1333283779","filename":"file2"},{"photo_id":"1333283811","filename":"file4"},{"photo_id":"1333283762","filename":"file1"},{"photo_id":"1333283719","filename":"file0"},{"photo_id":"1333283792","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333283719":["hashtag1","hashtag2"]},{"1333283811":["hashtag1","hashtag2"]},{"1333283792":["hashtag1","hashtag2"]},{"1333283762":["hashtag1","hashtag2"]},{"1333283816":["hashtag1","hashtag2"]},{"1333283779":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333283719, 1333283811, 1333283792, 1333283762, 1333283816, 1333283779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59252047538757 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:01:32.525029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/10/59/image_31012025_10_59_56_10355.jpg', '/home/pi/Desktop/images/31012025/11/00/image_31012025_11_00_16_10079.jpg', '/home/pi/Desktop/images/31012025/11/00/image_31012025_11_00_27_10365.jpg', '/home/pi/Desktop/images/31012025/11/00/image_31012025_11_00_37_10423.jpg', '/home/pi/Desktop/images/31012025/11/00/image_31012025_11_00_46_9342.jpg', '/home/pi/Desktop/images/31012025/11/00/image_31012025_11_00_57_10465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/10/59/image_31012025_10_59_56_10355.jpg
/home/pi/Desktop/images/31012025/11/00/image_31012025_11_00_16_10079.jpg
/home/pi/Desktop/images/31012025/11/00/image_31012025_11_00_27_10365.jpg
/home/pi/Desktop/images/31012025/11/00/image_31012025_11_00_37_10423.jpg
/home/pi/Desktop/images/31012025/11/00/image_31012025_11_00_46_9342.jpg
/home/pi/Desktop/images/31012025/11/00/image_31012025_11_00_57_10465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333284066","1333283842","1333283984","1333284149","1333283849","1333284064"],"photo_ids_order":["1333283842","1333283849","1333283984","1333284064","1333284066","1333284149"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/22ce0f7b1dec11b920e9cf605f02c4d5.jpg","text":"TemporaryFile(/tmp/multipartBody8554271317130959140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317753425,"filename":"image_31012025_11_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/1/31/7314a545a8fe89e835c79eb121adb7a6.jpg","text":"TemporaryFile(/tmp/multipartBody2661286035780682578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317753425,"filename":"image_31012025_10_59_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/1/31/add4b2b2423cc205f81713c05441d16a.jpg","text":"TemporaryFile(/tmp/multipartBody5860317998332154380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317753425,"filename":"image_31012025_11_00_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/1/31/693953bf39f5c0a0bf72703f7fd724ef.jpg","text":"TemporaryFile(/tmp/multipartBody1386403219032554464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317753425,"filename":"image_31012025_11_00_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/1/31/1847024db9108528e2b5215c139ae71e.jpg","text":"TemporaryFile(/tmp/multipartBody897319354184479548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317753425,"filename":"image_31012025_11_00_16_10079.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ca35d2ccee1be027a591268fd127ee98.jpg","text":"TemporaryFile(/tmp/multipartBody4469482950660323224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317753425,"filename":"image_31012025_11_00_37_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333283984","file1":"1333283849","file0":"1333283842","file4":"1333284066","file5":"1333284149","file3":"1333284064"},"map_files_photo_id_array":[{"photo_id":"1333284149","filename":"file5"},{"photo_id":"1333283984","filename":"file2"},{"photo_id":"1333284066","filename":"file4"},{"photo_id":"1333283849","filename":"file1"},{"photo_id":"1333283842","filename":"file0"},{"photo_id":"1333284064","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333284066":["hashtag1","hashtag2"]},{"1333283842":["hashtag1","hashtag2"]},{"1333283984":["hashtag1","hashtag2"]},{"1333284149":["hashtag1","hashtag2"]},{"1333283849":["hashtag1","hashtag2"]},{"1333284064":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333284066, 1333283842, 1333283984, 1333284149, 1333283849, 1333284064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22574257850647 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:02:32.748803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/00/image_31012025_11_01_06_9334.jpg', '/home/pi/Desktop/images/31012025/11/01/image_31012025_11_01_16_10349.jpg', '/home/pi/Desktop/images/31012025/11/01/image_31012025_11_01_27_10346.jpg', '/home/pi/Desktop/images/31012025/11/01/image_31012025_11_01_36_9344.jpg', '/home/pi/Desktop/images/31012025/11/01/image_31012025_11_01_47_10337.jpg', '/home/pi/Desktop/images/31012025/11/01/image_31012025_11_01_57_10455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/00/image_31012025_11_01_06_9334.jpg
/home/pi/Desktop/images/31012025/11/01/image_31012025_11_01_16_10349.jpg
/home/pi/Desktop/images/31012025/11/01/image_31012025_11_01_27_10346.jpg
/home/pi/Desktop/images/31012025/11/01/image_31012025_11_01_36_9344.jpg
/home/pi/Desktop/images/31012025/11/01/image_31012025_11_01_47_10337.jpg
/home/pi/Desktop/images/31012025/11/01/image_31012025_11_01_57_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":["1333284477","1333284270","1333284360","1333284556","1333284310","1333284313"],"photo_ids_order":["1333284270","1333284310","1333284313","1333284360","1333284477","1333284556"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f09686f0efa41dccc93a71acd2d407b5.jpg","text":"TemporaryFile(/tmp/multipartBody3570564212337277265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317813658,"filename":"image_31012025_11_01_47_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a154ce736412473e829ae6ed2bb98512.jpg","text":"TemporaryFile(/tmp/multipartBody8878125675274757677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317813658,"filename":"image_31012025_11_01_06_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/702f6687d0ca237369db0381e5e4644b.jpg","text":"TemporaryFile(/tmp/multipartBody4031311756482607692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317813658,"filename":"image_31012025_11_01_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/1/31/2c92b60d8b5fffc06cae74d97f34f056.jpg","text":"TemporaryFile(/tmp/multipartBody2975368436877169494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317813658,"filename":"image_31012025_11_01_57_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d6335755599b7dc28e38590e2df4da9b.jpg","text":"TemporaryFile(/tmp/multipartBody1217527861330675011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317813658,"filename":"image_31012025_11_01_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/1/31/cb6b5c0308545967cadbc7e605162899.jpg","text":"TemporaryFile(/tmp/multipartBody1655360296756568493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317813658,"filename":"image_31012025_11_01_27_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333284313","file1":"1333284310","file0":"1333284270","file4":"1333284477","file5":"1333284556","file3":"1333284360"},"map_files_photo_id_array":[{"photo_id":"1333284556","filename":"file5"},{"photo_id":"1333284313","filename":"file2"},{"photo_id":"1333284477","filename":"file4"},{"photo_id":"1333284310","filename":"file1"},{"photo_id":"1333284270","filename":"file0"},{"photo_id":"1333284360","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333284477":["hashtag1","hashtag2"]},{"1333284270":["hashtag1","hashtag2"]},{"1333284360":["hashtag1","hashtag2"]},{"1333284556":["hashtag1","hashtag2"]},{"1333284310":["hashtag1","hashtag2"]},{"1333284313":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333284477, 1333284270, 1333284360, 1333284556, 1333284310, 1333284313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.124293088912964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:03:33.037492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/01/image_31012025_11_02_06_9352.jpg', '/home/pi/Desktop/images/31012025/11/02/image_31012025_11_02_17_10462.jpg', '/home/pi/Desktop/images/31012025/11/02/image_31012025_11_02_36_9333.jpg', '/home/pi/Desktop/images/31012025/11/02/image_31012025_11_02_47_10346.jpg', '/home/pi/Desktop/images/31012025/11/02/image_31012025_11_03_06_10338.jpg', '/home/pi/Desktop/images/31012025/11/03/image_31012025_11_03_17_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/01/image_31012025_11_02_06_9352.jpg
/home/pi/Desktop/images/31012025/11/02/image_31012025_11_02_17_10462.jpg
/home/pi/Desktop/images/31012025/11/02/image_31012025_11_02_36_9333.jpg
/home/pi/Desktop/images/31012025/11/02/image_31012025_11_02_47_10346.jpg
/home/pi/Desktop/images/31012025/11/02/image_31012025_11_03_06_10338.jpg
/home/pi/Desktop/images/31012025/11/03/image_31012025_11_03_17_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333284666","1333284668","1333284653","1333284662","1333284641","1333284649"],"photo_ids_order":["1333284641","1333284649","1333284653","1333284662","1333284666","1333284668"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/35bd1f5d05bca560d4d136bce0305833.jpg","text":"TemporaryFile(/tmp/multipartBody6346202702977288452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317873937,"filename":"image_31012025_11_03_06_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9b5b3095ec3c15a2b740394d7a3dbb96.jpg","text":"TemporaryFile(/tmp/multipartBody4881213153173220099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317873937,"filename":"image_31012025_11_03_17_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f345da395af191e0ad8a434c6b514d8e.jpg","text":"TemporaryFile(/tmp/multipartBody4558466314275762010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317873937,"filename":"image_31012025_11_02_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/1/31/56be659f78043b20cf6256fdb280b975.jpg","text":"TemporaryFile(/tmp/multipartBody8392902511405759507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317873937,"filename":"image_31012025_11_02_47_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/21fa0b9dc15a474e9214c98b1fa825ee.jpg","text":"TemporaryFile(/tmp/multipartBody1813217695352218184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317873937,"filename":"image_31012025_11_02_06_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9d1a371eab8c50c53978da25b1f3171c.jpg","text":"TemporaryFile(/tmp/multipartBody3429035768795063734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317873937,"filename":"image_31012025_11_02_17_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333284653","file1":"1333284649","file0":"1333284641","file4":"1333284666","file5":"1333284668","file3":"1333284662"},"map_files_photo_id_array":[{"photo_id":"1333284668","filename":"file5"},{"photo_id":"1333284653","filename":"file2"},{"photo_id":"1333284666","filename":"file4"},{"photo_id":"1333284649","filename":"file1"},{"photo_id":"1333284641","filename":"file0"},{"photo_id":"1333284662","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333284666":["hashtag1","hashtag2"]},{"1333284668":["hashtag1","hashtag2"]},{"1333284653":["hashtag1","hashtag2"]},{"1333284662":["hashtag1","hashtag2"]},{"1333284641":["hashtag1","hashtag2"]},{"1333284649":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333284666, 1333284668, 1333284653, 1333284662, 1333284641, 1333284649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59628224372864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:04:32.296024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/03/image_31012025_11_03_56_9343.jpg', '/home/pi/Desktop/images/31012025/11/03/image_31012025_11_04_07_10495.jpg', '/home/pi/Desktop/images/31012025/11/04/image_31012025_11_04_16_9348.jpg', '/home/pi/Desktop/images/31012025/11/04/image_31012025_11_04_27_10340.jpg', '/home/pi/Desktop/images/31012025/11/04/image_31012025_11_04_37_10397.jpg', '/home/pi/Desktop/images/31012025/11/04/image_31012025_11_04_46_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/03/image_31012025_11_03_56_9343.jpg
/home/pi/Desktop/images/31012025/11/03/image_31012025_11_04_07_10495.jpg
/home/pi/Desktop/images/31012025/11/04/image_31012025_11_04_16_9348.jpg
/home/pi/Desktop/images/31012025/11/04/image_31012025_11_04_27_10340.jpg
/home/pi/Desktop/images/31012025/11/04/image_31012025_11_04_37_10397.jpg
/home/pi/Desktop/images/31012025/11/04/image_31012025_11_04_46_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":["1333284774","1333284759","1333284731","1333284719","1333284769","1333284808"],"photo_ids_order":["1333284719","1333284731","1333284759","1333284769","1333284774","1333284808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fc490e5283727769e749b82a8c7201ce.jpg","text":"TemporaryFile(/tmp/multipartBody6602089233145142552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317933195,"filename":"image_31012025_11_04_37_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5fbe3b3509a88b3c1123627a6c360d72.jpg","text":"TemporaryFile(/tmp/multipartBody2071954093703609332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317933195,"filename":"image_31012025_11_04_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/1/31/b5922e0705fc7f92dc54bd80d52dd200.jpg","text":"TemporaryFile(/tmp/multipartBody9091270806423305789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317933195,"filename":"image_31012025_11_04_07_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/27bfbdaa7a4c1022bc253b82e4ceea5d.jpg","text":"TemporaryFile(/tmp/multipartBody6892120228134446679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317933195,"filename":"image_31012025_11_03_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/1/31/b8e758ed9d467d24e29dcf4fd435ab67.jpg","text":"TemporaryFile(/tmp/multipartBody6016895088810396814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317933195,"filename":"image_31012025_11_04_27_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8a8f2ba1ee617f6410712e0d9344d5a4.jpg","text":"TemporaryFile(/tmp/multipartBody6102915695379588344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317933195,"filename":"image_31012025_11_04_46_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333284759","file1":"1333284731","file0":"1333284719","file4":"1333284774","file5":"1333284808","file3":"1333284769"},"map_files_photo_id_array":[{"photo_id":"1333284808","filename":"file5"},{"photo_id":"1333284759","filename":"file2"},{"photo_id":"1333284774","filename":"file4"},{"photo_id":"1333284731","filename":"file1"},{"photo_id":"1333284719","filename":"file0"},{"photo_id":"1333284769","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333284774":["hashtag1","hashtag2"]},{"1333284759":["hashtag1","hashtag2"]},{"1333284731":["hashtag1","hashtag2"]},{"1333284719":["hashtag1","hashtag2"]},{"1333284769":["hashtag1","hashtag2"]},{"1333284808":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333284774, 1333284759, 1333284731, 1333284719, 1333284769, 1333284808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84952449798584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:05:32.416214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/04/image_31012025_11_04_57_10478.jpg', '/home/pi/Desktop/images/31012025/11/04/image_31012025_11_05_07_10336.jpg', '/home/pi/Desktop/images/31012025/11/05/image_31012025_11_05_16_9342.jpg', '/home/pi/Desktop/images/31012025/11/05/image_31012025_11_05_27_10421.jpg', '/home/pi/Desktop/images/31012025/11/05/image_31012025_11_05_36_9348.jpg', '/home/pi/Desktop/images/31012025/11/05/image_31012025_11_05_47_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/04/image_31012025_11_04_57_10478.jpg
/home/pi/Desktop/images/31012025/11/04/image_31012025_11_05_07_10336.jpg
/home/pi/Desktop/images/31012025/11/05/image_31012025_11_05_16_9342.jpg
/home/pi/Desktop/images/31012025/11/05/image_31012025_11_05_27_10421.jpg
/home/pi/Desktop/images/31012025/11/05/image_31012025_11_05_36_9348.jpg
/home/pi/Desktop/images/31012025/11/05/image_31012025_11_05_47_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":["1333285007","1333284959","1333285048","1333284967","1333285006","1333284925"],"photo_ids_order":["1333284925","1333284959","1333284967","1333285006","1333285007","1333285048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0cd89c77051c1606b57b8809d1fa677b.jpg","text":"TemporaryFile(/tmp/multipartBody8780142013915335814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317993320,"filename":"image_31012025_11_05_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/1/31/32898d096513094ee183779a444cc64f.jpg","text":"TemporaryFile(/tmp/multipartBody6171230925289700434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317993320,"filename":"image_31012025_11_05_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/1/31/fab5471aeb098ccdf5818d5f55a41edc.jpg","text":"TemporaryFile(/tmp/multipartBody8025294514857790161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317993320,"filename":"image_31012025_11_05_47_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/68543225222c4cbb53c52812743046b5.jpg","text":"TemporaryFile(/tmp/multipartBody3964401880293050436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317993320,"filename":"image_31012025_11_05_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/1/31/892b357cf6e9ae66270680cef5364431.jpg","text":"TemporaryFile(/tmp/multipartBody1250222113374988642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317993320,"filename":"image_31012025_11_05_27_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c4167ab1404568c2837b347fb1bebdf4.jpg","text":"TemporaryFile(/tmp/multipartBody1913678380822592303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738317993320,"filename":"image_31012025_11_04_57_10478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333284967","file1":"1333284959","file0":"1333284925","file4":"1333285007","file5":"1333285048","file3":"1333285006"},"map_files_photo_id_array":[{"photo_id":"1333285048","filename":"file5"},{"photo_id":"1333284967","filename":"file2"},{"photo_id":"1333285007","filename":"file4"},{"photo_id":"1333284959","filename":"file1"},{"photo_id":"1333284925","filename":"file0"},{"photo_id":"1333285006","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333285007":["hashtag1","hashtag2"]},{"1333284959":["hashtag1","hashtag2"]},{"1333285048":["hashtag1","hashtag2"]},{"1333284967":["hashtag1","hashtag2"]},{"1333285006":["hashtag1","hashtag2"]},{"1333284925":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333285007, 1333284959, 1333285048, 1333284967, 1333285006, 1333284925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.98885154724121 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:06:32.686449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/05/image_31012025_11_05_57_10450.jpg', '/home/pi/Desktop/images/31012025/11/05/image_31012025_11_06_06_9333.jpg', '/home/pi/Desktop/images/31012025/11/06/image_31012025_11_06_17_10457.jpg', '/home/pi/Desktop/images/31012025/11/06/image_31012025_11_06_26_9329.jpg', '/home/pi/Desktop/images/31012025/11/06/image_31012025_11_06_37_10377.jpg', '/home/pi/Desktop/images/31012025/11/06/image_31012025_11_06_47_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/05/image_31012025_11_05_57_10450.jpg
/home/pi/Desktop/images/31012025/11/05/image_31012025_11_06_06_9333.jpg
/home/pi/Desktop/images/31012025/11/06/image_31012025_11_06_17_10457.jpg
/home/pi/Desktop/images/31012025/11/06/image_31012025_11_06_26_9329.jpg
/home/pi/Desktop/images/31012025/11/06/image_31012025_11_06_37_10377.jpg
/home/pi/Desktop/images/31012025/11/06/image_31012025_11_06_47_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":["1333285253","1333285277","1333285259","1333285249","1333285216","1333285263"],"photo_ids_order":["1333285216","1333285249","1333285253","1333285259","1333285263","1333285277"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3dfa1c1468474885433749b72b1ec3a5.jpg","text":"TemporaryFile(/tmp/multipartBody8148998876242944429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318053599,"filename":"image_31012025_11_06_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/1/31/6c6b5770cfa21adcbfa59b9c11d84737.jpg","text":"TemporaryFile(/tmp/multipartBody3266986324627484060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318053599,"filename":"image_31012025_11_06_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/1/31/f11008736a76388e9ff3b8c8ceca91a9.jpg","text":"TemporaryFile(/tmp/multipartBody1754960535891158911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318053599,"filename":"image_31012025_11_06_26_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ce9da1fa24aea63e2d67a8313ee77e3a.jpg","text":"TemporaryFile(/tmp/multipartBody7918682131909676230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318053599,"filename":"image_31012025_11_06_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/1/31/5c45b2c0389e8cd699c05132f6b3285f.jpg","text":"TemporaryFile(/tmp/multipartBody5826102337144345128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318053599,"filename":"image_31012025_11_05_57_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3ab2b2001f6d1c0f434764d6ce6497b6.jpg","text":"TemporaryFile(/tmp/multipartBody1615238564140061262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318053599,"filename":"image_31012025_11_06_37_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333285253","file1":"1333285249","file0":"1333285216","file4":"1333285263","file5":"1333285277","file3":"1333285259"},"map_files_photo_id_array":[{"photo_id":"1333285277","filename":"file5"},{"photo_id":"1333285253","filename":"file2"},{"photo_id":"1333285263","filename":"file4"},{"photo_id":"1333285249","filename":"file1"},{"photo_id":"1333285216","filename":"file0"},{"photo_id":"1333285259","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333285253":["hashtag1","hashtag2"]},{"1333285277":["hashtag1","hashtag2"]},{"1333285259":["hashtag1","hashtag2"]},{"1333285249":["hashtag1","hashtag2"]},{"1333285216":["hashtag1","hashtag2"]},{"1333285263":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333285253, 1333285277, 1333285259, 1333285249, 1333285216, 1333285263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.51940941810608 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:07:32.795951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/06/image_31012025_11_06_56_9332.jpg', '/home/pi/Desktop/images/31012025/11/06/image_31012025_11_07_07_10340.jpg', '/home/pi/Desktop/images/31012025/11/07/image_31012025_11_07_17_10447.jpg', '/home/pi/Desktop/images/31012025/11/07/image_31012025_11_07_26_9350.jpg', '/home/pi/Desktop/images/31012025/11/07/image_31012025_11_07_37_10408.jpg', '/home/pi/Desktop/images/31012025/11/07/image_31012025_11_07_46_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/06/image_31012025_11_06_56_9332.jpg
/home/pi/Desktop/images/31012025/11/06/image_31012025_11_07_07_10340.jpg
/home/pi/Desktop/images/31012025/11/07/image_31012025_11_07_17_10447.jpg
/home/pi/Desktop/images/31012025/11/07/image_31012025_11_07_26_9350.jpg
/home/pi/Desktop/images/31012025/11/07/image_31012025_11_07_37_10408.jpg
/home/pi/Desktop/images/31012025/11/07/image_31012025_11_07_46_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5126574039459229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 11:07:42.806568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/06/image_31012025_11_06_56_9332.jpg', '/home/pi/Desktop/images/31012025/11/06/image_31012025_11_07_07_10340.jpg', '/home/pi/Desktop/images/31012025/11/07/image_31012025_11_07_17_10447.jpg', '/home/pi/Desktop/images/31012025/11/07/image_31012025_11_07_26_9350.jpg', '/home/pi/Desktop/images/31012025/11/07/image_31012025_11_07_37_10408.jpg', '/home/pi/Desktop/images/31012025/11/07/image_31012025_11_07_46_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/06/image_31012025_11_06_56_9332.jpg
/home/pi/Desktop/images/31012025/11/06/image_31012025_11_07_07_10340.jpg
/home/pi/Desktop/images/31012025/11/07/image_31012025_11_07_17_10447.jpg
/home/pi/Desktop/images/31012025/11/07/image_31012025_11_07_26_9350.jpg
/home/pi/Desktop/images/31012025/11/07/image_31012025_11_07_37_10408.jpg
/home/pi/Desktop/images/31012025/11/07/image_31012025_11_07_46_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":["1333285370","1333285373","1333285358","1333285375","1333285351","1333285365"],"photo_ids_order":["1333285351","1333285358","1333285365","1333285370","1333285373","1333285375"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fef23d473c780e1d8bf3f4e5760dfca9.jpg","text":"TemporaryFile(/tmp/multipartBody5317000564190751056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318123714,"filename":"image_31012025_11_07_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/1/31/72ced2ba987c3751057f079636fbbf21.jpg","text":"TemporaryFile(/tmp/multipartBody7466910845600348136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318123714,"filename":"image_31012025_11_07_37_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/608964b8797b2ce805533b070e532da6.jpg","text":"TemporaryFile(/tmp/multipartBody4349918228515797570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318123714,"filename":"image_31012025_11_07_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/1/31/b12ba64222d38fda5300ac5082abeb4d.jpg","text":"TemporaryFile(/tmp/multipartBody3093015627478225723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318123714,"filename":"image_31012025_11_07_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/1/31/79bd6efb3c25bebf9dae58a7753471a4.jpg","text":"TemporaryFile(/tmp/multipartBody5417788204868999795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318123714,"filename":"image_31012025_11_06_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/1/31/b73ddce608be53ed7250d55dfd06fef8.jpg","text":"TemporaryFile(/tmp/multipartBody5853570871767199316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318123714,"filename":"image_31012025_11_07_17_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333285365","file1":"1333285358","file0":"1333285351","file4":"1333285373","file5":"1333285375","file3":"1333285370"},"map_files_photo_id_array":[{"photo_id":"1333285375","filename":"file5"},{"photo_id":"1333285365","filename":"file2"},{"photo_id":"1333285373","filename":"file4"},{"photo_id":"1333285358","filename":"file1"},{"photo_id":"1333285351","filename":"file0"},{"photo_id":"1333285370","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333285370":["hashtag1","hashtag2"]},{"1333285373":["hashtag1","hashtag2"]},{"1333285358":["hashtag1","hashtag2"]},{"1333285375":["hashtag1","hashtag2"]},{"1333285351":["hashtag1","hashtag2"]},{"1333285365":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333285370, 1333285373, 1333285358, 1333285375, 1333285351, 1333285365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9134635925293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:08:33.206769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/07/image_31012025_11_07_57_10356.jpg', '/home/pi/Desktop/images/31012025/11/07/image_31012025_11_08_07_10425.jpg', '/home/pi/Desktop/images/31012025/11/08/image_31012025_11_08_16_9322.jpg', '/home/pi/Desktop/images/31012025/11/08/image_31012025_11_08_27_10349.jpg', '/home/pi/Desktop/images/31012025/11/08/image_31012025_11_08_37_10431.jpg', '/home/pi/Desktop/images/31012025/11/08/image_31012025_11_08_46_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/07/image_31012025_11_07_57_10356.jpg
/home/pi/Desktop/images/31012025/11/07/image_31012025_11_08_07_10425.jpg
/home/pi/Desktop/images/31012025/11/08/image_31012025_11_08_16_9322.jpg
/home/pi/Desktop/images/31012025/11/08/image_31012025_11_08_27_10349.jpg
/home/pi/Desktop/images/31012025/11/08/image_31012025_11_08_37_10431.jpg
/home/pi/Desktop/images/31012025/11/08/image_31012025_11_08_46_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":["1333285410","1333285428","1333285418","1333285406","1333285399","1333285414"],"photo_ids_order":["1333285399","1333285406","1333285410","1333285414","1333285418","1333285428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/800b4373dc437697c86e5aed829637f8.jpg","text":"TemporaryFile(/tmp/multipartBody1754599916564940659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318174103,"filename":"image_31012025_11_08_16_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/664c42988123c8980812bed829dfa37b.jpg","text":"TemporaryFile(/tmp/multipartBody7823848456354823417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318174103,"filename":"image_31012025_11_08_46_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0202bd9dd39d83aeb74f32c8e954500c.jpg","text":"TemporaryFile(/tmp/multipartBody6746860368707417269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318174103,"filename":"image_31012025_11_08_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/1/31/f2859352b3cc9fb7af013e510d2bfad5.jpg","text":"TemporaryFile(/tmp/multipartBody7280894535491507989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318174103,"filename":"image_31012025_11_08_07_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9a9ad3d0cd3e95cc09b7d13bedb8dedd.jpg","text":"TemporaryFile(/tmp/multipartBody2163839676777588878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318174103,"filename":"image_31012025_11_07_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/1/31/2dad65b9ccf75bab4cc9247db980d27d.jpg","text":"TemporaryFile(/tmp/multipartBody8792580581169146926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318174103,"filename":"image_31012025_11_08_27_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333285410","file1":"1333285406","file0":"1333285399","file4":"1333285418","file5":"1333285428","file3":"1333285414"},"map_files_photo_id_array":[{"photo_id":"1333285428","filename":"file5"},{"photo_id":"1333285410","filename":"file2"},{"photo_id":"1333285418","filename":"file4"},{"photo_id":"1333285406","filename":"file1"},{"photo_id":"1333285399","filename":"file0"},{"photo_id":"1333285414","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333285410":["hashtag1","hashtag2"]},{"1333285428":["hashtag1","hashtag2"]},{"1333285418":["hashtag1","hashtag2"]},{"1333285406":["hashtag1","hashtag2"]},{"1333285399":["hashtag1","hashtag2"]},{"1333285414":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333285410, 1333285428, 1333285418, 1333285406, 1333285399, 1333285414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.395071506500244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:09:32.332754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/08/image_31012025_11_08_57_10426.jpg', '/home/pi/Desktop/images/31012025/11/08/image_31012025_11_09_06_9334.jpg', '/home/pi/Desktop/images/31012025/11/09/image_31012025_11_09_16_10352.jpg', '/home/pi/Desktop/images/31012025/11/09/image_31012025_11_09_27_10414.jpg', '/home/pi/Desktop/images/31012025/11/09/image_31012025_11_09_36_9391.jpg', '/home/pi/Desktop/images/31012025/11/09/image_31012025_11_09_47_10549.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/08/image_31012025_11_08_57_10426.jpg
/home/pi/Desktop/images/31012025/11/08/image_31012025_11_09_06_9334.jpg
/home/pi/Desktop/images/31012025/11/09/image_31012025_11_09_16_10352.jpg
/home/pi/Desktop/images/31012025/11/09/image_31012025_11_09_27_10414.jpg
/home/pi/Desktop/images/31012025/11/09/image_31012025_11_09_36_9391.jpg
/home/pi/Desktop/images/31012025/11/09/image_31012025_11_09_47_10549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333285448","1333285468","1333285461","1333285455","1333285470","1333285443"],"photo_ids_order":["1333285443","1333285448","1333285455","1333285461","1333285468","1333285470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1cc33181003d41827236f65f4eb675a8.jpg","text":"TemporaryFile(/tmp/multipartBody5465420001475729750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318233229,"filename":"image_31012025_11_09_06_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8d6360c5417520c7452abcf3716b144e.jpg","text":"TemporaryFile(/tmp/multipartBody1125235854445344922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318233229,"filename":"image_31012025_11_09_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/1/31/e97cb9971381c83bbb3f36c3f2a2b6db.jpg","text":"TemporaryFile(/tmp/multipartBody6189737890636056086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318233229,"filename":"image_31012025_11_09_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/1/31/d670090978e0ed960d55e55ab4b3c9b9.jpg","text":"TemporaryFile(/tmp/multipartBody153715514386181999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318233229,"filename":"image_31012025_11_09_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/1/31/7db49908c68c008fb55e2378b80483bf.jpg","text":"TemporaryFile(/tmp/multipartBody3270516608784786873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318233229,"filename":"image_31012025_11_09_47_10549.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2647a324e2bbe4c9be8446caa2fe4961.jpg","text":"TemporaryFile(/tmp/multipartBody8529039319088956768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318233229,"filename":"image_31012025_11_08_57_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333285455","file1":"1333285448","file0":"1333285443","file4":"1333285468","file5":"1333285470","file3":"1333285461"},"map_files_photo_id_array":[{"photo_id":"1333285470","filename":"file5"},{"photo_id":"1333285455","filename":"file2"},{"photo_id":"1333285468","filename":"file4"},{"photo_id":"1333285448","filename":"file1"},{"photo_id":"1333285443","filename":"file0"},{"photo_id":"1333285461","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333285448":["hashtag1","hashtag2"]},{"1333285468":["hashtag1","hashtag2"]},{"1333285461":["hashtag1","hashtag2"]},{"1333285455":["hashtag1","hashtag2"]},{"1333285470":["hashtag1","hashtag2"]},{"1333285443":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333285448, 1333285468, 1333285461, 1333285455, 1333285470, 1333285443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.54360795021057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:10:32.651914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/09/image_31012025_11_09_56_9420.jpg', '/home/pi/Desktop/images/31012025/11/09/image_31012025_11_10_07_10568.jpg', '/home/pi/Desktop/images/31012025/11/10/image_31012025_11_10_16_9341.jpg', '/home/pi/Desktop/images/31012025/11/10/image_31012025_11_10_27_10354.jpg', '/home/pi/Desktop/images/31012025/11/10/image_31012025_11_10_37_10465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/09/image_31012025_11_09_56_9420.jpg
/home/pi/Desktop/images/31012025/11/09/image_31012025_11_10_07_10568.jpg
/home/pi/Desktop/images/31012025/11/10/image_31012025_11_10_16_9341.jpg
/home/pi/Desktop/images/31012025/11/10/image_31012025_11_10_27_10354.jpg
/home/pi/Desktop/images/31012025/11/10/image_31012025_11_10_37_10465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333285637","1333285648","1333285491","1333285653","1333285656"],"photo_ids_order":["1333285491","1333285637","1333285648","1333285653","1333285656"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/27c9cc9d3b4a4d0b4eea9bbbc469d13e.jpg","text":"TemporaryFile(/tmp/multipartBody5702564718482126125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318293540,"filename":"image_31012025_11_10_07_10568.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/67726b3689229476de953d512868840f.jpg","text":"TemporaryFile(/tmp/multipartBody7562058856341566184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318293540,"filename":"image_31012025_11_10_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/1/31/c3693d673ce08ff0e012955dc909b41d.jpg","text":"TemporaryFile(/tmp/multipartBody1182318142201449770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318293540,"filename":"image_31012025_11_09_56_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c1830a6b89bb1611feb3dff629749396.jpg","text":"TemporaryFile(/tmp/multipartBody4253362435282790015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318293540,"filename":"image_31012025_11_10_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/1/31/7688e54b0b2a7257c30bf3830e5d45ef.jpg","text":"TemporaryFile(/tmp/multipartBody7660133350164093967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318293540,"filename":"image_31012025_11_10_37_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333285648","file1":"1333285637","file0":"1333285491","file4":"1333285656","file3":"1333285653"},"map_files_photo_id_array":[{"photo_id":"1333285648","filename":"file2"},{"photo_id":"1333285656","filename":"file4"},{"photo_id":"1333285637","filename":"file1"},{"photo_id":"1333285491","filename":"file0"},{"photo_id":"1333285653","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333285637":["hashtag1","hashtag2"]},{"1333285648":["hashtag1","hashtag2"]},{"1333285491":["hashtag1","hashtag2"]},{"1333285653":["hashtag1","hashtag2"]},{"1333285656":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333285637, 1333285648, 1333285491, 1333285653, 1333285656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.529295444488525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:11:32.867994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/10/image_31012025_11_10_57_10496.jpg', '/home/pi/Desktop/images/31012025/11/10/image_31012025_11_11_06_9333.jpg', '/home/pi/Desktop/images/31012025/11/11/image_31012025_11_11_17_10347.jpg', '/home/pi/Desktop/images/31012025/11/11/image_31012025_11_11_27_10454.jpg', '/home/pi/Desktop/images/31012025/11/11/image_31012025_11_11_36_9340.jpg', '/home/pi/Desktop/images/31012025/11/11/image_31012025_11_11_47_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/10/image_31012025_11_10_57_10496.jpg
/home/pi/Desktop/images/31012025/11/10/image_31012025_11_11_06_9333.jpg
/home/pi/Desktop/images/31012025/11/11/image_31012025_11_11_17_10347.jpg
/home/pi/Desktop/images/31012025/11/11/image_31012025_11_11_27_10454.jpg
/home/pi/Desktop/images/31012025/11/11/image_31012025_11_11_36_9340.jpg
/home/pi/Desktop/images/31012025/11/11/image_31012025_11_11_47_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":["1333285704","1333285694","1333285699","1333285690","1333285711","1333285708"],"photo_ids_order":["1333285690","1333285694","1333285699","1333285704","1333285708","1333285711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/592f91ce3f05dcf6416b30dd092f2013.jpg","text":"TemporaryFile(/tmp/multipartBody1096368498238290278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318353774,"filename":"image_31012025_11_11_27_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/882e6b5f05c7dbd70cc50d3b0622ea5c.jpg","text":"TemporaryFile(/tmp/multipartBody2723676396382905065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318353774,"filename":"image_31012025_11_11_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/1/31/558011f4279f3f8b10387bf9716e5f11.jpg","text":"TemporaryFile(/tmp/multipartBody3280712142000112214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318353774,"filename":"image_31012025_11_11_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/1/31/bb7f0dd55b83fbc232de56f75bbfb767.jpg","text":"TemporaryFile(/tmp/multipartBody4839158076194809221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318353774,"filename":"image_31012025_11_10_57_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/27b6d5743623dbca75aab71665daf2ef.jpg","text":"TemporaryFile(/tmp/multipartBody7297457530157401682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318353774,"filename":"image_31012025_11_11_47_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d5c705e2c15ea870a41e64f2c7fc4443.jpg","text":"TemporaryFile(/tmp/multipartBody7277726496906596844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318353774,"filename":"image_31012025_11_11_36_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333285699","file1":"1333285694","file0":"1333285690","file4":"1333285708","file5":"1333285711","file3":"1333285704"},"map_files_photo_id_array":[{"photo_id":"1333285711","filename":"file5"},{"photo_id":"1333285699","filename":"file2"},{"photo_id":"1333285708","filename":"file4"},{"photo_id":"1333285694","filename":"file1"},{"photo_id":"1333285690","filename":"file0"},{"photo_id":"1333285704","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333285704":["hashtag1","hashtag2"]},{"1333285694":["hashtag1","hashtag2"]},{"1333285699":["hashtag1","hashtag2"]},{"1333285690":["hashtag1","hashtag2"]},{"1333285711":["hashtag1","hashtag2"]},{"1333285708":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333285704, 1333285694, 1333285699, 1333285690, 1333285711, 1333285708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71644592285156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:12:33.095684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/11/image_31012025_11_11_56_9403.jpg', '/home/pi/Desktop/images/31012025/11/11/image_31012025_11_12_07_10410.jpg', '/home/pi/Desktop/images/31012025/11/12/image_31012025_11_12_17_10370.jpg', '/home/pi/Desktop/images/31012025/11/12/image_31012025_11_12_26_9346.jpg', '/home/pi/Desktop/images/31012025/11/12/image_31012025_11_12_37_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/11/image_31012025_11_11_56_9403.jpg
/home/pi/Desktop/images/31012025/11/11/image_31012025_11_12_07_10410.jpg
/home/pi/Desktop/images/31012025/11/12/image_31012025_11_12_17_10370.jpg
/home/pi/Desktop/images/31012025/11/12/image_31012025_11_12_26_9346.jpg
/home/pi/Desktop/images/31012025/11/12/image_31012025_11_12_37_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":["1333285757","1333285771","1333285765","1333285777","1333285837"],"photo_ids_order":["1333285757","1333285765","1333285771","1333285777","1333285837"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0ecd3ef4f1c94ca8f1d71661b5e6ef4d.jpg","text":"TemporaryFile(/tmp/multipartBody3632532358778945410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318413979,"filename":"image_31012025_11_11_56_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9cabe2203214f55b52f89fd50b108b93.jpg","text":"TemporaryFile(/tmp/multipartBody675214241890328102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318413979,"filename":"image_31012025_11_12_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/1/31/7914e997d8fdf8d9f42dca2cb93dd60c.jpg","text":"TemporaryFile(/tmp/multipartBody5094423245029121928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318413979,"filename":"image_31012025_11_12_07_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dd92a1a40575b6256cbd376c3fa8bfe5.jpg","text":"TemporaryFile(/tmp/multipartBody758388819645621212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318413979,"filename":"image_31012025_11_12_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/1/31/e3cd9c9294261db3e34b4006bba180ab.jpg","text":"TemporaryFile(/tmp/multipartBody3534111513852828131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318413979,"filename":"image_31012025_11_12_37_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333285771","file1":"1333285765","file0":"1333285757","file4":"1333285837","file3":"1333285777"},"map_files_photo_id_array":[{"photo_id":"1333285771","filename":"file2"},{"photo_id":"1333285837","filename":"file4"},{"photo_id":"1333285765","filename":"file1"},{"photo_id":"1333285757","filename":"file0"},{"photo_id":"1333285777","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333285757":["hashtag1","hashtag2"]},{"1333285771":["hashtag1","hashtag2"]},{"1333285765":["hashtag1","hashtag2"]},{"1333285777":["hashtag1","hashtag2"]},{"1333285837":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333285757, 1333285771, 1333285765, 1333285777, 1333285837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.39806628227234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:13:32.348363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/12/image_31012025_11_12_57_10333.jpg', '/home/pi/Desktop/images/31012025/11/12/image_31012025_11_13_07_10338.jpg', '/home/pi/Desktop/images/31012025/11/13/image_31012025_11_13_16_9344.jpg', '/home/pi/Desktop/images/31012025/11/13/image_31012025_11_13_27_10332.jpg', '/home/pi/Desktop/images/31012025/11/13/image_31012025_11_13_37_10432.jpg', '/home/pi/Desktop/images/31012025/11/13/image_31012025_11_13_46_9422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/12/image_31012025_11_12_57_10333.jpg
/home/pi/Desktop/images/31012025/11/12/image_31012025_11_13_07_10338.jpg
/home/pi/Desktop/images/31012025/11/13/image_31012025_11_13_16_9344.jpg
/home/pi/Desktop/images/31012025/11/13/image_31012025_11_13_27_10332.jpg
/home/pi/Desktop/images/31012025/11/13/image_31012025_11_13_37_10432.jpg
/home/pi/Desktop/images/31012025/11/13/image_31012025_11_13_46_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":["1333285880","1333285874","1333285937","1333285928","1333285913","1333285884"],"photo_ids_order":["1333285874","1333285880","1333285884","1333285913","1333285928","1333285937"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/747e4d05b7f8035bfd5b9c30e3f0a220.jpg","text":"TemporaryFile(/tmp/multipartBody6241385048567564657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318473329,"filename":"image_31012025_11_13_07_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/12027daa1938ce7122969d8b404c2639.jpg","text":"TemporaryFile(/tmp/multipartBody3004660628429649392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318473329,"filename":"image_31012025_11_12_57_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9ca4d3a8e44c97733fd12bfa83146650.jpg","text":"TemporaryFile(/tmp/multipartBody2398245490146116729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318473329,"filename":"image_31012025_11_13_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/1/31/45200a660071d6148a9c23a4df6fa04b.jpg","text":"TemporaryFile(/tmp/multipartBody6719899179167779824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318473329,"filename":"image_31012025_11_13_37_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6eebd95f1f4b3e3d1d3807f040c2f867.jpg","text":"TemporaryFile(/tmp/multipartBody5079672064867469092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318473329,"filename":"image_31012025_11_13_27_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/05c86e6ac5f04e04d8d2a00dccca56ec.jpg","text":"TemporaryFile(/tmp/multipartBody3847281395166440411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318473329,"filename":"image_31012025_11_13_16_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333285884","file1":"1333285880","file0":"1333285874","file4":"1333285928","file5":"1333285937","file3":"1333285913"},"map_files_photo_id_array":[{"photo_id":"1333285937","filename":"file5"},{"photo_id":"1333285884","filename":"file2"},{"photo_id":"1333285928","filename":"file4"},{"photo_id":"1333285880","filename":"file1"},{"photo_id":"1333285874","filename":"file0"},{"photo_id":"1333285913","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333285880":["hashtag1","hashtag2"]},{"1333285874":["hashtag1","hashtag2"]},{"1333285937":["hashtag1","hashtag2"]},{"1333285928":["hashtag1","hashtag2"]},{"1333285913":["hashtag1","hashtag2"]},{"1333285884":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333285880, 1333285874, 1333285937, 1333285928, 1333285913, 1333285884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.579744815826416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:14:32.499943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/13/image_31012025_11_13_57_10465.jpg', '/home/pi/Desktop/images/31012025/11/13/image_31012025_11_14_06_9327.jpg', '/home/pi/Desktop/images/31012025/11/14/image_31012025_11_14_17_10351.jpg', '/home/pi/Desktop/images/31012025/11/14/image_31012025_11_14_27_10423.jpg', '/home/pi/Desktop/images/31012025/11/14/image_31012025_11_14_36_9413.jpg', '/home/pi/Desktop/images/31012025/11/14/image_31012025_11_14_47_10478.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/13/image_31012025_11_13_57_10465.jpg
/home/pi/Desktop/images/31012025/11/13/image_31012025_11_14_06_9327.jpg
/home/pi/Desktop/images/31012025/11/14/image_31012025_11_14_17_10351.jpg
/home/pi/Desktop/images/31012025/11/14/image_31012025_11_14_27_10423.jpg
/home/pi/Desktop/images/31012025/11/14/image_31012025_11_14_36_9413.jpg
/home/pi/Desktop/images/31012025/11/14/image_31012025_11_14_47_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":["1333286063","1333286089","1333286058","1333286037","1333286151","1333286046"],"photo_ids_order":["1333286037","1333286046","1333286058","1333286063","1333286089","1333286151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ac7a9d31370cbc1936730a0ebc81df74.jpg","text":"TemporaryFile(/tmp/multipartBody8237390924360888912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318533440,"filename":"image_31012025_11_14_27_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a6a7d96e15e80e44eccd797fa35471fe.jpg","text":"TemporaryFile(/tmp/multipartBody8999219438509256586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318533440,"filename":"image_31012025_11_14_36_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/26601090e7b3852b61bac20294eb0861.jpg","text":"TemporaryFile(/tmp/multipartBody6838973367576640910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318533440,"filename":"image_31012025_11_14_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/1/31/a505304d2dc5eba8d356a6e96dbc04ef.jpg","text":"TemporaryFile(/tmp/multipartBody8616737100263081281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318533440,"filename":"image_31012025_11_13_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/1/31/4bb0d011689177eba5732ca78928eac0.jpg","text":"TemporaryFile(/tmp/multipartBody1747038950838888521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318533440,"filename":"image_31012025_11_14_47_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f68074b075569bea0461ade69c81b96c.jpg","text":"TemporaryFile(/tmp/multipartBody5738490987718651012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318533440,"filename":"image_31012025_11_14_06_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333286058","file1":"1333286046","file0":"1333286037","file4":"1333286089","file5":"1333286151","file3":"1333286063"},"map_files_photo_id_array":[{"photo_id":"1333286151","filename":"file5"},{"photo_id":"1333286058","filename":"file2"},{"photo_id":"1333286089","filename":"file4"},{"photo_id":"1333286046","filename":"file1"},{"photo_id":"1333286037","filename":"file0"},{"photo_id":"1333286063","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333286063":["hashtag1","hashtag2"]},{"1333286089":["hashtag1","hashtag2"]},{"1333286058":["hashtag1","hashtag2"]},{"1333286037":["hashtag1","hashtag2"]},{"1333286151":["hashtag1","hashtag2"]},{"1333286046":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333286063, 1333286089, 1333286058, 1333286037, 1333286151, 1333286046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.28580856323242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:15:32.713680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/14/image_31012025_11_14_56_9331.jpg', '/home/pi/Desktop/images/31012025/11/14/image_31012025_11_15_07_10330.jpg', '/home/pi/Desktop/images/31012025/11/15/image_31012025_11_15_17_10333.jpg', '/home/pi/Desktop/images/31012025/11/15/image_31012025_11_15_26_9394.jpg', '/home/pi/Desktop/images/31012025/11/15/image_31012025_11_15_37_10514.jpg', '/home/pi/Desktop/images/31012025/11/15/image_31012025_11_15_47_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/14/image_31012025_11_14_56_9331.jpg
/home/pi/Desktop/images/31012025/11/14/image_31012025_11_15_07_10330.jpg
/home/pi/Desktop/images/31012025/11/15/image_31012025_11_15_17_10333.jpg
/home/pi/Desktop/images/31012025/11/15/image_31012025_11_15_26_9394.jpg
/home/pi/Desktop/images/31012025/11/15/image_31012025_11_15_37_10514.jpg
/home/pi/Desktop/images/31012025/11/15/image_31012025_11_15_47_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":["1333286360","1333286488","1333286272","1333286524","1333286503","1333286413"],"photo_ids_order":["1333286272","1333286360","1333286413","1333286488","1333286503","1333286524"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5a8dae06e293e31aa793204f2dc4a9ea.jpg","text":"TemporaryFile(/tmp/multipartBody9175962159193206189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318593607,"filename":"image_31012025_11_15_07_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1023fef17b00ab872b65c6271ed143b7.jpg","text":"TemporaryFile(/tmp/multipartBody5986766410661058720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318593607,"filename":"image_31012025_11_15_26_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/12e655ee0c44d925247e831d29104a63.jpg","text":"TemporaryFile(/tmp/multipartBody5817838304090205083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318593607,"filename":"image_31012025_11_14_56_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e502e007ef3ced306ef52540fc9d8aad.jpg","text":"TemporaryFile(/tmp/multipartBody1463312736144264570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318593607,"filename":"image_31012025_11_15_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/1/31/76513f1ec72e060e80d68373b48a47ba.jpg","text":"TemporaryFile(/tmp/multipartBody7016431345673985865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318593607,"filename":"image_31012025_11_15_37_10514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c0fc4c71b62652330f349894cfefe861.jpg","text":"TemporaryFile(/tmp/multipartBody4737206093802944332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318593607,"filename":"image_31012025_11_15_17_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333286413","file1":"1333286360","file0":"1333286272","file4":"1333286503","file5":"1333286524","file3":"1333286488"},"map_files_photo_id_array":[{"photo_id":"1333286524","filename":"file5"},{"photo_id":"1333286413","filename":"file2"},{"photo_id":"1333286503","filename":"file4"},{"photo_id":"1333286360","filename":"file1"},{"photo_id":"1333286272","filename":"file0"},{"photo_id":"1333286488","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333286360":["hashtag1","hashtag2"]},{"1333286488":["hashtag1","hashtag2"]},{"1333286272":["hashtag1","hashtag2"]},{"1333286524":["hashtag1","hashtag2"]},{"1333286503":["hashtag1","hashtag2"]},{"1333286413":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333286360, 1333286488, 1333286272, 1333286524, 1333286503, 1333286413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.0327033996582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:16:33.053348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/15/image_31012025_11_15_56_9336.jpg', '/home/pi/Desktop/images/31012025/11/15/image_31012025_11_16_07_10412.jpg', '/home/pi/Desktop/images/31012025/11/16/image_31012025_11_16_16_9326.jpg', '/home/pi/Desktop/images/31012025/11/16/image_31012025_11_16_27_10353.jpg', '/home/pi/Desktop/images/31012025/11/16/image_31012025_11_16_37_10348.jpg', '/home/pi/Desktop/images/31012025/11/16/image_31012025_11_16_46_9451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/15/image_31012025_11_15_56_9336.jpg
/home/pi/Desktop/images/31012025/11/15/image_31012025_11_16_07_10412.jpg
/home/pi/Desktop/images/31012025/11/16/image_31012025_11_16_16_9326.jpg
/home/pi/Desktop/images/31012025/11/16/image_31012025_11_16_27_10353.jpg
/home/pi/Desktop/images/31012025/11/16/image_31012025_11_16_37_10348.jpg
/home/pi/Desktop/images/31012025/11/16/image_31012025_11_16_46_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":["1333287099","1333287327","1333287321","1333287216","1333287324","1333287092"],"photo_ids_order":["1333287092","1333287099","1333287216","1333287321","1333287324","1333287327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b005d36fa98ec0bb532be6ae392e2221.jpg","text":"TemporaryFile(/tmp/multipartBody2143740536979131000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318653971,"filename":"image_31012025_11_16_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/1/31/c8cfe9577422809ce32dec20d1dadfc5.jpg","text":"TemporaryFile(/tmp/multipartBody1334255974425834131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318653971,"filename":"image_31012025_11_16_46_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9a41f3053bce78c8ff0ecfa85cdc1bd6.jpg","text":"TemporaryFile(/tmp/multipartBody2503845901146409994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318653971,"filename":"image_31012025_11_16_27_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/def49eaa703138adad3ffcaa3ffb0156.jpg","text":"TemporaryFile(/tmp/multipartBody5706730894991975152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318653971,"filename":"image_31012025_11_16_16_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dfe259793d1d660a36c9183f9db0fe8c.jpg","text":"TemporaryFile(/tmp/multipartBody7615860522283701054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318653971,"filename":"image_31012025_11_16_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/1/31/f5b3e94925e2c1874e59a382a83474f6.jpg","text":"TemporaryFile(/tmp/multipartBody8809410865447885884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318653971,"filename":"image_31012025_11_15_56_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333287216","file1":"1333287099","file0":"1333287092","file4":"1333287324","file5":"1333287327","file3":"1333287321"},"map_files_photo_id_array":[{"photo_id":"1333287327","filename":"file5"},{"photo_id":"1333287216","filename":"file2"},{"photo_id":"1333287324","filename":"file4"},{"photo_id":"1333287099","filename":"file1"},{"photo_id":"1333287092","filename":"file0"},{"photo_id":"1333287321","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333287099":["hashtag1","hashtag2"]},{"1333287327":["hashtag1","hashtag2"]},{"1333287321":["hashtag1","hashtag2"]},{"1333287216":["hashtag1","hashtag2"]},{"1333287324":["hashtag1","hashtag2"]},{"1333287092":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333287099, 1333287327, 1333287321, 1333287216, 1333287324, 1333287092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.277324199676514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:17:33.107918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/16/image_31012025_11_16_57_10416.jpg', '/home/pi/Desktop/images/31012025/11/16/image_31012025_11_17_06_9444.jpg', '/home/pi/Desktop/images/31012025/11/17/image_31012025_11_17_17_10341.jpg', '/home/pi/Desktop/images/31012025/11/17/image_31012025_11_17_27_10453.jpg', '/home/pi/Desktop/images/31012025/11/17/image_31012025_11_17_36_9403.jpg', '/home/pi/Desktop/images/31012025/11/17/image_31012025_11_17_47_10594.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/16/image_31012025_11_16_57_10416.jpg
/home/pi/Desktop/images/31012025/11/16/image_31012025_11_17_06_9444.jpg
/home/pi/Desktop/images/31012025/11/17/image_31012025_11_17_17_10341.jpg
/home/pi/Desktop/images/31012025/11/17/image_31012025_11_17_27_10453.jpg
/home/pi/Desktop/images/31012025/11/17/image_31012025_11_17_36_9403.jpg
/home/pi/Desktop/images/31012025/11/17/image_31012025_11_17_47_10594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333287652","1333287634","1333287705","1333287714","1333287659","1333287740"],"photo_ids_order":["1333287634","1333287652","1333287659","1333287705","1333287714","1333287740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/56c175831d87f8d9bac8d3fb146456f7.jpg","text":"TemporaryFile(/tmp/multipartBody2908700357062911754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318714012,"filename":"image_31012025_11_17_06_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a2bae95717869d087548c35a35268821.jpg","text":"TemporaryFile(/tmp/multipartBody7658648792474593057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318714012,"filename":"image_31012025_11_16_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/1/31/f896a54b698fefe5351e902507b427af.jpg","text":"TemporaryFile(/tmp/multipartBody4866660369358484953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318714012,"filename":"image_31012025_11_17_27_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c7117db7f1a04030ca3b549b1783d1ad.jpg","text":"TemporaryFile(/tmp/multipartBody6656100832735728719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318714012,"filename":"image_31012025_11_17_36_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/98a860b4b10b6676f48ce0798ccb395f.jpg","text":"TemporaryFile(/tmp/multipartBody8377891043507557924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318714012,"filename":"image_31012025_11_17_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/1/31/0e089f9ab68d319170296bd5f7c8f11c.jpg","text":"TemporaryFile(/tmp/multipartBody3415622533261896448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318714012,"filename":"image_31012025_11_17_47_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333287659","file1":"1333287652","file0":"1333287634","file4":"1333287714","file5":"1333287740","file3":"1333287705"},"map_files_photo_id_array":[{"photo_id":"1333287740","filename":"file5"},{"photo_id":"1333287659","filename":"file2"},{"photo_id":"1333287714","filename":"file4"},{"photo_id":"1333287652","filename":"file1"},{"photo_id":"1333287634","filename":"file0"},{"photo_id":"1333287705","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333287652":["hashtag1","hashtag2"]},{"1333287634":["hashtag1","hashtag2"]},{"1333287705":["hashtag1","hashtag2"]},{"1333287714":["hashtag1","hashtag2"]},{"1333287659":["hashtag1","hashtag2"]},{"1333287740":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333287652, 1333287634, 1333287705, 1333287714, 1333287659, 1333287740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.230875968933105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:18:32.337277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/17/image_31012025_11_17_56_9345.jpg', '/home/pi/Desktop/images/31012025/11/17/image_31012025_11_18_07_10502.jpg', '/home/pi/Desktop/images/31012025/11/18/image_31012025_11_18_16_9384.jpg', '/home/pi/Desktop/images/31012025/11/18/image_31012025_11_18_27_10361.jpg', '/home/pi/Desktop/images/31012025/11/18/image_31012025_11_18_37_10431.jpg', '/home/pi/Desktop/images/31012025/11/18/image_31012025_11_18_46_9362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/17/image_31012025_11_17_56_9345.jpg
/home/pi/Desktop/images/31012025/11/17/image_31012025_11_18_07_10502.jpg
/home/pi/Desktop/images/31012025/11/18/image_31012025_11_18_16_9384.jpg
/home/pi/Desktop/images/31012025/11/18/image_31012025_11_18_27_10361.jpg
/home/pi/Desktop/images/31012025/11/18/image_31012025_11_18_37_10431.jpg
/home/pi/Desktop/images/31012025/11/18/image_31012025_11_18_46_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":["1333287970","1333287988","1333287984","1333287978","1333287891","1333287974"],"photo_ids_order":["1333287891","1333287970","1333287974","1333287978","1333287984","1333287988"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/573fc890a831515511c9514354fb81d0.jpg","text":"TemporaryFile(/tmp/multipartBody4884876003555643287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318773251,"filename":"image_31012025_11_18_07_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/632a545718be3b2141def4cdc158500d.jpg","text":"TemporaryFile(/tmp/multipartBody145432971132614252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318773251,"filename":"image_31012025_11_18_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/1/31/9c5c2bf9f24c7b6986646ccad7ced9d6.jpg","text":"TemporaryFile(/tmp/multipartBody5579228530879833363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318773251,"filename":"image_31012025_11_18_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/1/31/3e1dd2df2ebbc532274fbacf6f5edc6b.jpg","text":"TemporaryFile(/tmp/multipartBody5954651219955685585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318773251,"filename":"image_31012025_11_18_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/1/31/12830cce32380f04e37aae5cf9f6b9da.jpg","text":"TemporaryFile(/tmp/multipartBody2293750466051850195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318773251,"filename":"image_31012025_11_17_56_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/334af652027780929e04f7f848fb4606.jpg","text":"TemporaryFile(/tmp/multipartBody4621625396186404178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318773251,"filename":"image_31012025_11_18_16_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333287974","file1":"1333287970","file0":"1333287891","file4":"1333287984","file5":"1333287988","file3":"1333287978"},"map_files_photo_id_array":[{"photo_id":"1333287988","filename":"file5"},{"photo_id":"1333287974","filename":"file2"},{"photo_id":"1333287984","filename":"file4"},{"photo_id":"1333287970","filename":"file1"},{"photo_id":"1333287891","filename":"file0"},{"photo_id":"1333287978","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333287970":["hashtag1","hashtag2"]},{"1333287988":["hashtag1","hashtag2"]},{"1333287984":["hashtag1","hashtag2"]},{"1333287978":["hashtag1","hashtag2"]},{"1333287891":["hashtag1","hashtag2"]},{"1333287974":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333287970, 1333287988, 1333287984, 1333287978, 1333287891, 1333287974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9286584854126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:19:35.103347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/18/image_31012025_11_18_57_10410.jpg', '/home/pi/Desktop/images/31012025/11/18/image_31012025_11_19_06_9332.jpg', '/home/pi/Desktop/images/31012025/11/19/image_31012025_11_19_16_10346.jpg', '/home/pi/Desktop/images/31012025/11/19/image_31012025_11_19_27_10400.jpg', '/home/pi/Desktop/images/31012025/11/19/image_31012025_11_19_36_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/18/image_31012025_11_18_57_10410.jpg
/home/pi/Desktop/images/31012025/11/18/image_31012025_11_19_06_9332.jpg
/home/pi/Desktop/images/31012025/11/19/image_31012025_11_19_16_10346.jpg
/home/pi/Desktop/images/31012025/11/19/image_31012025_11_19_27_10400.jpg
/home/pi/Desktop/images/31012025/11/19/image_31012025_11_19_36_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":["1333288035","1333288038","1333288017","1333288011","1333288025"],"photo_ids_order":["1333288011","1333288017","1333288025","1333288035","1333288038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1ef11143f06b61ed2d80f09156f3e80e.jpg","text":"TemporaryFile(/tmp/multipartBody6856429271586197255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318835993,"filename":"image_31012025_11_19_27_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1a0fa5756c22698028a6709f14a24dee.jpg","text":"TemporaryFile(/tmp/multipartBody6985152894664818944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318835993,"filename":"image_31012025_11_19_36_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1c9623a3ef79ff7055066f32adb54fb5.jpg","text":"TemporaryFile(/tmp/multipartBody5442398768443453424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318835993,"filename":"image_31012025_11_19_06_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bdd6382a928d0f0d00574d2546591cc2.jpg","text":"TemporaryFile(/tmp/multipartBody6792418889665423670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318835993,"filename":"image_31012025_11_18_57_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a44bc1e9d5bcaa5c1efab16625c6975b.jpg","text":"TemporaryFile(/tmp/multipartBody1651302322753718269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318835993,"filename":"image_31012025_11_19_16_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333288025","file1":"1333288017","file0":"1333288011","file4":"1333288038","file3":"1333288035"},"map_files_photo_id_array":[{"photo_id":"1333288025","filename":"file2"},{"photo_id":"1333288038","filename":"file4"},{"photo_id":"1333288017","filename":"file1"},{"photo_id":"1333288011","filename":"file0"},{"photo_id":"1333288035","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333288035":["hashtag1","hashtag2"]},{"1333288038":["hashtag1","hashtag2"]},{"1333288017":["hashtag1","hashtag2"]},{"1333288011":["hashtag1","hashtag2"]},{"1333288025":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333288035, 1333288038, 1333288017, 1333288011, 1333288025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.275294065475464 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:20:32.824176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/19/image_31012025_11_19_47_10406.jpg', '/home/pi/Desktop/images/31012025/11/19/image_31012025_11_20_06_9341.jpg', '/home/pi/Desktop/images/31012025/11/20/image_31012025_11_20_17_10389.jpg', '/home/pi/Desktop/images/31012025/11/20/image_31012025_11_20_26_9333.jpg', '/home/pi/Desktop/images/31012025/11/20/image_31012025_11_20_36_10112.jpg', '/home/pi/Desktop/images/31012025/11/20/image_31012025_11_20_47_10479.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/19/image_31012025_11_19_47_10406.jpg
/home/pi/Desktop/images/31012025/11/19/image_31012025_11_20_06_9341.jpg
/home/pi/Desktop/images/31012025/11/20/image_31012025_11_20_17_10389.jpg
/home/pi/Desktop/images/31012025/11/20/image_31012025_11_20_26_9333.jpg
/home/pi/Desktop/images/31012025/11/20/image_31012025_11_20_36_10112.jpg
/home/pi/Desktop/images/31012025/11/20/image_31012025_11_20_47_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":["1333288072","1333288086","1333288068","1333288091","1333288094","1333288064"],"photo_ids_order":["1333288064","1333288068","1333288072","1333288086","1333288091","1333288094"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a66cf7f63f962247b4c36abe9a4bbbcd.jpg","text":"TemporaryFile(/tmp/multipartBody6037644525838988442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318893723,"filename":"image_31012025_11_20_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/1/31/7aa31f3d150be66c598a899ab3a10ec6.jpg","text":"TemporaryFile(/tmp/multipartBody3260007282026575596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318893723,"filename":"image_31012025_11_20_26_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0070bbd0076e0e2b5722af912d89a588.jpg","text":"TemporaryFile(/tmp/multipartBody7957400586921698447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318893723,"filename":"image_31012025_11_20_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/1/31/99d5474560e7ff0c3b43a70cebf0bbc8.jpg","text":"TemporaryFile(/tmp/multipartBody4042580283281104376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318893723,"filename":"image_31012025_11_20_36_10112.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/07d582b59491b13e47dd2cc2547fe560.jpg","text":"TemporaryFile(/tmp/multipartBody8814744872301103367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318893723,"filename":"image_31012025_11_20_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/1/31/90b325f529a8ad2512cca070674241da.jpg","text":"TemporaryFile(/tmp/multipartBody3892346138527633037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318893723,"filename":"image_31012025_11_19_47_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333288072","file1":"1333288068","file0":"1333288064","file4":"1333288091","file5":"1333288094","file3":"1333288086"},"map_files_photo_id_array":[{"photo_id":"1333288094","filename":"file5"},{"photo_id":"1333288072","filename":"file2"},{"photo_id":"1333288091","filename":"file4"},{"photo_id":"1333288068","filename":"file1"},{"photo_id":"1333288064","filename":"file0"},{"photo_id":"1333288086","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333288072":["hashtag1","hashtag2"]},{"1333288086":["hashtag1","hashtag2"]},{"1333288068":["hashtag1","hashtag2"]},{"1333288091":["hashtag1","hashtag2"]},{"1333288094":["hashtag1","hashtag2"]},{"1333288064":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333288072, 1333288086, 1333288068, 1333288091, 1333288094, 1333288064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.05447602272034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:21:33.027941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/20/image_31012025_11_20_57_10412.jpg', '/home/pi/Desktop/images/31012025/11/20/image_31012025_11_21_06_9326.jpg', '/home/pi/Desktop/images/31012025/11/21/image_31012025_11_21_26_9347.jpg', '/home/pi/Desktop/images/31012025/11/21/image_31012025_11_21_37_10355.jpg', '/home/pi/Desktop/images/31012025/11/21/image_31012025_11_21_47_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/20/image_31012025_11_20_57_10412.jpg
/home/pi/Desktop/images/31012025/11/20/image_31012025_11_21_06_9326.jpg
/home/pi/Desktop/images/31012025/11/21/image_31012025_11_21_26_9347.jpg
/home/pi/Desktop/images/31012025/11/21/image_31012025_11_21_37_10355.jpg
/home/pi/Desktop/images/31012025/11/21/image_31012025_11_21_47_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":["1333288132","1333288138","1333288204","1333288179","1333288196"],"photo_ids_order":["1333288132","1333288138","1333288179","1333288196","1333288204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/46d3a7f5558a1ccbe3876eb873921434.jpg","text":"TemporaryFile(/tmp/multipartBody7492409203031865128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318953929,"filename":"image_31012025_11_20_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/1/31/e4d7b2dc9ad2598b6074d7fa7583129f.jpg","text":"TemporaryFile(/tmp/multipartBody441065904370644800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318953929,"filename":"image_31012025_11_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/1/31/48e344646484df5950848074603315b5.jpg","text":"TemporaryFile(/tmp/multipartBody6766768110426399289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318953929,"filename":"image_31012025_11_21_47_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1f5c989d074e39eb43a8c55360137935.jpg","text":"TemporaryFile(/tmp/multipartBody6616378711469983232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318953929,"filename":"image_31012025_11_21_26_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7207a39f07441eaa6e9db440660861ca.jpg","text":"TemporaryFile(/tmp/multipartBody4737437446361270375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738318953929,"filename":"image_31012025_11_21_37_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333288179","file1":"1333288138","file0":"1333288132","file4":"1333288204","file3":"1333288196"},"map_files_photo_id_array":[{"photo_id":"1333288179","filename":"file2"},{"photo_id":"1333288204","filename":"file4"},{"photo_id":"1333288138","filename":"file1"},{"photo_id":"1333288132","filename":"file0"},{"photo_id":"1333288196","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333288132":["hashtag1","hashtag2"]},{"1333288138":["hashtag1","hashtag2"]},{"1333288204":["hashtag1","hashtag2"]},{"1333288179":["hashtag1","hashtag2"]},{"1333288196":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333288132, 1333288138, 1333288204, 1333288179, 1333288196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.67536687850952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:22:32.288278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/21/image_31012025_11_21_56_9344.jpg', '/home/pi/Desktop/images/31012025/11/21/image_31012025_11_22_07_10345.jpg', '/home/pi/Desktop/images/31012025/11/22/image_31012025_11_22_17_10401.jpg', '/home/pi/Desktop/images/31012025/11/22/image_31012025_11_22_26_9337.jpg', '/home/pi/Desktop/images/31012025/11/22/image_31012025_11_22_37_10548.jpg', '/home/pi/Desktop/images/31012025/11/22/image_31012025_11_22_46_9424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/21/image_31012025_11_21_56_9344.jpg
/home/pi/Desktop/images/31012025/11/21/image_31012025_11_22_07_10345.jpg
/home/pi/Desktop/images/31012025/11/22/image_31012025_11_22_17_10401.jpg
/home/pi/Desktop/images/31012025/11/22/image_31012025_11_22_26_9337.jpg
/home/pi/Desktop/images/31012025/11/22/image_31012025_11_22_37_10548.jpg
/home/pi/Desktop/images/31012025/11/22/image_31012025_11_22_46_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":["1333288357","1333288458","1333288410","1333288347","1333288445","1333288415"],"photo_ids_order":["1333288347","1333288357","1333288410","1333288415","1333288445","1333288458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e392f5c35f88e8b117679305c76b270c.jpg","text":"TemporaryFile(/tmp/multipartBody1088323991315275771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319013219,"filename":"image_31012025_11_22_07_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f2f0f3ec353688a6cce9dca6946d4fd7.jpg","text":"TemporaryFile(/tmp/multipartBody7244014994010441275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319013219,"filename":"image_31012025_11_22_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/1/31/277bb937a482f59f2051c0eb79d3d44f.jpg","text":"TemporaryFile(/tmp/multipartBody1480655835426100829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319013219,"filename":"image_31012025_11_22_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/1/31/97b0e91af9e48edb8731dd75053e34fb.jpg","text":"TemporaryFile(/tmp/multipartBody9032375172666583290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319013219,"filename":"image_31012025_11_21_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/1/31/ad64392bd730b608b7d6bd5b5bbfec10.jpg","text":"TemporaryFile(/tmp/multipartBody6449678380319190780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319013219,"filename":"image_31012025_11_22_37_10548.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6577676ee879b164ed24b521b5337f5f.jpg","text":"TemporaryFile(/tmp/multipartBody6069427144423393696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319013219,"filename":"image_31012025_11_22_26_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333288410","file1":"1333288357","file0":"1333288347","file4":"1333288445","file5":"1333288458","file3":"1333288415"},"map_files_photo_id_array":[{"photo_id":"1333288458","filename":"file5"},{"photo_id":"1333288410","filename":"file2"},{"photo_id":"1333288445","filename":"file4"},{"photo_id":"1333288357","filename":"file1"},{"photo_id":"1333288347","filename":"file0"},{"photo_id":"1333288415","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333288357":["hashtag1","hashtag2"]},{"1333288458":["hashtag1","hashtag2"]},{"1333288410":["hashtag1","hashtag2"]},{"1333288347":["hashtag1","hashtag2"]},{"1333288445":["hashtag1","hashtag2"]},{"1333288415":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333288357, 1333288458, 1333288410, 1333288347, 1333288445, 1333288415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87198519706726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:23:32.449635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/22/image_31012025_11_22_57_10443.jpg', '/home/pi/Desktop/images/31012025/11/22/image_31012025_11_23_07_10328.jpg', '/home/pi/Desktop/images/31012025/11/23/image_31012025_11_23_16_9379.jpg', '/home/pi/Desktop/images/31012025/11/23/image_31012025_11_23_27_10411.jpg', '/home/pi/Desktop/images/31012025/11/23/image_31012025_11_23_36_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/22/image_31012025_11_22_57_10443.jpg
/home/pi/Desktop/images/31012025/11/22/image_31012025_11_23_07_10328.jpg
/home/pi/Desktop/images/31012025/11/23/image_31012025_11_23_16_9379.jpg
/home/pi/Desktop/images/31012025/11/23/image_31012025_11_23_27_10411.jpg
/home/pi/Desktop/images/31012025/11/23/image_31012025_11_23_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":["1333288554","1333288530","1333288518","1333288567","1333288505"],"photo_ids_order":["1333288505","1333288518","1333288530","1333288554","1333288567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c60a14cb60c1cb797309f5b06cd6de79.jpg","text":"TemporaryFile(/tmp/multipartBody2269284846053098782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319073332,"filename":"image_31012025_11_23_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/1/31/bfb21d39ba1855a3ce0802959abf6343.jpg","text":"TemporaryFile(/tmp/multipartBody8631934297912487163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319073332,"filename":"image_31012025_11_23_16_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8aa196236a4f4305fcd090df76fc56d4.jpg","text":"TemporaryFile(/tmp/multipartBody1823802617518076050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319073332,"filename":"image_31012025_11_23_07_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dea3167f32cb51c7ccda3b4db647e72f.jpg","text":"TemporaryFile(/tmp/multipartBody792300257342156158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319073332,"filename":"image_31012025_11_23_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/1/31/d1f833bc41caf5c55f2ac4f8496a2198.jpg","text":"TemporaryFile(/tmp/multipartBody6974266758123255137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319073332,"filename":"image_31012025_11_22_57_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333288530","file1":"1333288518","file0":"1333288505","file4":"1333288567","file3":"1333288554"},"map_files_photo_id_array":[{"photo_id":"1333288530","filename":"file2"},{"photo_id":"1333288567","filename":"file4"},{"photo_id":"1333288518","filename":"file1"},{"photo_id":"1333288505","filename":"file0"},{"photo_id":"1333288554","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333288554":["hashtag1","hashtag2"]},{"1333288530":["hashtag1","hashtag2"]},{"1333288518":["hashtag1","hashtag2"]},{"1333288567":["hashtag1","hashtag2"]},{"1333288505":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333288554, 1333288530, 1333288518, 1333288567, 1333288505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.51022815704346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:24:32.637935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/23/image_31012025_11_23_47_10470.jpg', '/home/pi/Desktop/images/31012025/11/24/image_31012025_11_24_17_10422.jpg', '/home/pi/Desktop/images/31012025/11/24/image_31012025_11_24_26_9386.jpg', '/home/pi/Desktop/images/31012025/11/24/image_31012025_11_24_37_10476.jpg', '/home/pi/Desktop/images/31012025/11/24/image_31012025_11_24_46_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/23/image_31012025_11_23_47_10470.jpg
/home/pi/Desktop/images/31012025/11/24/image_31012025_11_24_17_10422.jpg
/home/pi/Desktop/images/31012025/11/24/image_31012025_11_24_26_9386.jpg
/home/pi/Desktop/images/31012025/11/24/image_31012025_11_24_37_10476.jpg
/home/pi/Desktop/images/31012025/11/24/image_31012025_11_24_46_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":["1333288801","1333288723","1333288818","1333288820","1333288814"],"photo_ids_order":["1333288723","1333288801","1333288814","1333288818","1333288820"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/160cf3d255b7a0436b36f97c0f230039.jpg","text":"TemporaryFile(/tmp/multipartBody2331869223002664952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319133539,"filename":"image_31012025_11_24_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/1/31/c8bac85dfbd476644e9c997126232061.jpg","text":"TemporaryFile(/tmp/multipartBody123541622265531003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319133539,"filename":"image_31012025_11_23_47_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/34c1aa29c6036b89d67a0b5a565c0d78.jpg","text":"TemporaryFile(/tmp/multipartBody3389750694947720230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319133539,"filename":"image_31012025_11_24_37_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cfb798ddbc4821b352ff716a0e573207.jpg","text":"TemporaryFile(/tmp/multipartBody3615895545371589792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319133539,"filename":"image_31012025_11_24_46_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b4aa8d4544fee7a29c1a1c939b20e4ae.jpg","text":"TemporaryFile(/tmp/multipartBody526766791652573553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319133539,"filename":"image_31012025_11_24_26_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333288814","file1":"1333288801","file0":"1333288723","file4":"1333288820","file3":"1333288818"},"map_files_photo_id_array":[{"photo_id":"1333288814","filename":"file2"},{"photo_id":"1333288820","filename":"file4"},{"photo_id":"1333288801","filename":"file1"},{"photo_id":"1333288723","filename":"file0"},{"photo_id":"1333288818","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333288801":["hashtag1","hashtag2"]},{"1333288723":["hashtag1","hashtag2"]},{"1333288818":["hashtag1","hashtag2"]},{"1333288820":["hashtag1","hashtag2"]},{"1333288814":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333288801, 1333288723, 1333288818, 1333288820, 1333288814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.65281677246094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:25:32.898479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/24/image_31012025_11_24_57_10345.jpg', '/home/pi/Desktop/images/31012025/11/24/image_31012025_11_25_07_10457.jpg', '/home/pi/Desktop/images/31012025/11/25/image_31012025_11_25_16_9341.jpg', '/home/pi/Desktop/images/31012025/11/25/image_31012025_11_25_27_10556.jpg', '/home/pi/Desktop/images/31012025/11/25/image_31012025_11_25_36_9347.jpg', '/home/pi/Desktop/images/31012025/11/25/image_31012025_11_25_47_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/24/image_31012025_11_24_57_10345.jpg
/home/pi/Desktop/images/31012025/11/24/image_31012025_11_25_07_10457.jpg
/home/pi/Desktop/images/31012025/11/25/image_31012025_11_25_16_9341.jpg
/home/pi/Desktop/images/31012025/11/25/image_31012025_11_25_27_10556.jpg
/home/pi/Desktop/images/31012025/11/25/image_31012025_11_25_36_9347.jpg
/home/pi/Desktop/images/31012025/11/25/image_31012025_11_25_47_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333289035","1333289002","1333289072","1333289054","1333289021","1333288943"],"photo_ids_order":["1333288943","1333289002","1333289021","1333289035","1333289054","1333289072"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/27b3285590b0b81095fb91482f646a62.jpg","text":"TemporaryFile(/tmp/multipartBody6992493853836989234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319193797,"filename":"image_31012025_11_25_27_10556.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1246d68994e258f51282dd3d94d2c6e9.jpg","text":"TemporaryFile(/tmp/multipartBody34318584651809243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319193797,"filename":"image_31012025_11_25_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/1/31/36303ff349c132ab4209caffdf5b0010.jpg","text":"TemporaryFile(/tmp/multipartBody7038888042318484354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319193797,"filename":"image_31012025_11_25_47_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/94972935c5b7eb6e3fb79ebea81b911f.jpg","text":"TemporaryFile(/tmp/multipartBody107037749935914923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319193797,"filename":"image_31012025_11_25_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/1/31/3cf7d9d749e3c8606a9f7b234fee4ca7.jpg","text":"TemporaryFile(/tmp/multipartBody5619042243284792385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319193797,"filename":"image_31012025_11_25_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/1/31/1bc5bf2116734a6a37d2a81871058ef4.jpg","text":"TemporaryFile(/tmp/multipartBody8186169902221150993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319193797,"filename":"image_31012025_11_24_57_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333289021","file1":"1333289002","file0":"1333288943","file4":"1333289054","file5":"1333289072","file3":"1333289035"},"map_files_photo_id_array":[{"photo_id":"1333289072","filename":"file5"},{"photo_id":"1333289021","filename":"file2"},{"photo_id":"1333289054","filename":"file4"},{"photo_id":"1333289002","filename":"file1"},{"photo_id":"1333288943","filename":"file0"},{"photo_id":"1333289035","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333289035":["hashtag1","hashtag2"]},{"1333289002":["hashtag1","hashtag2"]},{"1333289072":["hashtag1","hashtag2"]},{"1333289054":["hashtag1","hashtag2"]},{"1333289021":["hashtag1","hashtag2"]},{"1333288943":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333289035, 1333289002, 1333289072, 1333289054, 1333289021, 1333288943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.64159631729126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:26:33.215856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/25/image_31012025_11_25_57_10435.jpg', '/home/pi/Desktop/images/31012025/11/25/image_31012025_11_26_06_9431.jpg', '/home/pi/Desktop/images/31012025/11/26/image_31012025_11_26_17_10367.jpg', '/home/pi/Desktop/images/31012025/11/26/image_31012025_11_26_26_9445.jpg', '/home/pi/Desktop/images/31012025/11/26/image_31012025_11_26_37_10333.jpg', '/home/pi/Desktop/images/31012025/11/26/image_31012025_11_26_47_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/25/image_31012025_11_25_57_10435.jpg
/home/pi/Desktop/images/31012025/11/25/image_31012025_11_26_06_9431.jpg
/home/pi/Desktop/images/31012025/11/26/image_31012025_11_26_17_10367.jpg
/home/pi/Desktop/images/31012025/11/26/image_31012025_11_26_26_9445.jpg
/home/pi/Desktop/images/31012025/11/26/image_31012025_11_26_37_10333.jpg
/home/pi/Desktop/images/31012025/11/26/image_31012025_11_26_47_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":["1333289425","1333289428","1333289401","1333289301","1333289411","1333289287"],"photo_ids_order":["1333289287","1333289301","1333289401","1333289411","1333289425","1333289428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9a259492167a2415f9575a36ab428e63.jpg","text":"TemporaryFile(/tmp/multipartBody5081244911807097829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319254153,"filename":"image_31012025_11_26_37_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6a34dc0f1d133124bfea2474d8b8f782.jpg","text":"TemporaryFile(/tmp/multipartBody4396044086815150180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319254153,"filename":"image_31012025_11_26_47_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2473a0505be31f987db5b15e526df76f.jpg","text":"TemporaryFile(/tmp/multipartBody2976604357035251996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319254153,"filename":"image_31012025_11_26_17_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/120ae2a0eee277545ab3b05d41871e2b.jpg","text":"TemporaryFile(/tmp/multipartBody4637293254282354538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319254153,"filename":"image_31012025_11_26_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/1/31/8cc3012225eded3f2e3decea9180e1a4.jpg","text":"TemporaryFile(/tmp/multipartBody2400429110124041250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319254153,"filename":"image_31012025_11_26_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/1/31/f5283b24962725379cfbf425f259d03a.jpg","text":"TemporaryFile(/tmp/multipartBody4393579962976554169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319254153,"filename":"image_31012025_11_25_57_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333289401","file1":"1333289301","file0":"1333289287","file4":"1333289425","file5":"1333289428","file3":"1333289411"},"map_files_photo_id_array":[{"photo_id":"1333289428","filename":"file5"},{"photo_id":"1333289401","filename":"file2"},{"photo_id":"1333289425","filename":"file4"},{"photo_id":"1333289301","filename":"file1"},{"photo_id":"1333289287","filename":"file0"},{"photo_id":"1333289411","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333289425":["hashtag1","hashtag2"]},{"1333289428":["hashtag1","hashtag2"]},{"1333289401":["hashtag1","hashtag2"]},{"1333289301":["hashtag1","hashtag2"]},{"1333289411":["hashtag1","hashtag2"]},{"1333289287":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333289425, 1333289428, 1333289401, 1333289301, 1333289411, 1333289287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.37000346183777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:27:32.354986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/26/image_31012025_11_26_56_9334.jpg', '/home/pi/Desktop/images/31012025/11/26/image_31012025_11_27_07_10400.jpg', '/home/pi/Desktop/images/31012025/11/27/image_31012025_11_27_17_10341.jpg', '/home/pi/Desktop/images/31012025/11/27/image_31012025_11_27_26_9327.jpg', '/home/pi/Desktop/images/31012025/11/27/image_31012025_11_27_37_10463.jpg', '/home/pi/Desktop/images/31012025/11/27/image_31012025_11_27_46_9330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/26/image_31012025_11_26_56_9334.jpg
/home/pi/Desktop/images/31012025/11/26/image_31012025_11_27_07_10400.jpg
/home/pi/Desktop/images/31012025/11/27/image_31012025_11_27_17_10341.jpg
/home/pi/Desktop/images/31012025/11/27/image_31012025_11_27_26_9327.jpg
/home/pi/Desktop/images/31012025/11/27/image_31012025_11_27_37_10463.jpg
/home/pi/Desktop/images/31012025/11/27/image_31012025_11_27_46_9330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333289499","1333289472","1333289519","1333289510","1333289516","1333289467"],"photo_ids_order":["1333289467","1333289472","1333289499","1333289510","1333289516","1333289519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c265cbe20c6afbc15d70749ac4019a78.jpg","text":"TemporaryFile(/tmp/multipartBody354955493298096775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319313260,"filename":"image_31012025_11_27_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/1/31/9ee63a3df25ca7f794096d8e0d457cae.jpg","text":"TemporaryFile(/tmp/multipartBody7453922044998575135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319313260,"filename":"image_31012025_11_27_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/1/31/e0c3e92f27caee76275ca262d25aeef9.jpg","text":"TemporaryFile(/tmp/multipartBody2762450537818319169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319313260,"filename":"image_31012025_11_27_46_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d556f73b295f2fd8a8ed7685f1b07fdd.jpg","text":"TemporaryFile(/tmp/multipartBody2641391156192985869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319313260,"filename":"image_31012025_11_27_26_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9a4379e5d06822a0f0c4928645e638a0.jpg","text":"TemporaryFile(/tmp/multipartBody2817474512245945525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319313260,"filename":"image_31012025_11_27_37_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/22cdf602517a067885f73e4c720847ce.jpg","text":"TemporaryFile(/tmp/multipartBody6747186779200297122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319313260,"filename":"image_31012025_11_26_56_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333289499","file1":"1333289472","file0":"1333289467","file4":"1333289516","file5":"1333289519","file3":"1333289510"},"map_files_photo_id_array":[{"photo_id":"1333289519","filename":"file5"},{"photo_id":"1333289499","filename":"file2"},{"photo_id":"1333289516","filename":"file4"},{"photo_id":"1333289472","filename":"file1"},{"photo_id":"1333289467","filename":"file0"},{"photo_id":"1333289510","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333289499":["hashtag1","hashtag2"]},{"1333289472":["hashtag1","hashtag2"]},{"1333289519":["hashtag1","hashtag2"]},{"1333289510":["hashtag1","hashtag2"]},{"1333289516":["hashtag1","hashtag2"]},{"1333289467":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333289499, 1333289472, 1333289519, 1333289510, 1333289516, 1333289467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59915256500244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:28:32.683567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/27/image_31012025_11_27_57_10346.jpg', '/home/pi/Desktop/images/31012025/11/27/image_31012025_11_28_07_10442.jpg', '/home/pi/Desktop/images/31012025/11/28/image_31012025_11_28_16_9447.jpg', '/home/pi/Desktop/images/31012025/11/28/image_31012025_11_28_27_10351.jpg', '/home/pi/Desktop/images/31012025/11/28/image_31012025_11_28_37_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/27/image_31012025_11_27_57_10346.jpg
/home/pi/Desktop/images/31012025/11/27/image_31012025_11_28_07_10442.jpg
/home/pi/Desktop/images/31012025/11/28/image_31012025_11_28_16_9447.jpg
/home/pi/Desktop/images/31012025/11/28/image_31012025_11_28_27_10351.jpg
/home/pi/Desktop/images/31012025/11/28/image_31012025_11_28_37_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":["1333289625","1333289613","1333289621","1333289630","1333289600"],"photo_ids_order":["1333289600","1333289613","1333289621","1333289625","1333289630"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e8a2e366136afa8c4d05418ade11e483.jpg","text":"TemporaryFile(/tmp/multipartBody3862920011307041250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319373576,"filename":"image_31012025_11_28_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/1/31/382089b6f576f5a5643c4a0d9a1dd423.jpg","text":"TemporaryFile(/tmp/multipartBody8293331221927506637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319373576,"filename":"image_31012025_11_28_07_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0a79d56016a638d2adfb5aabd9cd6933.jpg","text":"TemporaryFile(/tmp/multipartBody493231803988923311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319373576,"filename":"image_31012025_11_28_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/1/31/4d9842d248a2fa8f13b20d0f41c3eff6.jpg","text":"TemporaryFile(/tmp/multipartBody7607492577013649047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319373576,"filename":"image_31012025_11_28_37_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a9c35ae8edd05179c40064d30c26fdf6.jpg","text":"TemporaryFile(/tmp/multipartBody8300571315850503977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319373576,"filename":"image_31012025_11_27_57_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333289621","file1":"1333289613","file0":"1333289600","file4":"1333289630","file3":"1333289625"},"map_files_photo_id_array":[{"photo_id":"1333289621","filename":"file2"},{"photo_id":"1333289630","filename":"file4"},{"photo_id":"1333289613","filename":"file1"},{"photo_id":"1333289600","filename":"file0"},{"photo_id":"1333289625","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333289625":["hashtag1","hashtag2"]},{"1333289613":["hashtag1","hashtag2"]},{"1333289621":["hashtag1","hashtag2"]},{"1333289630":["hashtag1","hashtag2"]},{"1333289600":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333289625, 1333289613, 1333289621, 1333289630, 1333289600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.825135946273804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:29:32.975371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/28/image_31012025_11_28_57_10416.jpg', '/home/pi/Desktop/images/31012025/11/28/image_31012025_11_29_06_9350.jpg', '/home/pi/Desktop/images/31012025/11/29/image_31012025_11_29_27_10419.jpg', '/home/pi/Desktop/images/31012025/11/29/image_31012025_11_29_36_9329.jpg', '/home/pi/Desktop/images/31012025/11/29/image_31012025_11_29_47_10444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/28/image_31012025_11_28_57_10416.jpg
/home/pi/Desktop/images/31012025/11/28/image_31012025_11_29_06_9350.jpg
/home/pi/Desktop/images/31012025/11/29/image_31012025_11_29_27_10419.jpg
/home/pi/Desktop/images/31012025/11/29/image_31012025_11_29_36_9329.jpg
/home/pi/Desktop/images/31012025/11/29/image_31012025_11_29_47_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":["1333289673","1333289680","1333289677","1333289662","1333289668"],"photo_ids_order":["1333289662","1333289668","1333289673","1333289677","1333289680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d217a69858cd2297776973255ea43d6e.jpg","text":"TemporaryFile(/tmp/multipartBody3981794428815920831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319433883,"filename":"image_31012025_11_29_27_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/16ea161caf6c543f0d69005109f5e413.jpg","text":"TemporaryFile(/tmp/multipartBody5936616270327648777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319433883,"filename":"image_31012025_11_29_47_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b837ecb75a89914494991631291f1dc8.jpg","text":"TemporaryFile(/tmp/multipartBody6437980695411663131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319433883,"filename":"image_31012025_11_29_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/1/31/33abf189edffa5327b6b1926341569c9.jpg","text":"TemporaryFile(/tmp/multipartBody3657878227141699812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319433883,"filename":"image_31012025_11_28_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/1/31/2d124c3eba8d6d51f33412e459e0a39f.jpg","text":"TemporaryFile(/tmp/multipartBody2065161440913955496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319433883,"filename":"image_31012025_11_29_06_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333289673","file1":"1333289668","file0":"1333289662","file4":"1333289680","file3":"1333289677"},"map_files_photo_id_array":[{"photo_id":"1333289673","filename":"file2"},{"photo_id":"1333289680","filename":"file4"},{"photo_id":"1333289668","filename":"file1"},{"photo_id":"1333289662","filename":"file0"},{"photo_id":"1333289677","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333289673":["hashtag1","hashtag2"]},{"1333289680":["hashtag1","hashtag2"]},{"1333289677":["hashtag1","hashtag2"]},{"1333289662":["hashtag1","hashtag2"]},{"1333289668":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333289673, 1333289680, 1333289677, 1333289662, 1333289668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.32628798484802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:30:32.219257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/29/image_31012025_11_29_56_9404.jpg', '/home/pi/Desktop/images/31012025/11/29/image_31012025_11_30_07_10341.jpg', '/home/pi/Desktop/images/31012025/11/30/image_31012025_11_30_17_10397.jpg', '/home/pi/Desktop/images/31012025/11/30/image_31012025_11_30_26_9397.jpg', '/home/pi/Desktop/images/31012025/11/30/image_31012025_11_30_37_10409.jpg', '/home/pi/Desktop/images/31012025/11/30/image_31012025_11_30_46_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/29/image_31012025_11_29_56_9404.jpg
/home/pi/Desktop/images/31012025/11/29/image_31012025_11_30_07_10341.jpg
/home/pi/Desktop/images/31012025/11/30/image_31012025_11_30_17_10397.jpg
/home/pi/Desktop/images/31012025/11/30/image_31012025_11_30_26_9397.jpg
/home/pi/Desktop/images/31012025/11/30/image_31012025_11_30_37_10409.jpg
/home/pi/Desktop/images/31012025/11/30/image_31012025_11_30_46_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":["1333289715","1333289709","1333289703","1333289789","1333289828","1333289831"],"photo_ids_order":["1333289703","1333289709","1333289715","1333289789","1333289828","1333289831"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ec8be5a48a5d38f31bff1ea247d23589.jpg","text":"TemporaryFile(/tmp/multipartBody9004048935502433409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319493124,"filename":"image_31012025_11_30_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/1/31/0c9ffd04dfa90a171913fc8d3e5736b9.jpg","text":"TemporaryFile(/tmp/multipartBody5523630932351401055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319493124,"filename":"image_31012025_11_30_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/1/31/46999db49944d21eb490462e3a9b401e.jpg","text":"TemporaryFile(/tmp/multipartBody8190485453531495335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319493124,"filename":"image_31012025_11_29_56_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b096248a1e0b2e61cd8fb758a56f5288.jpg","text":"TemporaryFile(/tmp/multipartBody1869036832085573497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319493124,"filename":"image_31012025_11_30_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/1/31/925c67697eabc4e990a79650e79fb4cc.jpg","text":"TemporaryFile(/tmp/multipartBody7078756628355302927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319493124,"filename":"image_31012025_11_30_37_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/465bca9515cd49c34d6a3ee95fe18607.jpg","text":"TemporaryFile(/tmp/multipartBody6486082512970495618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319493124,"filename":"image_31012025_11_30_46_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333289715","file1":"1333289709","file0":"1333289703","file4":"1333289828","file5":"1333289831","file3":"1333289789"},"map_files_photo_id_array":[{"photo_id":"1333289831","filename":"file5"},{"photo_id":"1333289715","filename":"file2"},{"photo_id":"1333289828","filename":"file4"},{"photo_id":"1333289709","filename":"file1"},{"photo_id":"1333289703","filename":"file0"},{"photo_id":"1333289789","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333289715":["hashtag1","hashtag2"]},{"1333289709":["hashtag1","hashtag2"]},{"1333289703":["hashtag1","hashtag2"]},{"1333289789":["hashtag1","hashtag2"]},{"1333289828":["hashtag1","hashtag2"]},{"1333289831":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333289715, 1333289709, 1333289703, 1333289789, 1333289828, 1333289831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.77843689918518 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:31:32.697571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/30/image_31012025_11_30_56_10357.jpg', '/home/pi/Desktop/images/31012025/11/30/image_31012025_11_31_07_10385.jpg', '/home/pi/Desktop/images/31012025/11/31/image_31012025_11_31_16_9329.jpg', '/home/pi/Desktop/images/31012025/11/31/image_31012025_11_31_27_10402.jpg', '/home/pi/Desktop/images/31012025/11/31/image_31012025_11_31_37_10407.jpg', '/home/pi/Desktop/images/31012025/11/31/image_31012025_11_31_46_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/30/image_31012025_11_30_56_10357.jpg
/home/pi/Desktop/images/31012025/11/30/image_31012025_11_31_07_10385.jpg
/home/pi/Desktop/images/31012025/11/31/image_31012025_11_31_16_9329.jpg
/home/pi/Desktop/images/31012025/11/31/image_31012025_11_31_27_10402.jpg
/home/pi/Desktop/images/31012025/11/31/image_31012025_11_31_37_10407.jpg
/home/pi/Desktop/images/31012025/11/31/image_31012025_11_31_46_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":["1333290195","1333290189","1333290144","1333290204","1333290179","1333290200"],"photo_ids_order":["1333290144","1333290179","1333290189","1333290195","1333290200","1333290204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d6f1b3074571b51446326bc180437d1f.jpg","text":"TemporaryFile(/tmp/multipartBody5703738686057740682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319553601,"filename":"image_31012025_11_31_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/1/31/f0b0251189d7881b0aece50660eba202.jpg","text":"TemporaryFile(/tmp/multipartBody4015005523074780385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319553601,"filename":"image_31012025_11_31_16_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6d3675493a32163949165cdb3f226431.jpg","text":"TemporaryFile(/tmp/multipartBody7654395067908799654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319553601,"filename":"image_31012025_11_30_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/1/31/13f7240d1fa0f45325760f83cfeee8ea.jpg","text":"TemporaryFile(/tmp/multipartBody4062539586622533105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319553601,"filename":"image_31012025_11_31_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/1/31/3a1c544188121ad1ee22f36d9dd9919c.jpg","text":"TemporaryFile(/tmp/multipartBody7067117450057611215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319553601,"filename":"image_31012025_11_31_07_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f5b06acf8f650789695fce7b4e56b3ba.jpg","text":"TemporaryFile(/tmp/multipartBody6409221695053967127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319553601,"filename":"image_31012025_11_31_37_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333290189","file1":"1333290179","file0":"1333290144","file4":"1333290200","file5":"1333290204","file3":"1333290195"},"map_files_photo_id_array":[{"photo_id":"1333290204","filename":"file5"},{"photo_id":"1333290189","filename":"file2"},{"photo_id":"1333290200","filename":"file4"},{"photo_id":"1333290179","filename":"file1"},{"photo_id":"1333290144","filename":"file0"},{"photo_id":"1333290195","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333290195":["hashtag1","hashtag2"]},{"1333290189":["hashtag1","hashtag2"]},{"1333290144":["hashtag1","hashtag2"]},{"1333290204":["hashtag1","hashtag2"]},{"1333290179":["hashtag1","hashtag2"]},{"1333290200":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333290195, 1333290189, 1333290144, 1333290204, 1333290179, 1333290200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.641106605529785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:32:32.853322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/31/image_31012025_11_31_57_10458.jpg', '/home/pi/Desktop/images/31012025/11/31/image_31012025_11_32_06_9438.jpg', '/home/pi/Desktop/images/31012025/11/32/image_31012025_11_32_17_10338.jpg', '/home/pi/Desktop/images/31012025/11/32/image_31012025_11_32_36_9341.jpg', '/home/pi/Desktop/images/31012025/11/32/image_31012025_11_32_47_10437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/31/image_31012025_11_31_57_10458.jpg
/home/pi/Desktop/images/31012025/11/31/image_31012025_11_32_06_9438.jpg
/home/pi/Desktop/images/31012025/11/32/image_31012025_11_32_17_10338.jpg
/home/pi/Desktop/images/31012025/11/32/image_31012025_11_32_36_9341.jpg
/home/pi/Desktop/images/31012025/11/32/image_31012025_11_32_47_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":["1333290403","1333290313","1333290453","1333290303","1333290413"],"photo_ids_order":["1333290303","1333290313","1333290403","1333290413","1333290453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/33484d243a7a9441b3dbe4e3d5c31c6d.jpg","text":"TemporaryFile(/tmp/multipartBody4648132478761459746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319613733,"filename":"image_31012025_11_32_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/1/31/31f3a618f009b45d218585b818b5ce26.jpg","text":"TemporaryFile(/tmp/multipartBody7712679429424149751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319613733,"filename":"image_31012025_11_32_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/1/31/b8ec220c32085f8c8975eea7df5581ef.jpg","text":"TemporaryFile(/tmp/multipartBody2517569912196265687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319613733,"filename":"image_31012025_11_32_47_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/797ff6fe2e7954e2516c3589bc240fe6.jpg","text":"TemporaryFile(/tmp/multipartBody2478635384203097101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319613733,"filename":"image_31012025_11_31_57_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/be9a7d803f9d20c0ac6e7417c1d1a94c.jpg","text":"TemporaryFile(/tmp/multipartBody7427482517740245351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319613733,"filename":"image_31012025_11_32_36_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333290403","file1":"1333290313","file0":"1333290303","file4":"1333290453","file3":"1333290413"},"map_files_photo_id_array":[{"photo_id":"1333290403","filename":"file2"},{"photo_id":"1333290453","filename":"file4"},{"photo_id":"1333290313","filename":"file1"},{"photo_id":"1333290303","filename":"file0"},{"photo_id":"1333290413","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333290403":["hashtag1","hashtag2"]},{"1333290313":["hashtag1","hashtag2"]},{"1333290453":["hashtag1","hashtag2"]},{"1333290303":["hashtag1","hashtag2"]},{"1333290413":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333290403, 1333290313, 1333290453, 1333290303, 1333290413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.34784555435181 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:33:32.958476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/32/image_31012025_11_32_56_9351.jpg', '/home/pi/Desktop/images/31012025/11/32/image_31012025_11_33_07_10411.jpg', '/home/pi/Desktop/images/31012025/11/33/image_31012025_11_33_17_10424.jpg', '/home/pi/Desktop/images/31012025/11/33/image_31012025_11_33_26_9323.jpg', '/home/pi/Desktop/images/31012025/11/33/image_31012025_11_33_37_10483.jpg', '/home/pi/Desktop/images/31012025/11/33/image_31012025_11_33_46_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/32/image_31012025_11_32_56_9351.jpg
/home/pi/Desktop/images/31012025/11/32/image_31012025_11_33_07_10411.jpg
/home/pi/Desktop/images/31012025/11/33/image_31012025_11_33_17_10424.jpg
/home/pi/Desktop/images/31012025/11/33/image_31012025_11_33_26_9323.jpg
/home/pi/Desktop/images/31012025/11/33/image_31012025_11_33_37_10483.jpg
/home/pi/Desktop/images/31012025/11/33/image_31012025_11_33_46_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":["1333290634","1333290556","1333290616","1333290551","1333290638","1333290611"],"photo_ids_order":["1333290551","1333290556","1333290611","1333290616","1333290634","1333290638"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e5368e367a5dbe46b28f1bdee43d67ad.jpg","text":"TemporaryFile(/tmp/multipartBody1264786921989184095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319673851,"filename":"image_31012025_11_33_37_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f6b0a7b0c0f61aeda52c27e3a5a485d2.jpg","text":"TemporaryFile(/tmp/multipartBody1029682512854514610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319673851,"filename":"image_31012025_11_33_07_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d37ad4451b69ae88001a05d2c80e28f3.jpg","text":"TemporaryFile(/tmp/multipartBody2197801187893087739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319673851,"filename":"image_31012025_11_33_26_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b9a7f1b74f8462e101be789acbc9e72b.jpg","text":"TemporaryFile(/tmp/multipartBody6422040183461146379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319673851,"filename":"image_31012025_11_32_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/1/31/3ae9393503f5c39915ebb5c1d47bebee.jpg","text":"TemporaryFile(/tmp/multipartBody39152672263469744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319673851,"filename":"image_31012025_11_33_46_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cfc878c093513369d2a3a9dce33744b7.jpg","text":"TemporaryFile(/tmp/multipartBody3549933799038294955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319673851,"filename":"image_31012025_11_33_17_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333290611","file1":"1333290556","file0":"1333290551","file4":"1333290634","file5":"1333290638","file3":"1333290616"},"map_files_photo_id_array":[{"photo_id":"1333290638","filename":"file5"},{"photo_id":"1333290611","filename":"file2"},{"photo_id":"1333290634","filename":"file4"},{"photo_id":"1333290556","filename":"file1"},{"photo_id":"1333290551","filename":"file0"},{"photo_id":"1333290616","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333290634":["hashtag1","hashtag2"]},{"1333290556":["hashtag1","hashtag2"]},{"1333290616":["hashtag1","hashtag2"]},{"1333290551":["hashtag1","hashtag2"]},{"1333290638":["hashtag1","hashtag2"]},{"1333290611":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333290634, 1333290556, 1333290616, 1333290551, 1333290638, 1333290611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.89793920516968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:34:32.313531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/33/image_31012025_11_33_56_10355.jpg', '/home/pi/Desktop/images/31012025/11/33/image_31012025_11_34_07_10359.jpg', '/home/pi/Desktop/images/31012025/11/34/image_31012025_11_34_16_9321.jpg', '/home/pi/Desktop/images/31012025/11/34/image_31012025_11_34_27_10362.jpg', '/home/pi/Desktop/images/31012025/11/34/image_31012025_11_34_37_10453.jpg', '/home/pi/Desktop/images/31012025/11/34/image_31012025_11_34_46_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/33/image_31012025_11_33_56_10355.jpg
/home/pi/Desktop/images/31012025/11/33/image_31012025_11_34_07_10359.jpg
/home/pi/Desktop/images/31012025/11/34/image_31012025_11_34_16_9321.jpg
/home/pi/Desktop/images/31012025/11/34/image_31012025_11_34_27_10362.jpg
/home/pi/Desktop/images/31012025/11/34/image_31012025_11_34_37_10453.jpg
/home/pi/Desktop/images/31012025/11/34/image_31012025_11_34_46_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":["1333291194","1333291182","1333291209","1333291202","1333291054","1333291156"],"photo_ids_order":["1333291054","1333291156","1333291182","1333291194","1333291202","1333291209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1e05ef90202840e1ec12e5a791c90333.jpg","text":"TemporaryFile(/tmp/multipartBody1625725622884319662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319733209,"filename":"image_31012025_11_34_27_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2045de8665eadf84be6e314975ebbcae.jpg","text":"TemporaryFile(/tmp/multipartBody1601087060045154133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319733209,"filename":"image_31012025_11_34_16_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a5a46632b66ab715f79cd83a9c651241.jpg","text":"TemporaryFile(/tmp/multipartBody8182752887667223315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319733209,"filename":"image_31012025_11_34_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/1/31/16c036e3cf434e7d18f89e19725ab685.jpg","text":"TemporaryFile(/tmp/multipartBody1218170603155179358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319733209,"filename":"image_31012025_11_34_37_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/20ac7a64d9f1deb4814d93ee549ac08a.jpg","text":"TemporaryFile(/tmp/multipartBody3569604676380619127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319733209,"filename":"image_31012025_11_33_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/1/31/6a11565b90ce5ac1a84cb620b4e88eaf.jpg","text":"TemporaryFile(/tmp/multipartBody825970014939692700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319733209,"filename":"image_31012025_11_34_07_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333291182","file1":"1333291156","file0":"1333291054","file4":"1333291202","file5":"1333291209","file3":"1333291194"},"map_files_photo_id_array":[{"photo_id":"1333291209","filename":"file5"},{"photo_id":"1333291182","filename":"file2"},{"photo_id":"1333291202","filename":"file4"},{"photo_id":"1333291156","filename":"file1"},{"photo_id":"1333291054","filename":"file0"},{"photo_id":"1333291194","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333291194":["hashtag1","hashtag2"]},{"1333291182":["hashtag1","hashtag2"]},{"1333291209":["hashtag1","hashtag2"]},{"1333291202":["hashtag1","hashtag2"]},{"1333291054":["hashtag1","hashtag2"]},{"1333291156":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333291194, 1333291182, 1333291209, 1333291202, 1333291054, 1333291156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37921404838562 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:35:32.465483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/30/image_28012025_22_31_05_10332.jpg', '/home/pi/Desktop/images/28012025/22/31/image_28012025_22_31_14_9449.jpg', '/home/pi/Desktop/images/28012025/22/31/image_28012025_22_31_25_10350.jpg', '/home/pi/Desktop/images/28012025/22/31/image_28012025_22_31_34_9397.jpg', '/home/pi/Desktop/images/28012025/22/31/image_28012025_22_31_45_10364.jpg', '/home/pi/Desktop/images/28012025/22/31/image_28012025_22_31_55_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/30/image_28012025_22_31_05_10332.jpg
/home/pi/Desktop/images/28012025/22/31/image_28012025_22_31_14_9449.jpg
/home/pi/Desktop/images/28012025/22/31/image_28012025_22_31_25_10350.jpg
/home/pi/Desktop/images/28012025/22/31/image_28012025_22_31_34_9397.jpg
/home/pi/Desktop/images/28012025/22/31/image_28012025_22_31_45_10364.jpg
/home/pi/Desktop/images/28012025/22/31/image_28012025_22_31_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":["1333291449","1333291440","1333291425","1333291445","1333291433","1333291442"],"photo_ids_order":["1333291425","1333291433","1333291440","1333291442","1333291445","1333291449"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/af42956ce79ea495aa39a087753b237b.jpg","text":"TemporaryFile(/tmp/multipartBody6880735042110492707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319794761,"filename":"image_28012025_22_31_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/1/31/78d387bf6a7bb8cc392504f6d7b020b8.jpg","text":"TemporaryFile(/tmp/multipartBody1258528836724419759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319794761,"filename":"image_28012025_22_31_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/1/31/7e80add1b197efd23bf87dc48c2d3374.jpg","text":"TemporaryFile(/tmp/multipartBody8484133346385135944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319794761,"filename":"image_28012025_22_31_05_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/78cbae4acd760e9ec9f55fc30561881c.jpg","text":"TemporaryFile(/tmp/multipartBody1707137743767010059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319794761,"filename":"image_28012025_22_31_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/1/31/8c9adb302ccc90cadb0439f462347eb8.jpg","text":"TemporaryFile(/tmp/multipartBody8802438466775535238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319794761,"filename":"image_28012025_22_31_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/1/31/474f4ea90d9a4b52b8501351db8d2c07.jpg","text":"TemporaryFile(/tmp/multipartBody7992838666282705570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319794761,"filename":"image_28012025_22_31_34_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333291440","file1":"1333291433","file0":"1333291425","file4":"1333291445","file5":"1333291449","file3":"1333291442"},"map_files_photo_id_array":[{"photo_id":"1333291449","filename":"file5"},{"photo_id":"1333291440","filename":"file2"},{"photo_id":"1333291445","filename":"file4"},{"photo_id":"1333291433","filename":"file1"},{"photo_id":"1333291425","filename":"file0"},{"photo_id":"1333291442","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333291449":["hashtag1","hashtag2"]},{"1333291440":["hashtag1","hashtag2"]},{"1333291425":["hashtag1","hashtag2"]},{"1333291445":["hashtag1","hashtag2"]},{"1333291433":["hashtag1","hashtag2"]},{"1333291442":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333291449, 1333291440, 1333291425, 1333291445, 1333291433, 1333291442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.581732988357544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:36:33.765793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/31/image_28012025_22_32_04_9340.jpg', '/home/pi/Desktop/images/28012025/22/32/image_28012025_22_32_15_10455.jpg', '/home/pi/Desktop/images/28012025/22/32/image_28012025_22_32_25_10394.jpg', '/home/pi/Desktop/images/28012025/22/32/image_28012025_22_32_34_9343.jpg', '/home/pi/Desktop/images/28012025/22/32/image_28012025_22_32_54_9349.jpg', '/home/pi/Desktop/images/28012025/22/32/image_28012025_22_33_05_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/31/image_28012025_22_32_04_9340.jpg
/home/pi/Desktop/images/28012025/22/32/image_28012025_22_32_15_10455.jpg
/home/pi/Desktop/images/28012025/22/32/image_28012025_22_32_25_10394.jpg
/home/pi/Desktop/images/28012025/22/32/image_28012025_22_32_34_9343.jpg
/home/pi/Desktop/images/28012025/22/32/image_28012025_22_32_54_9349.jpg
/home/pi/Desktop/images/28012025/22/32/image_28012025_22_33_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":["1333291854","1333291635","1333291763","1333291852","1333291816","1333291717"],"photo_ids_order":["1333291635","1333291717","1333291763","1333291816","1333291852","1333291854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d3374d00849d0ae17acb8478facc0fff.jpg","text":"TemporaryFile(/tmp/multipartBody5728320572016555942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319856068,"filename":"image_28012025_22_33_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/1/31/7299ea4f2fd4a87a9ae854fac87ee46a.jpg","text":"TemporaryFile(/tmp/multipartBody253437554146605407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319856068,"filename":"image_28012025_22_32_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/1/31/2ea23a149231d39ca5f1a556cb83e0bf.jpg","text":"TemporaryFile(/tmp/multipartBody6417282532025628136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319856068,"filename":"image_28012025_22_32_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/1/31/8e5d2ba8fc0a7843e67392ddee539898.jpg","text":"TemporaryFile(/tmp/multipartBody7835250613778944259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319856068,"filename":"image_28012025_22_32_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/1/31/193d2f4ec33369d032dfe1b74617a52c.jpg","text":"TemporaryFile(/tmp/multipartBody6854877733313835913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319856068,"filename":"image_28012025_22_32_34_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/766b8276850a18131487ff5a957ada59.jpg","text":"TemporaryFile(/tmp/multipartBody8017239932287524385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319856068,"filename":"image_28012025_22_32_15_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333291763","file1":"1333291717","file0":"1333291635","file4":"1333291852","file5":"1333291854","file3":"1333291816"},"map_files_photo_id_array":[{"photo_id":"1333291854","filename":"file5"},{"photo_id":"1333291763","filename":"file2"},{"photo_id":"1333291852","filename":"file4"},{"photo_id":"1333291717","filename":"file1"},{"photo_id":"1333291635","filename":"file0"},{"photo_id":"1333291816","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333291854":["hashtag1","hashtag2"]},{"1333291635":["hashtag1","hashtag2"]},{"1333291763":["hashtag1","hashtag2"]},{"1333291852":["hashtag1","hashtag2"]},{"1333291816":["hashtag1","hashtag2"]},{"1333291717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333291854, 1333291635, 1333291763, 1333291852, 1333291816, 1333291717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41321778297424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:37:32.865440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/33/image_28012025_22_33_15_10331.jpg', '/home/pi/Desktop/images/28012025/22/33/image_28012025_22_33_24_9361.jpg', '/home/pi/Desktop/images/28012025/22/33/image_28012025_22_33_45_10347.jpg', '/home/pi/Desktop/images/28012025/22/33/image_28012025_22_33_54_9458.jpg', '/home/pi/Desktop/images/28012025/22/33/image_28012025_22_34_05_10326.jpg', '/home/pi/Desktop/images/28012025/22/34/image_28012025_22_34_14_9465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/33/image_28012025_22_33_15_10331.jpg
/home/pi/Desktop/images/28012025/22/33/image_28012025_22_33_24_9361.jpg
/home/pi/Desktop/images/28012025/22/33/image_28012025_22_33_45_10347.jpg
/home/pi/Desktop/images/28012025/22/33/image_28012025_22_33_54_9458.jpg
/home/pi/Desktop/images/28012025/22/33/image_28012025_22_34_05_10326.jpg
/home/pi/Desktop/images/28012025/22/34/image_28012025_22_34_14_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":["1333292277","1333292157","1333292217","1333292145","1333292272","1333292190"],"photo_ids_order":["1333292145","1333292157","1333292190","1333292217","1333292272","1333292277"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1294e6d100f5c86eb6b9b1fad16e6fd2.jpg","text":"TemporaryFile(/tmp/multipartBody6883846057076252061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319915155,"filename":"image_28012025_22_34_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/1/31/363979be7ded765855c9e1dcdece595a.jpg","text":"TemporaryFile(/tmp/multipartBody3670175469844642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319915155,"filename":"image_28012025_22_33_24_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e43100ce00f89a1c22852b0388b1edec.jpg","text":"TemporaryFile(/tmp/multipartBody8731596080549600677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319915155,"filename":"image_28012025_22_33_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/1/31/2f77b1750d791323c79f9f2b49b20a66.jpg","text":"TemporaryFile(/tmp/multipartBody9011824458482974497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319915155,"filename":"image_28012025_22_33_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/1/31/2bdc83071796e509e0e84763d8a90f4c.jpg","text":"TemporaryFile(/tmp/multipartBody5864524524973067562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319915155,"filename":"image_28012025_22_34_05_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/01f6961e79e79999f00a1f6041a44722.jpg","text":"TemporaryFile(/tmp/multipartBody3507595906504244851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319915155,"filename":"image_28012025_22_33_45_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333292190","file1":"1333292157","file0":"1333292145","file4":"1333292272","file5":"1333292277","file3":"1333292217"},"map_files_photo_id_array":[{"photo_id":"1333292277","filename":"file5"},{"photo_id":"1333292190","filename":"file2"},{"photo_id":"1333292272","filename":"file4"},{"photo_id":"1333292157","filename":"file1"},{"photo_id":"1333292145","filename":"file0"},{"photo_id":"1333292217","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333292277":["hashtag1","hashtag2"]},{"1333292157":["hashtag1","hashtag2"]},{"1333292217":["hashtag1","hashtag2"]},{"1333292145":["hashtag1","hashtag2"]},{"1333292272":["hashtag1","hashtag2"]},{"1333292190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333292277, 1333292157, 1333292217, 1333292145, 1333292272, 1333292190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.18687152862549 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:38:33.080126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/34/image_28012025_22_34_25_10348.jpg', '/home/pi/Desktop/images/28012025/22/34/image_28012025_22_34_35_10343.jpg', '/home/pi/Desktop/images/28012025/22/34/image_28012025_22_34_44_9450.jpg', '/home/pi/Desktop/images/28012025/22/34/image_28012025_22_34_55_10357.jpg', '/home/pi/Desktop/images/28012025/22/34/image_28012025_22_35_04_9457.jpg', '/home/pi/Desktop/images/28012025/22/35/image_28012025_22_35_15_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/34/image_28012025_22_34_25_10348.jpg
/home/pi/Desktop/images/28012025/22/34/image_28012025_22_34_35_10343.jpg
/home/pi/Desktop/images/28012025/22/34/image_28012025_22_34_44_9450.jpg
/home/pi/Desktop/images/28012025/22/34/image_28012025_22_34_55_10357.jpg
/home/pi/Desktop/images/28012025/22/34/image_28012025_22_35_04_9457.jpg
/home/pi/Desktop/images/28012025/22/35/image_28012025_22_35_15_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":["1333292495","1333292498","1333292471","1333292444","1333292491","1333292457"],"photo_ids_order":["1333292444","1333292457","1333292471","1333292491","1333292495","1333292498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/648aa67e0700fd2ea900fa5e94f6639f.jpg","text":"TemporaryFile(/tmp/multipartBody6004610698774039150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319975384,"filename":"image_28012025_22_35_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/1/31/d12437d66b410f92ad6954ab245346e6.jpg","text":"TemporaryFile(/tmp/multipartBody7488866239225723693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319975384,"filename":"image_28012025_22_35_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e1bf0db0a1bc7c38be1f6617cbb24b2e.jpg","text":"TemporaryFile(/tmp/multipartBody5443023847106249237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319975384,"filename":"image_28012025_22_34_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/1/31/da9419b11c2a44ebcd80662a974aa09d.jpg","text":"TemporaryFile(/tmp/multipartBody5337281840184457472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319975384,"filename":"image_28012025_22_34_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/1/31/3576395c1a47436e33631d9f16363fdd.jpg","text":"TemporaryFile(/tmp/multipartBody3260891057072149578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319975384,"filename":"image_28012025_22_34_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/1/31/13a37b1965e96aadf16b88fec0158d1d.jpg","text":"TemporaryFile(/tmp/multipartBody891334479558886585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738319975384,"filename":"image_28012025_22_34_35_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333292471","file1":"1333292457","file0":"1333292444","file4":"1333292495","file5":"1333292498","file3":"1333292491"},"map_files_photo_id_array":[{"photo_id":"1333292498","filename":"file5"},{"photo_id":"1333292471","filename":"file2"},{"photo_id":"1333292495","filename":"file4"},{"photo_id":"1333292457","filename":"file1"},{"photo_id":"1333292444","filename":"file0"},{"photo_id":"1333292491","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333292495":["hashtag1","hashtag2"]},{"1333292498":["hashtag1","hashtag2"]},{"1333292471":["hashtag1","hashtag2"]},{"1333292444":["hashtag1","hashtag2"]},{"1333292491":["hashtag1","hashtag2"]},{"1333292457":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333292495, 1333292498, 1333292471, 1333292444, 1333292491, 1333292457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.31381964683533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:39:32.365510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/35/image_28012025_22_35_25_10353.jpg', '/home/pi/Desktop/images/28012025/22/35/image_28012025_22_35_34_9354.jpg', '/home/pi/Desktop/images/28012025/22/35/image_28012025_22_35_45_10346.jpg', '/home/pi/Desktop/images/28012025/22/35/image_28012025_22_35_55_10359.jpg', '/home/pi/Desktop/images/28012025/22/36/image_28012025_22_36_15_10352.jpg', '/home/pi/Desktop/images/28012025/22/36/image_28012025_22_36_24_9415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/35/image_28012025_22_35_25_10353.jpg
/home/pi/Desktop/images/28012025/22/35/image_28012025_22_35_34_9354.jpg
/home/pi/Desktop/images/28012025/22/35/image_28012025_22_35_45_10346.jpg
/home/pi/Desktop/images/28012025/22/35/image_28012025_22_35_55_10359.jpg
/home/pi/Desktop/images/28012025/22/36/image_28012025_22_36_15_10352.jpg
/home/pi/Desktop/images/28012025/22/36/image_28012025_22_36_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":["1333292526","1333292529","1333292523","1333292561","1333292543","1333292519"],"photo_ids_order":["1333292519","1333292523","1333292526","1333292529","1333292543","1333292561"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b0883a2a3ff880b23f87001e3fef88f2.jpg","text":"TemporaryFile(/tmp/multipartBody8345861622495766935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320034649,"filename":"image_28012025_22_35_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/1/31/736e8c7daaeaca43cd322056710a923a.jpg","text":"TemporaryFile(/tmp/multipartBody4249331941595764642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320034649,"filename":"image_28012025_22_35_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/1/31/80fecfc9802ea325eb91b41794535de9.jpg","text":"TemporaryFile(/tmp/multipartBody3584867292712164135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320034649,"filename":"image_28012025_22_35_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/1/31/a4d69116c828b8b60ec875c8218071b0.jpg","text":"TemporaryFile(/tmp/multipartBody1747948623507155138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320034649,"filename":"image_28012025_22_36_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/1/31/75ad72cd3bf94d93bbeb8946c5c26c5f.jpg","text":"TemporaryFile(/tmp/multipartBody2221440264045303257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320034649,"filename":"image_28012025_22_36_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/1/31/5180c1379cf1ab8e55e9252d606ee6c5.jpg","text":"TemporaryFile(/tmp/multipartBody4660862812620385352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320034649,"filename":"image_28012025_22_35_25_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333292526","file1":"1333292523","file0":"1333292519","file4":"1333292543","file5":"1333292561","file3":"1333292529"},"map_files_photo_id_array":[{"photo_id":"1333292561","filename":"file5"},{"photo_id":"1333292526","filename":"file2"},{"photo_id":"1333292543","filename":"file4"},{"photo_id":"1333292523","filename":"file1"},{"photo_id":"1333292519","filename":"file0"},{"photo_id":"1333292529","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333292526":["hashtag1","hashtag2"]},{"1333292529":["hashtag1","hashtag2"]},{"1333292523":["hashtag1","hashtag2"]},{"1333292561":["hashtag1","hashtag2"]},{"1333292543":["hashtag1","hashtag2"]},{"1333292519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333292526, 1333292529, 1333292523, 1333292561, 1333292543, 1333292519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.20665001869202 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:40:32.641659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/36/image_28012025_22_36_45_10346.jpg', '/home/pi/Desktop/images/28012025/22/36/image_28012025_22_37_05_10447.jpg', '/home/pi/Desktop/images/28012025/22/37/image_28012025_22_37_14_9511.jpg', '/home/pi/Desktop/images/28012025/22/37/image_28012025_22_37_25_10372.jpg', '/home/pi/Desktop/images/28012025/22/37/image_28012025_22_37_35_10355.jpg', '/home/pi/Desktop/images/28012025/22/37/image_28012025_22_37_44_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/36/image_28012025_22_36_45_10346.jpg
/home/pi/Desktop/images/28012025/22/36/image_28012025_22_37_05_10447.jpg
/home/pi/Desktop/images/28012025/22/37/image_28012025_22_37_14_9511.jpg
/home/pi/Desktop/images/28012025/22/37/image_28012025_22_37_25_10372.jpg
/home/pi/Desktop/images/28012025/22/37/image_28012025_22_37_35_10355.jpg
/home/pi/Desktop/images/28012025/22/37/image_28012025_22_37_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":["1333292666","1333292657","1333292674","1333292662","1333292635","1333292611"],"photo_ids_order":["1333292611","1333292635","1333292657","1333292662","1333292666","1333292674"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/823405f8df4f73f6cfe6810455b72ede.jpg","text":"TemporaryFile(/tmp/multipartBody8337538792876708888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320094976,"filename":"image_28012025_22_37_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/1/31/2621788b12bcbef05789510e3a656732.jpg","text":"TemporaryFile(/tmp/multipartBody6609908120052405700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320094976,"filename":"image_28012025_22_37_14_9511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dd62e680e499d1802bcc6986d473d296.jpg","text":"TemporaryFile(/tmp/multipartBody978499257965882010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320094976,"filename":"image_28012025_22_37_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/1/31/78fe3ace3a8ba9258cf25409c4010091.jpg","text":"TemporaryFile(/tmp/multipartBody7221228934144396041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320094976,"filename":"image_28012025_22_37_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/1/31/6d94833d3bcf9a247e3cbcc03d4601ad.jpg","text":"TemporaryFile(/tmp/multipartBody7476160145111701725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320094976,"filename":"image_28012025_22_37_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/1/31/acfd15ebd2a343eb34318289e474df3b.jpg","text":"TemporaryFile(/tmp/multipartBody1334728125155328370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320094976,"filename":"image_28012025_22_36_45_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333292657","file1":"1333292635","file0":"1333292611","file4":"1333292666","file5":"1333292674","file3":"1333292662"},"map_files_photo_id_array":[{"photo_id":"1333292674","filename":"file5"},{"photo_id":"1333292657","filename":"file2"},{"photo_id":"1333292666","filename":"file4"},{"photo_id":"1333292635","filename":"file1"},{"photo_id":"1333292611","filename":"file0"},{"photo_id":"1333292662","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333292666":["hashtag1","hashtag2"]},{"1333292657":["hashtag1","hashtag2"]},{"1333292674":["hashtag1","hashtag2"]},{"1333292662":["hashtag1","hashtag2"]},{"1333292635":["hashtag1","hashtag2"]},{"1333292611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333292666, 1333292657, 1333292674, 1333292662, 1333292635, 1333292611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.497920989990234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:41:32.795398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/37/image_28012025_22_37_55_10339.jpg', '/home/pi/Desktop/images/28012025/22/37/image_28012025_22_38_05_10350.jpg', '/home/pi/Desktop/images/28012025/22/38/image_28012025_22_38_14_9328.jpg', '/home/pi/Desktop/images/28012025/22/38/image_28012025_22_38_25_10357.jpg', '/home/pi/Desktop/images/28012025/22/38/image_28012025_22_38_34_9389.jpg', '/home/pi/Desktop/images/28012025/22/38/image_28012025_22_38_45_10382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/37/image_28012025_22_37_55_10339.jpg
/home/pi/Desktop/images/28012025/22/37/image_28012025_22_38_05_10350.jpg
/home/pi/Desktop/images/28012025/22/38/image_28012025_22_38_14_9328.jpg
/home/pi/Desktop/images/28012025/22/38/image_28012025_22_38_25_10357.jpg
/home/pi/Desktop/images/28012025/22/38/image_28012025_22_38_34_9389.jpg
/home/pi/Desktop/images/28012025/22/38/image_28012025_22_38_45_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":["1333292966","1333293011","1333293040","1333293046","1333292956","1333293042"],"photo_ids_order":["1333292956","1333292966","1333293011","1333293040","1333293042","1333293046"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/eef4bf2f3dcc8cc35887277a76d5275b.jpg","text":"TemporaryFile(/tmp/multipartBody4215602678692155695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320155095,"filename":"image_28012025_22_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/1/31/81aba1c573d89bf06cfaec27f429ede6.jpg","text":"TemporaryFile(/tmp/multipartBody6783114551130316507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320155095,"filename":"image_28012025_22_38_14_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/da0e6a8e87ea056c847052386c666416.jpg","text":"TemporaryFile(/tmp/multipartBody2840675853242412436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320155095,"filename":"image_28012025_22_38_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/1/31/1fce2d77a45623c5d8dfdb6148772a04.jpg","text":"TemporaryFile(/tmp/multipartBody1876859928295910353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320155095,"filename":"image_28012025_22_38_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/1/31/e8a24c05488496901069e99eb33097b1.jpg","text":"TemporaryFile(/tmp/multipartBody8871176585624740652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320155095,"filename":"image_28012025_22_37_55_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a6cf345b1dbe02efd7fe1d111370e7e0.jpg","text":"TemporaryFile(/tmp/multipartBody1077566715659887072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320155095,"filename":"image_28012025_22_38_34_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333293011","file1":"1333292966","file0":"1333292956","file4":"1333293042","file5":"1333293046","file3":"1333293040"},"map_files_photo_id_array":[{"photo_id":"1333293046","filename":"file5"},{"photo_id":"1333293011","filename":"file2"},{"photo_id":"1333293042","filename":"file4"},{"photo_id":"1333292966","filename":"file1"},{"photo_id":"1333292956","filename":"file0"},{"photo_id":"1333293040","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333292966":["hashtag1","hashtag2"]},{"1333293011":["hashtag1","hashtag2"]},{"1333293040":["hashtag1","hashtag2"]},{"1333293046":["hashtag1","hashtag2"]},{"1333292956":["hashtag1","hashtag2"]},{"1333293042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333292966, 1333293011, 1333293040, 1333293046, 1333292956, 1333293042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.64572596549988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:42:33.097766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/38/image_28012025_22_38_55_10364.jpg', '/home/pi/Desktop/images/28012025/22/38/image_28012025_22_39_04_9447.jpg', '/home/pi/Desktop/images/28012025/22/39/image_28012025_22_39_15_10340.jpg', '/home/pi/Desktop/images/28012025/22/39/image_28012025_22_39_25_10361.jpg', '/home/pi/Desktop/images/28012025/22/39/image_28012025_22_39_45_10358.jpg', '/home/pi/Desktop/images/28012025/22/39/image_28012025_22_39_54_9524.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/38/image_28012025_22_38_55_10364.jpg
/home/pi/Desktop/images/28012025/22/38/image_28012025_22_39_04_9447.jpg
/home/pi/Desktop/images/28012025/22/39/image_28012025_22_39_15_10340.jpg
/home/pi/Desktop/images/28012025/22/39/image_28012025_22_39_25_10361.jpg
/home/pi/Desktop/images/28012025/22/39/image_28012025_22_39_45_10358.jpg
/home/pi/Desktop/images/28012025/22/39/image_28012025_22_39_54_9524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333293074","1333293091","1333293082","1333293090","1333293078","1333293087"],"photo_ids_order":["1333293074","1333293078","1333293082","1333293087","1333293090","1333293091"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2b19ad853d364ebd7ec6feaec5096946.jpg","text":"TemporaryFile(/tmp/multipartBody4183847642403678414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320215386,"filename":"image_28012025_22_38_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/1/31/3872be3e0cd107f11568eced91baef4f.jpg","text":"TemporaryFile(/tmp/multipartBody2485523086076528861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320215386,"filename":"image_28012025_22_39_54_9524.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f07c919330f9e8aa29eb8ef712518c12.jpg","text":"TemporaryFile(/tmp/multipartBody4716478459669587929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320215386,"filename":"image_28012025_22_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/1/31/f7825d430b4e703c374085bf902a35f8.jpg","text":"TemporaryFile(/tmp/multipartBody2426362914164106955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320215386,"filename":"image_28012025_22_39_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/1/31/6fe306ba6800f43c5328d9088a3b1c61.jpg","text":"TemporaryFile(/tmp/multipartBody254293972101802626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320215386,"filename":"image_28012025_22_39_04_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/351e5a4b40375869dcf9c1a4bc25a399.jpg","text":"TemporaryFile(/tmp/multipartBody3591088748192931058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320215386,"filename":"image_28012025_22_39_25_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333293082","file1":"1333293078","file0":"1333293074","file4":"1333293090","file5":"1333293091","file3":"1333293087"},"map_files_photo_id_array":[{"photo_id":"1333293091","filename":"file5"},{"photo_id":"1333293082","filename":"file2"},{"photo_id":"1333293090","filename":"file4"},{"photo_id":"1333293078","filename":"file1"},{"photo_id":"1333293074","filename":"file0"},{"photo_id":"1333293087","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333293074":["hashtag1","hashtag2"]},{"1333293091":["hashtag1","hashtag2"]},{"1333293082":["hashtag1","hashtag2"]},{"1333293090":["hashtag1","hashtag2"]},{"1333293078":["hashtag1","hashtag2"]},{"1333293087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333293074, 1333293091, 1333293082, 1333293090, 1333293078, 1333293087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.306731939315796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:43:32.410601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/39/image_28012025_22_40_05_10367.jpg', '/home/pi/Desktop/images/28012025/22/40/image_28012025_22_40_14_9376.jpg', '/home/pi/Desktop/images/28012025/22/40/image_28012025_22_40_24_10432.jpg', '/home/pi/Desktop/images/28012025/22/40/image_28012025_22_40_35_10388.jpg', '/home/pi/Desktop/images/28012025/22/40/image_28012025_22_40_55_10362.jpg', '/home/pi/Desktop/images/28012025/22/40/image_28012025_22_41_05_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/39/image_28012025_22_40_05_10367.jpg
/home/pi/Desktop/images/28012025/22/40/image_28012025_22_40_14_9376.jpg
/home/pi/Desktop/images/28012025/22/40/image_28012025_22_40_24_10432.jpg
/home/pi/Desktop/images/28012025/22/40/image_28012025_22_40_35_10388.jpg
/home/pi/Desktop/images/28012025/22/40/image_28012025_22_40_55_10362.jpg
/home/pi/Desktop/images/28012025/22/40/image_28012025_22_41_05_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":["1333293111","1333293131","1333293128","1333293124","1333293118","1333293133"],"photo_ids_order":["1333293111","1333293118","1333293124","1333293128","1333293131","1333293133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c7341cbb87c50fc242639abac919fa0d.jpg","text":"TemporaryFile(/tmp/multipartBody3552769705069157420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320274725,"filename":"image_28012025_22_40_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/1/31/0ad341379209f072f93247d3b4735c28.jpg","text":"TemporaryFile(/tmp/multipartBody1207054842973803413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320274725,"filename":"image_28012025_22_40_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/1/31/36ecd8ac4da605540c8fbdfbdc9ce06a.jpg","text":"TemporaryFile(/tmp/multipartBody123859542568780025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320274725,"filename":"image_28012025_22_40_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/1/31/b95af081e48aba7795b84bc3447a9a95.jpg","text":"TemporaryFile(/tmp/multipartBody1625773483104420188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320274725,"filename":"image_28012025_22_40_24_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/86360b43e9d3313e6d903903c037b70a.jpg","text":"TemporaryFile(/tmp/multipartBody6174094365026519574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320274725,"filename":"image_28012025_22_40_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/1/31/499e2529b04518cc3ae09816491b5992.jpg","text":"TemporaryFile(/tmp/multipartBody8136357047347226855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320274725,"filename":"image_28012025_22_41_05_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333293124","file1":"1333293118","file0":"1333293111","file4":"1333293131","file5":"1333293133","file3":"1333293128"},"map_files_photo_id_array":[{"photo_id":"1333293133","filename":"file5"},{"photo_id":"1333293124","filename":"file2"},{"photo_id":"1333293131","filename":"file4"},{"photo_id":"1333293118","filename":"file1"},{"photo_id":"1333293111","filename":"file0"},{"photo_id":"1333293128","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333293111":["hashtag1","hashtag2"]},{"1333293131":["hashtag1","hashtag2"]},{"1333293128":["hashtag1","hashtag2"]},{"1333293124":["hashtag1","hashtag2"]},{"1333293118":["hashtag1","hashtag2"]},{"1333293133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333293111, 1333293131, 1333293128, 1333293124, 1333293118, 1333293133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.976722955703735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:44:32.573242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/41/image_28012025_22_41_14_9323.jpg', '/home/pi/Desktop/images/28012025/22/41/image_28012025_22_41_25_10348.jpg', '/home/pi/Desktop/images/28012025/22/41/image_28012025_22_41_34_9400.jpg', '/home/pi/Desktop/images/28012025/22/41/image_28012025_22_41_55_10474.jpg', '/home/pi/Desktop/images/28012025/22/41/image_28012025_22_42_04_9341.jpg', '/home/pi/Desktop/images/28012025/22/42/image_28012025_22_42_15_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/41/image_28012025_22_41_14_9323.jpg
/home/pi/Desktop/images/28012025/22/41/image_28012025_22_41_25_10348.jpg
/home/pi/Desktop/images/28012025/22/41/image_28012025_22_41_34_9400.jpg
/home/pi/Desktop/images/28012025/22/41/image_28012025_22_41_55_10474.jpg
/home/pi/Desktop/images/28012025/22/41/image_28012025_22_42_04_9341.jpg
/home/pi/Desktop/images/28012025/22/42/image_28012025_22_42_15_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333293179","1333293199","1333293196","1333293169","1333293192","1333293159"],"photo_ids_order":["1333293159","1333293169","1333293179","1333293192","1333293196","1333293199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/175f061188b35d882380c01a6c3fed64.jpg","text":"TemporaryFile(/tmp/multipartBody2366841793874903965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320334874,"filename":"image_28012025_22_41_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/1/31/ee8757e9ca9bcfb1239c23f996a1bd90.jpg","text":"TemporaryFile(/tmp/multipartBody2497246628853769102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320334874,"filename":"image_28012025_22_42_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c3fa9d20143c2d0494d98454f7d9c832.jpg","text":"TemporaryFile(/tmp/multipartBody850247022121902955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320334874,"filename":"image_28012025_22_42_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/1/31/b8873257dc5b0aa480567a30b42e529e.jpg","text":"TemporaryFile(/tmp/multipartBody2728287092019891545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320334874,"filename":"image_28012025_22_41_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/1/31/2ec97a10147a8ac8ce43eb9104ede58a.jpg","text":"TemporaryFile(/tmp/multipartBody3068402500239249087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320334874,"filename":"image_28012025_22_41_55_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/243826510893eb5c418d95301d5ecfd2.jpg","text":"TemporaryFile(/tmp/multipartBody8109861599897374215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320334874,"filename":"image_28012025_22_41_14_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333293179","file1":"1333293169","file0":"1333293159","file4":"1333293196","file5":"1333293199","file3":"1333293192"},"map_files_photo_id_array":[{"photo_id":"1333293199","filename":"file5"},{"photo_id":"1333293179","filename":"file2"},{"photo_id":"1333293196","filename":"file4"},{"photo_id":"1333293169","filename":"file1"},{"photo_id":"1333293159","filename":"file0"},{"photo_id":"1333293192","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333293179":["hashtag1","hashtag2"]},{"1333293199":["hashtag1","hashtag2"]},{"1333293196":["hashtag1","hashtag2"]},{"1333293169":["hashtag1","hashtag2"]},{"1333293192":["hashtag1","hashtag2"]},{"1333293159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333293179, 1333293199, 1333293196, 1333293169, 1333293192, 1333293159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.684927463531494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:45:32.715235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/42/image_28012025_22_42_34_9445.jpg', '/home/pi/Desktop/images/28012025/22/42/image_28012025_22_42_45_10363.jpg', '/home/pi/Desktop/images/28012025/22/42/image_28012025_22_42_54_9470.jpg', '/home/pi/Desktop/images/28012025/22/42/image_28012025_22_43_05_10356.jpg', '/home/pi/Desktop/images/28012025/22/43/image_28012025_22_43_15_10342.jpg', '/home/pi/Desktop/images/28012025/22/43/image_28012025_22_43_24_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/42/image_28012025_22_42_34_9445.jpg
/home/pi/Desktop/images/28012025/22/42/image_28012025_22_42_45_10363.jpg
/home/pi/Desktop/images/28012025/22/42/image_28012025_22_42_54_9470.jpg
/home/pi/Desktop/images/28012025/22/42/image_28012025_22_43_05_10356.jpg
/home/pi/Desktop/images/28012025/22/43/image_28012025_22_43_15_10342.jpg
/home/pi/Desktop/images/28012025/22/43/image_28012025_22_43_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":["1333293656","1333293295","1333293304","1333293307","1333293651","1333293405"],"photo_ids_order":["1333293295","1333293304","1333293307","1333293405","1333293651","1333293656"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ebd578a6eac595b7b673daec58aa5b1f.jpg","text":"TemporaryFile(/tmp/multipartBody8001053935763472516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320394997,"filename":"image_28012025_22_43_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/1/31/c40ba3607e47a2fbbf8c95b78503d720.jpg","text":"TemporaryFile(/tmp/multipartBody8515255725821233360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320394997,"filename":"image_28012025_22_42_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/1/31/295a17814fceb39e065d9d7a781d2fb1.jpg","text":"TemporaryFile(/tmp/multipartBody1438393795956775599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320394997,"filename":"image_28012025_22_42_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/1/31/93e707e42b16c7c4f51e45cf6e9715a3.jpg","text":"TemporaryFile(/tmp/multipartBody8764690785212327848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320394997,"filename":"image_28012025_22_42_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/1/31/8b62e02eb3f8fe178a6a3b59c9e6492e.jpg","text":"TemporaryFile(/tmp/multipartBody7883859997026536241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320394997,"filename":"image_28012025_22_43_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/1/31/13d4e3bff2fa5afc27655b1f649f85a7.jpg","text":"TemporaryFile(/tmp/multipartBody4907416279352043712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320394997,"filename":"image_28012025_22_43_05_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333293307","file1":"1333293304","file0":"1333293295","file4":"1333293651","file5":"1333293656","file3":"1333293405"},"map_files_photo_id_array":[{"photo_id":"1333293656","filename":"file5"},{"photo_id":"1333293307","filename":"file2"},{"photo_id":"1333293651","filename":"file4"},{"photo_id":"1333293304","filename":"file1"},{"photo_id":"1333293295","filename":"file0"},{"photo_id":"1333293405","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333293656":["hashtag1","hashtag2"]},{"1333293295":["hashtag1","hashtag2"]},{"1333293304":["hashtag1","hashtag2"]},{"1333293307":["hashtag1","hashtag2"]},{"1333293651":["hashtag1","hashtag2"]},{"1333293405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333293656, 1333293295, 1333293304, 1333293307, 1333293651, 1333293405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.97804021835327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:46:33.000090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/43/image_28012025_22_43_35_10447.jpg', '/home/pi/Desktop/images/28012025/22/43/image_28012025_22_43_44_9414.jpg', '/home/pi/Desktop/images/28012025/22/43/image_28012025_22_43_55_10349.jpg', '/home/pi/Desktop/images/28012025/22/43/image_28012025_22_44_05_10337.jpg', '/home/pi/Desktop/images/28012025/22/44/image_28012025_22_44_14_9423.jpg', '/home/pi/Desktop/images/28012025/22/44/image_28012025_22_44_25_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/43/image_28012025_22_43_35_10447.jpg
/home/pi/Desktop/images/28012025/22/43/image_28012025_22_43_44_9414.jpg
/home/pi/Desktop/images/28012025/22/43/image_28012025_22_43_55_10349.jpg
/home/pi/Desktop/images/28012025/22/43/image_28012025_22_44_05_10337.jpg
/home/pi/Desktop/images/28012025/22/44/image_28012025_22_44_14_9423.jpg
/home/pi/Desktop/images/28012025/22/44/image_28012025_22_44_25_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":["1333293863","1333293870","1333293858","1333293792","1333293786","1333293867"],"photo_ids_order":["1333293786","1333293792","1333293858","1333293863","1333293867","1333293870"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/16299414171ddd5062773f50a0435928.jpg","text":"TemporaryFile(/tmp/multipartBody7273778878049685104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320455322,"filename":"image_28012025_22_44_05_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/46bc4f20ea1cdb592c06f2ec905d5dd9.jpg","text":"TemporaryFile(/tmp/multipartBody601357425459503232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320455322,"filename":"image_28012025_22_44_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f33fee58efbb91e0c5eabe162a90f9c6.jpg","text":"TemporaryFile(/tmp/multipartBody7740799329186678362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320455322,"filename":"image_28012025_22_43_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/1/31/321b5cf5de45888dc3799c8a59517f63.jpg","text":"TemporaryFile(/tmp/multipartBody6735436875273115170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320455322,"filename":"image_28012025_22_43_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/1/31/b5493844152a2e696a38891f5a5c9abb.jpg","text":"TemporaryFile(/tmp/multipartBody1549873170052053591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320455322,"filename":"image_28012025_22_43_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/1/31/596905daf93fff8b9571cdf335a1ed4c.jpg","text":"TemporaryFile(/tmp/multipartBody8477355957763144651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320455322,"filename":"image_28012025_22_44_14_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333293858","file1":"1333293792","file0":"1333293786","file4":"1333293867","file5":"1333293870","file3":"1333293863"},"map_files_photo_id_array":[{"photo_id":"1333293870","filename":"file5"},{"photo_id":"1333293858","filename":"file2"},{"photo_id":"1333293867","filename":"file4"},{"photo_id":"1333293792","filename":"file1"},{"photo_id":"1333293786","filename":"file0"},{"photo_id":"1333293863","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333293863":["hashtag1","hashtag2"]},{"1333293870":["hashtag1","hashtag2"]},{"1333293858":["hashtag1","hashtag2"]},{"1333293792":["hashtag1","hashtag2"]},{"1333293786":["hashtag1","hashtag2"]},{"1333293867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333293863, 1333293870, 1333293858, 1333293792, 1333293786, 1333293867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.02561402320862 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:47:32.193960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/44/image_28012025_22_44_35_10359.jpg', '/home/pi/Desktop/images/28012025/22/44/image_28012025_22_44_45_9466.jpg', '/home/pi/Desktop/images/28012025/22/44/image_28012025_22_44_55_10463.jpg', '/home/pi/Desktop/images/28012025/22/44/image_28012025_22_45_04_9336.jpg', '/home/pi/Desktop/images/28012025/22/45/image_28012025_22_45_15_10339.jpg', '/home/pi/Desktop/images/28012025/22/45/image_28012025_22_45_25_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/44/image_28012025_22_44_35_10359.jpg
/home/pi/Desktop/images/28012025/22/44/image_28012025_22_44_45_9466.jpg
/home/pi/Desktop/images/28012025/22/44/image_28012025_22_44_55_10463.jpg
/home/pi/Desktop/images/28012025/22/44/image_28012025_22_45_04_9336.jpg
/home/pi/Desktop/images/28012025/22/45/image_28012025_22_45_15_10339.jpg
/home/pi/Desktop/images/28012025/22/45/image_28012025_22_45_25_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":["1333293890","1333293905","1333293910","1333293907","1333293897","1333293901"],"photo_ids_order":["1333293890","1333293897","1333293901","1333293905","1333293907","1333293910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/73fd161a77e07dbc745a92372e1962ca.jpg","text":"TemporaryFile(/tmp/multipartBody3383192009046756299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320514520,"filename":"image_28012025_22_44_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/1/31/76b3a1f65d5f70ce3300403de7fb312c.jpg","text":"TemporaryFile(/tmp/multipartBody4477823536751050635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320514520,"filename":"image_28012025_22_45_04_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c90f358455f7f1238b27dfe273729bc8.jpg","text":"TemporaryFile(/tmp/multipartBody6386294519491704594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320514520,"filename":"image_28012025_22_45_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/1/31/fde0f71f89aca552d4347bf8d56f204a.jpg","text":"TemporaryFile(/tmp/multipartBody3018658911851006970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320514520,"filename":"image_28012025_22_45_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/1/31/7b8b2682b3f0fd4090a5aa4140abc771.jpg","text":"TemporaryFile(/tmp/multipartBody6775821832245466456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320514520,"filename":"image_28012025_22_44_45_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8f5e03ad09c425d7ffb5a97417987c9c.jpg","text":"TemporaryFile(/tmp/multipartBody2428430526011364328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320514520,"filename":"image_28012025_22_44_55_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333293901","file1":"1333293897","file0":"1333293890","file4":"1333293907","file5":"1333293910","file3":"1333293905"},"map_files_photo_id_array":[{"photo_id":"1333293910","filename":"file5"},{"photo_id":"1333293901","filename":"file2"},{"photo_id":"1333293907","filename":"file4"},{"photo_id":"1333293897","filename":"file1"},{"photo_id":"1333293890","filename":"file0"},{"photo_id":"1333293905","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333293890":["hashtag1","hashtag2"]},{"1333293905":["hashtag1","hashtag2"]},{"1333293910":["hashtag1","hashtag2"]},{"1333293907":["hashtag1","hashtag2"]},{"1333293897":["hashtag1","hashtag2"]},{"1333293901":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333293890, 1333293905, 1333293910, 1333293907, 1333293897, 1333293901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.21331000328064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:48:32.478649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/45/image_28012025_22_45_34_9342.jpg', '/home/pi/Desktop/images/28012025/22/45/image_28012025_22_45_45_10350.jpg', '/home/pi/Desktop/images/28012025/22/45/image_28012025_22_45_54_9365.jpg', '/home/pi/Desktop/images/28012025/22/45/image_28012025_22_46_04_10401.jpg', '/home/pi/Desktop/images/28012025/22/46/image_28012025_22_46_15_10389.jpg', '/home/pi/Desktop/images/28012025/22/46/image_28012025_22_46_24_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/45/image_28012025_22_45_34_9342.jpg
/home/pi/Desktop/images/28012025/22/45/image_28012025_22_45_45_10350.jpg
/home/pi/Desktop/images/28012025/22/45/image_28012025_22_45_54_9365.jpg
/home/pi/Desktop/images/28012025/22/45/image_28012025_22_46_04_10401.jpg
/home/pi/Desktop/images/28012025/22/46/image_28012025_22_46_15_10389.jpg
/home/pi/Desktop/images/28012025/22/46/image_28012025_22_46_24_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":["1333293965","1333293935","1333293961","1333293955","1333293949","1333293940"],"photo_ids_order":["1333293935","1333293940","1333293949","1333293955","1333293961","1333293965"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fcd8bbc251eb4d3dd56c407b164fc965.jpg","text":"TemporaryFile(/tmp/multipartBody7050389992493516339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320574799,"filename":"image_28012025_22_46_24_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ba235c36ae036583b709a61fbe37104e.jpg","text":"TemporaryFile(/tmp/multipartBody247489851031161937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320574799,"filename":"image_28012025_22_45_34_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3f9a4f9a7a4ce1f0b210b825303932ce.jpg","text":"TemporaryFile(/tmp/multipartBody4173219781505542476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320574799,"filename":"image_28012025_22_46_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/1/31/0cdd05cf3f7e29c30bc344871668381a.jpg","text":"TemporaryFile(/tmp/multipartBody6707821311648717092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320574799,"filename":"image_28012025_22_46_04_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2ab72d7bb970e9b923b7cd01f0b0e17b.jpg","text":"TemporaryFile(/tmp/multipartBody4077844594432901344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320574799,"filename":"image_28012025_22_45_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/1/31/b4a30e3164162b9838d81026aa49bf9f.jpg","text":"TemporaryFile(/tmp/multipartBody1896182003777882344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320574799,"filename":"image_28012025_22_45_45_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333293949","file1":"1333293940","file0":"1333293935","file4":"1333293961","file5":"1333293965","file3":"1333293955"},"map_files_photo_id_array":[{"photo_id":"1333293965","filename":"file5"},{"photo_id":"1333293949","filename":"file2"},{"photo_id":"1333293961","filename":"file4"},{"photo_id":"1333293940","filename":"file1"},{"photo_id":"1333293935","filename":"file0"},{"photo_id":"1333293955","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333293965":["hashtag1","hashtag2"]},{"1333293935":["hashtag1","hashtag2"]},{"1333293961":["hashtag1","hashtag2"]},{"1333293955":["hashtag1","hashtag2"]},{"1333293949":["hashtag1","hashtag2"]},{"1333293940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333293965, 1333293935, 1333293961, 1333293955, 1333293949, 1333293940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.3067467212677 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:49:32.800257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/46/image_28012025_22_46_35_10350.jpg', '/home/pi/Desktop/images/28012025/22/46/image_28012025_22_46_45_10366.jpg', '/home/pi/Desktop/images/28012025/22/46/image_28012025_22_46_54_9437.jpg', '/home/pi/Desktop/images/28012025/22/46/image_28012025_22_47_05_10351.jpg', '/home/pi/Desktop/images/28012025/22/47/image_28012025_22_47_14_9336.jpg', '/home/pi/Desktop/images/28012025/22/47/image_28012025_22_47_24_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/46/image_28012025_22_46_35_10350.jpg
/home/pi/Desktop/images/28012025/22/46/image_28012025_22_46_45_10366.jpg
/home/pi/Desktop/images/28012025/22/46/image_28012025_22_46_54_9437.jpg
/home/pi/Desktop/images/28012025/22/46/image_28012025_22_47_05_10351.jpg
/home/pi/Desktop/images/28012025/22/47/image_28012025_22_47_14_9336.jpg
/home/pi/Desktop/images/28012025/22/47/image_28012025_22_47_24_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":["1333294004","1333294034","1333294021","1333293996","1333294035","1333293987"],"photo_ids_order":["1333293987","1333293996","1333294004","1333294021","1333294034","1333294035"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a51cdfc58ea4594a39ab24d515545012.jpg","text":"TemporaryFile(/tmp/multipartBody5884755438023935110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320635083,"filename":"image_28012025_22_46_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/1/31/7b31610150552ea0fd3bf7c8c37667c3.jpg","text":"TemporaryFile(/tmp/multipartBody5340954705232000192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320635083,"filename":"image_28012025_22_47_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/1/31/216734fd081eaaa64c604b7da548262c.jpg","text":"TemporaryFile(/tmp/multipartBody3444035048645276043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320635083,"filename":"image_28012025_22_47_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/1/31/6a6829353e2f7e96eec7d92f7f5cd39a.jpg","text":"TemporaryFile(/tmp/multipartBody910986652628046720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320635083,"filename":"image_28012025_22_46_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/1/31/4ae8fd1841e6b80cd2b57b634869aef1.jpg","text":"TemporaryFile(/tmp/multipartBody2073818225418823028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320635083,"filename":"image_28012025_22_47_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/1/31/1214a497642b63ba183d9873c0d9d839.jpg","text":"TemporaryFile(/tmp/multipartBody8416015507853264218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320635083,"filename":"image_28012025_22_46_35_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333294004","file1":"1333293996","file0":"1333293987","file4":"1333294034","file5":"1333294035","file3":"1333294021"},"map_files_photo_id_array":[{"photo_id":"1333294035","filename":"file5"},{"photo_id":"1333294004","filename":"file2"},{"photo_id":"1333294034","filename":"file4"},{"photo_id":"1333293996","filename":"file1"},{"photo_id":"1333293987","filename":"file0"},{"photo_id":"1333294021","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333294004":["hashtag1","hashtag2"]},{"1333294034":["hashtag1","hashtag2"]},{"1333294021":["hashtag1","hashtag2"]},{"1333293996":["hashtag1","hashtag2"]},{"1333294035":["hashtag1","hashtag2"]},{"1333293987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333294004, 1333294034, 1333294021, 1333293996, 1333294035, 1333293987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25853681564331 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:50:32.925609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/47/image_28012025_22_47_35_10359.jpg', '/home/pi/Desktop/images/28012025/22/47/image_28012025_22_47_44_9396.jpg', '/home/pi/Desktop/images/28012025/22/47/image_28012025_22_47_55_10448.jpg', '/home/pi/Desktop/images/28012025/22/47/image_28012025_22_48_05_10348.jpg', '/home/pi/Desktop/images/28012025/22/48/image_28012025_22_48_14_9444.jpg', '/home/pi/Desktop/images/28012025/22/48/image_28012025_22_48_25_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/47/image_28012025_22_47_35_10359.jpg
/home/pi/Desktop/images/28012025/22/47/image_28012025_22_47_44_9396.jpg
/home/pi/Desktop/images/28012025/22/47/image_28012025_22_47_55_10448.jpg
/home/pi/Desktop/images/28012025/22/47/image_28012025_22_48_05_10348.jpg
/home/pi/Desktop/images/28012025/22/48/image_28012025_22_48_14_9444.jpg
/home/pi/Desktop/images/28012025/22/48/image_28012025_22_48_25_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":["1333294180","1333294192","1333294186","1333294174","1333294147","1333294204"],"photo_ids_order":["1333294147","1333294174","1333294180","1333294186","1333294192","1333294204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ec898499d30c3316a9ec3a80f7f54518.jpg","text":"TemporaryFile(/tmp/multipartBody2865165727856077752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320695216,"filename":"image_28012025_22_47_55_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/97c2bfd0404043c63f45a4fb79518a79.jpg","text":"TemporaryFile(/tmp/multipartBody2655706553022782118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320695216,"filename":"image_28012025_22_48_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/1/31/8e589a23204918c6d1273352664d268d.jpg","text":"TemporaryFile(/tmp/multipartBody6201009775564018679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320695216,"filename":"image_28012025_22_48_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/1/31/e42fb2c3b44a925157d803347e3029ee.jpg","text":"TemporaryFile(/tmp/multipartBody5679513436328353330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320695216,"filename":"image_28012025_22_47_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/1/31/5eff090b01824e560feebba271a8bee3.jpg","text":"TemporaryFile(/tmp/multipartBody236517935399490672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320695216,"filename":"image_28012025_22_47_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/1/31/a53675fe7a6c4201404b4d515b8fa0d7.jpg","text":"TemporaryFile(/tmp/multipartBody2835647908509703115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320695216,"filename":"image_28012025_22_48_25_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333294180","file1":"1333294174","file0":"1333294147","file4":"1333294192","file5":"1333294204","file3":"1333294186"},"map_files_photo_id_array":[{"photo_id":"1333294204","filename":"file5"},{"photo_id":"1333294180","filename":"file2"},{"photo_id":"1333294192","filename":"file4"},{"photo_id":"1333294174","filename":"file1"},{"photo_id":"1333294147","filename":"file0"},{"photo_id":"1333294186","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333294180":["hashtag1","hashtag2"]},{"1333294192":["hashtag1","hashtag2"]},{"1333294186":["hashtag1","hashtag2"]},{"1333294174":["hashtag1","hashtag2"]},{"1333294147":["hashtag1","hashtag2"]},{"1333294204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333294180, 1333294192, 1333294186, 1333294174, 1333294147, 1333294204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.02383303642273 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:51:33.132840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/48/image_28012025_22_48_34_9538.jpg', '/home/pi/Desktop/images/28012025/22/48/image_28012025_22_48_45_10353.jpg', '/home/pi/Desktop/images/28012025/22/48/image_28012025_22_48_54_9496.jpg', '/home/pi/Desktop/images/28012025/22/48/image_28012025_22_49_05_10355.jpg', '/home/pi/Desktop/images/28012025/22/49/image_28012025_22_49_15_10339.jpg', '/home/pi/Desktop/images/28012025/22/49/image_28012025_22_49_24_9448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/48/image_28012025_22_48_34_9538.jpg
/home/pi/Desktop/images/28012025/22/48/image_28012025_22_48_45_10353.jpg
/home/pi/Desktop/images/28012025/22/48/image_28012025_22_48_54_9496.jpg
/home/pi/Desktop/images/28012025/22/48/image_28012025_22_49_05_10355.jpg
/home/pi/Desktop/images/28012025/22/49/image_28012025_22_49_15_10339.jpg
/home/pi/Desktop/images/28012025/22/49/image_28012025_22_49_24_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":["1333294256","1333294241","1333294235","1333294258","1333294246","1333294251"],"photo_ids_order":["1333294235","1333294241","1333294246","1333294251","1333294256","1333294258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/16f8ee8f7b5b3a642233d5049e797979.jpg","text":"TemporaryFile(/tmp/multipartBody3262525905694218596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320755420,"filename":"image_28012025_22_49_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/1/31/a6ea7706c3d5cf81982cea27ca8e814c.jpg","text":"TemporaryFile(/tmp/multipartBody4495250972128899128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320755420,"filename":"image_28012025_22_48_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/1/31/f5d79c55e408834df6174fc3ba4db177.jpg","text":"TemporaryFile(/tmp/multipartBody2155993631750026815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320755420,"filename":"image_28012025_22_48_34_9538.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e81e30902cd5dc6fd9ef45d7409bfbb0.jpg","text":"TemporaryFile(/tmp/multipartBody3256189509538459656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320755420,"filename":"image_28012025_22_49_24_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fb69564194eb799bb800893b1e0d380f.jpg","text":"TemporaryFile(/tmp/multipartBody7991820097864679960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320755420,"filename":"image_28012025_22_48_54_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/841155d74d95647db96262bc69b97295.jpg","text":"TemporaryFile(/tmp/multipartBody5994685927524792180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320755420,"filename":"image_28012025_22_49_05_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333294246","file1":"1333294241","file0":"1333294235","file4":"1333294256","file5":"1333294258","file3":"1333294251"},"map_files_photo_id_array":[{"photo_id":"1333294258","filename":"file5"},{"photo_id":"1333294246","filename":"file2"},{"photo_id":"1333294256","filename":"file4"},{"photo_id":"1333294241","filename":"file1"},{"photo_id":"1333294235","filename":"file0"},{"photo_id":"1333294251","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333294256":["hashtag1","hashtag2"]},{"1333294241":["hashtag1","hashtag2"]},{"1333294235":["hashtag1","hashtag2"]},{"1333294258":["hashtag1","hashtag2"]},{"1333294246":["hashtag1","hashtag2"]},{"1333294251":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333294256, 1333294241, 1333294235, 1333294258, 1333294246, 1333294251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.384763956069946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:52:32.397849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/49/image_28012025_22_49_35_10474.jpg', '/home/pi/Desktop/images/28012025/22/49/image_28012025_22_49_44_9349.jpg', '/home/pi/Desktop/images/28012025/22/49/image_28012025_22_49_55_10370.jpg', '/home/pi/Desktop/images/28012025/22/49/image_28012025_22_50_05_10360.jpg', '/home/pi/Desktop/images/28012025/22/50/image_28012025_22_50_14_9205.jpg', '/home/pi/Desktop/images/28012025/22/50/image_28012025_22_50_25_10425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/49/image_28012025_22_49_35_10474.jpg
/home/pi/Desktop/images/28012025/22/49/image_28012025_22_49_44_9349.jpg
/home/pi/Desktop/images/28012025/22/49/image_28012025_22_49_55_10370.jpg
/home/pi/Desktop/images/28012025/22/49/image_28012025_22_50_05_10360.jpg
/home/pi/Desktop/images/28012025/22/50/image_28012025_22_50_14_9205.jpg
/home/pi/Desktop/images/28012025/22/50/image_28012025_22_50_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":["1333294291","1333294285","1333294299","1333294303","1333294278","1333294295"],"photo_ids_order":["1333294278","1333294285","1333294291","1333294295","1333294299","1333294303"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a616a59a7356d13a0c53db4f1b0cf532.jpg","text":"TemporaryFile(/tmp/multipartBody1259363396257674540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320814713,"filename":"image_28012025_22_49_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/1/31/586beca5976e3c4599f3acc0861d27c5.jpg","text":"TemporaryFile(/tmp/multipartBody1838253734792120480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320814713,"filename":"image_28012025_22_49_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/1/31/75d2c3d024875d49fc55ea763f406c40.jpg","text":"TemporaryFile(/tmp/multipartBody5421306797664850601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320814713,"filename":"image_28012025_22_50_14_9205.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fc6ea4fbd15a19277908b152398813ee.jpg","text":"TemporaryFile(/tmp/multipartBody6118882261599235819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320814713,"filename":"image_28012025_22_50_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/1/31/dcf02a5c088b36be2384d6fd12265f84.jpg","text":"TemporaryFile(/tmp/multipartBody6535849546321162415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320814713,"filename":"image_28012025_22_49_35_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/eb4f225158f3935a9fc7adc12e1098d7.jpg","text":"TemporaryFile(/tmp/multipartBody4856929496635142239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320814713,"filename":"image_28012025_22_50_05_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333294291","file1":"1333294285","file0":"1333294278","file4":"1333294299","file5":"1333294303","file3":"1333294295"},"map_files_photo_id_array":[{"photo_id":"1333294303","filename":"file5"},{"photo_id":"1333294291","filename":"file2"},{"photo_id":"1333294299","filename":"file4"},{"photo_id":"1333294285","filename":"file1"},{"photo_id":"1333294278","filename":"file0"},{"photo_id":"1333294295","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333294291":["hashtag1","hashtag2"]},{"1333294285":["hashtag1","hashtag2"]},{"1333294299":["hashtag1","hashtag2"]},{"1333294303":["hashtag1","hashtag2"]},{"1333294278":["hashtag1","hashtag2"]},{"1333294295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333294291, 1333294285, 1333294299, 1333294303, 1333294278, 1333294295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.26867079734802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:53:32.651836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/50/image_28012025_22_50_35_10353.jpg', '/home/pi/Desktop/images/28012025/22/50/image_28012025_22_50_44_9344.jpg', '/home/pi/Desktop/images/28012025/22/50/image_28012025_22_50_55_10365.jpg', '/home/pi/Desktop/images/28012025/22/50/image_28012025_22_51_05_10348.jpg', '/home/pi/Desktop/images/28012025/22/51/image_28012025_22_51_14_9325.jpg', '/home/pi/Desktop/images/28012025/22/51/image_28012025_22_51_25_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/50/image_28012025_22_50_35_10353.jpg
/home/pi/Desktop/images/28012025/22/50/image_28012025_22_50_44_9344.jpg
/home/pi/Desktop/images/28012025/22/50/image_28012025_22_50_55_10365.jpg
/home/pi/Desktop/images/28012025/22/50/image_28012025_22_51_05_10348.jpg
/home/pi/Desktop/images/28012025/22/51/image_28012025_22_51_14_9325.jpg
/home/pi/Desktop/images/28012025/22/51/image_28012025_22_51_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":["1333294472","1333294339","1333294353","1333294347","1333294332","1333294358"],"photo_ids_order":["1333294332","1333294339","1333294347","1333294353","1333294358","1333294472"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/789684ed908c8cb71026027481fe45ab.jpg","text":"TemporaryFile(/tmp/multipartBody4379464071401226674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320874955,"filename":"image_28012025_22_51_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/1/31/d27073bd0109c5a36aa9e2ee93edd60a.jpg","text":"TemporaryFile(/tmp/multipartBody3150906379356769699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320874955,"filename":"image_28012025_22_50_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/1/31/72098c2f01e3e8030d3dbac6e1a26720.jpg","text":"TemporaryFile(/tmp/multipartBody120756990214953714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320874955,"filename":"image_28012025_22_51_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/1/31/d5a4a1bd0331f6a1320dd1ce4ffdd950.jpg","text":"TemporaryFile(/tmp/multipartBody3812040183895015865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320874955,"filename":"image_28012025_22_50_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/1/31/2d4f52bd669e892224086447a0c9b543.jpg","text":"TemporaryFile(/tmp/multipartBody972487899309743973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320874955,"filename":"image_28012025_22_50_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/1/31/80d194a73df3c079654464bdc0ca21bc.jpg","text":"TemporaryFile(/tmp/multipartBody2644580583726504305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320874955,"filename":"image_28012025_22_51_14_9325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333294347","file1":"1333294339","file0":"1333294332","file4":"1333294358","file5":"1333294472","file3":"1333294353"},"map_files_photo_id_array":[{"photo_id":"1333294472","filename":"file5"},{"photo_id":"1333294347","filename":"file2"},{"photo_id":"1333294358","filename":"file4"},{"photo_id":"1333294339","filename":"file1"},{"photo_id":"1333294332","filename":"file0"},{"photo_id":"1333294353","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333294472":["hashtag1","hashtag2"]},{"1333294339":["hashtag1","hashtag2"]},{"1333294353":["hashtag1","hashtag2"]},{"1333294347":["hashtag1","hashtag2"]},{"1333294332":["hashtag1","hashtag2"]},{"1333294358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333294472, 1333294339, 1333294353, 1333294347, 1333294332, 1333294358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.506240129470825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:54:32.902227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/51/image_28012025_22_51_35_10341.jpg', '/home/pi/Desktop/images/28012025/22/51/image_28012025_22_51_44_9467.jpg', '/home/pi/Desktop/images/28012025/22/51/image_28012025_22_51_55_10463.jpg', '/home/pi/Desktop/images/28012025/22/51/image_28012025_22_52_04_9470.jpg', '/home/pi/Desktop/images/28012025/22/52/image_28012025_22_52_15_10379.jpg', '/home/pi/Desktop/images/28012025/22/52/image_28012025_22_52_24_9397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/51/image_28012025_22_51_35_10341.jpg
/home/pi/Desktop/images/28012025/22/51/image_28012025_22_51_44_9467.jpg
/home/pi/Desktop/images/28012025/22/51/image_28012025_22_51_55_10463.jpg
/home/pi/Desktop/images/28012025/22/51/image_28012025_22_52_04_9470.jpg
/home/pi/Desktop/images/28012025/22/52/image_28012025_22_52_15_10379.jpg
/home/pi/Desktop/images/28012025/22/52/image_28012025_22_52_24_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":["1333295461","1333295338","1333295583","1333295646","1333295223","1333295651"],"photo_ids_order":["1333295223","1333295338","1333295461","1333295583","1333295646","1333295651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bcfe36101dbb125502894af42d4a8082.jpg","text":"TemporaryFile(/tmp/multipartBody4788131465358668556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320935195,"filename":"image_28012025_22_51_55_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/45a74f8da339c4c7d92c212f19be2e80.jpg","text":"TemporaryFile(/tmp/multipartBody2283871214939417364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320935195,"filename":"image_28012025_22_51_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/1/31/386d4757c4e0162074f32de7522cb8e6.jpg","text":"TemporaryFile(/tmp/multipartBody3326558188583094829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320935195,"filename":"image_28012025_22_52_04_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/326ab9ef403d479ecc40f6fa69cdf277.jpg","text":"TemporaryFile(/tmp/multipartBody3304098511897920054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320935195,"filename":"image_28012025_22_52_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/1/31/f676f22af61bd2faa749c13718a62390.jpg","text":"TemporaryFile(/tmp/multipartBody678043034045932717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320935195,"filename":"image_28012025_22_51_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/1/31/6adc82db085ed96ba66bb77bb2da2e7c.jpg","text":"TemporaryFile(/tmp/multipartBody8622859256385845551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320935195,"filename":"image_28012025_22_52_24_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333295461","file1":"1333295338","file0":"1333295223","file4":"1333295646","file5":"1333295651","file3":"1333295583"},"map_files_photo_id_array":[{"photo_id":"1333295651","filename":"file5"},{"photo_id":"1333295461","filename":"file2"},{"photo_id":"1333295646","filename":"file4"},{"photo_id":"1333295338","filename":"file1"},{"photo_id":"1333295223","filename":"file0"},{"photo_id":"1333295583","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333295461":["hashtag1","hashtag2"]},{"1333295338":["hashtag1","hashtag2"]},{"1333295583":["hashtag1","hashtag2"]},{"1333295646":["hashtag1","hashtag2"]},{"1333295223":["hashtag1","hashtag2"]},{"1333295651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333295461, 1333295338, 1333295583, 1333295646, 1333295223, 1333295651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.66063332557678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:55:33.112498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/52/image_28012025_22_52_34_10348.jpg', '/home/pi/Desktop/images/28012025/22/52/image_28012025_22_52_45_10412.jpg', '/home/pi/Desktop/images/28012025/22/53/image_28012025_22_53_54_9340.jpg', '/home/pi/Desktop/images/28012025/22/53/image_28012025_22_54_05_10355.jpg', '/home/pi/Desktop/images/28012025/22/54/image_28012025_22_54_14_9481.jpg', '/home/pi/Desktop/images/28012025/22/54/image_28012025_22_54_25_10471.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/52/image_28012025_22_52_34_10348.jpg
/home/pi/Desktop/images/28012025/22/52/image_28012025_22_52_45_10412.jpg
/home/pi/Desktop/images/28012025/22/53/image_28012025_22_53_54_9340.jpg
/home/pi/Desktop/images/28012025/22/53/image_28012025_22_54_05_10355.jpg
/home/pi/Desktop/images/28012025/22/54/image_28012025_22_54_14_9481.jpg
/home/pi/Desktop/images/28012025/22/54/image_28012025_22_54_25_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":["1333295726","1333295708","1333295743","1333295715","1333295738","1333295702"],"photo_ids_order":["1333295702","1333295708","1333295715","1333295726","1333295738","1333295743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f77edb5c4f20c5cd1382abde3527b34c.jpg","text":"TemporaryFile(/tmp/multipartBody8113768463575582424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320995390,"filename":"image_28012025_22_54_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/1/31/a291b9e87a734490ed564715e358ee9c.jpg","text":"TemporaryFile(/tmp/multipartBody3189778959778628586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320995390,"filename":"image_28012025_22_52_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/1/31/2794b6537e7d115828f47815900fdede.jpg","text":"TemporaryFile(/tmp/multipartBody5979760732573715624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320995390,"filename":"image_28012025_22_54_25_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/33731680be0d1843318fdd4dc9c286b6.jpg","text":"TemporaryFile(/tmp/multipartBody1332033495937182293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320995390,"filename":"image_28012025_22_53_54_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f60730a8e31469d9d98b9f28e199fe3d.jpg","text":"TemporaryFile(/tmp/multipartBody9190581214151212299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320995390,"filename":"image_28012025_22_54_14_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/51bcd985ac5f7ec5255b75ea104c8e6e.jpg","text":"TemporaryFile(/tmp/multipartBody8211201180864774378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738320995390,"filename":"image_28012025_22_52_34_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333295715","file1":"1333295708","file0":"1333295702","file4":"1333295738","file5":"1333295743","file3":"1333295726"},"map_files_photo_id_array":[{"photo_id":"1333295743","filename":"file5"},{"photo_id":"1333295715","filename":"file2"},{"photo_id":"1333295738","filename":"file4"},{"photo_id":"1333295708","filename":"file1"},{"photo_id":"1333295702","filename":"file0"},{"photo_id":"1333295726","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333295726":["hashtag1","hashtag2"]},{"1333295708":["hashtag1","hashtag2"]},{"1333295743":["hashtag1","hashtag2"]},{"1333295715":["hashtag1","hashtag2"]},{"1333295738":["hashtag1","hashtag2"]},{"1333295702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333295726, 1333295708, 1333295743, 1333295715, 1333295738, 1333295702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.49882364273071 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:56:32.433247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/54/image_28012025_22_54_34_9526.jpg', '/home/pi/Desktop/images/28012025/22/54/image_28012025_22_54_45_10447.jpg', '/home/pi/Desktop/images/28012025/22/54/image_28012025_22_54_55_10364.jpg', '/home/pi/Desktop/images/28012025/22/55/image_28012025_22_55_15_10363.jpg', '/home/pi/Desktop/images/28012025/22/55/image_28012025_22_55_24_9421.jpg', '/home/pi/Desktop/images/28012025/22/55/image_28012025_22_55_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/54/image_28012025_22_54_34_9526.jpg
/home/pi/Desktop/images/28012025/22/54/image_28012025_22_54_45_10447.jpg
/home/pi/Desktop/images/28012025/22/54/image_28012025_22_54_55_10364.jpg
/home/pi/Desktop/images/28012025/22/55/image_28012025_22_55_15_10363.jpg
/home/pi/Desktop/images/28012025/22/55/image_28012025_22_55_24_9421.jpg
/home/pi/Desktop/images/28012025/22/55/image_28012025_22_55_45_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":["1333295854","1333296078","1333296327","1333296204","1333295963","1333295846"],"photo_ids_order":["1333295846","1333295854","1333295963","1333296078","1333296204","1333296327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/60a7ad09809c70e6bb148ae4fc3ba81c.jpg","text":"TemporaryFile(/tmp/multipartBody6248277007043356938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321054726,"filename":"image_28012025_22_54_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/1/31/0de9d5047b2f3eb1bb570cecbe565c33.jpg","text":"TemporaryFile(/tmp/multipartBody2541884470613849986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321054726,"filename":"image_28012025_22_55_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/1/31/a51e8ddaf12a18004c5fbd9e3a504535.jpg","text":"TemporaryFile(/tmp/multipartBody2404977690713269798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321054726,"filename":"image_28012025_22_55_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/1/31/83e1b24fcf3f40124fa51c2a73b4aa43.jpg","text":"TemporaryFile(/tmp/multipartBody6592915881479080527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321054726,"filename":"image_28012025_22_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/1/31/994660b472b181ffe46a4b4b69e79e70.jpg","text":"TemporaryFile(/tmp/multipartBody7850837556819296529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321054726,"filename":"image_28012025_22_54_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/1/31/e8fadaffb2ab3594d8aac874000f9231.jpg","text":"TemporaryFile(/tmp/multipartBody6069686529442586527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321054726,"filename":"image_28012025_22_54_34_9526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333295963","file1":"1333295854","file0":"1333295846","file4":"1333296204","file5":"1333296327","file3":"1333296078"},"map_files_photo_id_array":[{"photo_id":"1333296327","filename":"file5"},{"photo_id":"1333295963","filename":"file2"},{"photo_id":"1333296204","filename":"file4"},{"photo_id":"1333295854","filename":"file1"},{"photo_id":"1333295846","filename":"file0"},{"photo_id":"1333296078","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333295854":["hashtag1","hashtag2"]},{"1333296078":["hashtag1","hashtag2"]},{"1333296327":["hashtag1","hashtag2"]},{"1333296204":["hashtag1","hashtag2"]},{"1333295963":["hashtag1","hashtag2"]},{"1333295846":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333295854, 1333296078, 1333296327, 1333296204, 1333295963, 1333295846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78852033615112 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:57:32.632267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/55/image_28012025_22_55_54_9359.jpg', '/home/pi/Desktop/images/28012025/22/55/image_28012025_22_56_05_10356.jpg', '/home/pi/Desktop/images/28012025/22/56/image_28012025_22_56_24_9331.jpg', '/home/pi/Desktop/images/28012025/22/56/image_28012025_22_56_54_10360.jpg', '/home/pi/Desktop/images/28012025/22/56/image_28012025_22_57_05_10345.jpg', '/home/pi/Desktop/images/28012025/22/57/image_28012025_22_57_14_9452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/55/image_28012025_22_55_54_9359.jpg
/home/pi/Desktop/images/28012025/22/55/image_28012025_22_56_05_10356.jpg
/home/pi/Desktop/images/28012025/22/56/image_28012025_22_56_24_9331.jpg
/home/pi/Desktop/images/28012025/22/56/image_28012025_22_56_54_10360.jpg
/home/pi/Desktop/images/28012025/22/56/image_28012025_22_57_05_10345.jpg
/home/pi/Desktop/images/28012025/22/57/image_28012025_22_57_14_9452.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 www.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-01-31 11:59:03.814225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/55/image_28012025_22_55_54_9359.jpg', '/home/pi/Desktop/images/28012025/22/55/image_28012025_22_56_05_10356.jpg', '/home/pi/Desktop/images/28012025/22/56/image_28012025_22_56_24_9331.jpg', '/home/pi/Desktop/images/28012025/22/56/image_28012025_22_56_54_10360.jpg', '/home/pi/Desktop/images/28012025/22/56/image_28012025_22_57_05_10345.jpg', '/home/pi/Desktop/images/28012025/22/57/image_28012025_22_57_14_9452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/55/image_28012025_22_55_54_9359.jpg
/home/pi/Desktop/images/28012025/22/55/image_28012025_22_56_05_10356.jpg
/home/pi/Desktop/images/28012025/22/56/image_28012025_22_56_24_9331.jpg
/home/pi/Desktop/images/28012025/22/56/image_28012025_22_56_54_10360.jpg
/home/pi/Desktop/images/28012025/22/56/image_28012025_22_57_05_10345.jpg
/home/pi/Desktop/images/28012025/22/57/image_28012025_22_57_14_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":["1333297287","1333297214","1333297322","1333297301","1333297294","1333297282"],"photo_ids_order":["1333297214","1333297282","1333297287","1333297294","1333297301","1333297322"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ab23cf1dca96578963fbc4786ca38df4.jpg","text":"TemporaryFile(/tmp/multipartBody7538670003573587506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321207209,"filename":"image_28012025_22_56_24_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8ffa69921decbc24a68b4f35ecf9bab3.jpg","text":"TemporaryFile(/tmp/multipartBody2342448951752230471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321207209,"filename":"image_28012025_22_55_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/1/31/641759bf0352066a27f65da96277bfaa.jpg","text":"TemporaryFile(/tmp/multipartBody2562269656300819870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321207209,"filename":"image_28012025_22_57_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/1/31/cad7a06026071bc149798a88680ae236.jpg","text":"TemporaryFile(/tmp/multipartBody4160405932974130204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321207209,"filename":"image_28012025_22_57_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/210ba557826645d825f6eabe5789f74a.jpg","text":"TemporaryFile(/tmp/multipartBody8692029327827996713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321207209,"filename":"image_28012025_22_56_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/1/31/c9ef64c3e18f16e58c24cd9242143b9e.jpg","text":"TemporaryFile(/tmp/multipartBody6036035164503925179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321207209,"filename":"image_28012025_22_56_05_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333297287","file1":"1333297282","file0":"1333297214","file4":"1333297301","file5":"1333297322","file3":"1333297294"},"map_files_photo_id_array":[{"photo_id":"1333297322","filename":"file5"},{"photo_id":"1333297287","filename":"file2"},{"photo_id":"1333297301","filename":"file4"},{"photo_id":"1333297282","filename":"file1"},{"photo_id":"1333297214","filename":"file0"},{"photo_id":"1333297294","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333297287":["hashtag1","hashtag2"]},{"1333297214":["hashtag1","hashtag2"]},{"1333297322":["hashtag1","hashtag2"]},{"1333297301":["hashtag1","hashtag2"]},{"1333297294":["hashtag1","hashtag2"]},{"1333297282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333297287, 1333297214, 1333297322, 1333297301, 1333297294, 1333297282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.23043727874756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 11:59:53.140860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/57/image_28012025_22_57_25_10367.jpg', '/home/pi/Desktop/images/28012025/22/57/image_28012025_22_57_54_9444.jpg', '/home/pi/Desktop/images/28012025/22/57/image_28012025_22_58_05_10355.jpg', '/home/pi/Desktop/images/28012025/22/58/image_28012025_22_58_25_10430.jpg', '/home/pi/Desktop/images/28012025/22/58/image_28012025_22_58_34_9449.jpg', '/home/pi/Desktop/images/28012025/22/58/image_28012025_22_58_45_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/57/image_28012025_22_57_25_10367.jpg
/home/pi/Desktop/images/28012025/22/57/image_28012025_22_57_54_9444.jpg
/home/pi/Desktop/images/28012025/22/57/image_28012025_22_58_05_10355.jpg
/home/pi/Desktop/images/28012025/22/58/image_28012025_22_58_25_10430.jpg
/home/pi/Desktop/images/28012025/22/58/image_28012025_22_58_34_9449.jpg
/home/pi/Desktop/images/28012025/22/58/image_28012025_22_58_45_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":["1333297602","1333297607","1333297597","1333297591","1333297579","1333297504"],"photo_ids_order":["1333297504","1333297579","1333297591","1333297597","1333297602","1333297607"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2348a7444da8e972e3d96817b065d8d2.jpg","text":"TemporaryFile(/tmp/multipartBody3965591503282367089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321255453,"filename":"image_28012025_22_58_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/1/31/d2ecd1435cf14c8e5d058361561e98d4.jpg","text":"TemporaryFile(/tmp/multipartBody6523236339112759244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321255453,"filename":"image_28012025_22_58_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/1/31/b14c8aa4ba0e54a6a549959202ca95d1.jpg","text":"TemporaryFile(/tmp/multipartBody3241493746313088047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321255453,"filename":"image_28012025_22_58_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/1/31/ab14cff31a6e6742864e7d21394fa37c.jpg","text":"TemporaryFile(/tmp/multipartBody3147404165850513249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321255453,"filename":"image_28012025_22_58_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/1/31/4c8930b28ea8698ab2a3ae651410d85f.jpg","text":"TemporaryFile(/tmp/multipartBody8546987448317102698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321255453,"filename":"image_28012025_22_57_54_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2a4e71bbdae67f39e905fe3e6bc26314.jpg","text":"TemporaryFile(/tmp/multipartBody2507925102608033197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321255453,"filename":"image_28012025_22_57_25_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333297591","file1":"1333297579","file0":"1333297504","file4":"1333297602","file5":"1333297607","file3":"1333297597"},"map_files_photo_id_array":[{"photo_id":"1333297607","filename":"file5"},{"photo_id":"1333297591","filename":"file2"},{"photo_id":"1333297602","filename":"file4"},{"photo_id":"1333297579","filename":"file1"},{"photo_id":"1333297504","filename":"file0"},{"photo_id":"1333297597","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333297602":["hashtag1","hashtag2"]},{"1333297607":["hashtag1","hashtag2"]},{"1333297597":["hashtag1","hashtag2"]},{"1333297591":["hashtag1","hashtag2"]},{"1333297579":["hashtag1","hashtag2"]},{"1333297504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333297602, 1333297607, 1333297597, 1333297591, 1333297579, 1333297504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23479628562927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 12:00:42.353344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/22/58/image_28012025_22_59_04_9397.jpg', '/home/pi/Desktop/images/28012025/22/59/image_28012025_22_59_15_10332.jpg', '/home/pi/Desktop/images/28012025/22/59/image_28012025_22_59_45_10399.jpg', '/home/pi/Desktop/images/28012025/22/59/image_28012025_22_59_54_9456.jpg', '/home/pi/Desktop/images/28012025/23/00/image_28012025_23_00_16_10077.jpg', '/home/pi/Desktop/images/28012025/23/00/image_28012025_23_00_26_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/22/58/image_28012025_22_59_04_9397.jpg
/home/pi/Desktop/images/28012025/22/59/image_28012025_22_59_15_10332.jpg
/home/pi/Desktop/images/28012025/22/59/image_28012025_22_59_45_10399.jpg
/home/pi/Desktop/images/28012025/22/59/image_28012025_22_59_54_9456.jpg
/home/pi/Desktop/images/28012025/23/00/image_28012025_23_00_16_10077.jpg
/home/pi/Desktop/images/28012025/23/00/image_28012025_23_00_26_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":["1333297773","1333297770","1333297781","1333297786","1333297747","1333297723"],"photo_ids_order":["1333297723","1333297747","1333297770","1333297773","1333297781","1333297786"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/71acbaf5dc6a1e7af909c3bde455ec2f.jpg","text":"TemporaryFile(/tmp/multipartBody4455924406440478625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321303851,"filename":"image_28012025_22_59_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/1/31/cfdd4db21f464c77c1539949eddbd1b1.jpg","text":"TemporaryFile(/tmp/multipartBody1658721735401720179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321303851,"filename":"image_28012025_22_59_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/1/31/f2983a15f1baf2d36f3f5bc534d2db12.jpg","text":"TemporaryFile(/tmp/multipartBody5652633398534387998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321303851,"filename":"image_28012025_23_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/1/31/e1a8bec408a812d23592dfd4d3776e77.jpg","text":"TemporaryFile(/tmp/multipartBody9020619021058364886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321303851,"filename":"image_28012025_23_00_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/1/31/e5bdf02c84f27e501017d8576c77381d.jpg","text":"TemporaryFile(/tmp/multipartBody2371335779084926282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321303851,"filename":"image_28012025_22_59_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5b52c55783308dbce5d2743d80f978f8.jpg","text":"TemporaryFile(/tmp/multipartBody3444612985098113027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321303851,"filename":"image_28012025_22_59_04_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333297770","file1":"1333297747","file0":"1333297723","file4":"1333297781","file5":"1333297786","file3":"1333297773"},"map_files_photo_id_array":[{"photo_id":"1333297786","filename":"file5"},{"photo_id":"1333297770","filename":"file2"},{"photo_id":"1333297781","filename":"file4"},{"photo_id":"1333297747","filename":"file1"},{"photo_id":"1333297723","filename":"file0"},{"photo_id":"1333297773","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333297773":["hashtag1","hashtag2"]},{"1333297770":["hashtag1","hashtag2"]},{"1333297781":["hashtag1","hashtag2"]},{"1333297786":["hashtag1","hashtag2"]},{"1333297747":["hashtag1","hashtag2"]},{"1333297723":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333297773, 1333297770, 1333297781, 1333297786, 1333297747, 1333297723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.396323919296265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:01:32.692771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/00/image_28012025_23_00_37_10363.jpg', '/home/pi/Desktop/images/28012025/23/00/image_28012025_23_00_46_9332.jpg', '/home/pi/Desktop/images/28012025/23/00/image_28012025_23_00_56_10355.jpg', '/home/pi/Desktop/images/28012025/23/01/image_28012025_23_01_16_9351.jpg', '/home/pi/Desktop/images/28012025/23/01/image_28012025_23_01_26_10441.jpg', '/home/pi/Desktop/images/28012025/23/01/image_28012025_23_01_37_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/00/image_28012025_23_00_37_10363.jpg
/home/pi/Desktop/images/28012025/23/00/image_28012025_23_00_46_9332.jpg
/home/pi/Desktop/images/28012025/23/00/image_28012025_23_00_56_10355.jpg
/home/pi/Desktop/images/28012025/23/01/image_28012025_23_01_16_9351.jpg
/home/pi/Desktop/images/28012025/23/01/image_28012025_23_01_26_10441.jpg
/home/pi/Desktop/images/28012025/23/01/image_28012025_23_01_37_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":["1333297804","1333297818","1333297811","1333297814","1333297808","1333297816"],"photo_ids_order":["1333297804","1333297808","1333297811","1333297814","1333297816","1333297818"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f56c1a10c4112d81e6e1fb60167c1835.jpg","text":"TemporaryFile(/tmp/multipartBody3572229016749152699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321355018,"filename":"image_28012025_23_00_37_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/eb5c4e3805da0fea2457c6c5e0997fd0.jpg","text":"TemporaryFile(/tmp/multipartBody105087301839706680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321355018,"filename":"image_28012025_23_01_37_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/74321b2c174f32b0a50a8279c401106f.jpg","text":"TemporaryFile(/tmp/multipartBody2393850948243008164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321355018,"filename":"image_28012025_23_00_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/1/31/041c3e722d2155776c0a8a082e3e350d.jpg","text":"TemporaryFile(/tmp/multipartBody8066123854617470763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321355018,"filename":"image_28012025_23_01_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/1/31/7ea4c026787df1ade97dfbad9abfc4f3.jpg","text":"TemporaryFile(/tmp/multipartBody5168444633451681502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321355018,"filename":"image_28012025_23_00_46_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cbba45dc34809105712cfbd50582575c.jpg","text":"TemporaryFile(/tmp/multipartBody8337124977781926334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321355018,"filename":"image_28012025_23_01_26_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333297811","file1":"1333297808","file0":"1333297804","file4":"1333297816","file5":"1333297818","file3":"1333297814"},"map_files_photo_id_array":[{"photo_id":"1333297818","filename":"file5"},{"photo_id":"1333297811","filename":"file2"},{"photo_id":"1333297816","filename":"file4"},{"photo_id":"1333297808","filename":"file1"},{"photo_id":"1333297804","filename":"file0"},{"photo_id":"1333297814","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333297804":["hashtag1","hashtag2"]},{"1333297818":["hashtag1","hashtag2"]},{"1333297811":["hashtag1","hashtag2"]},{"1333297814":["hashtag1","hashtag2"]},{"1333297808":["hashtag1","hashtag2"]},{"1333297816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333297804, 1333297818, 1333297811, 1333297814, 1333297808, 1333297816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08325123786926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:02:32.776380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/01/image_28012025_23_01_46_9405.jpg', '/home/pi/Desktop/images/28012025/23/01/image_28012025_23_01_57_10439.jpg', '/home/pi/Desktop/images/28012025/23/01/image_28012025_23_02_06_9342.jpg', '/home/pi/Desktop/images/28012025/23/02/image_28012025_23_02_16_10413.jpg', '/home/pi/Desktop/images/28012025/23/02/image_28012025_23_02_27_10356.jpg', '/home/pi/Desktop/images/28012025/23/02/image_28012025_23_02_36_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/01/image_28012025_23_01_46_9405.jpg
/home/pi/Desktop/images/28012025/23/01/image_28012025_23_01_57_10439.jpg
/home/pi/Desktop/images/28012025/23/01/image_28012025_23_02_06_9342.jpg
/home/pi/Desktop/images/28012025/23/02/image_28012025_23_02_16_10413.jpg
/home/pi/Desktop/images/28012025/23/02/image_28012025_23_02_27_10356.jpg
/home/pi/Desktop/images/28012025/23/02/image_28012025_23_02_36_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":["1333297905","1333297902","1333297886","1333297889","1333297894","1333297897"],"photo_ids_order":["1333297886","1333297889","1333297894","1333297897","1333297902","1333297905"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7e18ad900098d280907fd26cdd97d0df.jpg","text":"TemporaryFile(/tmp/multipartBody8469902839320618206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321415082,"filename":"image_28012025_23_02_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/1/31/5164316859ebb32956512981cb7b512a.jpg","text":"TemporaryFile(/tmp/multipartBody3157178262013896904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321415082,"filename":"image_28012025_23_02_27_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/20fb68cd145edde53e04c770a3682cd2.jpg","text":"TemporaryFile(/tmp/multipartBody5491462955455178632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321415082,"filename":"image_28012025_23_01_46_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c6b839c2e8cfa480c24116550308f13d.jpg","text":"TemporaryFile(/tmp/multipartBody5488675638540352334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321415082,"filename":"image_28012025_23_01_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/1/31/ec2fc8a14394db6bbe022e99584f97dc.jpg","text":"TemporaryFile(/tmp/multipartBody993391269784975323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321415082,"filename":"image_28012025_23_02_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/1/31/03c4a9a7e13f11a7cb9e2fc8ab92fdd8.jpg","text":"TemporaryFile(/tmp/multipartBody7227184702737368555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321415082,"filename":"image_28012025_23_02_16_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333297894","file1":"1333297889","file0":"1333297886","file4":"1333297902","file5":"1333297905","file3":"1333297897"},"map_files_photo_id_array":[{"photo_id":"1333297905","filename":"file5"},{"photo_id":"1333297894","filename":"file2"},{"photo_id":"1333297902","filename":"file4"},{"photo_id":"1333297889","filename":"file1"},{"photo_id":"1333297886","filename":"file0"},{"photo_id":"1333297897","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333297905":["hashtag1","hashtag2"]},{"1333297902":["hashtag1","hashtag2"]},{"1333297886":["hashtag1","hashtag2"]},{"1333297889":["hashtag1","hashtag2"]},{"1333297894":["hashtag1","hashtag2"]},{"1333297897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333297905, 1333297902, 1333297886, 1333297889, 1333297894, 1333297897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.467889070510864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:03:32.984248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/02/image_28012025_23_02_47_10357.jpg', '/home/pi/Desktop/images/28012025/23/02/image_28012025_23_02_56_9342.jpg', '/home/pi/Desktop/images/28012025/23/02/image_28012025_23_03_06_10320.jpg', '/home/pi/Desktop/images/28012025/23/03/image_28012025_23_03_17_10338.jpg', '/home/pi/Desktop/images/28012025/23/03/image_28012025_23_03_36_10357.jpg', '/home/pi/Desktop/images/28012025/23/03/image_28012025_23_03_47_10382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/02/image_28012025_23_02_47_10357.jpg
/home/pi/Desktop/images/28012025/23/02/image_28012025_23_02_56_9342.jpg
/home/pi/Desktop/images/28012025/23/02/image_28012025_23_03_06_10320.jpg
/home/pi/Desktop/images/28012025/23/03/image_28012025_23_03_17_10338.jpg
/home/pi/Desktop/images/28012025/23/03/image_28012025_23_03_36_10357.jpg
/home/pi/Desktop/images/28012025/23/03/image_28012025_23_03_47_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":["1333297980","1333297965","1333297979","1333297970","1333297975","1333297978"],"photo_ids_order":["1333297965","1333297970","1333297975","1333297978","1333297979","1333297980"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3cb0ae9a05dca0dc933c82714ffbd670.jpg","text":"TemporaryFile(/tmp/multipartBody7479266873697027423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321475277,"filename":"image_28012025_23_03_47_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/77aa2bb803e9fa839d75428a73285b2a.jpg","text":"TemporaryFile(/tmp/multipartBody7943640685945761322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321475277,"filename":"image_28012025_23_02_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/1/31/e72cfc409a1da320ff9d875e89e1eca0.jpg","text":"TemporaryFile(/tmp/multipartBody4973365971575511647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321475277,"filename":"image_28012025_23_03_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/1/31/a182e95689bb652708345ab821d7749c.jpg","text":"TemporaryFile(/tmp/multipartBody1010590748319982100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321475277,"filename":"image_28012025_23_02_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/1/31/6b8897d878848191a89164240952556c.jpg","text":"TemporaryFile(/tmp/multipartBody6252905316164577495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321475277,"filename":"image_28012025_23_03_06_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d1fb4019ab674446288278dc730f7868.jpg","text":"TemporaryFile(/tmp/multipartBody3893662257153194908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321475277,"filename":"image_28012025_23_03_17_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333297975","file1":"1333297970","file0":"1333297965","file4":"1333297979","file5":"1333297980","file3":"1333297978"},"map_files_photo_id_array":[{"photo_id":"1333297980","filename":"file5"},{"photo_id":"1333297975","filename":"file2"},{"photo_id":"1333297979","filename":"file4"},{"photo_id":"1333297970","filename":"file1"},{"photo_id":"1333297965","filename":"file0"},{"photo_id":"1333297978","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333297980":["hashtag1","hashtag2"]},{"1333297965":["hashtag1","hashtag2"]},{"1333297979":["hashtag1","hashtag2"]},{"1333297970":["hashtag1","hashtag2"]},{"1333297975":["hashtag1","hashtag2"]},{"1333297978":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333297980, 1333297965, 1333297979, 1333297970, 1333297975, 1333297978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.08182454109192 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:04:32.152490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/03/image_28012025_23_03_56_9415.jpg', '/home/pi/Desktop/images/28012025/23/03/image_28012025_23_04_07_10448.jpg', '/home/pi/Desktop/images/28012025/23/04/image_28012025_23_04_17_10344.jpg', '/home/pi/Desktop/images/28012025/23/04/image_28012025_23_04_26_9367.jpg', '/home/pi/Desktop/images/28012025/23/04/image_28012025_23_04_37_10457.jpg', '/home/pi/Desktop/images/28012025/23/04/image_28012025_23_04_57_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/03/image_28012025_23_03_56_9415.jpg
/home/pi/Desktop/images/28012025/23/03/image_28012025_23_04_07_10448.jpg
/home/pi/Desktop/images/28012025/23/04/image_28012025_23_04_17_10344.jpg
/home/pi/Desktop/images/28012025/23/04/image_28012025_23_04_26_9367.jpg
/home/pi/Desktop/images/28012025/23/04/image_28012025_23_04_37_10457.jpg
/home/pi/Desktop/images/28012025/23/04/image_28012025_23_04_57_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9158837795257568 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 12:04:42.146453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/03/image_28012025_23_03_56_9415.jpg', '/home/pi/Desktop/images/28012025/23/03/image_28012025_23_04_07_10448.jpg', '/home/pi/Desktop/images/28012025/23/04/image_28012025_23_04_17_10344.jpg', '/home/pi/Desktop/images/28012025/23/04/image_28012025_23_04_26_9367.jpg', '/home/pi/Desktop/images/28012025/23/04/image_28012025_23_04_37_10457.jpg', '/home/pi/Desktop/images/28012025/23/04/image_28012025_23_04_57_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/03/image_28012025_23_03_56_9415.jpg
/home/pi/Desktop/images/28012025/23/03/image_28012025_23_04_07_10448.jpg
/home/pi/Desktop/images/28012025/23/04/image_28012025_23_04_17_10344.jpg
/home/pi/Desktop/images/28012025/23/04/image_28012025_23_04_26_9367.jpg
/home/pi/Desktop/images/28012025/23/04/image_28012025_23_04_37_10457.jpg
/home/pi/Desktop/images/28012025/23/04/image_28012025_23_04_57_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":["1333298082","1333298093","1333298099","1333298150","1333298097","1333298088"],"photo_ids_order":["1333298082","1333298088","1333298093","1333298097","1333298099","1333298150"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/415fe97fb4160843f2439c17716b21a9.jpg","text":"TemporaryFile(/tmp/multipartBody4534932780831859136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321543546,"filename":"image_28012025_23_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/1/31/add2b65a6a1dbe3ac0d0d819a2a38855.jpg","text":"TemporaryFile(/tmp/multipartBody1013043696677512025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321543546,"filename":"image_28012025_23_04_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/1/31/4fa4b601869f2fffe0a4e90310c620f8.jpg","text":"TemporaryFile(/tmp/multipartBody3302055638329886894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321543546,"filename":"image_28012025_23_04_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/1/31/71c7ee404ef03d94cc93f71a24011794.jpg","text":"TemporaryFile(/tmp/multipartBody7083247439178991071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321543546,"filename":"image_28012025_23_04_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/1/31/e8950d2d156f86c712e1acfa95080aa1.jpg","text":"TemporaryFile(/tmp/multipartBody5678722833427950663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321543546,"filename":"image_28012025_23_04_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/1/31/a07ca4548c55e19fefddc6f80787a80e.jpg","text":"TemporaryFile(/tmp/multipartBody2243611973311141793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321543546,"filename":"image_28012025_23_04_07_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333298093","file1":"1333298088","file0":"1333298082","file4":"1333298099","file5":"1333298150","file3":"1333298097"},"map_files_photo_id_array":[{"photo_id":"1333298150","filename":"file5"},{"photo_id":"1333298093","filename":"file2"},{"photo_id":"1333298099","filename":"file4"},{"photo_id":"1333298088","filename":"file1"},{"photo_id":"1333298082","filename":"file0"},{"photo_id":"1333298097","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333298082":["hashtag1","hashtag2"]},{"1333298093":["hashtag1","hashtag2"]},{"1333298099":["hashtag1","hashtag2"]},{"1333298150":["hashtag1","hashtag2"]},{"1333298097":["hashtag1","hashtag2"]},{"1333298088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333298082, 1333298093, 1333298099, 1333298150, 1333298097, 1333298088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03664183616638 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:05:32.434887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/04/image_28012025_23_05_06_9334.jpg', '/home/pi/Desktop/images/28012025/23/05/image_28012025_23_05_16_10400.jpg', '/home/pi/Desktop/images/28012025/23/05/image_28012025_23_05_27_10456.jpg', '/home/pi/Desktop/images/28012025/23/05/image_28012025_23_05_36_9493.jpg', '/home/pi/Desktop/images/28012025/23/05/image_28012025_23_05_47_10360.jpg', '/home/pi/Desktop/images/28012025/23/05/image_28012025_23_05_56_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/04/image_28012025_23_05_06_9334.jpg
/home/pi/Desktop/images/28012025/23/05/image_28012025_23_05_16_10400.jpg
/home/pi/Desktop/images/28012025/23/05/image_28012025_23_05_27_10456.jpg
/home/pi/Desktop/images/28012025/23/05/image_28012025_23_05_36_9493.jpg
/home/pi/Desktop/images/28012025/23/05/image_28012025_23_05_47_10360.jpg
/home/pi/Desktop/images/28012025/23/05/image_28012025_23_05_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":["1333298328","1333298313","1333298324","1333298318","1333298251","1333298326"],"photo_ids_order":["1333298251","1333298313","1333298318","1333298324","1333298326","1333298328"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1de92f4fb26935b278b233455749361c.jpg","text":"TemporaryFile(/tmp/multipartBody6850273617466232191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321594731,"filename":"image_28012025_23_05_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/1/31/6400e0aa8ed1f19f70f64fb61d1fefb3.jpg","text":"TemporaryFile(/tmp/multipartBody4622857083994828270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321594731,"filename":"image_28012025_23_05_16_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/09de7489d0566ab200a6ffa1bf9813bc.jpg","text":"TemporaryFile(/tmp/multipartBody7441400890614911442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321594731,"filename":"image_28012025_23_05_36_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2a4f3b9864c6312a1a174210ca583587.jpg","text":"TemporaryFile(/tmp/multipartBody3685045995484628114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321594731,"filename":"image_28012025_23_05_27_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8fd59f6d199b2da7e9254552d05e065a.jpg","text":"TemporaryFile(/tmp/multipartBody1401381627644215349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321594731,"filename":"image_28012025_23_05_06_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b8aceb7eca51e5f6bd41d953648c30f3.jpg","text":"TemporaryFile(/tmp/multipartBody1769200131341451975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321594731,"filename":"image_28012025_23_05_47_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333298318","file1":"1333298313","file0":"1333298251","file4":"1333298326","file5":"1333298328","file3":"1333298324"},"map_files_photo_id_array":[{"photo_id":"1333298328","filename":"file5"},{"photo_id":"1333298318","filename":"file2"},{"photo_id":"1333298326","filename":"file4"},{"photo_id":"1333298313","filename":"file1"},{"photo_id":"1333298251","filename":"file0"},{"photo_id":"1333298324","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333298328":["hashtag1","hashtag2"]},{"1333298313":["hashtag1","hashtag2"]},{"1333298324":["hashtag1","hashtag2"]},{"1333298318":["hashtag1","hashtag2"]},{"1333298251":["hashtag1","hashtag2"]},{"1333298326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333298328, 1333298313, 1333298324, 1333298318, 1333298251, 1333298326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.92967915534973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:06:32.674558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/05/image_28012025_23_06_06_10436.jpg', '/home/pi/Desktop/images/28012025/23/06/image_28012025_23_06_16_9393.jpg', '/home/pi/Desktop/images/28012025/23/06/image_28012025_23_06_26_10438.jpg', '/home/pi/Desktop/images/28012025/23/06/image_28012025_23_06_37_10337.jpg', '/home/pi/Desktop/images/28012025/23/06/image_28012025_23_06_46_9340.jpg', '/home/pi/Desktop/images/28012025/23/06/image_28012025_23_06_56_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/05/image_28012025_23_06_06_10436.jpg
/home/pi/Desktop/images/28012025/23/06/image_28012025_23_06_16_9393.jpg
/home/pi/Desktop/images/28012025/23/06/image_28012025_23_06_26_10438.jpg
/home/pi/Desktop/images/28012025/23/06/image_28012025_23_06_37_10337.jpg
/home/pi/Desktop/images/28012025/23/06/image_28012025_23_06_46_9340.jpg
/home/pi/Desktop/images/28012025/23/06/image_28012025_23_06_56_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":["1333298373","1333298363","1333298368","1333298353","1333298376","1333298358"],"photo_ids_order":["1333298353","1333298358","1333298363","1333298368","1333298373","1333298376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e4068a2a2c5f781bdb4929942d5d8d75.jpg","text":"TemporaryFile(/tmp/multipartBody4235465519065317333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321654963,"filename":"image_28012025_23_06_46_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7a0f5f3b46256178ac5889b203472711.jpg","text":"TemporaryFile(/tmp/multipartBody6417261289861709634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321654963,"filename":"image_28012025_23_06_26_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/86967b8d8111a4b4cca1cdd63e780a2f.jpg","text":"TemporaryFile(/tmp/multipartBody436461882252662818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321654963,"filename":"image_28012025_23_06_37_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/746c74c7277934895f8c4970def084f0.jpg","text":"TemporaryFile(/tmp/multipartBody2431152101304920930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321654963,"filename":"image_28012025_23_06_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/1/31/8e396cbfc17f569aa31c605520f88cba.jpg","text":"TemporaryFile(/tmp/multipartBody6629209039859743086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321654963,"filename":"image_28012025_23_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/1/31/dcdf6bae9b80270c90e459571f257c29.jpg","text":"TemporaryFile(/tmp/multipartBody6862097357944622400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321654963,"filename":"image_28012025_23_06_16_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333298363","file1":"1333298358","file0":"1333298353","file4":"1333298373","file5":"1333298376","file3":"1333298368"},"map_files_photo_id_array":[{"photo_id":"1333298376","filename":"file5"},{"photo_id":"1333298363","filename":"file2"},{"photo_id":"1333298373","filename":"file4"},{"photo_id":"1333298358","filename":"file1"},{"photo_id":"1333298353","filename":"file0"},{"photo_id":"1333298368","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333298373":["hashtag1","hashtag2"]},{"1333298363":["hashtag1","hashtag2"]},{"1333298368":["hashtag1","hashtag2"]},{"1333298353":["hashtag1","hashtag2"]},{"1333298376":["hashtag1","hashtag2"]},{"1333298358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333298373, 1333298363, 1333298368, 1333298353, 1333298376, 1333298358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74555468559265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:07:32.850511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/06/image_28012025_23_07_07_10323.jpg', '/home/pi/Desktop/images/28012025/23/07/image_28012025_23_07_16_9494.jpg', '/home/pi/Desktop/images/28012025/23/07/image_28012025_23_07_27_10358.jpg', '/home/pi/Desktop/images/28012025/23/07/image_28012025_23_07_36_9417.jpg', '/home/pi/Desktop/images/28012025/23/07/image_28012025_23_07_46_10420.jpg', '/home/pi/Desktop/images/28012025/23/07/image_28012025_23_07_57_10393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/06/image_28012025_23_07_07_10323.jpg
/home/pi/Desktop/images/28012025/23/07/image_28012025_23_07_16_9494.jpg
/home/pi/Desktop/images/28012025/23/07/image_28012025_23_07_27_10358.jpg
/home/pi/Desktop/images/28012025/23/07/image_28012025_23_07_36_9417.jpg
/home/pi/Desktop/images/28012025/23/07/image_28012025_23_07_46_10420.jpg
/home/pi/Desktop/images/28012025/23/07/image_28012025_23_07_57_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":["1333298424","1333298409","1333298396","1333298402","1333298428","1333298431"],"photo_ids_order":["1333298396","1333298402","1333298409","1333298424","1333298428","1333298431"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/536b8cbf5ab8056413b6b452d371fa92.jpg","text":"TemporaryFile(/tmp/multipartBody4736984364611559705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321715141,"filename":"image_28012025_23_07_36_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3cfc03d1270a9a6339c81c4867f7a645.jpg","text":"TemporaryFile(/tmp/multipartBody3011397252599307235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321715141,"filename":"image_28012025_23_07_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/1/31/3b066c51c9c5522ba77f0eb7ada24a94.jpg","text":"TemporaryFile(/tmp/multipartBody2039198144971969738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321715141,"filename":"image_28012025_23_07_07_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c5d82f897d75824fc1f5b6ad95ec8fff.jpg","text":"TemporaryFile(/tmp/multipartBody5003629711358880939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321715141,"filename":"image_28012025_23_07_16_9494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d82ca346797629030597ea9e0c243264.jpg","text":"TemporaryFile(/tmp/multipartBody2511221392130584436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321715141,"filename":"image_28012025_23_07_46_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b467f30cc2cdcecc55c2cfba0cfa792e.jpg","text":"TemporaryFile(/tmp/multipartBody1998395838013713228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321715141,"filename":"image_28012025_23_07_57_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333298409","file1":"1333298402","file0":"1333298396","file4":"1333298428","file5":"1333298431","file3":"1333298424"},"map_files_photo_id_array":[{"photo_id":"1333298431","filename":"file5"},{"photo_id":"1333298409","filename":"file2"},{"photo_id":"1333298428","filename":"file4"},{"photo_id":"1333298402","filename":"file1"},{"photo_id":"1333298396","filename":"file0"},{"photo_id":"1333298424","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333298424":["hashtag1","hashtag2"]},{"1333298409":["hashtag1","hashtag2"]},{"1333298396":["hashtag1","hashtag2"]},{"1333298402":["hashtag1","hashtag2"]},{"1333298428":["hashtag1","hashtag2"]},{"1333298431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333298424, 1333298409, 1333298396, 1333298402, 1333298428, 1333298431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.06420826911926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:08:33.015659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/07/image_28012025_23_08_06_9381.jpg', '/home/pi/Desktop/images/28012025/23/08/image_28012025_23_08_17_10328.jpg', '/home/pi/Desktop/images/28012025/23/08/image_28012025_23_08_26_9411.jpg', '/home/pi/Desktop/images/28012025/23/08/image_28012025_23_08_36_10445.jpg', '/home/pi/Desktop/images/28012025/23/08/image_28012025_23_08_47_10347.jpg', '/home/pi/Desktop/images/28012025/23/08/image_28012025_23_08_56_9516.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/07/image_28012025_23_08_06_9381.jpg
/home/pi/Desktop/images/28012025/23/08/image_28012025_23_08_17_10328.jpg
/home/pi/Desktop/images/28012025/23/08/image_28012025_23_08_26_9411.jpg
/home/pi/Desktop/images/28012025/23/08/image_28012025_23_08_36_10445.jpg
/home/pi/Desktop/images/28012025/23/08/image_28012025_23_08_47_10347.jpg
/home/pi/Desktop/images/28012025/23/08/image_28012025_23_08_56_9516.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333298466","1333298454","1333298448","1333298471","1333298476","1333298461"],"photo_ids_order":["1333298448","1333298454","1333298461","1333298466","1333298471","1333298476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d9441720e1d1f80941841f752a85d6b9.jpg","text":"TemporaryFile(/tmp/multipartBody7465901915903564204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321775305,"filename":"image_28012025_23_08_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/1/31/0af5650bbdd3fe4edadfd93a69e7f76c.jpg","text":"TemporaryFile(/tmp/multipartBody2833245673020765823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321775305,"filename":"image_28012025_23_08_17_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8be711a9e05589239fb83013cc26696b.jpg","text":"TemporaryFile(/tmp/multipartBody8854139471805282895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321775305,"filename":"image_28012025_23_08_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/1/31/10682262b541f80cc1c60247f881d11e.jpg","text":"TemporaryFile(/tmp/multipartBody2885040657083546301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321775305,"filename":"image_28012025_23_08_47_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/93818af03b782079938914f281d8d0d8.jpg","text":"TemporaryFile(/tmp/multipartBody3309208577813842799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321775305,"filename":"image_28012025_23_08_56_9516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/56dc863a4a6a52f91eaf88a2ca4a7d71.jpg","text":"TemporaryFile(/tmp/multipartBody103571621468404107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321775305,"filename":"image_28012025_23_08_26_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333298461","file1":"1333298454","file0":"1333298448","file4":"1333298471","file5":"1333298476","file3":"1333298466"},"map_files_photo_id_array":[{"photo_id":"1333298476","filename":"file5"},{"photo_id":"1333298461","filename":"file2"},{"photo_id":"1333298471","filename":"file4"},{"photo_id":"1333298454","filename":"file1"},{"photo_id":"1333298448","filename":"file0"},{"photo_id":"1333298466","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333298466":["hashtag1","hashtag2"]},{"1333298454":["hashtag1","hashtag2"]},{"1333298448":["hashtag1","hashtag2"]},{"1333298471":["hashtag1","hashtag2"]},{"1333298476":["hashtag1","hashtag2"]},{"1333298461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333298466, 1333298454, 1333298448, 1333298471, 1333298476, 1333298461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.28038430213928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:09:32.302682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/08/image_28012025_23_09_07_10322.jpg', '/home/pi/Desktop/images/28012025/23/09/image_28012025_23_09_16_9360.jpg', '/home/pi/Desktop/images/28012025/23/09/image_28012025_23_09_26_10403.jpg', '/home/pi/Desktop/images/28012025/23/09/image_28012025_23_09_37_10471.jpg', '/home/pi/Desktop/images/28012025/23/09/image_28012025_23_09_46_9577.jpg', '/home/pi/Desktop/images/28012025/23/09/image_28012025_23_09_57_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/08/image_28012025_23_09_07_10322.jpg
/home/pi/Desktop/images/28012025/23/09/image_28012025_23_09_16_9360.jpg
/home/pi/Desktop/images/28012025/23/09/image_28012025_23_09_26_10403.jpg
/home/pi/Desktop/images/28012025/23/09/image_28012025_23_09_37_10471.jpg
/home/pi/Desktop/images/28012025/23/09/image_28012025_23_09_46_9577.jpg
/home/pi/Desktop/images/28012025/23/09/image_28012025_23_09_57_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9225552082061768 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 12:09:42.260032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/08/image_28012025_23_09_07_10322.jpg', '/home/pi/Desktop/images/28012025/23/09/image_28012025_23_09_16_9360.jpg', '/home/pi/Desktop/images/28012025/23/09/image_28012025_23_09_26_10403.jpg', '/home/pi/Desktop/images/28012025/23/09/image_28012025_23_09_37_10471.jpg', '/home/pi/Desktop/images/28012025/23/09/image_28012025_23_09_46_9577.jpg', '/home/pi/Desktop/images/28012025/23/09/image_28012025_23_09_57_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/08/image_28012025_23_09_07_10322.jpg
/home/pi/Desktop/images/28012025/23/09/image_28012025_23_09_16_9360.jpg
/home/pi/Desktop/images/28012025/23/09/image_28012025_23_09_26_10403.jpg
/home/pi/Desktop/images/28012025/23/09/image_28012025_23_09_37_10471.jpg
/home/pi/Desktop/images/28012025/23/09/image_28012025_23_09_46_9577.jpg
/home/pi/Desktop/images/28012025/23/09/image_28012025_23_09_57_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":["1333298637","1333298797","1333298632","1333298617","1333298568","1333298682"],"photo_ids_order":["1333298568","1333298617","1333298632","1333298637","1333298682","1333298797"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/63e9b7d7e4e95760aa35ca731aee7059.jpg","text":"TemporaryFile(/tmp/multipartBody699514292962463225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321843667,"filename":"image_28012025_23_09_37_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f050fc8cf23773619a2e70adbd452481.jpg","text":"TemporaryFile(/tmp/multipartBody7776606111117528691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321843667,"filename":"image_28012025_23_09_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/1/31/5a9f7173c9fe7161214b6b386ae53070.jpg","text":"TemporaryFile(/tmp/multipartBody4321398635254575372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321843667,"filename":"image_28012025_23_09_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/1/31/cd3d63615ce59b6025f9c12b4b7df9e9.jpg","text":"TemporaryFile(/tmp/multipartBody8843689781768255656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321843667,"filename":"image_28012025_23_09_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/1/31/83e71f95aa2f3938c7b120c2b8fc202d.jpg","text":"TemporaryFile(/tmp/multipartBody4071861205130064969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321843667,"filename":"image_28012025_23_09_07_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/022790fef53b4c20674a7ffc49d35907.jpg","text":"TemporaryFile(/tmp/multipartBody3039919948884951620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321843667,"filename":"image_28012025_23_09_46_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333298632","file1":"1333298617","file0":"1333298568","file4":"1333298682","file5":"1333298797","file3":"1333298637"},"map_files_photo_id_array":[{"photo_id":"1333298797","filename":"file5"},{"photo_id":"1333298632","filename":"file2"},{"photo_id":"1333298682","filename":"file4"},{"photo_id":"1333298617","filename":"file1"},{"photo_id":"1333298568","filename":"file0"},{"photo_id":"1333298637","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333298637":["hashtag1","hashtag2"]},{"1333298797":["hashtag1","hashtag2"]},{"1333298632":["hashtag1","hashtag2"]},{"1333298617":["hashtag1","hashtag2"]},{"1333298568":["hashtag1","hashtag2"]},{"1333298682":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333298637, 1333298797, 1333298632, 1333298617, 1333298568, 1333298682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.052430152893066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:10:32.397016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/09/image_28012025_23_10_06_9437.jpg', '/home/pi/Desktop/images/28012025/23/10/image_28012025_23_10_17_10352.jpg', '/home/pi/Desktop/images/28012025/23/10/image_28012025_23_10_27_9989.jpg', '/home/pi/Desktop/images/28012025/23/10/image_28012025_23_10_36_9329.jpg', '/home/pi/Desktop/images/28012025/23/10/image_28012025_23_10_46_10536.jpg', '/home/pi/Desktop/images/28012025/23/10/image_28012025_23_10_57_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/09/image_28012025_23_10_06_9437.jpg
/home/pi/Desktop/images/28012025/23/10/image_28012025_23_10_17_10352.jpg
/home/pi/Desktop/images/28012025/23/10/image_28012025_23_10_27_9989.jpg
/home/pi/Desktop/images/28012025/23/10/image_28012025_23_10_36_9329.jpg
/home/pi/Desktop/images/28012025/23/10/image_28012025_23_10_46_10536.jpg
/home/pi/Desktop/images/28012025/23/10/image_28012025_23_10_57_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":["1333299488","1333299496","1333299451","1333299492","1333299480","1333299474"],"photo_ids_order":["1333299451","1333299474","1333299480","1333299488","1333299492","1333299496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1d746ac177d2d46e0beb02452da730c1.jpg","text":"TemporaryFile(/tmp/multipartBody7901847225289290251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321894700,"filename":"image_28012025_23_10_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/1/31/bb54450af0ed039f21c51d2210116170.jpg","text":"TemporaryFile(/tmp/multipartBody5084987997167827595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321894700,"filename":"image_28012025_23_10_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/1/31/6740f7abf7a14a0176feb6e24d52198b.jpg","text":"TemporaryFile(/tmp/multipartBody7707639253122543359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321894700,"filename":"image_28012025_23_10_06_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/011703f9e71b4d98ea2f3fb730333cf3.jpg","text":"TemporaryFile(/tmp/multipartBody1738901328438898902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321894700,"filename":"image_28012025_23_10_46_10536.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f968494c3dec01b72a2217c94ee1ad97.jpg","text":"TemporaryFile(/tmp/multipartBody127759941083785627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321894700,"filename":"image_28012025_23_10_27_9989.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/263b1afcb05ff951efef7ec3e32e9895.jpg","text":"TemporaryFile(/tmp/multipartBody4447208076378105668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321894700,"filename":"image_28012025_23_10_17_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333299480","file1":"1333299474","file0":"1333299451","file4":"1333299492","file5":"1333299496","file3":"1333299488"},"map_files_photo_id_array":[{"photo_id":"1333299496","filename":"file5"},{"photo_id":"1333299480","filename":"file2"},{"photo_id":"1333299492","filename":"file4"},{"photo_id":"1333299474","filename":"file1"},{"photo_id":"1333299451","filename":"file0"},{"photo_id":"1333299488","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333299488":["hashtag1","hashtag2"]},{"1333299496":["hashtag1","hashtag2"]},{"1333299451":["hashtag1","hashtag2"]},{"1333299492":["hashtag1","hashtag2"]},{"1333299480":["hashtag1","hashtag2"]},{"1333299474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333299488, 1333299496, 1333299451, 1333299492, 1333299480, 1333299474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.68367338180542 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:11:32.693625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/10/image_28012025_23_11_06_9376.jpg', '/home/pi/Desktop/images/28012025/23/11/image_28012025_23_11_17_10350.jpg', '/home/pi/Desktop/images/28012025/23/11/image_28012025_23_11_26_9348.jpg', '/home/pi/Desktop/images/28012025/23/11/image_28012025_23_11_36_10452.jpg', '/home/pi/Desktop/images/28012025/23/11/image_28012025_23_11_47_10359.jpg', '/home/pi/Desktop/images/28012025/23/11/image_28012025_23_11_56_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/10/image_28012025_23_11_06_9376.jpg
/home/pi/Desktop/images/28012025/23/11/image_28012025_23_11_17_10350.jpg
/home/pi/Desktop/images/28012025/23/11/image_28012025_23_11_26_9348.jpg
/home/pi/Desktop/images/28012025/23/11/image_28012025_23_11_36_10452.jpg
/home/pi/Desktop/images/28012025/23/11/image_28012025_23_11_47_10359.jpg
/home/pi/Desktop/images/28012025/23/11/image_28012025_23_11_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":["1333299810","1333299832","1333299798","1333299690","1333299849","1333299822"],"photo_ids_order":["1333299690","1333299798","1333299810","1333299822","1333299832","1333299849"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0e0724d779dcd05b805a38535cb45eb2.jpg","text":"TemporaryFile(/tmp/multipartBody5857436757931423336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321954991,"filename":"image_28012025_23_11_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/1/31/ed18f7b362512dd6795fa6c566948ebb.jpg","text":"TemporaryFile(/tmp/multipartBody230956746535767765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321954991,"filename":"image_28012025_23_11_47_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/869dfb62884d4e8646db5a3df9e1b9ca.jpg","text":"TemporaryFile(/tmp/multipartBody5512146183467523847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321954991,"filename":"image_28012025_23_11_17_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d98367ed47905e010299d149618d01d4.jpg","text":"TemporaryFile(/tmp/multipartBody6149210685803506851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321954991,"filename":"image_28012025_23_11_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/1/31/9554178378fe02e888c1279f60e83eda.jpg","text":"TemporaryFile(/tmp/multipartBody4944334620478400862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321954991,"filename":"image_28012025_23_11_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/1/31/588c46efae03215265923314590ebea2.jpg","text":"TemporaryFile(/tmp/multipartBody2730215647335162259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738321954991,"filename":"image_28012025_23_11_36_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333299810","file1":"1333299798","file0":"1333299690","file4":"1333299832","file5":"1333299849","file3":"1333299822"},"map_files_photo_id_array":[{"photo_id":"1333299849","filename":"file5"},{"photo_id":"1333299810","filename":"file2"},{"photo_id":"1333299832","filename":"file4"},{"photo_id":"1333299798","filename":"file1"},{"photo_id":"1333299690","filename":"file0"},{"photo_id":"1333299822","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333299810":["hashtag1","hashtag2"]},{"1333299832":["hashtag1","hashtag2"]},{"1333299798":["hashtag1","hashtag2"]},{"1333299690":["hashtag1","hashtag2"]},{"1333299849":["hashtag1","hashtag2"]},{"1333299822":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333299810, 1333299832, 1333299798, 1333299690, 1333299849, 1333299822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.96826696395874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:12:32.914535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/11/image_28012025_23_12_06_10345.jpg', '/home/pi/Desktop/images/28012025/23/12/image_28012025_23_12_17_10400.jpg', '/home/pi/Desktop/images/28012025/23/12/image_28012025_23_12_26_9397.jpg', '/home/pi/Desktop/images/28012025/23/12/image_28012025_23_12_37_10359.jpg', '/home/pi/Desktop/images/28012025/23/12/image_28012025_23_12_46_9423.jpg', '/home/pi/Desktop/images/28012025/23/12/image_28012025_23_12_56_10423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/11/image_28012025_23_12_06_10345.jpg
/home/pi/Desktop/images/28012025/23/12/image_28012025_23_12_17_10400.jpg
/home/pi/Desktop/images/28012025/23/12/image_28012025_23_12_26_9397.jpg
/home/pi/Desktop/images/28012025/23/12/image_28012025_23_12_37_10359.jpg
/home/pi/Desktop/images/28012025/23/12/image_28012025_23_12_46_9423.jpg
/home/pi/Desktop/images/28012025/23/12/image_28012025_23_12_56_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":["1333299947","1333300146","1333299934","1333299963","1333299942","1333300034"],"photo_ids_order":["1333299934","1333299942","1333299947","1333299963","1333300034","1333300146"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e7ca64d8320615e2e623facf6d940e56.jpg","text":"TemporaryFile(/tmp/multipartBody6789899616366105471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322015228,"filename":"image_28012025_23_12_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/1/31/074bb4bc49dae1134b587e23c6c39dab.jpg","text":"TemporaryFile(/tmp/multipartBody1298033034325953214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322015228,"filename":"image_28012025_23_12_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/1/31/a284a467e0e767c433d1223a5af29288.jpg","text":"TemporaryFile(/tmp/multipartBody4574653638932838899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322015228,"filename":"image_28012025_23_12_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/1/31/65ea5f65da461836e0383b3f2ff232ad.jpg","text":"TemporaryFile(/tmp/multipartBody1839041967143234028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322015228,"filename":"image_28012025_23_12_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/1/31/30af0d59dbe9a063c8e3ee2b6e1f4386.jpg","text":"TemporaryFile(/tmp/multipartBody8248475298736520463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322015228,"filename":"image_28012025_23_12_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/1/31/4193be206d4df301aa6d1f4c01c48912.jpg","text":"TemporaryFile(/tmp/multipartBody6174829057227439880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322015228,"filename":"image_28012025_23_12_46_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333299947","file1":"1333299942","file0":"1333299934","file4":"1333300034","file5":"1333300146","file3":"1333299963"},"map_files_photo_id_array":[{"photo_id":"1333300146","filename":"file5"},{"photo_id":"1333299947","filename":"file2"},{"photo_id":"1333300034","filename":"file4"},{"photo_id":"1333299942","filename":"file1"},{"photo_id":"1333299934","filename":"file0"},{"photo_id":"1333299963","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333299947":["hashtag1","hashtag2"]},{"1333300146":["hashtag1","hashtag2"]},{"1333299934":["hashtag1","hashtag2"]},{"1333299963":["hashtag1","hashtag2"]},{"1333299942":["hashtag1","hashtag2"]},{"1333300034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333299947, 1333300146, 1333299934, 1333299963, 1333299942, 1333300034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.47915506362915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:13:33.084038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/12/image_28012025_23_13_06_9431.jpg', '/home/pi/Desktop/images/28012025/23/13/image_28012025_23_13_16_10364.jpg', '/home/pi/Desktop/images/28012025/23/13/image_28012025_23_13_27_10356.jpg', '/home/pi/Desktop/images/28012025/23/13/image_28012025_23_13_36_9361.jpg', '/home/pi/Desktop/images/28012025/23/13/image_28012025_23_13_46_10424.jpg', '/home/pi/Desktop/images/28012025/23/13/image_28012025_23_13_57_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/12/image_28012025_23_13_06_9431.jpg
/home/pi/Desktop/images/28012025/23/13/image_28012025_23_13_16_10364.jpg
/home/pi/Desktop/images/28012025/23/13/image_28012025_23_13_27_10356.jpg
/home/pi/Desktop/images/28012025/23/13/image_28012025_23_13_36_9361.jpg
/home/pi/Desktop/images/28012025/23/13/image_28012025_23_13_46_10424.jpg
/home/pi/Desktop/images/28012025/23/13/image_28012025_23_13_57_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":["1333300297","1333300261","1333300255","1333300290","1333300302","1333300305"],"photo_ids_order":["1333300255","1333300261","1333300290","1333300297","1333300302","1333300305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9185af74cddf9f85b7db5dca28d73de0.jpg","text":"TemporaryFile(/tmp/multipartBody7725816315412106170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322075385,"filename":"image_28012025_23_13_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/1/31/758eb0286d2e11efb7a37988703c36f9.jpg","text":"TemporaryFile(/tmp/multipartBody5448101668219145028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322075385,"filename":"image_28012025_23_13_16_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ea628cfa0dff2e7cb4491724fc0c794e.jpg","text":"TemporaryFile(/tmp/multipartBody33382275681731200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322075385,"filename":"image_28012025_23_13_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/1/31/026e30e16916018df936226badfc5144.jpg","text":"TemporaryFile(/tmp/multipartBody3006313716730717817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322075385,"filename":"image_28012025_23_13_27_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/297e847b5f9decf432ff5c21c4378467.jpg","text":"TemporaryFile(/tmp/multipartBody2287809670085415445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322075385,"filename":"image_28012025_23_13_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/1/31/26bfa35f2b94b5ea046256aeae94c865.jpg","text":"TemporaryFile(/tmp/multipartBody7540513338489093551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322075385,"filename":"image_28012025_23_13_57_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333300290","file1":"1333300261","file0":"1333300255","file4":"1333300302","file5":"1333300305","file3":"1333300297"},"map_files_photo_id_array":[{"photo_id":"1333300305","filename":"file5"},{"photo_id":"1333300290","filename":"file2"},{"photo_id":"1333300302","filename":"file4"},{"photo_id":"1333300261","filename":"file1"},{"photo_id":"1333300255","filename":"file0"},{"photo_id":"1333300297","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333300297":["hashtag1","hashtag2"]},{"1333300261":["hashtag1","hashtag2"]},{"1333300255":["hashtag1","hashtag2"]},{"1333300290":["hashtag1","hashtag2"]},{"1333300302":["hashtag1","hashtag2"]},{"1333300305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333300297, 1333300261, 1333300255, 1333300290, 1333300302, 1333300305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83892774581909 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:14:32.562525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/13/image_28012025_23_14_06_9333.jpg', '/home/pi/Desktop/images/28012025/23/14/image_28012025_23_14_16_10375.jpg', '/home/pi/Desktop/images/28012025/23/14/image_28012025_23_14_27_10365.jpg', '/home/pi/Desktop/images/28012025/23/14/image_28012025_23_14_36_9465.jpg', '/home/pi/Desktop/images/28012025/23/14/image_28012025_23_14_47_10338.jpg', '/home/pi/Desktop/images/28012025/23/14/image_28012025_23_14_56_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/13/image_28012025_23_14_06_9333.jpg
/home/pi/Desktop/images/28012025/23/14/image_28012025_23_14_16_10375.jpg
/home/pi/Desktop/images/28012025/23/14/image_28012025_23_14_27_10365.jpg
/home/pi/Desktop/images/28012025/23/14/image_28012025_23_14_36_9465.jpg
/home/pi/Desktop/images/28012025/23/14/image_28012025_23_14_47_10338.jpg
/home/pi/Desktop/images/28012025/23/14/image_28012025_23_14_56_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333300396","1333300399","1333300402","1333300392","1333300385","1333300404"],"photo_ids_order":["1333300385","1333300392","1333300396","1333300399","1333300402","1333300404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/01d3ad17fad51f063f3f44ba7b106d15.jpg","text":"TemporaryFile(/tmp/multipartBody4439320701867885291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322134865,"filename":"image_28012025_23_14_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/1/31/37a97caf2d552eeabc45fd118e8f8354.jpg","text":"TemporaryFile(/tmp/multipartBody2280444480983856245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322134865,"filename":"image_28012025_23_14_36_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fdcec788636f7773d90c8a0a4175ed11.jpg","text":"TemporaryFile(/tmp/multipartBody3509916475672143973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322134865,"filename":"image_28012025_23_14_47_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/972b97fa43ef80a1c6cba8351430aa4b.jpg","text":"TemporaryFile(/tmp/multipartBody6623995683347468578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322134865,"filename":"image_28012025_23_14_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/1/31/42bfd82a7ac116c70024c86579927459.jpg","text":"TemporaryFile(/tmp/multipartBody5910461561862677327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322134865,"filename":"image_28012025_23_14_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/1/31/963ba10612088839ab885cab3f27afbc.jpg","text":"TemporaryFile(/tmp/multipartBody8219092700507817328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322134865,"filename":"image_28012025_23_14_56_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333300396","file1":"1333300392","file0":"1333300385","file4":"1333300402","file5":"1333300404","file3":"1333300399"},"map_files_photo_id_array":[{"photo_id":"1333300404","filename":"file5"},{"photo_id":"1333300396","filename":"file2"},{"photo_id":"1333300402","filename":"file4"},{"photo_id":"1333300392","filename":"file1"},{"photo_id":"1333300385","filename":"file0"},{"photo_id":"1333300399","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333300396":["hashtag1","hashtag2"]},{"1333300399":["hashtag1","hashtag2"]},{"1333300402":["hashtag1","hashtag2"]},{"1333300392":["hashtag1","hashtag2"]},{"1333300385":["hashtag1","hashtag2"]},{"1333300404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333300396, 1333300399, 1333300402, 1333300392, 1333300385, 1333300404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.31036615371704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:15:32.751115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/14/image_28012025_23_15_06_10385.jpg', '/home/pi/Desktop/images/28012025/23/15/image_28012025_23_15_17_10337.jpg', '/home/pi/Desktop/images/28012025/23/15/image_28012025_23_15_26_9426.jpg', '/home/pi/Desktop/images/28012025/23/15/image_28012025_23_15_37_10447.jpg', '/home/pi/Desktop/images/28012025/23/15/image_28012025_23_15_46_9445.jpg', '/home/pi/Desktop/images/28012025/23/15/image_28012025_23_15_56_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/14/image_28012025_23_15_06_10385.jpg
/home/pi/Desktop/images/28012025/23/15/image_28012025_23_15_17_10337.jpg
/home/pi/Desktop/images/28012025/23/15/image_28012025_23_15_26_9426.jpg
/home/pi/Desktop/images/28012025/23/15/image_28012025_23_15_37_10447.jpg
/home/pi/Desktop/images/28012025/23/15/image_28012025_23_15_46_9445.jpg
/home/pi/Desktop/images/28012025/23/15/image_28012025_23_15_56_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":["1333300522","1333300702","1333300773","1333300584","1333300475","1333300562"],"photo_ids_order":["1333300475","1333300522","1333300562","1333300584","1333300702","1333300773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/897778242157ea566ab1c81fd83c49c8.jpg","text":"TemporaryFile(/tmp/multipartBody9202020049396626542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322195051,"filename":"image_28012025_23_15_17_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ab5a5ae30e128b0d899dc36151bf457f.jpg","text":"TemporaryFile(/tmp/multipartBody8374463900986795874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322195051,"filename":"image_28012025_23_15_46_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/165cca31050744bd582239464b52179c.jpg","text":"TemporaryFile(/tmp/multipartBody6183529258930031023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322195051,"filename":"image_28012025_23_15_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/1/31/400efb8b8f29839ff45ae779c810e3a4.jpg","text":"TemporaryFile(/tmp/multipartBody5460274722066665677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322195051,"filename":"image_28012025_23_15_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/1/31/941fe1e2f245d83a01a4f46af0597cc4.jpg","text":"TemporaryFile(/tmp/multipartBody5130915617657668400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322195051,"filename":"image_28012025_23_15_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/1/31/cd0e1140a69c0ee4a2df8bfb891ffe9b.jpg","text":"TemporaryFile(/tmp/multipartBody4399686975680152551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322195051,"filename":"image_28012025_23_15_26_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333300562","file1":"1333300522","file0":"1333300475","file4":"1333300702","file5":"1333300773","file3":"1333300584"},"map_files_photo_id_array":[{"photo_id":"1333300773","filename":"file5"},{"photo_id":"1333300562","filename":"file2"},{"photo_id":"1333300702","filename":"file4"},{"photo_id":"1333300522","filename":"file1"},{"photo_id":"1333300475","filename":"file0"},{"photo_id":"1333300584","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333300522":["hashtag1","hashtag2"]},{"1333300702":["hashtag1","hashtag2"]},{"1333300773":["hashtag1","hashtag2"]},{"1333300584":["hashtag1","hashtag2"]},{"1333300475":["hashtag1","hashtag2"]},{"1333300562":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333300522, 1333300702, 1333300773, 1333300584, 1333300475, 1333300562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.782392501831055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:16:32.992206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/15/image_28012025_23_16_07_10404.jpg', '/home/pi/Desktop/images/28012025/23/16/image_28012025_23_16_16_9337.jpg', '/home/pi/Desktop/images/28012025/23/16/image_28012025_23_16_27_10461.jpg', '/home/pi/Desktop/images/28012025/23/16/image_28012025_23_16_36_9353.jpg', '/home/pi/Desktop/images/28012025/23/16/image_28012025_23_16_46_10370.jpg', '/home/pi/Desktop/images/28012025/23/16/image_28012025_23_16_57_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/15/image_28012025_23_16_07_10404.jpg
/home/pi/Desktop/images/28012025/23/16/image_28012025_23_16_16_9337.jpg
/home/pi/Desktop/images/28012025/23/16/image_28012025_23_16_27_10461.jpg
/home/pi/Desktop/images/28012025/23/16/image_28012025_23_16_36_9353.jpg
/home/pi/Desktop/images/28012025/23/16/image_28012025_23_16_46_10370.jpg
/home/pi/Desktop/images/28012025/23/16/image_28012025_23_16_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":["1333301437","1333301410","1333301449","1333301416","1333301462","1333301441"],"photo_ids_order":["1333301410","1333301416","1333301437","1333301441","1333301449","1333301462"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f3b024884c8c2177338310a74cc2f5b3.jpg","text":"TemporaryFile(/tmp/multipartBody1508666730671528470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322255301,"filename":"image_28012025_23_16_27_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2a08056243eb8f3120ab6e4da2689e22.jpg","text":"TemporaryFile(/tmp/multipartBody7586466358582533221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322255301,"filename":"image_28012025_23_16_07_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4f3647ad88892c4523675d83aac27021.jpg","text":"TemporaryFile(/tmp/multipartBody6051421888498424460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322255301,"filename":"image_28012025_23_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/1/31/469209c76c98eb49afe2a5c1f9deaabd.jpg","text":"TemporaryFile(/tmp/multipartBody1017110271251867680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322255301,"filename":"image_28012025_23_16_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/1/31/7541841deb6066199819af924b619706.jpg","text":"TemporaryFile(/tmp/multipartBody88603318162905839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322255301,"filename":"image_28012025_23_16_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/1/31/52818e41010a002d8f2a8737c3f809ae.jpg","text":"TemporaryFile(/tmp/multipartBody3104811006683715254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322255301,"filename":"image_28012025_23_16_36_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333301437","file1":"1333301416","file0":"1333301410","file4":"1333301449","file5":"1333301462","file3":"1333301441"},"map_files_photo_id_array":[{"photo_id":"1333301462","filename":"file5"},{"photo_id":"1333301437","filename":"file2"},{"photo_id":"1333301449","filename":"file4"},{"photo_id":"1333301416","filename":"file1"},{"photo_id":"1333301410","filename":"file0"},{"photo_id":"1333301441","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333301437":["hashtag1","hashtag2"]},{"1333301410":["hashtag1","hashtag2"]},{"1333301449":["hashtag1","hashtag2"]},{"1333301416":["hashtag1","hashtag2"]},{"1333301462":["hashtag1","hashtag2"]},{"1333301441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333301437, 1333301410, 1333301449, 1333301416, 1333301462, 1333301441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.51382541656494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:17:33.116362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/16/image_28012025_23_17_06_9392.jpg', '/home/pi/Desktop/images/28012025/23/17/image_28012025_23_17_16_10424.jpg', '/home/pi/Desktop/images/28012025/23/17/image_28012025_23_17_27_10354.jpg', '/home/pi/Desktop/images/28012025/23/17/image_28012025_23_17_36_9463.jpg', '/home/pi/Desktop/images/28012025/23/17/image_28012025_23_17_47_10361.jpg', '/home/pi/Desktop/images/28012025/23/17/image_28012025_23_18_06_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/16/image_28012025_23_17_06_9392.jpg
/home/pi/Desktop/images/28012025/23/17/image_28012025_23_17_16_10424.jpg
/home/pi/Desktop/images/28012025/23/17/image_28012025_23_17_27_10354.jpg
/home/pi/Desktop/images/28012025/23/17/image_28012025_23_17_36_9463.jpg
/home/pi/Desktop/images/28012025/23/17/image_28012025_23_17_47_10361.jpg
/home/pi/Desktop/images/28012025/23/17/image_28012025_23_18_06_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":["1333301821","1333301886","1333301826","1333301817","1333301797","1333301735"],"photo_ids_order":["1333301735","1333301797","1333301817","1333301821","1333301826","1333301886"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/14a6372a759a1f0d699b36b45ebedc1b.jpg","text":"TemporaryFile(/tmp/multipartBody1266844491252139191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322315403,"filename":"image_28012025_23_17_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/1/31/0c6d14a1723da10aa93fae450e86ce18.jpg","text":"TemporaryFile(/tmp/multipartBody734145896433229082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322315403,"filename":"image_28012025_23_18_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/1/31/3d992bde35cbb4f813e7fc462eb98a67.jpg","text":"TemporaryFile(/tmp/multipartBody9030860120911339113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322315403,"filename":"image_28012025_23_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/1/31/88a370fdebc65864bbed7774b6c7fab1.jpg","text":"TemporaryFile(/tmp/multipartBody5847613101579763212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322315403,"filename":"image_28012025_23_17_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/1/31/5887df5da2538837730ea82e4bce3c13.jpg","text":"TemporaryFile(/tmp/multipartBody5276249675356556928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322315403,"filename":"image_28012025_23_17_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/1/31/e953d2ead320cea74f3146ebf6610986.jpg","text":"TemporaryFile(/tmp/multipartBody7789126028876066430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322315403,"filename":"image_28012025_23_17_06_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333301817","file1":"1333301797","file0":"1333301735","file4":"1333301826","file5":"1333301886","file3":"1333301821"},"map_files_photo_id_array":[{"photo_id":"1333301886","filename":"file5"},{"photo_id":"1333301817","filename":"file2"},{"photo_id":"1333301826","filename":"file4"},{"photo_id":"1333301797","filename":"file1"},{"photo_id":"1333301735","filename":"file0"},{"photo_id":"1333301821","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333301821":["hashtag1","hashtag2"]},{"1333301886":["hashtag1","hashtag2"]},{"1333301826":["hashtag1","hashtag2"]},{"1333301817":["hashtag1","hashtag2"]},{"1333301797":["hashtag1","hashtag2"]},{"1333301735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333301821, 1333301886, 1333301826, 1333301817, 1333301797, 1333301735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30070662498474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:18:32.395557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/18/image_28012025_23_18_17_10336.jpg', '/home/pi/Desktop/images/28012025/23/18/image_28012025_23_18_26_9416.jpg', '/home/pi/Desktop/images/28012025/23/18/image_28012025_23_18_36_10391.jpg', '/home/pi/Desktop/images/28012025/23/18/image_28012025_23_18_46_9443.jpg', '/home/pi/Desktop/images/28012025/23/18/image_28012025_23_18_56_10453.jpg', '/home/pi/Desktop/images/28012025/23/18/image_28012025_23_19_07_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/18/image_28012025_23_18_17_10336.jpg
/home/pi/Desktop/images/28012025/23/18/image_28012025_23_18_26_9416.jpg
/home/pi/Desktop/images/28012025/23/18/image_28012025_23_18_36_10391.jpg
/home/pi/Desktop/images/28012025/23/18/image_28012025_23_18_46_9443.jpg
/home/pi/Desktop/images/28012025/23/18/image_28012025_23_18_56_10453.jpg
/home/pi/Desktop/images/28012025/23/18/image_28012025_23_19_07_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":["1333301941","1333301991","1333302000","1333301996","1333301933","1333301950"],"photo_ids_order":["1333301933","1333301941","1333301950","1333301991","1333301996","1333302000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b63810aa53fead279f229f573d3490b4.jpg","text":"TemporaryFile(/tmp/multipartBody3418972190367807073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322374690,"filename":"image_28012025_23_18_26_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3fce9199819a0c3ef57ab3bb8440648c.jpg","text":"TemporaryFile(/tmp/multipartBody5657585572722418993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322374690,"filename":"image_28012025_23_18_46_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8a575971637e9131754659f9701fe422.jpg","text":"TemporaryFile(/tmp/multipartBody961743629510242951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322374690,"filename":"image_28012025_23_19_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/1/31/65485097187cca5a6fbc325331856b19.jpg","text":"TemporaryFile(/tmp/multipartBody7193534295492786407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322374690,"filename":"image_28012025_23_18_56_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5da5b746f9abc9fe5a714b6c805247c1.jpg","text":"TemporaryFile(/tmp/multipartBody2080468794013108958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322374690,"filename":"image_28012025_23_18_17_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4fcb82617fa682d4eb7669c4f6a0c479.jpg","text":"TemporaryFile(/tmp/multipartBody4435260712269113870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322374690,"filename":"image_28012025_23_18_36_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333301950","file1":"1333301941","file0":"1333301933","file4":"1333301996","file5":"1333302000","file3":"1333301991"},"map_files_photo_id_array":[{"photo_id":"1333302000","filename":"file5"},{"photo_id":"1333301950","filename":"file2"},{"photo_id":"1333301996","filename":"file4"},{"photo_id":"1333301941","filename":"file1"},{"photo_id":"1333301933","filename":"file0"},{"photo_id":"1333301991","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333301941":["hashtag1","hashtag2"]},{"1333301991":["hashtag1","hashtag2"]},{"1333302000":["hashtag1","hashtag2"]},{"1333301996":["hashtag1","hashtag2"]},{"1333301933":["hashtag1","hashtag2"]},{"1333301950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333301941, 1333301991, 1333302000, 1333301996, 1333301933, 1333301950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.79488253593445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:19:32.768897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/19/image_28012025_23_19_16_9342.jpg', '/home/pi/Desktop/images/28012025/23/19/image_28012025_23_19_26_10358.jpg', '/home/pi/Desktop/images/28012025/23/19/image_28012025_23_19_37_10371.jpg', '/home/pi/Desktop/images/28012025/23/19/image_28012025_23_19_46_9423.jpg', '/home/pi/Desktop/images/28012025/23/19/image_28012025_23_19_57_10356.jpg', '/home/pi/Desktop/images/28012025/23/19/image_28012025_23_20_06_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/19/image_28012025_23_19_16_9342.jpg
/home/pi/Desktop/images/28012025/23/19/image_28012025_23_19_26_10358.jpg
/home/pi/Desktop/images/28012025/23/19/image_28012025_23_19_37_10371.jpg
/home/pi/Desktop/images/28012025/23/19/image_28012025_23_19_46_9423.jpg
/home/pi/Desktop/images/28012025/23/19/image_28012025_23_19_57_10356.jpg
/home/pi/Desktop/images/28012025/23/19/image_28012025_23_20_06_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":["1333302109","1333302087","1333302117","1333302095","1333302114","1333302102"],"photo_ids_order":["1333302087","1333302095","1333302102","1333302109","1333302114","1333302117"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fc1e3573e3dd4ab9c39a5e5438aa07ce.jpg","text":"TemporaryFile(/tmp/multipartBody5776125657234509574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322435095,"filename":"image_28012025_23_19_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/1/31/852191eec2e7afe7043179d164f65381.jpg","text":"TemporaryFile(/tmp/multipartBody1413597304462708633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322435095,"filename":"image_28012025_23_19_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/1/31/74d3015c0987751faee3a0610e67cbd2.jpg","text":"TemporaryFile(/tmp/multipartBody8009395542663932678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322435095,"filename":"image_28012025_23_20_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/1/31/a9ff0b8f7a878b693614f8d9b3b1839f.jpg","text":"TemporaryFile(/tmp/multipartBody3690962810382788832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322435095,"filename":"image_28012025_23_19_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/1/31/ffbcab3ac248af6133673f9b7e1607ac.jpg","text":"TemporaryFile(/tmp/multipartBody8636424433063963818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322435095,"filename":"image_28012025_23_19_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/1/31/a32c4fffe166fbc1dfc01f0dc02bfeb2.jpg","text":"TemporaryFile(/tmp/multipartBody8684940829964408643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322435095,"filename":"image_28012025_23_19_37_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333302102","file1":"1333302095","file0":"1333302087","file4":"1333302114","file5":"1333302117","file3":"1333302109"},"map_files_photo_id_array":[{"photo_id":"1333302117","filename":"file5"},{"photo_id":"1333302102","filename":"file2"},{"photo_id":"1333302114","filename":"file4"},{"photo_id":"1333302095","filename":"file1"},{"photo_id":"1333302087","filename":"file0"},{"photo_id":"1333302109","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333302109":["hashtag1","hashtag2"]},{"1333302087":["hashtag1","hashtag2"]},{"1333302117":["hashtag1","hashtag2"]},{"1333302095":["hashtag1","hashtag2"]},{"1333302114":["hashtag1","hashtag2"]},{"1333302102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333302109, 1333302087, 1333302117, 1333302095, 1333302114, 1333302102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5959632396698 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:20:32.852093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/20/image_28012025_23_20_16_10351.jpg', '/home/pi/Desktop/images/28012025/23/20/image_28012025_23_20_27_10366.jpg', '/home/pi/Desktop/images/28012025/23/20/image_28012025_23_20_36_9397.jpg', '/home/pi/Desktop/images/28012025/23/20/image_28012025_23_20_46_10476.jpg', '/home/pi/Desktop/images/28012025/23/20/image_28012025_23_20_56_9374.jpg', '/home/pi/Desktop/images/28012025/23/20/image_28012025_23_21_06_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/20/image_28012025_23_20_16_10351.jpg
/home/pi/Desktop/images/28012025/23/20/image_28012025_23_20_27_10366.jpg
/home/pi/Desktop/images/28012025/23/20/image_28012025_23_20_36_9397.jpg
/home/pi/Desktop/images/28012025/23/20/image_28012025_23_20_46_10476.jpg
/home/pi/Desktop/images/28012025/23/20/image_28012025_23_20_56_9374.jpg
/home/pi/Desktop/images/28012025/23/20/image_28012025_23_21_06_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333302174","1333302216","1333302318","1333302191","1333302169","1333302355"],"photo_ids_order":["1333302169","1333302174","1333302191","1333302216","1333302318","1333302355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0d54bbf8e2144235f6437092128c962a.jpg","text":"TemporaryFile(/tmp/multipartBody6726820865517140830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322495150,"filename":"image_28012025_23_20_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/1/31/7fa72ac5cfcfc4ddda1beb7668ae4cc1.jpg","text":"TemporaryFile(/tmp/multipartBody1425202174069278681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322495150,"filename":"image_28012025_23_20_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/1/31/5f8d3fe5c2d4f6ab0b1bbb284a746356.jpg","text":"TemporaryFile(/tmp/multipartBody2545359693536819562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322495150,"filename":"image_28012025_23_20_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/1/31/faddf3c28bc5d1c60f26171d72f1beee.jpg","text":"TemporaryFile(/tmp/multipartBody4241283926305454036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322495150,"filename":"image_28012025_23_20_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/1/31/c7326f2358baf8ea52962588786679dd.jpg","text":"TemporaryFile(/tmp/multipartBody1674509995050867212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322495150,"filename":"image_28012025_23_20_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/1/31/7abf17fcf76add609dcaec5541a94a26.jpg","text":"TemporaryFile(/tmp/multipartBody8424617379322572077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322495150,"filename":"image_28012025_23_21_06_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333302191","file1":"1333302174","file0":"1333302169","file4":"1333302318","file5":"1333302355","file3":"1333302216"},"map_files_photo_id_array":[{"photo_id":"1333302355","filename":"file5"},{"photo_id":"1333302191","filename":"file2"},{"photo_id":"1333302318","filename":"file4"},{"photo_id":"1333302174","filename":"file1"},{"photo_id":"1333302169","filename":"file0"},{"photo_id":"1333302216","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333302174":["hashtag1","hashtag2"]},{"1333302216":["hashtag1","hashtag2"]},{"1333302318":["hashtag1","hashtag2"]},{"1333302191":["hashtag1","hashtag2"]},{"1333302169":["hashtag1","hashtag2"]},{"1333302355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333302174, 1333302216, 1333302318, 1333302191, 1333302169, 1333302355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.5130889415741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:21:33.127173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/21/image_28012025_23_21_17_10351.jpg', '/home/pi/Desktop/images/28012025/23/21/image_28012025_23_21_26_9339.jpg', '/home/pi/Desktop/images/28012025/23/21/image_28012025_23_21_36_10358.jpg', '/home/pi/Desktop/images/28012025/23/21/image_28012025_23_21_47_10368.jpg', '/home/pi/Desktop/images/28012025/23/21/image_28012025_23_21_56_9353.jpg', '/home/pi/Desktop/images/28012025/23/21/image_28012025_23_22_06_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/21/image_28012025_23_21_17_10351.jpg
/home/pi/Desktop/images/28012025/23/21/image_28012025_23_21_26_9339.jpg
/home/pi/Desktop/images/28012025/23/21/image_28012025_23_21_36_10358.jpg
/home/pi/Desktop/images/28012025/23/21/image_28012025_23_21_47_10368.jpg
/home/pi/Desktop/images/28012025/23/21/image_28012025_23_21_56_9353.jpg
/home/pi/Desktop/images/28012025/23/21/image_28012025_23_22_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":["1333302486","1333302516","1333302641","1333302595","1333302592","1333302574"],"photo_ids_order":["1333302486","1333302516","1333302574","1333302592","1333302595","1333302641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/26be04d936684a1261596dfb97aa5b3a.jpg","text":"TemporaryFile(/tmp/multipartBody6154047212915934678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322555446,"filename":"image_28012025_23_21_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/1/31/2335f14e7cecb2cd294ad254d4d4e7fc.jpg","text":"TemporaryFile(/tmp/multipartBody587270434788872329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322555446,"filename":"image_28012025_23_21_26_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3baa2390082d1f30e91b065cd5932cdb.jpg","text":"TemporaryFile(/tmp/multipartBody4256349952569686776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322555446,"filename":"image_28012025_23_22_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/1/31/3461d77dc394042c2f51d88eaafe4c2d.jpg","text":"TemporaryFile(/tmp/multipartBody4460535347486909038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322555446,"filename":"image_28012025_23_21_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/1/31/575045dc4e3f2ce26b93317328ba37e6.jpg","text":"TemporaryFile(/tmp/multipartBody1041322238550146025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322555446,"filename":"image_28012025_23_21_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/1/31/44845e9c64bca3ae00dea0c0d47ddeaf.jpg","text":"TemporaryFile(/tmp/multipartBody8758342142053718739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322555446,"filename":"image_28012025_23_21_36_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333302574","file1":"1333302516","file0":"1333302486","file4":"1333302595","file5":"1333302641","file3":"1333302592"},"map_files_photo_id_array":[{"photo_id":"1333302641","filename":"file5"},{"photo_id":"1333302574","filename":"file2"},{"photo_id":"1333302595","filename":"file4"},{"photo_id":"1333302516","filename":"file1"},{"photo_id":"1333302486","filename":"file0"},{"photo_id":"1333302592","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333302486":["hashtag1","hashtag2"]},{"1333302516":["hashtag1","hashtag2"]},{"1333302641":["hashtag1","hashtag2"]},{"1333302595":["hashtag1","hashtag2"]},{"1333302592":["hashtag1","hashtag2"]},{"1333302574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333302486, 1333302516, 1333302641, 1333302595, 1333302592, 1333302574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.36743640899658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:22:32.283565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/22/image_28012025_23_22_17_10342.jpg', '/home/pi/Desktop/images/28012025/23/22/image_28012025_23_22_26_9369.jpg', '/home/pi/Desktop/images/28012025/23/22/image_28012025_23_22_36_10362.jpg', '/home/pi/Desktop/images/28012025/23/22/image_28012025_23_22_46_9432.jpg', '/home/pi/Desktop/images/28012025/23/22/image_28012025_23_22_56_10437.jpg', '/home/pi/Desktop/images/28012025/23/22/image_28012025_23_23_07_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/22/image_28012025_23_22_17_10342.jpg
/home/pi/Desktop/images/28012025/23/22/image_28012025_23_22_26_9369.jpg
/home/pi/Desktop/images/28012025/23/22/image_28012025_23_22_36_10362.jpg
/home/pi/Desktop/images/28012025/23/22/image_28012025_23_22_46_9432.jpg
/home/pi/Desktop/images/28012025/23/22/image_28012025_23_22_56_10437.jpg
/home/pi/Desktop/images/28012025/23/22/image_28012025_23_23_07_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333302867","1333302803","1333302911","1333302862","1333302907","1333302814"],"photo_ids_order":["1333302803","1333302814","1333302862","1333302867","1333302907","1333302911"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9021ff4d36212f30ee986d7ffbe7fd2f.jpg","text":"TemporaryFile(/tmp/multipartBody7585250507879962975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322614617,"filename":"image_28012025_23_22_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/1/31/f39974613037f6b8c601759caedb42da.jpg","text":"TemporaryFile(/tmp/multipartBody302181090892218954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322614617,"filename":"image_28012025_23_22_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/1/31/6cb2593eb3a84c8d32f8806f7f82437b.jpg","text":"TemporaryFile(/tmp/multipartBody2802810219696581803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322614617,"filename":"image_28012025_23_23_07_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e77871b8787697c8ce35c170bbda90f7.jpg","text":"TemporaryFile(/tmp/multipartBody1493663273061499669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322614617,"filename":"image_28012025_23_22_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/1/31/8d5d557adfab8ba07a872c1f51da77c2.jpg","text":"TemporaryFile(/tmp/multipartBody5956020325973247726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322614617,"filename":"image_28012025_23_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/1/31/9ce484058f94cf2c858e26e8de64b410.jpg","text":"TemporaryFile(/tmp/multipartBody8331657560911549212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322614617,"filename":"image_28012025_23_22_26_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333302862","file1":"1333302814","file0":"1333302803","file4":"1333302907","file5":"1333302911","file3":"1333302867"},"map_files_photo_id_array":[{"photo_id":"1333302911","filename":"file5"},{"photo_id":"1333302862","filename":"file2"},{"photo_id":"1333302907","filename":"file4"},{"photo_id":"1333302814","filename":"file1"},{"photo_id":"1333302803","filename":"file0"},{"photo_id":"1333302867","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333302867":["hashtag1","hashtag2"]},{"1333302803":["hashtag1","hashtag2"]},{"1333302911":["hashtag1","hashtag2"]},{"1333302862":["hashtag1","hashtag2"]},{"1333302907":["hashtag1","hashtag2"]},{"1333302814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333302867, 1333302803, 1333302911, 1333302862, 1333302907, 1333302814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.99654817581177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:23:32.498665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/23/image_28012025_23_23_26_10474.jpg', '/home/pi/Desktop/images/28012025/23/23/image_28012025_23_23_36_9441.jpg', '/home/pi/Desktop/images/28012025/23/23/image_28012025_23_23_56_9440.jpg', '/home/pi/Desktop/images/28012025/23/23/image_28012025_23_24_06_10360.jpg', '/home/pi/Desktop/images/28012025/23/24/image_28012025_23_24_17_10325.jpg', '/home/pi/Desktop/images/28012025/23/24/image_28012025_23_24_26_9441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/23/image_28012025_23_23_26_10474.jpg
/home/pi/Desktop/images/28012025/23/23/image_28012025_23_23_36_9441.jpg
/home/pi/Desktop/images/28012025/23/23/image_28012025_23_23_56_9440.jpg
/home/pi/Desktop/images/28012025/23/23/image_28012025_23_24_06_10360.jpg
/home/pi/Desktop/images/28012025/23/24/image_28012025_23_24_17_10325.jpg
/home/pi/Desktop/images/28012025/23/24/image_28012025_23_24_26_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":["1333302951","1333302957","1333302956","1333302941","1333302935","1333302958"],"photo_ids_order":["1333302935","1333302941","1333302951","1333302956","1333302957","1333302958"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/de46d52d0777d16aa86655a30e333873.jpg","text":"TemporaryFile(/tmp/multipartBody7089709476164104009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322674790,"filename":"image_28012025_23_23_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/1/31/c529b4296053bef7d2bd8d0e47337d22.jpg","text":"TemporaryFile(/tmp/multipartBody7521823399587740658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322674790,"filename":"image_28012025_23_24_17_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0ed32f1fb570c5fa0b1f9302fd63ebfd.jpg","text":"TemporaryFile(/tmp/multipartBody4078327235819999192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322674790,"filename":"image_28012025_23_24_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/1/31/1011f13a903b69c242f1940595ad2b00.jpg","text":"TemporaryFile(/tmp/multipartBody5315372067951827816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322674790,"filename":"image_28012025_23_23_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/1/31/2a5cac4f78cb4ceb92837d2230a30a34.jpg","text":"TemporaryFile(/tmp/multipartBody5035420745121054082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322674790,"filename":"image_28012025_23_23_26_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b3b19bc26a66bbd97327da26f321efca.jpg","text":"TemporaryFile(/tmp/multipartBody2636089130105024769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322674790,"filename":"image_28012025_23_24_26_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333302951","file1":"1333302941","file0":"1333302935","file4":"1333302957","file5":"1333302958","file3":"1333302956"},"map_files_photo_id_array":[{"photo_id":"1333302958","filename":"file5"},{"photo_id":"1333302951","filename":"file2"},{"photo_id":"1333302957","filename":"file4"},{"photo_id":"1333302941","filename":"file1"},{"photo_id":"1333302935","filename":"file0"},{"photo_id":"1333302956","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333302951":["hashtag1","hashtag2"]},{"1333302957":["hashtag1","hashtag2"]},{"1333302956":["hashtag1","hashtag2"]},{"1333302941":["hashtag1","hashtag2"]},{"1333302935":["hashtag1","hashtag2"]},{"1333302958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333302951, 1333302957, 1333302956, 1333302941, 1333302935, 1333302958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.892781257629395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:24:32.764115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/24/image_28012025_23_24_36_10454.jpg', '/home/pi/Desktop/images/28012025/23/24/image_28012025_23_24_46_9431.jpg', '/home/pi/Desktop/images/28012025/23/24/image_28012025_23_24_56_10458.jpg', '/home/pi/Desktop/images/28012025/23/24/image_28012025_23_25_07_10381.jpg', '/home/pi/Desktop/images/28012025/23/25/image_28012025_23_25_16_9326.jpg', '/home/pi/Desktop/images/28012025/23/25/image_28012025_23_25_26_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/24/image_28012025_23_24_36_10454.jpg
/home/pi/Desktop/images/28012025/23/24/image_28012025_23_24_46_9431.jpg
/home/pi/Desktop/images/28012025/23/24/image_28012025_23_24_56_10458.jpg
/home/pi/Desktop/images/28012025/23/24/image_28012025_23_25_07_10381.jpg
/home/pi/Desktop/images/28012025/23/25/image_28012025_23_25_16_9326.jpg
/home/pi/Desktop/images/28012025/23/25/image_28012025_23_25_26_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":["1333303131","1333303137","1333303127","1333303112","1333303004","1333303012"],"photo_ids_order":["1333303004","1333303012","1333303112","1333303127","1333303131","1333303137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/963e2ea309e3bb7f7f8fd875add9f4d6.jpg","text":"TemporaryFile(/tmp/multipartBody6690425748606430577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322735071,"filename":"image_28012025_23_25_16_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cdb0f219e7a403244611c462084cda67.jpg","text":"TemporaryFile(/tmp/multipartBody3448023947510897919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322735071,"filename":"image_28012025_23_25_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/1/31/7ca6d500a494daf03d2e1615f28070e7.jpg","text":"TemporaryFile(/tmp/multipartBody3190980177994006600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322735071,"filename":"image_28012025_23_25_07_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4ca58bb3829c79ca449d36814b813a48.jpg","text":"TemporaryFile(/tmp/multipartBody7842073631635012263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322735071,"filename":"image_28012025_23_24_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/1/31/38d4fcc102626b8855d0f80d85e2b1ed.jpg","text":"TemporaryFile(/tmp/multipartBody6640329565503764241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322735071,"filename":"image_28012025_23_24_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/1/31/09edbf7c79c537d0ce59dde894701f22.jpg","text":"TemporaryFile(/tmp/multipartBody838224802067178419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322735071,"filename":"image_28012025_23_24_46_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333303112","file1":"1333303012","file0":"1333303004","file4":"1333303131","file5":"1333303137","file3":"1333303127"},"map_files_photo_id_array":[{"photo_id":"1333303137","filename":"file5"},{"photo_id":"1333303112","filename":"file2"},{"photo_id":"1333303131","filename":"file4"},{"photo_id":"1333303012","filename":"file1"},{"photo_id":"1333303004","filename":"file0"},{"photo_id":"1333303127","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333303131":["hashtag1","hashtag2"]},{"1333303137":["hashtag1","hashtag2"]},{"1333303127":["hashtag1","hashtag2"]},{"1333303112":["hashtag1","hashtag2"]},{"1333303004":["hashtag1","hashtag2"]},{"1333303012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333303131, 1333303137, 1333303127, 1333303112, 1333303004, 1333303012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.22634220123291 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:25:32.945693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/25/image_28012025_23_25_46_9486.jpg', '/home/pi/Desktop/images/28012025/23/25/image_28012025_23_25_57_10459.jpg', '/home/pi/Desktop/images/28012025/23/25/image_28012025_23_26_06_9345.jpg', '/home/pi/Desktop/images/28012025/23/26/image_28012025_23_26_16_10378.jpg', '/home/pi/Desktop/images/28012025/23/26/image_28012025_23_26_27_10361.jpg', '/home/pi/Desktop/images/28012025/23/26/image_28012025_23_26_36_9492.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/25/image_28012025_23_25_46_9486.jpg
/home/pi/Desktop/images/28012025/23/25/image_28012025_23_25_57_10459.jpg
/home/pi/Desktop/images/28012025/23/25/image_28012025_23_26_06_9345.jpg
/home/pi/Desktop/images/28012025/23/26/image_28012025_23_26_16_10378.jpg
/home/pi/Desktop/images/28012025/23/26/image_28012025_23_26_27_10361.jpg
/home/pi/Desktop/images/28012025/23/26/image_28012025_23_26_36_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":["1333303320","1333303384","1333303417","1333303306","1333303207","1333303362"],"photo_ids_order":["1333303207","1333303306","1333303320","1333303362","1333303384","1333303417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bb524ffeaccc080ccda0d83d7fc90a6b.jpg","text":"TemporaryFile(/tmp/multipartBody7395273386911863060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322795273,"filename":"image_28012025_23_26_06_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8ab707e6ec092b28521e716d5bafc5da.jpg","text":"TemporaryFile(/tmp/multipartBody8703926410807731205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322795273,"filename":"image_28012025_23_26_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/1/31/65a0216d2e992f57a3a29eba596a8fb3.jpg","text":"TemporaryFile(/tmp/multipartBody3480376741421107558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322795273,"filename":"image_28012025_23_26_36_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c5fb1c0f5c2f233cbb6ae6c82d595beb.jpg","text":"TemporaryFile(/tmp/multipartBody2264287277847980723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322795273,"filename":"image_28012025_23_25_57_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3c9187244b073aff50bcdb72a4a21b7f.jpg","text":"TemporaryFile(/tmp/multipartBody327381614361130879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322795273,"filename":"image_28012025_23_25_46_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9e33b2ae7c025ecdd5bec43228be3e92.jpg","text":"TemporaryFile(/tmp/multipartBody2614392698990866899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322795273,"filename":"image_28012025_23_26_16_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333303320","file1":"1333303306","file0":"1333303207","file4":"1333303384","file5":"1333303417","file3":"1333303362"},"map_files_photo_id_array":[{"photo_id":"1333303417","filename":"file5"},{"photo_id":"1333303320","filename":"file2"},{"photo_id":"1333303384","filename":"file4"},{"photo_id":"1333303306","filename":"file1"},{"photo_id":"1333303207","filename":"file0"},{"photo_id":"1333303362","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333303320":["hashtag1","hashtag2"]},{"1333303384":["hashtag1","hashtag2"]},{"1333303417":["hashtag1","hashtag2"]},{"1333303306":["hashtag1","hashtag2"]},{"1333303207":["hashtag1","hashtag2"]},{"1333303362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333303320, 1333303384, 1333303417, 1333303306, 1333303207, 1333303362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.783270835876465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:26:33.129959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/26/image_28012025_23_26_47_10359.jpg', '/home/pi/Desktop/images/28012025/23/26/image_28012025_23_26_56_9341.jpg', '/home/pi/Desktop/images/28012025/23/26/image_28012025_23_27_06_10432.jpg', '/home/pi/Desktop/images/28012025/23/27/image_28012025_23_27_17_10347.jpg', '/home/pi/Desktop/images/28012025/23/27/image_28012025_23_27_26_9412.jpg', '/home/pi/Desktop/images/28012025/23/27/image_28012025_23_27_37_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/26/image_28012025_23_26_47_10359.jpg
/home/pi/Desktop/images/28012025/23/26/image_28012025_23_26_56_9341.jpg
/home/pi/Desktop/images/28012025/23/26/image_28012025_23_27_06_10432.jpg
/home/pi/Desktop/images/28012025/23/27/image_28012025_23_27_17_10347.jpg
/home/pi/Desktop/images/28012025/23/27/image_28012025_23_27_26_9412.jpg
/home/pi/Desktop/images/28012025/23/27/image_28012025_23_27_37_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":["1333303464","1333303452","1333303444","1333303432","1333303438","1333303494"],"photo_ids_order":["1333303432","1333303438","1333303444","1333303452","1333303464","1333303494"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7dc5760f4d8ff394f3aea17fd919d298.jpg","text":"TemporaryFile(/tmp/multipartBody2547050426810762010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322855456,"filename":"image_28012025_23_27_26_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a7fbb4101557a26ba678546561d1c59b.jpg","text":"TemporaryFile(/tmp/multipartBody1004187525571239495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322855456,"filename":"image_28012025_23_27_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/1/31/89775671c6a9bfcbc8329efc759317de.jpg","text":"TemporaryFile(/tmp/multipartBody5654474822468673639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322855456,"filename":"image_28012025_23_27_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/1/31/b265c212bb73df699dc00f7aef279b69.jpg","text":"TemporaryFile(/tmp/multipartBody4776682185267216414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322855456,"filename":"image_28012025_23_26_47_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/df770e0c6c379d66c80fd8cfda0b1adf.jpg","text":"TemporaryFile(/tmp/multipartBody6731324782048794789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322855456,"filename":"image_28012025_23_26_56_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9aba0c6df136f7f0baa165166449aba8.jpg","text":"TemporaryFile(/tmp/multipartBody8343191405758308652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322855456,"filename":"image_28012025_23_27_37_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333303444","file1":"1333303438","file0":"1333303432","file4":"1333303464","file5":"1333303494","file3":"1333303452"},"map_files_photo_id_array":[{"photo_id":"1333303494","filename":"file5"},{"photo_id":"1333303444","filename":"file2"},{"photo_id":"1333303464","filename":"file4"},{"photo_id":"1333303438","filename":"file1"},{"photo_id":"1333303432","filename":"file0"},{"photo_id":"1333303452","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333303464":["hashtag1","hashtag2"]},{"1333303452":["hashtag1","hashtag2"]},{"1333303444":["hashtag1","hashtag2"]},{"1333303432":["hashtag1","hashtag2"]},{"1333303438":["hashtag1","hashtag2"]},{"1333303494":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333303464, 1333303452, 1333303444, 1333303432, 1333303438, 1333303494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.758856773376465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:27:32.453961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/27/image_28012025_23_27_46_9344.jpg', '/home/pi/Desktop/images/28012025/23/27/image_28012025_23_28_07_10378.jpg', '/home/pi/Desktop/images/28012025/23/28/image_28012025_23_28_16_9345.jpg', '/home/pi/Desktop/images/28012025/23/28/image_28012025_23_28_27_10461.jpg', '/home/pi/Desktop/images/28012025/23/28/image_28012025_23_28_36_9346.jpg', '/home/pi/Desktop/images/28012025/23/28/image_28012025_23_28_46_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/27/image_28012025_23_27_46_9344.jpg
/home/pi/Desktop/images/28012025/23/27/image_28012025_23_28_07_10378.jpg
/home/pi/Desktop/images/28012025/23/28/image_28012025_23_28_16_9345.jpg
/home/pi/Desktop/images/28012025/23/28/image_28012025_23_28_27_10461.jpg
/home/pi/Desktop/images/28012025/23/28/image_28012025_23_28_36_9346.jpg
/home/pi/Desktop/images/28012025/23/28/image_28012025_23_28_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":["1333303602","1333303631","1333303663","1333303642","1333303585","1333303668"],"photo_ids_order":["1333303585","1333303602","1333303631","1333303642","1333303663","1333303668"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/11155ae4e771a7f022aa0f3f68771bd0.jpg","text":"TemporaryFile(/tmp/multipartBody2638615703070305784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322914761,"filename":"image_28012025_23_28_07_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4ddcd08e19a01c6d69dd8de1458fe486.jpg","text":"TemporaryFile(/tmp/multipartBody5310007458036516668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322914761,"filename":"image_28012025_23_28_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/1/31/31ef2ff859c06f616d0c727b57c09c3a.jpg","text":"TemporaryFile(/tmp/multipartBody857081188715944718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322914761,"filename":"image_28012025_23_28_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/1/31/04c1b02c2f6699251862e7c79e08b994.jpg","text":"TemporaryFile(/tmp/multipartBody5585246632969193596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322914761,"filename":"image_28012025_23_28_27_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ddf2d33282571a4202dde8c5d0cce009.jpg","text":"TemporaryFile(/tmp/multipartBody7812169973093717802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322914761,"filename":"image_28012025_23_27_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/1/31/73a8326009b21522c365ebec14498642.jpg","text":"TemporaryFile(/tmp/multipartBody1740244823322390754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322914761,"filename":"image_28012025_23_28_46_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333303631","file1":"1333303602","file0":"1333303585","file4":"1333303663","file5":"1333303668","file3":"1333303642"},"map_files_photo_id_array":[{"photo_id":"1333303668","filename":"file5"},{"photo_id":"1333303631","filename":"file2"},{"photo_id":"1333303663","filename":"file4"},{"photo_id":"1333303602","filename":"file1"},{"photo_id":"1333303585","filename":"file0"},{"photo_id":"1333303642","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333303602":["hashtag1","hashtag2"]},{"1333303631":["hashtag1","hashtag2"]},{"1333303663":["hashtag1","hashtag2"]},{"1333303642":["hashtag1","hashtag2"]},{"1333303585":["hashtag1","hashtag2"]},{"1333303668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333303602, 1333303631, 1333303663, 1333303642, 1333303585, 1333303668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.005810260772705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:28:32.674606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/28/image_28012025_23_28_57_10364.jpg', '/home/pi/Desktop/images/28012025/23/28/image_28012025_23_29_06_9350.jpg', '/home/pi/Desktop/images/28012025/23/29/image_28012025_23_29_16_10405.jpg', '/home/pi/Desktop/images/28012025/23/29/image_28012025_23_29_27_10333.jpg', '/home/pi/Desktop/images/28012025/23/29/image_28012025_23_29_36_9336.jpg', '/home/pi/Desktop/images/28012025/23/29/image_28012025_23_29_46_10469.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/28/image_28012025_23_28_57_10364.jpg
/home/pi/Desktop/images/28012025/23/28/image_28012025_23_29_06_9350.jpg
/home/pi/Desktop/images/28012025/23/29/image_28012025_23_29_16_10405.jpg
/home/pi/Desktop/images/28012025/23/29/image_28012025_23_29_27_10333.jpg
/home/pi/Desktop/images/28012025/23/29/image_28012025_23_29_36_9336.jpg
/home/pi/Desktop/images/28012025/23/29/image_28012025_23_29_46_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":["1333303775","1333303799","1333303790","1333303797","1333303782","1333303794"],"photo_ids_order":["1333303775","1333303782","1333303790","1333303794","1333303797","1333303799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/442139616e5eddf63916b67b85f47db7.jpg","text":"TemporaryFile(/tmp/multipartBody8119950014056670230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322974972,"filename":"image_28012025_23_28_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/1/31/3121278aa1a7d2f601fe0fb6ca9b70d8.jpg","text":"TemporaryFile(/tmp/multipartBody1919639777716452737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322974972,"filename":"image_28012025_23_29_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/1/31/78b2e18cdbf5db97a7ad8b8a77a6c0da.jpg","text":"TemporaryFile(/tmp/multipartBody177773211479095023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322974972,"filename":"image_28012025_23_29_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/1/31/bb04e0dccf3f715942680a539c68d05d.jpg","text":"TemporaryFile(/tmp/multipartBody5065821680221142065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322974972,"filename":"image_28012025_23_29_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/1/31/31d94381e92d0e796ac947e40e4ed66f.jpg","text":"TemporaryFile(/tmp/multipartBody9115329802140940422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322974972,"filename":"image_28012025_23_29_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/1/31/de98f5dc4f46bcaec0d14105d1257dc5.jpg","text":"TemporaryFile(/tmp/multipartBody4909183207657324500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738322974972,"filename":"image_28012025_23_29_27_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333303790","file1":"1333303782","file0":"1333303775","file4":"1333303797","file5":"1333303799","file3":"1333303794"},"map_files_photo_id_array":[{"photo_id":"1333303799","filename":"file5"},{"photo_id":"1333303790","filename":"file2"},{"photo_id":"1333303797","filename":"file4"},{"photo_id":"1333303782","filename":"file1"},{"photo_id":"1333303775","filename":"file0"},{"photo_id":"1333303794","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333303775":["hashtag1","hashtag2"]},{"1333303799":["hashtag1","hashtag2"]},{"1333303790":["hashtag1","hashtag2"]},{"1333303797":["hashtag1","hashtag2"]},{"1333303782":["hashtag1","hashtag2"]},{"1333303794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333303775, 1333303799, 1333303790, 1333303797, 1333303782, 1333303794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.68411827087402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:29:32.846548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/29/image_28012025_23_29_57_10352.jpg', '/home/pi/Desktop/images/28012025/23/29/image_28012025_23_30_06_9359.jpg', '/home/pi/Desktop/images/28012025/23/30/image_28012025_23_30_17_10348.jpg', '/home/pi/Desktop/images/28012025/23/30/image_28012025_23_30_26_9350.jpg', '/home/pi/Desktop/images/28012025/23/30/image_28012025_23_30_36_10358.jpg', '/home/pi/Desktop/images/28012025/23/30/image_28012025_23_30_47_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/29/image_28012025_23_29_57_10352.jpg
/home/pi/Desktop/images/28012025/23/29/image_28012025_23_30_06_9359.jpg
/home/pi/Desktop/images/28012025/23/30/image_28012025_23_30_17_10348.jpg
/home/pi/Desktop/images/28012025/23/30/image_28012025_23_30_26_9350.jpg
/home/pi/Desktop/images/28012025/23/30/image_28012025_23_30_36_10358.jpg
/home/pi/Desktop/images/28012025/23/30/image_28012025_23_30_47_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":["1333303854","1333303827","1333303842","1333303815","1333303859","1333303820"],"photo_ids_order":["1333303815","1333303820","1333303827","1333303842","1333303854","1333303859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/60f1e8346181d515fc66d321f38a8589.jpg","text":"TemporaryFile(/tmp/multipartBody6012772337826438683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323035184,"filename":"image_28012025_23_30_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/1/31/a2219afdcdad7dd298a54640e454c746.jpg","text":"TemporaryFile(/tmp/multipartBody8022989854607461612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323035184,"filename":"image_28012025_23_30_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/1/31/c640058b013aae4272867fee48e3fca0.jpg","text":"TemporaryFile(/tmp/multipartBody7512203454004570592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323035184,"filename":"image_28012025_23_30_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/1/31/40eb489fa6a799c868159f8ad6f13c88.jpg","text":"TemporaryFile(/tmp/multipartBody1596339969244589287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323035184,"filename":"image_28012025_23_29_57_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/64109b5049588a1cf3d4272a1f159c29.jpg","text":"TemporaryFile(/tmp/multipartBody93350530320462041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323035184,"filename":"image_28012025_23_30_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/1/31/30b2b19481c29000a410e3636a5451b0.jpg","text":"TemporaryFile(/tmp/multipartBody5493014760943258093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323035184,"filename":"image_28012025_23_30_06_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333303827","file1":"1333303820","file0":"1333303815","file4":"1333303854","file5":"1333303859","file3":"1333303842"},"map_files_photo_id_array":[{"photo_id":"1333303859","filename":"file5"},{"photo_id":"1333303827","filename":"file2"},{"photo_id":"1333303854","filename":"file4"},{"photo_id":"1333303820","filename":"file1"},{"photo_id":"1333303815","filename":"file0"},{"photo_id":"1333303842","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333303854":["hashtag1","hashtag2"]},{"1333303827":["hashtag1","hashtag2"]},{"1333303842":["hashtag1","hashtag2"]},{"1333303815":["hashtag1","hashtag2"]},{"1333303859":["hashtag1","hashtag2"]},{"1333303820":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333303854, 1333303827, 1333303842, 1333303815, 1333303859, 1333303820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.51159930229187 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:30:33.095582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/30/image_28012025_23_30_56_9445.jpg', '/home/pi/Desktop/images/28012025/23/30/image_28012025_23_31_06_10325.jpg', '/home/pi/Desktop/images/28012025/23/31/image_28012025_23_31_17_10358.jpg', '/home/pi/Desktop/images/28012025/23/31/image_28012025_23_31_26_9474.jpg', '/home/pi/Desktop/images/28012025/23/31/image_28012025_23_31_46_9351.jpg', '/home/pi/Desktop/images/28012025/23/31/image_28012025_23_31_56_10473.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/30/image_28012025_23_30_56_9445.jpg
/home/pi/Desktop/images/28012025/23/30/image_28012025_23_31_06_10325.jpg
/home/pi/Desktop/images/28012025/23/31/image_28012025_23_31_17_10358.jpg
/home/pi/Desktop/images/28012025/23/31/image_28012025_23_31_26_9474.jpg
/home/pi/Desktop/images/28012025/23/31/image_28012025_23_31_46_9351.jpg
/home/pi/Desktop/images/28012025/23/31/image_28012025_23_31_56_10473.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9189939498901367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 12:30:43.155873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/30/image_28012025_23_30_56_9445.jpg', '/home/pi/Desktop/images/28012025/23/30/image_28012025_23_31_06_10325.jpg', '/home/pi/Desktop/images/28012025/23/31/image_28012025_23_31_17_10358.jpg', '/home/pi/Desktop/images/28012025/23/31/image_28012025_23_31_26_9474.jpg', '/home/pi/Desktop/images/28012025/23/31/image_28012025_23_31_46_9351.jpg', '/home/pi/Desktop/images/28012025/23/31/image_28012025_23_31_56_10473.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/30/image_28012025_23_30_56_9445.jpg
/home/pi/Desktop/images/28012025/23/30/image_28012025_23_31_06_10325.jpg
/home/pi/Desktop/images/28012025/23/31/image_28012025_23_31_17_10358.jpg
/home/pi/Desktop/images/28012025/23/31/image_28012025_23_31_26_9474.jpg
/home/pi/Desktop/images/28012025/23/31/image_28012025_23_31_46_9351.jpg
/home/pi/Desktop/images/28012025/23/31/image_28012025_23_31_56_10473.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":["1333304202","1333304366","1333304293","1333304356","1333304316","1333304265"],"photo_ids_order":["1333304202","1333304265","1333304293","1333304316","1333304356","1333304366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/81f6e0336363f865a742f1d47560a643.jpg","text":"TemporaryFile(/tmp/multipartBody6604196620672602726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323104569,"filename":"image_28012025_23_30_56_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/30a6b6a84ad4bf19cdf566caedd96eac.jpg","text":"TemporaryFile(/tmp/multipartBody7609210869579894077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323104569,"filename":"image_28012025_23_31_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/1/31/8444b72f365816ac5e5e740c88ddc9ef.jpg","text":"TemporaryFile(/tmp/multipartBody4461052988515212935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323104569,"filename":"image_28012025_23_31_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/1/31/0538a6406f825aa63bdc297172b81dc6.jpg","text":"TemporaryFile(/tmp/multipartBody1279364878355067783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323104569,"filename":"image_28012025_23_31_46_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cbc7dd618a571d653dba5dfeb4820f14.jpg","text":"TemporaryFile(/tmp/multipartBody4765790061588976520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323104569,"filename":"image_28012025_23_31_26_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9763083c19c1a18b18d2cf0f24711d8c.jpg","text":"TemporaryFile(/tmp/multipartBody7192549921774898411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323104569,"filename":"image_28012025_23_31_06_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333304293","file1":"1333304265","file0":"1333304202","file4":"1333304356","file5":"1333304366","file3":"1333304316"},"map_files_photo_id_array":[{"photo_id":"1333304366","filename":"file5"},{"photo_id":"1333304293","filename":"file2"},{"photo_id":"1333304356","filename":"file4"},{"photo_id":"1333304265","filename":"file1"},{"photo_id":"1333304202","filename":"file0"},{"photo_id":"1333304316","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333304202":["hashtag1","hashtag2"]},{"1333304366":["hashtag1","hashtag2"]},{"1333304293":["hashtag1","hashtag2"]},{"1333304356":["hashtag1","hashtag2"]},{"1333304316":["hashtag1","hashtag2"]},{"1333304265":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333304202, 1333304366, 1333304293, 1333304356, 1333304316, 1333304265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.126692056655884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:31:32.403151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/31/image_28012025_23_32_07_10356.jpg', '/home/pi/Desktop/images/28012025/23/32/image_28012025_23_32_16_9480.jpg', '/home/pi/Desktop/images/28012025/23/32/image_28012025_23_32_27_10466.jpg', '/home/pi/Desktop/images/28012025/23/32/image_28012025_23_32_36_9481.jpg', '/home/pi/Desktop/images/28012025/23/32/image_28012025_23_32_47_10400.jpg', '/home/pi/Desktop/images/28012025/23/32/image_28012025_23_32_56_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/31/image_28012025_23_32_07_10356.jpg
/home/pi/Desktop/images/28012025/23/32/image_28012025_23_32_16_9480.jpg
/home/pi/Desktop/images/28012025/23/32/image_28012025_23_32_27_10466.jpg
/home/pi/Desktop/images/28012025/23/32/image_28012025_23_32_36_9481.jpg
/home/pi/Desktop/images/28012025/23/32/image_28012025_23_32_47_10400.jpg
/home/pi/Desktop/images/28012025/23/32/image_28012025_23_32_56_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":["1333304406","1333304483","1333304399","1333304422","1333304413","1333304418"],"photo_ids_order":["1333304399","1333304406","1333304413","1333304418","1333304422","1333304483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d639dec3bc18cda4eb55716fa3838323.jpg","text":"TemporaryFile(/tmp/multipartBody7141724444976339843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323154715,"filename":"image_28012025_23_32_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/1/31/3e4dac7c6b26ad3db8783ad6359cd169.jpg","text":"TemporaryFile(/tmp/multipartBody6607669857161473095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323154715,"filename":"image_28012025_23_32_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/1/31/d00f92b7ab14ef49bf25495c24724970.jpg","text":"TemporaryFile(/tmp/multipartBody2889280078572862121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323154715,"filename":"image_28012025_23_32_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/1/31/8f7e77c0053f88f77821e7dea679c29f.jpg","text":"TemporaryFile(/tmp/multipartBody5652401848368561517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323154715,"filename":"image_28012025_23_32_47_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d9e42cfb950ecd218d1c666b45faee7d.jpg","text":"TemporaryFile(/tmp/multipartBody7215403616715180264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323154715,"filename":"image_28012025_23_32_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/1/31/2275205594cfd3c0287e367efababb5f.jpg","text":"TemporaryFile(/tmp/multipartBody178552391988642332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323154715,"filename":"image_28012025_23_32_36_9481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333304413","file1":"1333304406","file0":"1333304399","file4":"1333304422","file5":"1333304483","file3":"1333304418"},"map_files_photo_id_array":[{"photo_id":"1333304483","filename":"file5"},{"photo_id":"1333304413","filename":"file2"},{"photo_id":"1333304422","filename":"file4"},{"photo_id":"1333304406","filename":"file1"},{"photo_id":"1333304399","filename":"file0"},{"photo_id":"1333304418","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333304406":["hashtag1","hashtag2"]},{"1333304483":["hashtag1","hashtag2"]},{"1333304399":["hashtag1","hashtag2"]},{"1333304422":["hashtag1","hashtag2"]},{"1333304413":["hashtag1","hashtag2"]},{"1333304418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333304406, 1333304483, 1333304399, 1333304422, 1333304413, 1333304418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.398149251937866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:32:32.599753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/32/image_28012025_23_33_06_10451.jpg', '/home/pi/Desktop/images/28012025/23/33/image_28012025_23_33_17_10360.jpg', '/home/pi/Desktop/images/28012025/23/33/image_28012025_23_33_26_9471.jpg', '/home/pi/Desktop/images/28012025/23/33/image_28012025_23_33_37_10447.jpg', '/home/pi/Desktop/images/28012025/23/33/image_28012025_23_33_46_9346.jpg', '/home/pi/Desktop/images/28012025/23/33/image_28012025_23_33_56_10455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/32/image_28012025_23_33_06_10451.jpg
/home/pi/Desktop/images/28012025/23/33/image_28012025_23_33_17_10360.jpg
/home/pi/Desktop/images/28012025/23/33/image_28012025_23_33_26_9471.jpg
/home/pi/Desktop/images/28012025/23/33/image_28012025_23_33_37_10447.jpg
/home/pi/Desktop/images/28012025/23/33/image_28012025_23_33_46_9346.jpg
/home/pi/Desktop/images/28012025/23/33/image_28012025_23_33_56_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":["1333304498","1333304531","1333304534","1333304503","1333304514","1333304538"],"photo_ids_order":["1333304498","1333304503","1333304514","1333304531","1333304534","1333304538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/57f2a0c837d023c891c5aca93e02ba6f.jpg","text":"TemporaryFile(/tmp/multipartBody3536244294294896683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323214908,"filename":"image_28012025_23_33_06_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/39f456acbfbb04482b7dd0175da89fc6.jpg","text":"TemporaryFile(/tmp/multipartBody65905670768369339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323214908,"filename":"image_28012025_23_33_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/1/31/ad2151e14028eb9cc5cc9ce6539e005e.jpg","text":"TemporaryFile(/tmp/multipartBody4934018502948970318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323214908,"filename":"image_28012025_23_33_46_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fb38068a5807841c96ac84ab14f92219.jpg","text":"TemporaryFile(/tmp/multipartBody532622919952269784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323214908,"filename":"image_28012025_23_33_17_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1560c2265d50cf94a8a9f59086d4239e.jpg","text":"TemporaryFile(/tmp/multipartBody7785933820484859917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323214908,"filename":"image_28012025_23_33_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/1/31/bdf11de0aa0b90b2b9f983485a6e22c4.jpg","text":"TemporaryFile(/tmp/multipartBody4656443960493663059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323214908,"filename":"image_28012025_23_33_56_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333304514","file1":"1333304503","file0":"1333304498","file4":"1333304534","file5":"1333304538","file3":"1333304531"},"map_files_photo_id_array":[{"photo_id":"1333304538","filename":"file5"},{"photo_id":"1333304514","filename":"file2"},{"photo_id":"1333304534","filename":"file4"},{"photo_id":"1333304503","filename":"file1"},{"photo_id":"1333304498","filename":"file0"},{"photo_id":"1333304531","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333304498":["hashtag1","hashtag2"]},{"1333304531":["hashtag1","hashtag2"]},{"1333304534":["hashtag1","hashtag2"]},{"1333304503":["hashtag1","hashtag2"]},{"1333304514":["hashtag1","hashtag2"]},{"1333304538":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333304498, 1333304531, 1333304534, 1333304503, 1333304514, 1333304538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04649257659912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:33:32.853080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/33/image_28012025_23_34_07_10362.jpg', '/home/pi/Desktop/images/28012025/23/34/image_28012025_23_34_16_9390.jpg', '/home/pi/Desktop/images/28012025/23/34/image_28012025_23_34_27_10347.jpg', '/home/pi/Desktop/images/28012025/23/34/image_28012025_23_34_36_9335.jpg', '/home/pi/Desktop/images/28012025/23/34/image_28012025_23_35_06_9347.jpg', '/home/pi/Desktop/images/28012025/23/35/image_28012025_23_35_16_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/33/image_28012025_23_34_07_10362.jpg
/home/pi/Desktop/images/28012025/23/34/image_28012025_23_34_16_9390.jpg
/home/pi/Desktop/images/28012025/23/34/image_28012025_23_34_27_10347.jpg
/home/pi/Desktop/images/28012025/23/34/image_28012025_23_34_36_9335.jpg
/home/pi/Desktop/images/28012025/23/34/image_28012025_23_35_06_9347.jpg
/home/pi/Desktop/images/28012025/23/35/image_28012025_23_35_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":["1333304573","1333304582","1333304585","1333304578","1333304557","1333304565"],"photo_ids_order":["1333304557","1333304565","1333304573","1333304578","1333304582","1333304585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7e5761f52d15824b5a60405868a730c7.jpg","text":"TemporaryFile(/tmp/multipartBody3337460289458323142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323275142,"filename":"image_28012025_23_34_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/1/31/45179dd1c9e254ed216d9284596f50b2.jpg","text":"TemporaryFile(/tmp/multipartBody1623692438126844818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323275142,"filename":"image_28012025_23_35_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/1/31/14fa42e30a7e91bba25cd21f9000c792.jpg","text":"TemporaryFile(/tmp/multipartBody4020227282787876283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323275142,"filename":"image_28012025_23_35_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/1/31/1d15091cfad868afc106a7e503d943ba.jpg","text":"TemporaryFile(/tmp/multipartBody5744289265384496962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323275142,"filename":"image_28012025_23_34_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/1/31/a1583daeed9035545c38daa861017cd1.jpg","text":"TemporaryFile(/tmp/multipartBody490219643293095172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323275142,"filename":"image_28012025_23_34_07_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9b99ae26b090af960a4921ad3d0fe9f2.jpg","text":"TemporaryFile(/tmp/multipartBody5099324348435409847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323275142,"filename":"image_28012025_23_34_16_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333304573","file1":"1333304565","file0":"1333304557","file4":"1333304582","file5":"1333304585","file3":"1333304578"},"map_files_photo_id_array":[{"photo_id":"1333304585","filename":"file5"},{"photo_id":"1333304573","filename":"file2"},{"photo_id":"1333304582","filename":"file4"},{"photo_id":"1333304565","filename":"file1"},{"photo_id":"1333304557","filename":"file0"},{"photo_id":"1333304578","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333304573":["hashtag1","hashtag2"]},{"1333304582":["hashtag1","hashtag2"]},{"1333304585":["hashtag1","hashtag2"]},{"1333304578":["hashtag1","hashtag2"]},{"1333304557":["hashtag1","hashtag2"]},{"1333304565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333304573, 1333304582, 1333304585, 1333304578, 1333304557, 1333304565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.30243182182312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:34:33.029056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/35/image_28012025_23_35_27_10387.jpg', '/home/pi/Desktop/images/28012025/23/35/image_28012025_23_35_36_9458.jpg', '/home/pi/Desktop/images/28012025/23/35/image_28012025_23_35_47_10344.jpg', '/home/pi/Desktop/images/28012025/23/35/image_28012025_23_35_56_9343.jpg', '/home/pi/Desktop/images/28012025/23/35/image_28012025_23_36_06_10327.jpg', '/home/pi/Desktop/images/28012025/23/36/image_28012025_23_36_17_10324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/35/image_28012025_23_35_27_10387.jpg
/home/pi/Desktop/images/28012025/23/35/image_28012025_23_35_36_9458.jpg
/home/pi/Desktop/images/28012025/23/35/image_28012025_23_35_47_10344.jpg
/home/pi/Desktop/images/28012025/23/35/image_28012025_23_35_56_9343.jpg
/home/pi/Desktop/images/28012025/23/35/image_28012025_23_36_06_10327.jpg
/home/pi/Desktop/images/28012025/23/36/image_28012025_23_36_17_10324.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9090797901153564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 12:34:43.147880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/35/image_28012025_23_35_27_10387.jpg', '/home/pi/Desktop/images/28012025/23/35/image_28012025_23_35_36_9458.jpg', '/home/pi/Desktop/images/28012025/23/35/image_28012025_23_35_47_10344.jpg', '/home/pi/Desktop/images/28012025/23/35/image_28012025_23_35_56_9343.jpg', '/home/pi/Desktop/images/28012025/23/35/image_28012025_23_36_06_10327.jpg', '/home/pi/Desktop/images/28012025/23/36/image_28012025_23_36_17_10324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/35/image_28012025_23_35_27_10387.jpg
/home/pi/Desktop/images/28012025/23/35/image_28012025_23_35_36_9458.jpg
/home/pi/Desktop/images/28012025/23/35/image_28012025_23_35_47_10344.jpg
/home/pi/Desktop/images/28012025/23/35/image_28012025_23_35_56_9343.jpg
/home/pi/Desktop/images/28012025/23/35/image_28012025_23_36_06_10327.jpg
/home/pi/Desktop/images/28012025/23/36/image_28012025_23_36_17_10324.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":["1333304729","1333304755","1333304749","1333304758","1333304719","1333304736"],"photo_ids_order":["1333304719","1333304729","1333304736","1333304749","1333304755","1333304758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cf69c52167603ab1ce76aaa8a63ec6a0.jpg","text":"TemporaryFile(/tmp/multipartBody5348262911144382475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323344547,"filename":"image_28012025_23_35_36_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4d1312e0e39f3efe0aa5e036107241cc.jpg","text":"TemporaryFile(/tmp/multipartBody3834248786412855049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323344547,"filename":"image_28012025_23_36_06_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6e794c25dfb8b94c9a8447445b2f1d97.jpg","text":"TemporaryFile(/tmp/multipartBody205584876603469299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323344547,"filename":"image_28012025_23_35_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/1/31/1183fce73a196d0af9382374862b60d8.jpg","text":"TemporaryFile(/tmp/multipartBody7516988691861392936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323344547,"filename":"image_28012025_23_36_17_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a3a715029d61abca135b5fa4943bd9f7.jpg","text":"TemporaryFile(/tmp/multipartBody2105628392394157905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323344547,"filename":"image_28012025_23_35_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/1/31/1d34ee8e991f48f6e1fa54df05863c25.jpg","text":"TemporaryFile(/tmp/multipartBody4009096266755686364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323344547,"filename":"image_28012025_23_35_47_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333304736","file1":"1333304729","file0":"1333304719","file4":"1333304755","file5":"1333304758","file3":"1333304749"},"map_files_photo_id_array":[{"photo_id":"1333304758","filename":"file5"},{"photo_id":"1333304736","filename":"file2"},{"photo_id":"1333304755","filename":"file4"},{"photo_id":"1333304729","filename":"file1"},{"photo_id":"1333304719","filename":"file0"},{"photo_id":"1333304749","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333304729":["hashtag1","hashtag2"]},{"1333304755":["hashtag1","hashtag2"]},{"1333304749":["hashtag1","hashtag2"]},{"1333304758":["hashtag1","hashtag2"]},{"1333304719":["hashtag1","hashtag2"]},{"1333304736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333304729, 1333304755, 1333304749, 1333304758, 1333304719, 1333304736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09073543548584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:35:32.409668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/36/image_28012025_23_36_26_9339.jpg', '/home/pi/Desktop/images/28012025/23/36/image_28012025_23_36_56_9346.jpg', '/home/pi/Desktop/images/28012025/23/36/image_28012025_23_37_06_10435.jpg', '/home/pi/Desktop/images/28012025/23/37/image_28012025_23_37_17_10342.jpg', '/home/pi/Desktop/images/28012025/23/37/image_28012025_23_37_26_9497.jpg', '/home/pi/Desktop/images/28012025/23/37/image_28012025_23_37_37_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/36/image_28012025_23_36_26_9339.jpg
/home/pi/Desktop/images/28012025/23/36/image_28012025_23_36_56_9346.jpg
/home/pi/Desktop/images/28012025/23/36/image_28012025_23_37_06_10435.jpg
/home/pi/Desktop/images/28012025/23/37/image_28012025_23_37_17_10342.jpg
/home/pi/Desktop/images/28012025/23/37/image_28012025_23_37_26_9497.jpg
/home/pi/Desktop/images/28012025/23/37/image_28012025_23_37_37_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":["1333304792","1333304768","1333304783","1333304797","1333304801","1333304775"],"photo_ids_order":["1333304768","1333304775","1333304783","1333304792","1333304797","1333304801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5a35b5c2cebd13a5fee81c8a6fb1858a.jpg","text":"TemporaryFile(/tmp/multipartBody8817422975031435695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323394738,"filename":"image_28012025_23_37_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/1/31/d998b121c9bb0cb77a7cb9e7d465aea2.jpg","text":"TemporaryFile(/tmp/multipartBody7445713081658195191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323394738,"filename":"image_28012025_23_36_26_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9618498336032c62455e8a54b27d1418.jpg","text":"TemporaryFile(/tmp/multipartBody2282855981459348557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323394738,"filename":"image_28012025_23_37_06_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/55488559a538d8084a74cc5f531a665f.jpg","text":"TemporaryFile(/tmp/multipartBody397454090923164542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323394738,"filename":"image_28012025_23_37_26_9497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b0996b9b84a5c891e7942ba9d12d30d6.jpg","text":"TemporaryFile(/tmp/multipartBody3103379412048102873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323394738,"filename":"image_28012025_23_37_37_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/56f66472598e15c9d6f6ff07058dfa91.jpg","text":"TemporaryFile(/tmp/multipartBody3668655692636146769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323394738,"filename":"image_28012025_23_36_56_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333304783","file1":"1333304775","file0":"1333304768","file4":"1333304797","file5":"1333304801","file3":"1333304792"},"map_files_photo_id_array":[{"photo_id":"1333304801","filename":"file5"},{"photo_id":"1333304783","filename":"file2"},{"photo_id":"1333304797","filename":"file4"},{"photo_id":"1333304775","filename":"file1"},{"photo_id":"1333304768","filename":"file0"},{"photo_id":"1333304792","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333304792":["hashtag1","hashtag2"]},{"1333304768":["hashtag1","hashtag2"]},{"1333304783":["hashtag1","hashtag2"]},{"1333304797":["hashtag1","hashtag2"]},{"1333304801":["hashtag1","hashtag2"]},{"1333304775":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333304792, 1333304768, 1333304783, 1333304797, 1333304801, 1333304775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.75711488723755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:36:32.715568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/37/image_28012025_23_37_56_10427.jpg', '/home/pi/Desktop/images/28012025/23/38/image_28012025_23_38_16_9428.jpg', '/home/pi/Desktop/images/28012025/23/38/image_28012025_23_38_37_10352.jpg', '/home/pi/Desktop/images/28012025/23/38/image_28012025_23_38_46_9425.jpg', '/home/pi/Desktop/images/28012025/23/38/image_28012025_23_38_57_10448.jpg', '/home/pi/Desktop/images/28012025/23/38/image_28012025_23_39_06_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/37/image_28012025_23_37_56_10427.jpg
/home/pi/Desktop/images/28012025/23/38/image_28012025_23_38_16_9428.jpg
/home/pi/Desktop/images/28012025/23/38/image_28012025_23_38_37_10352.jpg
/home/pi/Desktop/images/28012025/23/38/image_28012025_23_38_46_9425.jpg
/home/pi/Desktop/images/28012025/23/38/image_28012025_23_38_57_10448.jpg
/home/pi/Desktop/images/28012025/23/38/image_28012025_23_39_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":["1333305043","1333304932","1333305072","1333305075","1333304991","1333304874"],"photo_ids_order":["1333304874","1333304932","1333304991","1333305043","1333305072","1333305075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8bed864db83fe7ee6fb1a4fbb29d27ac.jpg","text":"TemporaryFile(/tmp/multipartBody3295201877889205483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323455011,"filename":"image_28012025_23_38_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/1/31/8738acfcc893ff4f90e850e388633e95.jpg","text":"TemporaryFile(/tmp/multipartBody5830376151816699099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323455011,"filename":"image_28012025_23_38_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/1/31/d6c758b5a7af996835b4f5c6b4d80660.jpg","text":"TemporaryFile(/tmp/multipartBody4587723535129738997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323455011,"filename":"image_28012025_23_38_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/1/31/bc16fcc4cb21fe327f5108305fa7f934.jpg","text":"TemporaryFile(/tmp/multipartBody3214409503816901187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323455011,"filename":"image_28012025_23_39_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/1/31/12b312e32666de6477b2dd5c3f9390e3.jpg","text":"TemporaryFile(/tmp/multipartBody3869043434780128099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323455011,"filename":"image_28012025_23_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/1/31/77b8d277c8b46af0eae4047a1bcec845.jpg","text":"TemporaryFile(/tmp/multipartBody1338623725955944163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323455011,"filename":"image_28012025_23_37_56_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333304991","file1":"1333304932","file0":"1333304874","file4":"1333305072","file5":"1333305075","file3":"1333305043"},"map_files_photo_id_array":[{"photo_id":"1333305075","filename":"file5"},{"photo_id":"1333304991","filename":"file2"},{"photo_id":"1333305072","filename":"file4"},{"photo_id":"1333304932","filename":"file1"},{"photo_id":"1333304874","filename":"file0"},{"photo_id":"1333305043","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333305043":["hashtag1","hashtag2"]},{"1333304932":["hashtag1","hashtag2"]},{"1333305072":["hashtag1","hashtag2"]},{"1333305075":["hashtag1","hashtag2"]},{"1333304991":["hashtag1","hashtag2"]},{"1333304874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333305043, 1333304932, 1333305072, 1333305075, 1333304991, 1333304874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.06987452507019 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:37:32.847098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/39/image_28012025_23_39_17_10462.jpg', '/home/pi/Desktop/images/28012025/23/39/image_28012025_23_39_26_9355.jpg', '/home/pi/Desktop/images/28012025/23/39/image_28012025_23_39_36_10350.jpg', '/home/pi/Desktop/images/28012025/23/39/image_28012025_23_39_47_10367.jpg', '/home/pi/Desktop/images/28012025/23/39/image_28012025_23_39_56_9361.jpg', '/home/pi/Desktop/images/28012025/23/39/image_28012025_23_40_06_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/39/image_28012025_23_39_17_10462.jpg
/home/pi/Desktop/images/28012025/23/39/image_28012025_23_39_26_9355.jpg
/home/pi/Desktop/images/28012025/23/39/image_28012025_23_39_36_10350.jpg
/home/pi/Desktop/images/28012025/23/39/image_28012025_23_39_47_10367.jpg
/home/pi/Desktop/images/28012025/23/39/image_28012025_23_39_56_9361.jpg
/home/pi/Desktop/images/28012025/23/39/image_28012025_23_40_06_10342.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9140937328338623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 12:37:42.861521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/39/image_28012025_23_39_17_10462.jpg', '/home/pi/Desktop/images/28012025/23/39/image_28012025_23_39_26_9355.jpg', '/home/pi/Desktop/images/28012025/23/39/image_28012025_23_39_36_10350.jpg', '/home/pi/Desktop/images/28012025/23/39/image_28012025_23_39_47_10367.jpg', '/home/pi/Desktop/images/28012025/23/39/image_28012025_23_39_56_9361.jpg', '/home/pi/Desktop/images/28012025/23/39/image_28012025_23_40_06_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/39/image_28012025_23_39_17_10462.jpg
/home/pi/Desktop/images/28012025/23/39/image_28012025_23_39_26_9355.jpg
/home/pi/Desktop/images/28012025/23/39/image_28012025_23_39_36_10350.jpg
/home/pi/Desktop/images/28012025/23/39/image_28012025_23_39_47_10367.jpg
/home/pi/Desktop/images/28012025/23/39/image_28012025_23_39_56_9361.jpg
/home/pi/Desktop/images/28012025/23/39/image_28012025_23_40_06_10342.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":["1333305496","1333305500","1333305460","1333305520","1333305477","1333305519"],"photo_ids_order":["1333305460","1333305477","1333305496","1333305500","1333305519","1333305520"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0d8141967ebdc75f92aa398a7c503fcb.jpg","text":"TemporaryFile(/tmp/multipartBody6169122350313938816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323524269,"filename":"image_28012025_23_39_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/1/31/be9f0ae54b90401269d20d435c65c729.jpg","text":"TemporaryFile(/tmp/multipartBody6613793239602428571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323524269,"filename":"image_28012025_23_39_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/1/31/74a71091661ee760f174469a964666a2.jpg","text":"TemporaryFile(/tmp/multipartBody6573968660017637586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323524269,"filename":"image_28012025_23_39_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/1/31/4bed6fa13ae8e10b8e77e4e2dbeb571e.jpg","text":"TemporaryFile(/tmp/multipartBody536704534067700403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323524269,"filename":"image_28012025_23_40_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/1/31/55cee3e85bf8bfd3bf506f5c312c8f3a.jpg","text":"TemporaryFile(/tmp/multipartBody2558531679306823871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323524269,"filename":"image_28012025_23_39_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/1/31/7759bde0e52601902db5b383d09f6329.jpg","text":"TemporaryFile(/tmp/multipartBody3344313002490804166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323524269,"filename":"image_28012025_23_39_56_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333305496","file1":"1333305477","file0":"1333305460","file4":"1333305519","file5":"1333305520","file3":"1333305500"},"map_files_photo_id_array":[{"photo_id":"1333305520","filename":"file5"},{"photo_id":"1333305496","filename":"file2"},{"photo_id":"1333305519","filename":"file4"},{"photo_id":"1333305477","filename":"file1"},{"photo_id":"1333305460","filename":"file0"},{"photo_id":"1333305500","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333305496":["hashtag1","hashtag2"]},{"1333305500":["hashtag1","hashtag2"]},{"1333305460":["hashtag1","hashtag2"]},{"1333305520":["hashtag1","hashtag2"]},{"1333305477":["hashtag1","hashtag2"]},{"1333305519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333305496, 1333305500, 1333305460, 1333305520, 1333305477, 1333305519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.282713413238525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:38:33.085618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/40/image_28012025_23_40_17_10340.jpg', '/home/pi/Desktop/images/28012025/23/40/image_28012025_23_40_26_9351.jpg', '/home/pi/Desktop/images/28012025/23/40/image_28012025_23_40_36_10443.jpg', '/home/pi/Desktop/images/28012025/23/40/image_28012025_23_40_47_10364.jpg', '/home/pi/Desktop/images/28012025/23/40/image_28012025_23_40_56_9457.jpg', '/home/pi/Desktop/images/28012025/23/40/image_28012025_23_41_07_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/40/image_28012025_23_40_17_10340.jpg
/home/pi/Desktop/images/28012025/23/40/image_28012025_23_40_26_9351.jpg
/home/pi/Desktop/images/28012025/23/40/image_28012025_23_40_36_10443.jpg
/home/pi/Desktop/images/28012025/23/40/image_28012025_23_40_47_10364.jpg
/home/pi/Desktop/images/28012025/23/40/image_28012025_23_40_56_9457.jpg
/home/pi/Desktop/images/28012025/23/40/image_28012025_23_41_07_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333305641","1333305629","1333305638","1333305634","1333305610","1333305621"],"photo_ids_order":["1333305610","1333305621","1333305629","1333305634","1333305638","1333305641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4d4569f5707e24caf38dedf9db65359c.jpg","text":"TemporaryFile(/tmp/multipartBody1923362860272989548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323575423,"filename":"image_28012025_23_41_07_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3826b2608f67980f5a85fb4db719d761.jpg","text":"TemporaryFile(/tmp/multipartBody418151827781058251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323575423,"filename":"image_28012025_23_40_36_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/279ad4be7146df7b973f368a2a6af18d.jpg","text":"TemporaryFile(/tmp/multipartBody464599391008674561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323575423,"filename":"image_28012025_23_40_56_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1d19a71a08115585b9a9a9f18400ea29.jpg","text":"TemporaryFile(/tmp/multipartBody3175969338877734736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323575423,"filename":"image_28012025_23_40_47_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/08f90a7e44d1bb10dbb49753b066f14a.jpg","text":"TemporaryFile(/tmp/multipartBody7248637603746968750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323575423,"filename":"image_28012025_23_40_17_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/38e17f6c17211841183052ad420e9ac6.jpg","text":"TemporaryFile(/tmp/multipartBody7876441759827353027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323575423,"filename":"image_28012025_23_40_26_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333305629","file1":"1333305621","file0":"1333305610","file4":"1333305638","file5":"1333305641","file3":"1333305634"},"map_files_photo_id_array":[{"photo_id":"1333305641","filename":"file5"},{"photo_id":"1333305629","filename":"file2"},{"photo_id":"1333305638","filename":"file4"},{"photo_id":"1333305621","filename":"file1"},{"photo_id":"1333305610","filename":"file0"},{"photo_id":"1333305634","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333305641":["hashtag1","hashtag2"]},{"1333305629":["hashtag1","hashtag2"]},{"1333305638":["hashtag1","hashtag2"]},{"1333305634":["hashtag1","hashtag2"]},{"1333305610":["hashtag1","hashtag2"]},{"1333305621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333305641, 1333305629, 1333305638, 1333305634, 1333305610, 1333305621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.284830808639526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:39:32.366446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/41/image_28012025_23_41_16_9341.jpg', '/home/pi/Desktop/images/28012025/23/41/image_28012025_23_41_26_10472.jpg', '/home/pi/Desktop/images/28012025/23/41/image_28012025_23_41_36_9493.jpg', '/home/pi/Desktop/images/28012025/23/41/image_28012025_23_41_46_10549.jpg', '/home/pi/Desktop/images/28012025/23/41/image_28012025_23_41_56_9470.jpg', '/home/pi/Desktop/images/28012025/23/41/image_28012025_23_42_06_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/41/image_28012025_23_41_16_9341.jpg
/home/pi/Desktop/images/28012025/23/41/image_28012025_23_41_26_10472.jpg
/home/pi/Desktop/images/28012025/23/41/image_28012025_23_41_36_9493.jpg
/home/pi/Desktop/images/28012025/23/41/image_28012025_23_41_46_10549.jpg
/home/pi/Desktop/images/28012025/23/41/image_28012025_23_41_56_9470.jpg
/home/pi/Desktop/images/28012025/23/41/image_28012025_23_42_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":["1333305679","1333305655","1333305660","1333305666","1333305683","1333305674"],"photo_ids_order":["1333305655","1333305660","1333305666","1333305674","1333305679","1333305683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b38807856bd0c4306955f603926b98ee.jpg","text":"TemporaryFile(/tmp/multipartBody2520156555895888080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323634675,"filename":"image_28012025_23_41_56_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/934ac2a3dcb53f69b6cd04ecbc972afd.jpg","text":"TemporaryFile(/tmp/multipartBody7152426646749956027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323634675,"filename":"image_28012025_23_41_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/1/31/a8a955d1f5c68964837fd0472bc2b54f.jpg","text":"TemporaryFile(/tmp/multipartBody444696888894785680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323634675,"filename":"image_28012025_23_41_26_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4a3bf029895b99c03f3b7f12358b645c.jpg","text":"TemporaryFile(/tmp/multipartBody215015299966666271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323634675,"filename":"image_28012025_23_41_36_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c1797d6e00b65f5701e03960352070d1.jpg","text":"TemporaryFile(/tmp/multipartBody2286288771689666550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323634675,"filename":"image_28012025_23_42_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/1/31/d8a843814637b48f4a14427e582f619c.jpg","text":"TemporaryFile(/tmp/multipartBody6759773120479719612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323634675,"filename":"image_28012025_23_41_46_10549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333305666","file1":"1333305660","file0":"1333305655","file4":"1333305679","file5":"1333305683","file3":"1333305674"},"map_files_photo_id_array":[{"photo_id":"1333305683","filename":"file5"},{"photo_id":"1333305666","filename":"file2"},{"photo_id":"1333305679","filename":"file4"},{"photo_id":"1333305660","filename":"file1"},{"photo_id":"1333305655","filename":"file0"},{"photo_id":"1333305674","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333305679":["hashtag1","hashtag2"]},{"1333305655":["hashtag1","hashtag2"]},{"1333305660":["hashtag1","hashtag2"]},{"1333305666":["hashtag1","hashtag2"]},{"1333305683":["hashtag1","hashtag2"]},{"1333305674":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333305679, 1333305655, 1333305660, 1333305666, 1333305683, 1333305674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.85507845878601 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:40:32.572905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/42/image_28012025_23_42_17_10333.jpg', '/home/pi/Desktop/images/28012025/23/42/image_28012025_23_42_26_9389.jpg', '/home/pi/Desktop/images/28012025/23/42/image_28012025_23_42_36_10422.jpg', '/home/pi/Desktop/images/28012025/23/42/image_28012025_23_42_47_10341.jpg', '/home/pi/Desktop/images/28012025/23/42/image_28012025_23_42_56_9403.jpg', '/home/pi/Desktop/images/28012025/23/42/image_28012025_23_43_06_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/42/image_28012025_23_42_17_10333.jpg
/home/pi/Desktop/images/28012025/23/42/image_28012025_23_42_26_9389.jpg
/home/pi/Desktop/images/28012025/23/42/image_28012025_23_42_36_10422.jpg
/home/pi/Desktop/images/28012025/23/42/image_28012025_23_42_47_10341.jpg
/home/pi/Desktop/images/28012025/23/42/image_28012025_23_42_56_9403.jpg
/home/pi/Desktop/images/28012025/23/42/image_28012025_23_43_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":["1333305827","1333305835","1333305885","1333305921","1333305723","1333305906"],"photo_ids_order":["1333305723","1333305827","1333305835","1333305885","1333305906","1333305921"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8df8d5c1d3e02bb179930a17c838b47b.jpg","text":"TemporaryFile(/tmp/multipartBody4739668839070547693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323694891,"filename":"image_28012025_23_42_26_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/66e21509b48582f30be2dd1efc02c04e.jpg","text":"TemporaryFile(/tmp/multipartBody4393138523455913016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323694891,"filename":"image_28012025_23_42_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/1/31/a9dcd3cb11e0fdf21e235664dd98349e.jpg","text":"TemporaryFile(/tmp/multipartBody4095998901207192177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323694891,"filename":"image_28012025_23_42_47_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7c81fa29704261d2c27b4f02172d8b44.jpg","text":"TemporaryFile(/tmp/multipartBody1821420203731948455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323694891,"filename":"image_28012025_23_43_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/1/31/7e6ce9558df7f52d12b40a31e69c8240.jpg","text":"TemporaryFile(/tmp/multipartBody7491081539978867217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323694891,"filename":"image_28012025_23_42_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/1/31/a08d6264726a1bd49f89eec6bd0255c1.jpg","text":"TemporaryFile(/tmp/multipartBody502327576708061600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323694891,"filename":"image_28012025_23_42_56_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333305835","file1":"1333305827","file0":"1333305723","file4":"1333305906","file5":"1333305921","file3":"1333305885"},"map_files_photo_id_array":[{"photo_id":"1333305921","filename":"file5"},{"photo_id":"1333305835","filename":"file2"},{"photo_id":"1333305906","filename":"file4"},{"photo_id":"1333305827","filename":"file1"},{"photo_id":"1333305723","filename":"file0"},{"photo_id":"1333305885","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333305827":["hashtag1","hashtag2"]},{"1333305835":["hashtag1","hashtag2"]},{"1333305885":["hashtag1","hashtag2"]},{"1333305921":["hashtag1","hashtag2"]},{"1333305723":["hashtag1","hashtag2"]},{"1333305906":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333305827, 1333305835, 1333305885, 1333305921, 1333305723, 1333305906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84922957420349 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:41:32.925308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/43/image_28012025_23_43_17_10345.jpg', '/home/pi/Desktop/images/28012025/23/43/image_28012025_23_43_26_9461.jpg', '/home/pi/Desktop/images/28012025/23/43/image_28012025_23_43_37_10355.jpg', '/home/pi/Desktop/images/28012025/23/43/image_28012025_23_43_46_9329.jpg', '/home/pi/Desktop/images/28012025/23/43/image_28012025_23_43_56_10358.jpg', '/home/pi/Desktop/images/28012025/23/43/image_28012025_23_44_07_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/43/image_28012025_23_43_17_10345.jpg
/home/pi/Desktop/images/28012025/23/43/image_28012025_23_43_26_9461.jpg
/home/pi/Desktop/images/28012025/23/43/image_28012025_23_43_37_10355.jpg
/home/pi/Desktop/images/28012025/23/43/image_28012025_23_43_46_9329.jpg
/home/pi/Desktop/images/28012025/23/43/image_28012025_23_43_56_10358.jpg
/home/pi/Desktop/images/28012025/23/43/image_28012025_23_44_07_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":["1333306001","1333306066","1333305990","1333306005","1333305995","1333305986"],"photo_ids_order":["1333305986","1333305990","1333305995","1333306001","1333306005","1333306066"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fea8a47600475a44f7d0c461083965c0.jpg","text":"TemporaryFile(/tmp/multipartBody730139912131643847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323755239,"filename":"image_28012025_23_43_46_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/88b1f39fabb694dc01ae613c4508330d.jpg","text":"TemporaryFile(/tmp/multipartBody2878155819044746109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323755239,"filename":"image_28012025_23_44_07_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9bd50c6026484a8fe6ac8ac073022451.jpg","text":"TemporaryFile(/tmp/multipartBody838466061082207853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323755239,"filename":"image_28012025_23_43_26_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/54a0a52a481768c5ec3b2143ea9427c8.jpg","text":"TemporaryFile(/tmp/multipartBody4892927775052246626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323755239,"filename":"image_28012025_23_43_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/1/31/09830c3ffdb83e1301e1583095a905b3.jpg","text":"TemporaryFile(/tmp/multipartBody3290073437692127959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323755239,"filename":"image_28012025_23_43_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/1/31/c2ca061f43b987c044261c1f76c664c0.jpg","text":"TemporaryFile(/tmp/multipartBody329406231077200808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323755239,"filename":"image_28012025_23_43_17_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333305995","file1":"1333305990","file0":"1333305986","file4":"1333306005","file5":"1333306066","file3":"1333306001"},"map_files_photo_id_array":[{"photo_id":"1333306066","filename":"file5"},{"photo_id":"1333305995","filename":"file2"},{"photo_id":"1333306005","filename":"file4"},{"photo_id":"1333305990","filename":"file1"},{"photo_id":"1333305986","filename":"file0"},{"photo_id":"1333306001","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333306001":["hashtag1","hashtag2"]},{"1333306066":["hashtag1","hashtag2"]},{"1333305990":["hashtag1","hashtag2"]},{"1333306005":["hashtag1","hashtag2"]},{"1333305995":["hashtag1","hashtag2"]},{"1333305986":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333306001, 1333306066, 1333305990, 1333306005, 1333305995, 1333305986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.922754764556885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:42:32.432878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/44/image_28012025_23_44_16_9464.jpg', '/home/pi/Desktop/images/28012025/23/44/image_28012025_23_44_27_10355.jpg', '/home/pi/Desktop/images/28012025/23/44/image_28012025_23_44_36_9360.jpg', '/home/pi/Desktop/images/28012025/23/44/image_28012025_23_44_46_10382.jpg', '/home/pi/Desktop/images/28012025/23/44/image_28012025_23_44_57_10366.jpg', '/home/pi/Desktop/images/28012025/23/44/image_28012025_23_45_06_9500.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/44/image_28012025_23_44_16_9464.jpg
/home/pi/Desktop/images/28012025/23/44/image_28012025_23_44_27_10355.jpg
/home/pi/Desktop/images/28012025/23/44/image_28012025_23_44_36_9360.jpg
/home/pi/Desktop/images/28012025/23/44/image_28012025_23_44_46_10382.jpg
/home/pi/Desktop/images/28012025/23/44/image_28012025_23_44_57_10366.jpg
/home/pi/Desktop/images/28012025/23/44/image_28012025_23_45_06_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":["1333306204","1333306191","1333306206","1333306209","1333306200","1333306184"],"photo_ids_order":["1333306184","1333306191","1333306200","1333306204","1333306206","1333306209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b2b6a711693fa57773a912ef1fe2bd12.jpg","text":"TemporaryFile(/tmp/multipartBody642352251315632965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323814730,"filename":"image_28012025_23_44_46_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5bba783537c63e08bbb155a0d40ba553.jpg","text":"TemporaryFile(/tmp/multipartBody7074070905407456898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323814730,"filename":"image_28012025_23_44_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/1/31/c0d6a3136f1d003124aedefcbc92d1d1.jpg","text":"TemporaryFile(/tmp/multipartBody5931781030128966265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323814730,"filename":"image_28012025_23_44_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/1/31/2336a930aa5fdc00ffadd549d13f3d85.jpg","text":"TemporaryFile(/tmp/multipartBody8392950525185579157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323814730,"filename":"image_28012025_23_45_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/1/31/e7463c44673ce5d3ab7cc1e95d6fc47a.jpg","text":"TemporaryFile(/tmp/multipartBody611859663721569684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323814730,"filename":"image_28012025_23_44_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/1/31/98df5859921cd7c7fa2a63cb969d6076.jpg","text":"TemporaryFile(/tmp/multipartBody205884591088968574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323814730,"filename":"image_28012025_23_44_16_9464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333306200","file1":"1333306191","file0":"1333306184","file4":"1333306206","file5":"1333306209","file3":"1333306204"},"map_files_photo_id_array":[{"photo_id":"1333306209","filename":"file5"},{"photo_id":"1333306200","filename":"file2"},{"photo_id":"1333306206","filename":"file4"},{"photo_id":"1333306191","filename":"file1"},{"photo_id":"1333306184","filename":"file0"},{"photo_id":"1333306204","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333306204":["hashtag1","hashtag2"]},{"1333306191":["hashtag1","hashtag2"]},{"1333306206":["hashtag1","hashtag2"]},{"1333306209":["hashtag1","hashtag2"]},{"1333306200":["hashtag1","hashtag2"]},{"1333306184":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333306204, 1333306191, 1333306206, 1333306209, 1333306200, 1333306184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.487351417541504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:43:32.680842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/45/image_28012025_23_45_17_10407.jpg', '/home/pi/Desktop/images/28012025/23/45/image_28012025_23_45_26_9344.jpg', '/home/pi/Desktop/images/28012025/23/45/image_28012025_23_45_36_10454.jpg', '/home/pi/Desktop/images/28012025/23/45/image_28012025_23_45_47_10358.jpg', '/home/pi/Desktop/images/28012025/23/45/image_28012025_23_45_56_9355.jpg', '/home/pi/Desktop/images/28012025/23/45/image_28012025_23_46_06_10422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/45/image_28012025_23_45_17_10407.jpg
/home/pi/Desktop/images/28012025/23/45/image_28012025_23_45_26_9344.jpg
/home/pi/Desktop/images/28012025/23/45/image_28012025_23_45_36_10454.jpg
/home/pi/Desktop/images/28012025/23/45/image_28012025_23_45_47_10358.jpg
/home/pi/Desktop/images/28012025/23/45/image_28012025_23_45_56_9355.jpg
/home/pi/Desktop/images/28012025/23/45/image_28012025_23_46_06_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":["1333306300","1333306306","1333306338","1333306347","1333306343","1333306223"],"photo_ids_order":["1333306223","1333306300","1333306306","1333306338","1333306343","1333306347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aac2c0b00278145a131eac59675f7b12.jpg","text":"TemporaryFile(/tmp/multipartBody2863544976368391094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323875484,"filename":"image_28012025_23_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/1/31/86aca519a3a85fe2585938468b6caf8b.jpg","text":"TemporaryFile(/tmp/multipartBody4844915894179242644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323875484,"filename":"image_28012025_23_45_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/1/31/4e4fcd25ed3b66c09e7943ba5039a33e.jpg","text":"TemporaryFile(/tmp/multipartBody3626346325157972463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323875484,"filename":"image_28012025_23_45_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/1/31/9513af24a8d50a2b51f13182cac575ec.jpg","text":"TemporaryFile(/tmp/multipartBody6162024861823580689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323875484,"filename":"image_28012025_23_46_06_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/734297a2f13d78f19f029725f43e7eec.jpg","text":"TemporaryFile(/tmp/multipartBody8265060934394022572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323875484,"filename":"image_28012025_23_45_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/1/31/571c1cf9e2f04ab8cedcd1c03ff71707.jpg","text":"TemporaryFile(/tmp/multipartBody6421657853846837893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323875484,"filename":"image_28012025_23_45_17_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333306306","file1":"1333306300","file0":"1333306223","file4":"1333306343","file5":"1333306347","file3":"1333306338"},"map_files_photo_id_array":[{"photo_id":"1333306347","filename":"file5"},{"photo_id":"1333306306","filename":"file2"},{"photo_id":"1333306343","filename":"file4"},{"photo_id":"1333306300","filename":"file1"},{"photo_id":"1333306223","filename":"file0"},{"photo_id":"1333306338","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333306300":["hashtag1","hashtag2"]},{"1333306306":["hashtag1","hashtag2"]},{"1333306338":["hashtag1","hashtag2"]},{"1333306347":["hashtag1","hashtag2"]},{"1333306343":["hashtag1","hashtag2"]},{"1333306223":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333306300, 1333306306, 1333306338, 1333306347, 1333306343, 1333306223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.67584681510925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:44:32.820799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/46/image_28012025_23_46_17_10348.jpg', '/home/pi/Desktop/images/28012025/23/46/image_28012025_23_46_26_9469.jpg', '/home/pi/Desktop/images/28012025/23/46/image_28012025_23_46_37_10361.jpg', '/home/pi/Desktop/images/28012025/23/46/image_28012025_23_46_46_9352.jpg', '/home/pi/Desktop/images/28012025/23/46/image_28012025_23_46_56_10460.jpg', '/home/pi/Desktop/images/28012025/23/46/image_28012025_23_47_07_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/46/image_28012025_23_46_17_10348.jpg
/home/pi/Desktop/images/28012025/23/46/image_28012025_23_46_26_9469.jpg
/home/pi/Desktop/images/28012025/23/46/image_28012025_23_46_37_10361.jpg
/home/pi/Desktop/images/28012025/23/46/image_28012025_23_46_46_9352.jpg
/home/pi/Desktop/images/28012025/23/46/image_28012025_23_46_56_10460.jpg
/home/pi/Desktop/images/28012025/23/46/image_28012025_23_47_07_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":["1333306582","1333306579","1333306516","1333306443","1333306571","1333306451"],"photo_ids_order":["1333306443","1333306451","1333306516","1333306571","1333306579","1333306582"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6fd05f81fa6c3e9ba1653f8f21f13b30.jpg","text":"TemporaryFile(/tmp/multipartBody5646880719620593565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323935132,"filename":"image_28012025_23_47_07_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3aed293389e6a82b549e9121e81660fd.jpg","text":"TemporaryFile(/tmp/multipartBody2509431189221630535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323935132,"filename":"image_28012025_23_46_56_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5e04fc402decd645c0b4c4e84604813a.jpg","text":"TemporaryFile(/tmp/multipartBody5993498584529178059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323935132,"filename":"image_28012025_23_46_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/1/31/1dc8289afc6223eb177fb496c7a721bb.jpg","text":"TemporaryFile(/tmp/multipartBody1338251197944095987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323935132,"filename":"image_28012025_23_46_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/1/31/7e263ca495274fc67b19b41062b9332c.jpg","text":"TemporaryFile(/tmp/multipartBody4687063913091066264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323935132,"filename":"image_28012025_23_46_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/1/31/4d253ea7afc40bd1b37993fa0ab4bd6e.jpg","text":"TemporaryFile(/tmp/multipartBody3680808600944823569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323935132,"filename":"image_28012025_23_46_26_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333306516","file1":"1333306451","file0":"1333306443","file4":"1333306579","file5":"1333306582","file3":"1333306571"},"map_files_photo_id_array":[{"photo_id":"1333306582","filename":"file5"},{"photo_id":"1333306516","filename":"file2"},{"photo_id":"1333306579","filename":"file4"},{"photo_id":"1333306451","filename":"file1"},{"photo_id":"1333306443","filename":"file0"},{"photo_id":"1333306571","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333306582":["hashtag1","hashtag2"]},{"1333306579":["hashtag1","hashtag2"]},{"1333306516":["hashtag1","hashtag2"]},{"1333306443":["hashtag1","hashtag2"]},{"1333306571":["hashtag1","hashtag2"]},{"1333306451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333306582, 1333306579, 1333306516, 1333306443, 1333306571, 1333306451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.9278199672699 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:45:33.098661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/47/image_28012025_23_47_16_9479.jpg', '/home/pi/Desktop/images/28012025/23/47/image_28012025_23_47_27_10362.jpg', '/home/pi/Desktop/images/28012025/23/47/image_28012025_23_47_36_9324.jpg', '/home/pi/Desktop/images/28012025/23/47/image_28012025_23_47_46_10482.jpg', '/home/pi/Desktop/images/28012025/23/47/image_28012025_23_47_57_10356.jpg', '/home/pi/Desktop/images/28012025/23/47/image_28012025_23_48_06_9434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/47/image_28012025_23_47_16_9479.jpg
/home/pi/Desktop/images/28012025/23/47/image_28012025_23_47_27_10362.jpg
/home/pi/Desktop/images/28012025/23/47/image_28012025_23_47_36_9324.jpg
/home/pi/Desktop/images/28012025/23/47/image_28012025_23_47_46_10482.jpg
/home/pi/Desktop/images/28012025/23/47/image_28012025_23_47_57_10356.jpg
/home/pi/Desktop/images/28012025/23/47/image_28012025_23_48_06_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":["1333306828","1333306822","1333306708","1333306683","1333306662","1333306874"],"photo_ids_order":["1333306662","1333306683","1333306708","1333306822","1333306828","1333306874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f47965cf68490c54067f3cfaaa6f444b.jpg","text":"TemporaryFile(/tmp/multipartBody2981482992225530320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323995399,"filename":"image_28012025_23_47_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/1/31/5230167c6ad415b99bc2832e67a270b3.jpg","text":"TemporaryFile(/tmp/multipartBody4105562974041039252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323995399,"filename":"image_28012025_23_47_46_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fc101beacf35517cb4323118fe894689.jpg","text":"TemporaryFile(/tmp/multipartBody5142308699396444768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323995399,"filename":"image_28012025_23_47_36_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7ed90e541499de169304cb1dc45dbe04.jpg","text":"TemporaryFile(/tmp/multipartBody3568899482486912835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323995399,"filename":"image_28012025_23_47_27_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/070009a3a9eb1b4d4602bdcf1fab731e.jpg","text":"TemporaryFile(/tmp/multipartBody2165514911006342146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323995399,"filename":"image_28012025_23_47_16_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ab77ac90f8c310c5eee80d0a1c2b4c17.jpg","text":"TemporaryFile(/tmp/multipartBody6954608060746066299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738323995399,"filename":"image_28012025_23_48_06_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333306708","file1":"1333306683","file0":"1333306662","file4":"1333306828","file5":"1333306874","file3":"1333306822"},"map_files_photo_id_array":[{"photo_id":"1333306874","filename":"file5"},{"photo_id":"1333306708","filename":"file2"},{"photo_id":"1333306828","filename":"file4"},{"photo_id":"1333306683","filename":"file1"},{"photo_id":"1333306662","filename":"file0"},{"photo_id":"1333306822","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333306828":["hashtag1","hashtag2"]},{"1333306822":["hashtag1","hashtag2"]},{"1333306708":["hashtag1","hashtag2"]},{"1333306683":["hashtag1","hashtag2"]},{"1333306662":["hashtag1","hashtag2"]},{"1333306874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333306828, 1333306822, 1333306708, 1333306683, 1333306662, 1333306874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.326987981796265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:46:32.216571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/48/image_28012025_23_48_27_10110.jpg', '/home/pi/Desktop/images/28012025/23/48/image_28012025_23_48_36_9342.jpg', '/home/pi/Desktop/images/28012025/23/48/image_28012025_23_48_46_10449.jpg', '/home/pi/Desktop/images/28012025/23/48/image_28012025_23_49_06_9452.jpg', '/home/pi/Desktop/images/28012025/23/49/image_28012025_23_49_17_10337.jpg', '/home/pi/Desktop/images/28012025/23/49/image_28012025_23_49_26_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/48/image_28012025_23_48_27_10110.jpg
/home/pi/Desktop/images/28012025/23/48/image_28012025_23_48_36_9342.jpg
/home/pi/Desktop/images/28012025/23/48/image_28012025_23_48_46_10449.jpg
/home/pi/Desktop/images/28012025/23/48/image_28012025_23_49_06_9452.jpg
/home/pi/Desktop/images/28012025/23/49/image_28012025_23_49_17_10337.jpg
/home/pi/Desktop/images/28012025/23/49/image_28012025_23_49_26_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":["1333307074","1333307094","1333307088","1333306995","1333307081","1333307092"],"photo_ids_order":["1333306995","1333307074","1333307081","1333307088","1333307092","1333307094"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/894433d4ea280b6bdacc512a55d9a54c.jpg","text":"TemporaryFile(/tmp/multipartBody219287985348203021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324054523,"filename":"image_28012025_23_48_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/1/31/f103c241e6752d905110212538dd5dfb.jpg","text":"TemporaryFile(/tmp/multipartBody585370189639125651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324054523,"filename":"image_28012025_23_49_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/1/31/d956fc59f09c27f19fda1554ec4c92e1.jpg","text":"TemporaryFile(/tmp/multipartBody637850561090411904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324054523,"filename":"image_28012025_23_49_06_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b302f21ddb254b6ec7f2760f181450cb.jpg","text":"TemporaryFile(/tmp/multipartBody2411755773371150814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324054523,"filename":"image_28012025_23_48_27_10110.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8136a56e0e064f83b68c3c60db1114d8.jpg","text":"TemporaryFile(/tmp/multipartBody8049987171580658041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324054523,"filename":"image_28012025_23_48_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/1/31/43aaa10e60b626754499e8e0d332719f.jpg","text":"TemporaryFile(/tmp/multipartBody8058750365497598516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324054523,"filename":"image_28012025_23_49_17_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333307081","file1":"1333307074","file0":"1333306995","file4":"1333307092","file5":"1333307094","file3":"1333307088"},"map_files_photo_id_array":[{"photo_id":"1333307094","filename":"file5"},{"photo_id":"1333307081","filename":"file2"},{"photo_id":"1333307092","filename":"file4"},{"photo_id":"1333307074","filename":"file1"},{"photo_id":"1333306995","filename":"file0"},{"photo_id":"1333307088","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333307074":["hashtag1","hashtag2"]},{"1333307094":["hashtag1","hashtag2"]},{"1333307088":["hashtag1","hashtag2"]},{"1333306995":["hashtag1","hashtag2"]},{"1333307081":["hashtag1","hashtag2"]},{"1333307092":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333307074, 1333307094, 1333307088, 1333306995, 1333307081, 1333307092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.2822208404541 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:47:32.446062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/49/image_28012025_23_49_36_10384.jpg', '/home/pi/Desktop/images/28012025/23/49/image_28012025_23_49_47_10363.jpg', '/home/pi/Desktop/images/28012025/23/49/image_28012025_23_49_56_9465.jpg', '/home/pi/Desktop/images/28012025/23/49/image_28012025_23_50_07_10335.jpg', '/home/pi/Desktop/images/28012025/23/50/image_28012025_23_50_16_9346.jpg', '/home/pi/Desktop/images/28012025/23/50/image_28012025_23_50_26_10435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/49/image_28012025_23_49_36_10384.jpg
/home/pi/Desktop/images/28012025/23/49/image_28012025_23_49_47_10363.jpg
/home/pi/Desktop/images/28012025/23/49/image_28012025_23_49_56_9465.jpg
/home/pi/Desktop/images/28012025/23/49/image_28012025_23_50_07_10335.jpg
/home/pi/Desktop/images/28012025/23/50/image_28012025_23_50_16_9346.jpg
/home/pi/Desktop/images/28012025/23/50/image_28012025_23_50_26_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":["1333307113","1333307135","1333307129","1333307138","1333307123","1333307117"],"photo_ids_order":["1333307113","1333307117","1333307123","1333307129","1333307135","1333307138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/51e7f99cdcb9c19e4e1bab48437875f0.jpg","text":"TemporaryFile(/tmp/multipartBody1124540121814102207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324114767,"filename":"image_28012025_23_49_36_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/98d97917e49cde3fe64180dc57e21c0a.jpg","text":"TemporaryFile(/tmp/multipartBody8698463513241945740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324114767,"filename":"image_28012025_23_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/1/31/2a9936b3872f4467e217157bc24a067f.jpg","text":"TemporaryFile(/tmp/multipartBody7157441279052752132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324114767,"filename":"image_28012025_23_50_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/1/31/49b54b581b4dc20f007fbecd333c1475.jpg","text":"TemporaryFile(/tmp/multipartBody1313766343000376914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324114767,"filename":"image_28012025_23_50_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/1/31/525c85786c97edbdf253626e7e4e978d.jpg","text":"TemporaryFile(/tmp/multipartBody6032078941228048430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324114767,"filename":"image_28012025_23_49_56_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7c680bbb4c8592e8d368f6a5589927ef.jpg","text":"TemporaryFile(/tmp/multipartBody5042717963851537702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324114767,"filename":"image_28012025_23_49_47_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333307123","file1":"1333307117","file0":"1333307113","file4":"1333307135","file5":"1333307138","file3":"1333307129"},"map_files_photo_id_array":[{"photo_id":"1333307138","filename":"file5"},{"photo_id":"1333307123","filename":"file2"},{"photo_id":"1333307135","filename":"file4"},{"photo_id":"1333307117","filename":"file1"},{"photo_id":"1333307113","filename":"file0"},{"photo_id":"1333307129","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333307113":["hashtag1","hashtag2"]},{"1333307135":["hashtag1","hashtag2"]},{"1333307129":["hashtag1","hashtag2"]},{"1333307138":["hashtag1","hashtag2"]},{"1333307123":["hashtag1","hashtag2"]},{"1333307117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333307113, 1333307135, 1333307129, 1333307138, 1333307123, 1333307117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.11555004119873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:48:32.666617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/50/image_28012025_23_50_37_10358.jpg', '/home/pi/Desktop/images/28012025/23/50/image_28012025_23_50_46_9355.jpg', '/home/pi/Desktop/images/28012025/23/50/image_28012025_23_50_56_10357.jpg', '/home/pi/Desktop/images/28012025/23/50/image_28012025_23_51_07_10335.jpg', '/home/pi/Desktop/images/28012025/23/51/image_28012025_23_51_16_9477.jpg', '/home/pi/Desktop/images/28012025/23/51/image_28012025_23_51_27_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/50/image_28012025_23_50_37_10358.jpg
/home/pi/Desktop/images/28012025/23/50/image_28012025_23_50_46_9355.jpg
/home/pi/Desktop/images/28012025/23/50/image_28012025_23_50_56_10357.jpg
/home/pi/Desktop/images/28012025/23/50/image_28012025_23_51_07_10335.jpg
/home/pi/Desktop/images/28012025/23/51/image_28012025_23_51_16_9477.jpg
/home/pi/Desktop/images/28012025/23/51/image_28012025_23_51_27_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":["1333307167","1333307484","1333307172","1333307175","1333307156","1333307161"],"photo_ids_order":["1333307156","1333307161","1333307167","1333307172","1333307175","1333307484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e1d584ae5df6dfe4fab20be400a5b8a2.jpg","text":"TemporaryFile(/tmp/multipartBody9009156288194756126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324174982,"filename":"image_28012025_23_50_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/1/31/6a89823a14e89b907df2fb47955f9e3c.jpg","text":"TemporaryFile(/tmp/multipartBody306915652865097162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324174982,"filename":"image_28012025_23_51_27_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/988b8ae9998413686f02aab773f43527.jpg","text":"TemporaryFile(/tmp/multipartBody1525360352878865406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324174982,"filename":"image_28012025_23_51_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/1/31/877fe6294f7be608524e8a1638aeb255.jpg","text":"TemporaryFile(/tmp/multipartBody1980929729285926674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324174982,"filename":"image_28012025_23_51_16_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/174ef885730b8efc4373e92b54667b53.jpg","text":"TemporaryFile(/tmp/multipartBody5384278212041285288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324174982,"filename":"image_28012025_23_50_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/1/31/e3888fa7994d780f91b140fbf03915dd.jpg","text":"TemporaryFile(/tmp/multipartBody8052031020546663267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324174982,"filename":"image_28012025_23_50_46_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333307167","file1":"1333307161","file0":"1333307156","file4":"1333307175","file5":"1333307484","file3":"1333307172"},"map_files_photo_id_array":[{"photo_id":"1333307484","filename":"file5"},{"photo_id":"1333307167","filename":"file2"},{"photo_id":"1333307175","filename":"file4"},{"photo_id":"1333307161","filename":"file1"},{"photo_id":"1333307156","filename":"file0"},{"photo_id":"1333307172","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333307167":["hashtag1","hashtag2"]},{"1333307484":["hashtag1","hashtag2"]},{"1333307172":["hashtag1","hashtag2"]},{"1333307175":["hashtag1","hashtag2"]},{"1333307156":["hashtag1","hashtag2"]},{"1333307161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333307167, 1333307484, 1333307172, 1333307175, 1333307156, 1333307161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.70475888252258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:49:33.082190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/51/image_28012025_23_51_46_10366.jpg', '/home/pi/Desktop/images/28012025/23/51/image_28012025_23_51_57_10360.jpg', '/home/pi/Desktop/images/28012025/23/51/image_28012025_23_52_06_9360.jpg', '/home/pi/Desktop/images/28012025/23/52/image_28012025_23_52_16_10437.jpg', '/home/pi/Desktop/images/28012025/23/52/image_28012025_23_52_27_10358.jpg', '/home/pi/Desktop/images/28012025/23/52/image_28012025_23_52_36_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/51/image_28012025_23_51_46_10366.jpg
/home/pi/Desktop/images/28012025/23/51/image_28012025_23_51_57_10360.jpg
/home/pi/Desktop/images/28012025/23/51/image_28012025_23_52_06_9360.jpg
/home/pi/Desktop/images/28012025/23/52/image_28012025_23_52_16_10437.jpg
/home/pi/Desktop/images/28012025/23/52/image_28012025_23_52_27_10358.jpg
/home/pi/Desktop/images/28012025/23/52/image_28012025_23_52_36_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":["1333308177","1333308180","1333307967","1333308158","1333308173","1333307971"],"photo_ids_order":["1333307967","1333307971","1333308158","1333308173","1333308177","1333308180"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a0f9a4edf9358c6176711b5fd39f3e5a.jpg","text":"TemporaryFile(/tmp/multipartBody3353251078742965501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324235390,"filename":"image_28012025_23_52_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/1/31/4a4581c1dc998a8ec1eca2523514c741.jpg","text":"TemporaryFile(/tmp/multipartBody115558138909259314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324235390,"filename":"image_28012025_23_52_36_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ff1ce862d9c0cdc17666d8371d344251.jpg","text":"TemporaryFile(/tmp/multipartBody8461938422243908236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324235390,"filename":"image_28012025_23_51_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/1/31/c415632d84e7988b5ce2e96470122bf0.jpg","text":"TemporaryFile(/tmp/multipartBody7875134563039613919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324235390,"filename":"image_28012025_23_52_06_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e76dd46585e0c64e046d786bc70093cd.jpg","text":"TemporaryFile(/tmp/multipartBody7761975380127855588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324235390,"filename":"image_28012025_23_52_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/1/31/2fb75da4037d2b84246fe34d3c51a3a0.jpg","text":"TemporaryFile(/tmp/multipartBody8210973354722915868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324235390,"filename":"image_28012025_23_51_57_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333308158","file1":"1333307971","file0":"1333307967","file4":"1333308177","file5":"1333308180","file3":"1333308173"},"map_files_photo_id_array":[{"photo_id":"1333308180","filename":"file5"},{"photo_id":"1333308158","filename":"file2"},{"photo_id":"1333308177","filename":"file4"},{"photo_id":"1333307971","filename":"file1"},{"photo_id":"1333307967","filename":"file0"},{"photo_id":"1333308173","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333308177":["hashtag1","hashtag2"]},{"1333308180":["hashtag1","hashtag2"]},{"1333307967":["hashtag1","hashtag2"]},{"1333308158":["hashtag1","hashtag2"]},{"1333308173":["hashtag1","hashtag2"]},{"1333307971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333308177, 1333308180, 1333307967, 1333308158, 1333308173, 1333307971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.492985010147095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:50:33.148866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/52/image_28012025_23_52_47_10352.jpg', '/home/pi/Desktop/images/28012025/23/52/image_28012025_23_52_56_9352.jpg', '/home/pi/Desktop/images/28012025/23/52/image_28012025_23_53_06_10435.jpg', '/home/pi/Desktop/images/28012025/23/53/image_28012025_23_53_17_10360.jpg', '/home/pi/Desktop/images/28012025/23/53/image_28012025_23_53_26_9352.jpg', '/home/pi/Desktop/images/28012025/23/53/image_28012025_23_53_37_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/52/image_28012025_23_52_47_10352.jpg
/home/pi/Desktop/images/28012025/23/52/image_28012025_23_52_56_9352.jpg
/home/pi/Desktop/images/28012025/23/52/image_28012025_23_53_06_10435.jpg
/home/pi/Desktop/images/28012025/23/53/image_28012025_23_53_17_10360.jpg
/home/pi/Desktop/images/28012025/23/53/image_28012025_23_53_26_9352.jpg
/home/pi/Desktop/images/28012025/23/53/image_28012025_23_53_37_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":["1333308483","1333308417","1333308455","1333308428","1333308661","1333308478"],"photo_ids_order":["1333308417","1333308428","1333308455","1333308478","1333308483","1333308661"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6e396afe2741adf2a4d0e7c23163ec22.jpg","text":"TemporaryFile(/tmp/multipartBody714622824606217437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324295462,"filename":"image_28012025_23_53_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/1/31/def0a58ce086924be308906ebf54fef2.jpg","text":"TemporaryFile(/tmp/multipartBody3320347238921112328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324295462,"filename":"image_28012025_23_52_47_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/08b029388c2ec14e9b958e73417fe6f3.jpg","text":"TemporaryFile(/tmp/multipartBody7253741427066040983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324295462,"filename":"image_28012025_23_53_06_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4de7e0aeeb3807a108220fd10e32e01d.jpg","text":"TemporaryFile(/tmp/multipartBody695034434971450242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324295462,"filename":"image_28012025_23_52_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/1/31/92041f8f6753fd3b5f7107e2e5720427.jpg","text":"TemporaryFile(/tmp/multipartBody1928671693511065334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324295462,"filename":"image_28012025_23_53_37_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b702a6d4b035cf6a0d48fbf963a71f85.jpg","text":"TemporaryFile(/tmp/multipartBody1988990149973165085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324295462,"filename":"image_28012025_23_53_17_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333308455","file1":"1333308428","file0":"1333308417","file4":"1333308483","file5":"1333308661","file3":"1333308478"},"map_files_photo_id_array":[{"photo_id":"1333308661","filename":"file5"},{"photo_id":"1333308455","filename":"file2"},{"photo_id":"1333308483","filename":"file4"},{"photo_id":"1333308428","filename":"file1"},{"photo_id":"1333308417","filename":"file0"},{"photo_id":"1333308478","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333308483":["hashtag1","hashtag2"]},{"1333308417":["hashtag1","hashtag2"]},{"1333308455":["hashtag1","hashtag2"]},{"1333308428":["hashtag1","hashtag2"]},{"1333308661":["hashtag1","hashtag2"]},{"1333308478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333308483, 1333308417, 1333308455, 1333308428, 1333308661, 1333308478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.01607131958008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:51:32.422191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/53/image_28012025_23_53_46_9445.jpg', '/home/pi/Desktop/images/28012025/23/53/image_28012025_23_53_56_10475.jpg', '/home/pi/Desktop/images/28012025/23/53/image_28012025_23_54_07_10385.jpg', '/home/pi/Desktop/images/28012025/23/54/image_28012025_23_54_16_9364.jpg', '/home/pi/Desktop/images/28012025/23/54/image_28012025_23_54_27_10360.jpg', '/home/pi/Desktop/images/28012025/23/54/image_28012025_23_54_36_9327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/53/image_28012025_23_53_46_9445.jpg
/home/pi/Desktop/images/28012025/23/53/image_28012025_23_53_56_10475.jpg
/home/pi/Desktop/images/28012025/23/53/image_28012025_23_54_07_10385.jpg
/home/pi/Desktop/images/28012025/23/54/image_28012025_23_54_16_9364.jpg
/home/pi/Desktop/images/28012025/23/54/image_28012025_23_54_27_10360.jpg
/home/pi/Desktop/images/28012025/23/54/image_28012025_23_54_36_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":["1333308852","1333308909","1333308959","1333308866","1333308953","1333308920"],"photo_ids_order":["1333308852","1333308866","1333308909","1333308920","1333308953","1333308959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7927a766d0f76c123eb7aa4e45aa6ccf.jpg","text":"TemporaryFile(/tmp/multipartBody2422349326203397365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324354744,"filename":"image_28012025_23_53_46_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f87046433dac9b37b95d71a953055dbe.jpg","text":"TemporaryFile(/tmp/multipartBody8372200507259474392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324354744,"filename":"image_28012025_23_54_07_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/39200e7a310ce1308b2462526786b354.jpg","text":"TemporaryFile(/tmp/multipartBody4745608791674752561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324354744,"filename":"image_28012025_23_54_36_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2ba89d06084a236b697b8a173d918319.jpg","text":"TemporaryFile(/tmp/multipartBody6108924030243084369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324354744,"filename":"image_28012025_23_53_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/1/31/3093064baaa8a0823b78779c6d671a73.jpg","text":"TemporaryFile(/tmp/multipartBody690520612420023363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324354744,"filename":"image_28012025_23_54_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/1/31/3aecb77a8642d5c3253a79ee70ffe04d.jpg","text":"TemporaryFile(/tmp/multipartBody8962569920494285871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324354744,"filename":"image_28012025_23_54_16_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333308909","file1":"1333308866","file0":"1333308852","file4":"1333308953","file5":"1333308959","file3":"1333308920"},"map_files_photo_id_array":[{"photo_id":"1333308959","filename":"file5"},{"photo_id":"1333308909","filename":"file2"},{"photo_id":"1333308953","filename":"file4"},{"photo_id":"1333308866","filename":"file1"},{"photo_id":"1333308852","filename":"file0"},{"photo_id":"1333308920","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333308852":["hashtag1","hashtag2"]},{"1333308909":["hashtag1","hashtag2"]},{"1333308959":["hashtag1","hashtag2"]},{"1333308866":["hashtag1","hashtag2"]},{"1333308953":["hashtag1","hashtag2"]},{"1333308920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333308852, 1333308909, 1333308959, 1333308866, 1333308953, 1333308920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.86607074737549 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:52:32.732280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/54/image_28012025_23_54_46_10383.jpg', '/home/pi/Desktop/images/28012025/23/54/image_28012025_23_54_57_10358.jpg', '/home/pi/Desktop/images/28012025/23/54/image_28012025_23_55_06_9372.jpg', '/home/pi/Desktop/images/28012025/23/55/image_28012025_23_55_16_10342.jpg', '/home/pi/Desktop/images/28012025/23/55/image_28012025_23_55_36_9443.jpg', '/home/pi/Desktop/images/28012025/23/55/image_28012025_23_55_47_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/54/image_28012025_23_54_46_10383.jpg
/home/pi/Desktop/images/28012025/23/54/image_28012025_23_54_57_10358.jpg
/home/pi/Desktop/images/28012025/23/54/image_28012025_23_55_06_9372.jpg
/home/pi/Desktop/images/28012025/23/55/image_28012025_23_55_16_10342.jpg
/home/pi/Desktop/images/28012025/23/55/image_28012025_23_55_36_9443.jpg
/home/pi/Desktop/images/28012025/23/55/image_28012025_23_55_47_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":["1333308999","1333309008","1333308992","1333308986","1333309013","1333309018"],"photo_ids_order":["1333308986","1333308992","1333308999","1333309008","1333309013","1333309018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fc8a67bb407b6cf07af576af87d6814e.jpg","text":"TemporaryFile(/tmp/multipartBody5950774163430257614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324415041,"filename":"image_28012025_23_55_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/1/31/68ddbae895ba7f34909cdcc35fca356a.jpg","text":"TemporaryFile(/tmp/multipartBody3998352998490807125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324415041,"filename":"image_28012025_23_55_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/1/31/8d2a318646c2f1b16d41697c6a626a16.jpg","text":"TemporaryFile(/tmp/multipartBody7117396251735237733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324415041,"filename":"image_28012025_23_54_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/1/31/7e80481bbcea0d2e5a29f6627799903c.jpg","text":"TemporaryFile(/tmp/multipartBody7368411374961054566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324415041,"filename":"image_28012025_23_54_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/1/31/ce51a19d6326012f31aa0fb66cf8ad47.jpg","text":"TemporaryFile(/tmp/multipartBody1153504049798803681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324415041,"filename":"image_28012025_23_55_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/1/31/37d5e72863b49a155807f0fa992e27a1.jpg","text":"TemporaryFile(/tmp/multipartBody1954550232231096603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324415041,"filename":"image_28012025_23_55_47_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333308999","file1":"1333308992","file0":"1333308986","file4":"1333309013","file5":"1333309018","file3":"1333309008"},"map_files_photo_id_array":[{"photo_id":"1333309018","filename":"file5"},{"photo_id":"1333308999","filename":"file2"},{"photo_id":"1333309013","filename":"file4"},{"photo_id":"1333308992","filename":"file1"},{"photo_id":"1333308986","filename":"file0"},{"photo_id":"1333309008","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333308999":["hashtag1","hashtag2"]},{"1333309008":["hashtag1","hashtag2"]},{"1333308992":["hashtag1","hashtag2"]},{"1333308986":["hashtag1","hashtag2"]},{"1333309013":["hashtag1","hashtag2"]},{"1333309018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333308999, 1333309008, 1333308992, 1333308986, 1333309013, 1333309018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.223658323287964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:53:32.786400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/55/image_28012025_23_55_56_9388.jpg', '/home/pi/Desktop/images/28012025/23/55/image_28012025_23_56_06_10420.jpg', '/home/pi/Desktop/images/28012025/23/56/image_28012025_23_56_17_10331.jpg', '/home/pi/Desktop/images/28012025/23/56/image_28012025_23_56_26_9479.jpg', '/home/pi/Desktop/images/28012025/23/56/image_28012025_23_56_37_10355.jpg', '/home/pi/Desktop/images/28012025/23/56/image_28012025_23_56_46_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/55/image_28012025_23_55_56_9388.jpg
/home/pi/Desktop/images/28012025/23/55/image_28012025_23_56_06_10420.jpg
/home/pi/Desktop/images/28012025/23/56/image_28012025_23_56_17_10331.jpg
/home/pi/Desktop/images/28012025/23/56/image_28012025_23_56_26_9479.jpg
/home/pi/Desktop/images/28012025/23/56/image_28012025_23_56_37_10355.jpg
/home/pi/Desktop/images/28012025/23/56/image_28012025_23_56_46_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":["1333309140","1333309119","1333309133","1333309112","1333309138","1333309126"],"photo_ids_order":["1333309112","1333309119","1333309126","1333309133","1333309138","1333309140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/620a590156294cdeed44e4a1df5dbf98.jpg","text":"TemporaryFile(/tmp/multipartBody5906181954460412314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324475105,"filename":"image_28012025_23_56_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/1/31/6d9ebad0b298c3565acc57033f403980.jpg","text":"TemporaryFile(/tmp/multipartBody5593968852682348781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324475105,"filename":"image_28012025_23_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/1/31/7ca988255607afd8f0fd5d513d1708f1.jpg","text":"TemporaryFile(/tmp/multipartBody3443068939190012638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324475105,"filename":"image_28012025_23_56_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/1/31/8ef5e2c684b6880f9324e267cf4291e9.jpg","text":"TemporaryFile(/tmp/multipartBody4222095353284749614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324475105,"filename":"image_28012025_23_55_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/1/31/730a240f4c6100ff94f7535a62f89957.jpg","text":"TemporaryFile(/tmp/multipartBody5493554784282483292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324475105,"filename":"image_28012025_23_56_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/1/31/2acb25bf76ea685993ae7812f1c649bf.jpg","text":"TemporaryFile(/tmp/multipartBody8097627790098652480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324475105,"filename":"image_28012025_23_56_17_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333309126","file1":"1333309119","file0":"1333309112","file4":"1333309138","file5":"1333309140","file3":"1333309133"},"map_files_photo_id_array":[{"photo_id":"1333309140","filename":"file5"},{"photo_id":"1333309126","filename":"file2"},{"photo_id":"1333309138","filename":"file4"},{"photo_id":"1333309119","filename":"file1"},{"photo_id":"1333309112","filename":"file0"},{"photo_id":"1333309133","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333309140":["hashtag1","hashtag2"]},{"1333309119":["hashtag1","hashtag2"]},{"1333309133":["hashtag1","hashtag2"]},{"1333309112":["hashtag1","hashtag2"]},{"1333309138":["hashtag1","hashtag2"]},{"1333309126":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333309140, 1333309119, 1333309133, 1333309112, 1333309138, 1333309126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53688597679138 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:54:33.059868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/56/image_28012025_23_56_56_10436.jpg', '/home/pi/Desktop/images/28012025/23/56/image_28012025_23_57_07_10437.jpg', '/home/pi/Desktop/images/28012025/23/57/image_28012025_23_57_16_9400.jpg', '/home/pi/Desktop/images/28012025/23/57/image_28012025_23_57_27_10358.jpg', '/home/pi/Desktop/images/28012025/23/57/image_28012025_23_57_36_9347.jpg', '/home/pi/Desktop/images/28012025/23/57/image_28012025_23_57_46_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/56/image_28012025_23_56_56_10436.jpg
/home/pi/Desktop/images/28012025/23/56/image_28012025_23_57_07_10437.jpg
/home/pi/Desktop/images/28012025/23/57/image_28012025_23_57_16_9400.jpg
/home/pi/Desktop/images/28012025/23/57/image_28012025_23_57_27_10358.jpg
/home/pi/Desktop/images/28012025/23/57/image_28012025_23_57_36_9347.jpg
/home/pi/Desktop/images/28012025/23/57/image_28012025_23_57_46_10379.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9246788024902344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 12:54:43.126983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/56/image_28012025_23_56_56_10436.jpg', '/home/pi/Desktop/images/28012025/23/56/image_28012025_23_57_07_10437.jpg', '/home/pi/Desktop/images/28012025/23/57/image_28012025_23_57_16_9400.jpg', '/home/pi/Desktop/images/28012025/23/57/image_28012025_23_57_27_10358.jpg', '/home/pi/Desktop/images/28012025/23/57/image_28012025_23_57_36_9347.jpg', '/home/pi/Desktop/images/28012025/23/57/image_28012025_23_57_46_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/56/image_28012025_23_56_56_10436.jpg
/home/pi/Desktop/images/28012025/23/56/image_28012025_23_57_07_10437.jpg
/home/pi/Desktop/images/28012025/23/57/image_28012025_23_57_16_9400.jpg
/home/pi/Desktop/images/28012025/23/57/image_28012025_23_57_27_10358.jpg
/home/pi/Desktop/images/28012025/23/57/image_28012025_23_57_36_9347.jpg
/home/pi/Desktop/images/28012025/23/57/image_28012025_23_57_46_10379.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":["1333309193","1333309172","1333309196","1333309181","1333309198","1333309188"],"photo_ids_order":["1333309172","1333309181","1333309188","1333309193","1333309196","1333309198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ef1637ad0d11e216ca6ebae3832738b4.jpg","text":"TemporaryFile(/tmp/multipartBody8099544853190801233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324545043,"filename":"image_28012025_23_57_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/1/31/9b669a6ba89215df327c928ffe9d6d82.jpg","text":"TemporaryFile(/tmp/multipartBody7892582952537393130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324545043,"filename":"image_28012025_23_56_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/1/31/265842237c2bfbcfa6284d298a9b4747.jpg","text":"TemporaryFile(/tmp/multipartBody3338949137541556621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324545043,"filename":"image_28012025_23_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/1/31/3fb1b181e7b0252dbf0909e0010e77f1.jpg","text":"TemporaryFile(/tmp/multipartBody1336140225868272159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324545043,"filename":"image_28012025_23_57_07_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5db6079318b4a24513de4faff7f9480f.jpg","text":"TemporaryFile(/tmp/multipartBody159231939565698313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324545043,"filename":"image_28012025_23_57_46_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/47d9ebf170b4cc0ea3a13541d3166e97.jpg","text":"TemporaryFile(/tmp/multipartBody6429417888205506768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324545043,"filename":"image_28012025_23_57_16_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333309188","file1":"1333309181","file0":"1333309172","file4":"1333309196","file5":"1333309198","file3":"1333309193"},"map_files_photo_id_array":[{"photo_id":"1333309198","filename":"file5"},{"photo_id":"1333309188","filename":"file2"},{"photo_id":"1333309196","filename":"file4"},{"photo_id":"1333309181","filename":"file1"},{"photo_id":"1333309172","filename":"file0"},{"photo_id":"1333309193","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333309193":["hashtag1","hashtag2"]},{"1333309172":["hashtag1","hashtag2"]},{"1333309196":["hashtag1","hashtag2"]},{"1333309181":["hashtag1","hashtag2"]},{"1333309198":["hashtag1","hashtag2"]},{"1333309188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333309193, 1333309172, 1333309196, 1333309181, 1333309198, 1333309188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79810833930969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:55:32.369042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/57/image_28012025_23_57_57_10362.jpg', '/home/pi/Desktop/images/28012025/23/57/image_28012025_23_58_06_9344.jpg', '/home/pi/Desktop/images/28012025/23/58/image_28012025_23_58_16_10338.jpg', '/home/pi/Desktop/images/28012025/23/58/image_28012025_23_58_27_10356.jpg', '/home/pi/Desktop/images/28012025/23/58/image_28012025_23_58_36_9347.jpg', '/home/pi/Desktop/images/28012025/23/58/image_28012025_23_58_46_10464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/57/image_28012025_23_57_57_10362.jpg
/home/pi/Desktop/images/28012025/23/57/image_28012025_23_58_06_9344.jpg
/home/pi/Desktop/images/28012025/23/58/image_28012025_23_58_16_10338.jpg
/home/pi/Desktop/images/28012025/23/58/image_28012025_23_58_27_10356.jpg
/home/pi/Desktop/images/28012025/23/58/image_28012025_23_58_36_9347.jpg
/home/pi/Desktop/images/28012025/23/58/image_28012025_23_58_46_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":["1333309224","1333309233","1333309259","1333309288","1333309267","1333309348"],"photo_ids_order":["1333309224","1333309233","1333309259","1333309267","1333309288","1333309348"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/26fa87c6fe4e997d7c0e61eab2953f42.jpg","text":"TemporaryFile(/tmp/multipartBody8923931689905682499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324594699,"filename":"image_28012025_23_57_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/1/31/30984c09ab6c63a52f6245dd670464bc.jpg","text":"TemporaryFile(/tmp/multipartBody6087140365728977981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324594699,"filename":"image_28012025_23_58_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/1/31/92bbafd4754803690b27f38a28b26328.jpg","text":"TemporaryFile(/tmp/multipartBody5439173981836331883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324594699,"filename":"image_28012025_23_58_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/1/31/b3945fbd4e0581de4039b2dbe71aa589.jpg","text":"TemporaryFile(/tmp/multipartBody7365574642155784010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324594699,"filename":"image_28012025_23_58_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/1/31/b37e851f8c849b95409d0726c10aa1c2.jpg","text":"TemporaryFile(/tmp/multipartBody8299033719128878357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324594699,"filename":"image_28012025_23_58_27_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4758679676de311ea261424f43bb3dd9.jpg","text":"TemporaryFile(/tmp/multipartBody4935401659426150012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324594699,"filename":"image_28012025_23_58_46_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333309259","file1":"1333309233","file0":"1333309224","file4":"1333309288","file5":"1333309348","file3":"1333309267"},"map_files_photo_id_array":[{"photo_id":"1333309348","filename":"file5"},{"photo_id":"1333309259","filename":"file2"},{"photo_id":"1333309288","filename":"file4"},{"photo_id":"1333309233","filename":"file1"},{"photo_id":"1333309224","filename":"file0"},{"photo_id":"1333309267","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333309224":["hashtag1","hashtag2"]},{"1333309233":["hashtag1","hashtag2"]},{"1333309259":["hashtag1","hashtag2"]},{"1333309288":["hashtag1","hashtag2"]},{"1333309267":["hashtag1","hashtag2"]},{"1333309348":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333309224, 1333309233, 1333309259, 1333309288, 1333309267, 1333309348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.85172390937805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:56:32.568811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/58/image_28012025_23_58_57_10345.jpg', '/home/pi/Desktop/images/28012025/23/58/image_28012025_23_59_06_9348.jpg', '/home/pi/Desktop/images/28012025/23/59/image_28012025_23_59_17_10337.jpg', '/home/pi/Desktop/images/28012025/23/59/image_28012025_23_59_26_9369.jpg', '/home/pi/Desktop/images/28012025/23/59/image_28012025_23_59_36_10338.jpg', '/home/pi/Desktop/images/28012025/23/59/image_28012025_23_59_47_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/58/image_28012025_23_58_57_10345.jpg
/home/pi/Desktop/images/28012025/23/58/image_28012025_23_59_06_9348.jpg
/home/pi/Desktop/images/28012025/23/59/image_28012025_23_59_17_10337.jpg
/home/pi/Desktop/images/28012025/23/59/image_28012025_23_59_26_9369.jpg
/home/pi/Desktop/images/28012025/23/59/image_28012025_23_59_36_10338.jpg
/home/pi/Desktop/images/28012025/23/59/image_28012025_23_59_47_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":["1333309565","1333309588","1333309579","1333309519","1333309510","1333309572"],"photo_ids_order":["1333309510","1333309519","1333309565","1333309572","1333309579","1333309588"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/beda3ea88f25f454f12b762cc99ef4ad.jpg","text":"TemporaryFile(/tmp/multipartBody3505156557855290089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324654916,"filename":"image_28012025_23_59_17_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/01440c6c9d932d457fe7aef6e3230f44.jpg","text":"TemporaryFile(/tmp/multipartBody4851172992358541132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324654916,"filename":"image_28012025_23_59_47_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fea6194b70060137e70a87bd289cbbb1.jpg","text":"TemporaryFile(/tmp/multipartBody4981097016916307627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324654916,"filename":"image_28012025_23_59_36_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9be03309326b33b11e1092d999c31d90.jpg","text":"TemporaryFile(/tmp/multipartBody7156968119467634275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324654916,"filename":"image_28012025_23_59_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/1/31/e4761d564e606e9d97a432c8e5a6be3b.jpg","text":"TemporaryFile(/tmp/multipartBody6674719598669881368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324654916,"filename":"image_28012025_23_58_57_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/193965e0312c2e0497c0f3786519c67d.jpg","text":"TemporaryFile(/tmp/multipartBody7024975187261721743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324654916,"filename":"image_28012025_23_59_26_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333309565","file1":"1333309519","file0":"1333309510","file4":"1333309579","file5":"1333309588","file3":"1333309572"},"map_files_photo_id_array":[{"photo_id":"1333309588","filename":"file5"},{"photo_id":"1333309565","filename":"file2"},{"photo_id":"1333309579","filename":"file4"},{"photo_id":"1333309519","filename":"file1"},{"photo_id":"1333309510","filename":"file0"},{"photo_id":"1333309572","filename":"file3"}],"portfolio_id":19989435,"hashtag_by_photo_ids":[{"1333309565":["hashtag1","hashtag2"]},{"1333309588":["hashtag1","hashtag2"]},{"1333309579":["hashtag1","hashtag2"]},{"1333309519":["hashtag1","hashtag2"]},{"1333309510":["hashtag1","hashtag2"]},{"1333309572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19989435 used, photo_id : ArrayBuffer(1333309565, 1333309588, 1333309579, 1333309519, 1333309510, 1333309572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.97762608528137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:57:32.782541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/59/image_28012025_23_59_56_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/59/image_28012025_23_59_56_9342.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.1420047283172607 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 12:57:42.680920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
  port_id : 19989435
  datou_current_id : 2520194
in upload_from_sqlite, uploading in 19989435
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28012025/23/59/image_28012025_23_59_56_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2520194&datou=0
/home/pi/Desktop/images/28012025/23/59/image_28012025_23_59_56_9342.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333309809"],"photo_id":"1333309809","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2280e936ca4b618a86057db4f50e483c.jpg","text":"TemporaryFile(/tmp/multipartBody3670013456635943025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324724005,"filename":"image_28012025_23_59_56_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1333309809"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1333309809"}],"hashtags":[],"portfolio_id":"19989435","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.529290676116943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 12:59:03.319012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/47/image_29012025_18_47_55_9348.jpg', '/home/pi/Desktop/images/29012025/18/48/image_29012025_18_48_16_10372.jpg', '/home/pi/Desktop/images/29012025/18/48/image_29012025_18_48_36_10371.jpg', '/home/pi/Desktop/images/29012025/18/48/image_29012025_18_48_56_10363.jpg', '/home/pi/Desktop/images/29012025/18/48/image_29012025_18_49_05_9503.jpg', '/home/pi/Desktop/images/29012025/18/49/image_29012025_18_49_15_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/47/image_29012025_18_47_55_9348.jpg
/home/pi/Desktop/images/29012025/18/48/image_29012025_18_48_16_10372.jpg
/home/pi/Desktop/images/29012025/18/48/image_29012025_18_48_36_10371.jpg
/home/pi/Desktop/images/29012025/18/48/image_29012025_18_48_56_10363.jpg
/home/pi/Desktop/images/29012025/18/48/image_29012025_18_49_05_9503.jpg
/home/pi/Desktop/images/29012025/18/49/image_29012025_18_49_15_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":["1333309935","1333309975","1333309928","1333309924","1333309918","1333309912"],"photo_ids_order":["1333309912","1333309918","1333309924","1333309928","1333309935","1333309975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a07fc5de0122f0cb53804e1da970a69b.jpg","text":"TemporaryFile(/tmp/multipartBody5410463288322226237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324805000,"filename":"image_29012025_18_49_05_9503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b30421d0f599d0b8c961625ef1c95038.jpg","text":"TemporaryFile(/tmp/multipartBody3721555890892807261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324805000,"filename":"image_29012025_18_49_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/1/31/ffbd76190889b172a975d9d79929a9f4.jpg","text":"TemporaryFile(/tmp/multipartBody1417750369619788704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324805000,"filename":"image_29012025_18_48_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/1/31/266503d3c08b71bfd4ae214958391ff4.jpg","text":"TemporaryFile(/tmp/multipartBody4622300552773612790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324805000,"filename":"image_29012025_18_48_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/1/31/65cafb8420f144502262499845946dfc.jpg","text":"TemporaryFile(/tmp/multipartBody193949380392819786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324805000,"filename":"image_29012025_18_48_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/1/31/48c9ecf8c155d38a2f9d8ec6265a8f99.jpg","text":"TemporaryFile(/tmp/multipartBody4210638727849034760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324805000,"filename":"image_29012025_18_47_55_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333309924","file1":"1333309918","file0":"1333309912","file4":"1333309935","file5":"1333309975","file3":"1333309928"},"map_files_photo_id_array":[{"photo_id":"1333309975","filename":"file5"},{"photo_id":"1333309924","filename":"file2"},{"photo_id":"1333309935","filename":"file4"},{"photo_id":"1333309918","filename":"file1"},{"photo_id":"1333309912","filename":"file0"},{"photo_id":"1333309928","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333309935":["hashtag1","hashtag2"]},{"1333309975":["hashtag1","hashtag2"]},{"1333309928":["hashtag1","hashtag2"]},{"1333309924":["hashtag1","hashtag2"]},{"1333309918":["hashtag1","hashtag2"]},{"1333309912":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333309935, 1333309975, 1333309928, 1333309924, 1333309918, 1333309912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.57322144508362 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 12:59:52.165873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/49/image_29012025_18_49_26_10372.jpg', '/home/pi/Desktop/images/29012025/18/49/image_29012025_18_49_35_9479.jpg', '/home/pi/Desktop/images/29012025/18/49/image_29012025_18_49_46_10367.jpg', '/home/pi/Desktop/images/29012025/18/49/image_29012025_18_50_05_9432.jpg', '/home/pi/Desktop/images/29012025/18/50/image_29012025_18_50_16_10374.jpg', '/home/pi/Desktop/images/29012025/18/50/image_29012025_18_50_25_9380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/49/image_29012025_18_49_26_10372.jpg
/home/pi/Desktop/images/29012025/18/49/image_29012025_18_49_35_9479.jpg
/home/pi/Desktop/images/29012025/18/49/image_29012025_18_49_46_10367.jpg
/home/pi/Desktop/images/29012025/18/49/image_29012025_18_50_05_9432.jpg
/home/pi/Desktop/images/29012025/18/50/image_29012025_18_50_16_10374.jpg
/home/pi/Desktop/images/29012025/18/50/image_29012025_18_50_25_9380.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":["1333310005","1333310019","1333310010","1333310022","1333310001","1333310015"],"photo_ids_order":["1333310001","1333310005","1333310010","1333310015","1333310019","1333310022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/884b158603c00e2d664f8ab7840e046b.jpg","text":"TemporaryFile(/tmp/multipartBody2203477203343554542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324854571,"filename":"image_29012025_18_49_35_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7093bd5aaca0d84d461d9bbfaa5024fc.jpg","text":"TemporaryFile(/tmp/multipartBody1340657488450376322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324854571,"filename":"image_29012025_18_50_16_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/94357c65a8d34b03d8649fac4a9b87f6.jpg","text":"TemporaryFile(/tmp/multipartBody4373789371301001642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324854571,"filename":"image_29012025_18_49_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/1/31/423118a6186b5841e7eaecbf8d71fa3e.jpg","text":"TemporaryFile(/tmp/multipartBody671696718186259285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324854571,"filename":"image_29012025_18_50_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/1/31/5d1e858fc993798ec28c9731474230f1.jpg","text":"TemporaryFile(/tmp/multipartBody3333417991055120006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324854571,"filename":"image_29012025_18_49_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/1/31/3d22f4a1e257a11edf47cbf7a32fe51d.jpg","text":"TemporaryFile(/tmp/multipartBody8517386863736017370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324854571,"filename":"image_29012025_18_50_05_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333310010","file1":"1333310005","file0":"1333310001","file4":"1333310019","file5":"1333310022","file3":"1333310015"},"map_files_photo_id_array":[{"photo_id":"1333310022","filename":"file5"},{"photo_id":"1333310010","filename":"file2"},{"photo_id":"1333310019","filename":"file4"},{"photo_id":"1333310005","filename":"file1"},{"photo_id":"1333310001","filename":"file0"},{"photo_id":"1333310015","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333310005":["hashtag1","hashtag2"]},{"1333310019":["hashtag1","hashtag2"]},{"1333310010":["hashtag1","hashtag2"]},{"1333310022":["hashtag1","hashtag2"]},{"1333310001":["hashtag1","hashtag2"]},{"1333310015":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333310005, 1333310019, 1333310010, 1333310022, 1333310001, 1333310015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56380534172058 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 13:00:42.388657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/50/image_29012025_18_50_36_10381.jpg', '/home/pi/Desktop/images/29012025/18/50/image_29012025_18_50_46_10410.jpg', '/home/pi/Desktop/images/29012025/18/50/image_29012025_18_50_55_9336.jpg', '/home/pi/Desktop/images/29012025/18/50/image_29012025_18_51_06_10366.jpg', '/home/pi/Desktop/images/29012025/18/51/image_29012025_18_51_15_9392.jpg', '/home/pi/Desktop/images/29012025/18/51/image_29012025_18_51_25_10382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/50/image_29012025_18_50_36_10381.jpg
/home/pi/Desktop/images/29012025/18/50/image_29012025_18_50_46_10410.jpg
/home/pi/Desktop/images/29012025/18/50/image_29012025_18_50_55_9336.jpg
/home/pi/Desktop/images/29012025/18/50/image_29012025_18_51_06_10366.jpg
/home/pi/Desktop/images/29012025/18/51/image_29012025_18_51_15_9392.jpg
/home/pi/Desktop/images/29012025/18/51/image_29012025_18_51_25_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":["1333310186","1333310189","1333310075","1333310179","1333310245","1333310212"],"photo_ids_order":["1333310075","1333310179","1333310186","1333310189","1333310212","1333310245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ac38773cb7e35af6ee4fe87de753424b.jpg","text":"TemporaryFile(/tmp/multipartBody8168700160275918787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324904005,"filename":"image_29012025_18_50_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/1/31/9f654c5f2060b9e623c6ca4e43321cc9.jpg","text":"TemporaryFile(/tmp/multipartBody8555616139023003489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324904005,"filename":"image_29012025_18_51_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/1/31/264d0af9a9c93fd4d4d944f113d99e44.jpg","text":"TemporaryFile(/tmp/multipartBody3947581118018007527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324904005,"filename":"image_29012025_18_50_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/1/31/a18500251568441e7a70fe567f0a6b39.jpg","text":"TemporaryFile(/tmp/multipartBody5136062810997493738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324904005,"filename":"image_29012025_18_50_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/1/31/4dd980a07a1dfb137de694b6438d734e.jpg","text":"TemporaryFile(/tmp/multipartBody3867404650758761005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324904005,"filename":"image_29012025_18_51_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/1/31/b085fa884b808f9c82e3d6ce710c3953.jpg","text":"TemporaryFile(/tmp/multipartBody7531837387816888447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324904005,"filename":"image_29012025_18_51_15_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333310186","file1":"1333310179","file0":"1333310075","file4":"1333310212","file5":"1333310245","file3":"1333310189"},"map_files_photo_id_array":[{"photo_id":"1333310245","filename":"file5"},{"photo_id":"1333310186","filename":"file2"},{"photo_id":"1333310212","filename":"file4"},{"photo_id":"1333310179","filename":"file1"},{"photo_id":"1333310075","filename":"file0"},{"photo_id":"1333310189","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333310186":["hashtag1","hashtag2"]},{"1333310189":["hashtag1","hashtag2"]},{"1333310075":["hashtag1","hashtag2"]},{"1333310179":["hashtag1","hashtag2"]},{"1333310245":["hashtag1","hashtag2"]},{"1333310212":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333310186, 1333310189, 1333310075, 1333310179, 1333310245, 1333310212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.783642292022705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:01:32.639743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/51/image_29012025_18_51_36_10371.jpg', '/home/pi/Desktop/images/29012025/18/51/image_29012025_18_51_45_9449.jpg', '/home/pi/Desktop/images/29012025/18/51/image_29012025_18_51_56_10365.jpg', '/home/pi/Desktop/images/29012025/18/51/image_29012025_18_52_05_9416.jpg', '/home/pi/Desktop/images/29012025/18/52/image_29012025_18_52_15_10327.jpg', '/home/pi/Desktop/images/29012025/18/52/image_29012025_18_52_26_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/51/image_29012025_18_51_36_10371.jpg
/home/pi/Desktop/images/29012025/18/51/image_29012025_18_51_45_9449.jpg
/home/pi/Desktop/images/29012025/18/51/image_29012025_18_51_56_10365.jpg
/home/pi/Desktop/images/29012025/18/51/image_29012025_18_52_05_9416.jpg
/home/pi/Desktop/images/29012025/18/52/image_29012025_18_52_15_10327.jpg
/home/pi/Desktop/images/29012025/18/52/image_29012025_18_52_26_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":["1333310349","1333310322","1333310342","1333310336","1333310347","1333310329"],"photo_ids_order":["1333310322","1333310329","1333310336","1333310342","1333310347","1333310349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e34e873b5a2fc93a47b3fea75c0e1891.jpg","text":"TemporaryFile(/tmp/multipartBody9188345809608884842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324955066,"filename":"image_29012025_18_52_26_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3a20a68d4e0248e0c1ebc331ac07205a.jpg","text":"TemporaryFile(/tmp/multipartBody4285946247621157835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324955066,"filename":"image_29012025_18_51_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/1/31/71f1705f093bcaa54550bda9f7158df5.jpg","text":"TemporaryFile(/tmp/multipartBody1446848564499104440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324955066,"filename":"image_29012025_18_52_05_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ea374091b8f0d121580fd39976a5c755.jpg","text":"TemporaryFile(/tmp/multipartBody5972239897480759568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324955066,"filename":"image_29012025_18_51_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/1/31/8b622fd388f153d5bac77ccf07e8a28c.jpg","text":"TemporaryFile(/tmp/multipartBody5421645800255478000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324955066,"filename":"image_29012025_18_52_15_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fca9bd9a9fbba4c3c99de515c52c851d.jpg","text":"TemporaryFile(/tmp/multipartBody2550929816505133357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738324955066,"filename":"image_29012025_18_51_45_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333310336","file1":"1333310329","file0":"1333310322","file4":"1333310347","file5":"1333310349","file3":"1333310342"},"map_files_photo_id_array":[{"photo_id":"1333310349","filename":"file5"},{"photo_id":"1333310336","filename":"file2"},{"photo_id":"1333310347","filename":"file4"},{"photo_id":"1333310329","filename":"file1"},{"photo_id":"1333310322","filename":"file0"},{"photo_id":"1333310342","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333310349":["hashtag1","hashtag2"]},{"1333310322":["hashtag1","hashtag2"]},{"1333310342":["hashtag1","hashtag2"]},{"1333310336":["hashtag1","hashtag2"]},{"1333310347":["hashtag1","hashtag2"]},{"1333310329":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333310349, 1333310322, 1333310342, 1333310336, 1333310347, 1333310329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.28524899482727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:02:32.863401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/52/image_29012025_18_52_35_9440.jpg', '/home/pi/Desktop/images/29012025/18/52/image_29012025_18_52_46_10366.jpg', '/home/pi/Desktop/images/29012025/18/52/image_29012025_18_52_56_10362.jpg', '/home/pi/Desktop/images/29012025/18/52/image_29012025_18_53_05_9452.jpg', '/home/pi/Desktop/images/29012025/18/53/image_29012025_18_53_16_10347.jpg', '/home/pi/Desktop/images/29012025/18/53/image_29012025_18_53_25_9428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/52/image_29012025_18_52_35_9440.jpg
/home/pi/Desktop/images/29012025/18/52/image_29012025_18_52_46_10366.jpg
/home/pi/Desktop/images/29012025/18/52/image_29012025_18_52_56_10362.jpg
/home/pi/Desktop/images/29012025/18/52/image_29012025_18_53_05_9452.jpg
/home/pi/Desktop/images/29012025/18/53/image_29012025_18_53_16_10347.jpg
/home/pi/Desktop/images/29012025/18/53/image_29012025_18_53_25_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.0139334201812744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 13:02:42.822067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/52/image_29012025_18_52_35_9440.jpg', '/home/pi/Desktop/images/29012025/18/52/image_29012025_18_52_46_10366.jpg', '/home/pi/Desktop/images/29012025/18/52/image_29012025_18_52_56_10362.jpg', '/home/pi/Desktop/images/29012025/18/52/image_29012025_18_53_05_9452.jpg', '/home/pi/Desktop/images/29012025/18/53/image_29012025_18_53_16_10347.jpg', '/home/pi/Desktop/images/29012025/18/53/image_29012025_18_53_25_9428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/52/image_29012025_18_52_35_9440.jpg
/home/pi/Desktop/images/29012025/18/52/image_29012025_18_52_46_10366.jpg
/home/pi/Desktop/images/29012025/18/52/image_29012025_18_52_56_10362.jpg
/home/pi/Desktop/images/29012025/18/52/image_29012025_18_53_05_9452.jpg
/home/pi/Desktop/images/29012025/18/53/image_29012025_18_53_16_10347.jpg
/home/pi/Desktop/images/29012025/18/53/image_29012025_18_53_25_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":["1333310399","1333310378","1333310387","1333310392","1333310405","1333310383"],"photo_ids_order":["1333310378","1333310383","1333310387","1333310392","1333310399","1333310405"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7462e193ff916986d3098f36ec3a980a.jpg","text":"TemporaryFile(/tmp/multipartBody3567576223236204052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325024346,"filename":"image_29012025_18_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/1/31/f6e84f43a2faeb13f05a5808df390650.jpg","text":"TemporaryFile(/tmp/multipartBody4738401299240292867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325024346,"filename":"image_29012025_18_52_35_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9cf37c4b0e9b241bd242855c8259c463.jpg","text":"TemporaryFile(/tmp/multipartBody3378162643953338638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325024346,"filename":"image_29012025_18_52_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/1/31/91615316db1dfabfa9aa54888ff90a70.jpg","text":"TemporaryFile(/tmp/multipartBody6236246595942784966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325024346,"filename":"image_29012025_18_53_05_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e2bd22f851bd8a094ebc34d101270b82.jpg","text":"TemporaryFile(/tmp/multipartBody8550388165139657843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325024346,"filename":"image_29012025_18_53_25_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d3af3a0305209faafb122b114a1f7e32.jpg","text":"TemporaryFile(/tmp/multipartBody2648116133351327308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325024346,"filename":"image_29012025_18_52_46_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333310387","file1":"1333310383","file0":"1333310378","file4":"1333310399","file5":"1333310405","file3":"1333310392"},"map_files_photo_id_array":[{"photo_id":"1333310405","filename":"file5"},{"photo_id":"1333310387","filename":"file2"},{"photo_id":"1333310399","filename":"file4"},{"photo_id":"1333310383","filename":"file1"},{"photo_id":"1333310378","filename":"file0"},{"photo_id":"1333310392","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333310399":["hashtag1","hashtag2"]},{"1333310378":["hashtag1","hashtag2"]},{"1333310387":["hashtag1","hashtag2"]},{"1333310392":["hashtag1","hashtag2"]},{"1333310405":["hashtag1","hashtag2"]},{"1333310383":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333310399, 1333310378, 1333310387, 1333310392, 1333310405, 1333310383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.75833702087402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:03:33.215150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/53/image_29012025_18_53_36_10371.jpg', '/home/pi/Desktop/images/29012025/18/53/image_29012025_18_53_45_9542.jpg', '/home/pi/Desktop/images/29012025/18/53/image_29012025_18_53_55_10422.jpg', '/home/pi/Desktop/images/29012025/18/53/image_29012025_18_54_06_10352.jpg', '/home/pi/Desktop/images/29012025/18/54/image_29012025_18_54_15_9407.jpg', '/home/pi/Desktop/images/29012025/18/54/image_29012025_18_54_26_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/53/image_29012025_18_53_36_10371.jpg
/home/pi/Desktop/images/29012025/18/53/image_29012025_18_53_45_9542.jpg
/home/pi/Desktop/images/29012025/18/53/image_29012025_18_53_55_10422.jpg
/home/pi/Desktop/images/29012025/18/53/image_29012025_18_54_06_10352.jpg
/home/pi/Desktop/images/29012025/18/54/image_29012025_18_54_15_9407.jpg
/home/pi/Desktop/images/29012025/18/54/image_29012025_18_54_26_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":["1333310427","1333310444","1333310447","1333310435","1333310423","1333310440"],"photo_ids_order":["1333310423","1333310427","1333310435","1333310440","1333310444","1333310447"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5b53e0c3a99608b3eab8cffdbeb26fc0.jpg","text":"TemporaryFile(/tmp/multipartBody7951258864348042518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325075634,"filename":"image_29012025_18_53_45_9542.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1908708e74a3d4c8711d7d238927d12b.jpg","text":"TemporaryFile(/tmp/multipartBody8560595116559227424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325075634,"filename":"image_29012025_18_54_15_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/13e370dfc38a970f772d22f0760083ec.jpg","text":"TemporaryFile(/tmp/multipartBody4676807273755122879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325075634,"filename":"image_29012025_18_54_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/1/31/9124c38f0286c07d36197bb1c7cf24ca.jpg","text":"TemporaryFile(/tmp/multipartBody3571052973909228904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325075634,"filename":"image_29012025_18_53_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/1/31/9fae5e362bf9f03cc2b3e41178fe1e20.jpg","text":"TemporaryFile(/tmp/multipartBody6571169981225737590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325075634,"filename":"image_29012025_18_53_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/1/31/75df2a92f0bb87ac669b423b77798c02.jpg","text":"TemporaryFile(/tmp/multipartBody7359576227635072003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325075634,"filename":"image_29012025_18_54_06_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333310435","file1":"1333310427","file0":"1333310423","file4":"1333310444","file5":"1333310447","file3":"1333310440"},"map_files_photo_id_array":[{"photo_id":"1333310447","filename":"file5"},{"photo_id":"1333310435","filename":"file2"},{"photo_id":"1333310444","filename":"file4"},{"photo_id":"1333310427","filename":"file1"},{"photo_id":"1333310423","filename":"file0"},{"photo_id":"1333310440","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333310427":["hashtag1","hashtag2"]},{"1333310444":["hashtag1","hashtag2"]},{"1333310447":["hashtag1","hashtag2"]},{"1333310435":["hashtag1","hashtag2"]},{"1333310423":["hashtag1","hashtag2"]},{"1333310440":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333310427, 1333310444, 1333310447, 1333310435, 1333310423, 1333310440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.721667766571045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:04:32.258522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/54/image_29012025_18_54_35_9458.jpg', '/home/pi/Desktop/images/29012025/18/54/image_29012025_18_54_56_10337.jpg', '/home/pi/Desktop/images/29012025/18/54/image_29012025_18_55_05_9432.jpg', '/home/pi/Desktop/images/29012025/18/55/image_29012025_18_55_26_10345.jpg', '/home/pi/Desktop/images/29012025/18/55/image_29012025_18_55_35_9347.jpg', '/home/pi/Desktop/images/29012025/18/55/image_29012025_18_55_46_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/54/image_29012025_18_54_35_9458.jpg
/home/pi/Desktop/images/29012025/18/54/image_29012025_18_54_56_10337.jpg
/home/pi/Desktop/images/29012025/18/54/image_29012025_18_55_05_9432.jpg
/home/pi/Desktop/images/29012025/18/55/image_29012025_18_55_26_10345.jpg
/home/pi/Desktop/images/29012025/18/55/image_29012025_18_55_35_9347.jpg
/home/pi/Desktop/images/29012025/18/55/image_29012025_18_55_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":["1333310664","1333310646","1333310672","1333310654","1333310668","1333310635"],"photo_ids_order":["1333310635","1333310646","1333310654","1333310664","1333310668","1333310672"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/396c7422bacc4f25ec8c4e87656472d0.jpg","text":"TemporaryFile(/tmp/multipartBody2543110317365903147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325134657,"filename":"image_29012025_18_55_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/1/31/8694c7ae6eee6b4748a27bc22fc32237.jpg","text":"TemporaryFile(/tmp/multipartBody3275735436305924860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325134657,"filename":"image_29012025_18_54_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/1/31/e9cdf2bdb2acc9c35512709ac59e936f.jpg","text":"TemporaryFile(/tmp/multipartBody8295671493811097234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325134657,"filename":"image_29012025_18_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/1/31/fb96c44004ea0f7a78e895f3172bb020.jpg","text":"TemporaryFile(/tmp/multipartBody2481068376512848399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325134657,"filename":"image_29012025_18_55_05_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/390cbaf8ae96dc963170da520242e31c.jpg","text":"TemporaryFile(/tmp/multipartBody5635766329653910525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325134657,"filename":"image_29012025_18_55_35_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e1ea998bcd20581ed2e9028a5e5aaae5.jpg","text":"TemporaryFile(/tmp/multipartBody6491167557848778884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325134657,"filename":"image_29012025_18_54_35_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333310654","file1":"1333310646","file0":"1333310635","file4":"1333310668","file5":"1333310672","file3":"1333310664"},"map_files_photo_id_array":[{"photo_id":"1333310672","filename":"file5"},{"photo_id":"1333310654","filename":"file2"},{"photo_id":"1333310668","filename":"file4"},{"photo_id":"1333310646","filename":"file1"},{"photo_id":"1333310635","filename":"file0"},{"photo_id":"1333310664","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333310664":["hashtag1","hashtag2"]},{"1333310646":["hashtag1","hashtag2"]},{"1333310672":["hashtag1","hashtag2"]},{"1333310654":["hashtag1","hashtag2"]},{"1333310668":["hashtag1","hashtag2"]},{"1333310635":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333310664, 1333310646, 1333310672, 1333310654, 1333310668, 1333310635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.56036829948425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:05:32.462655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/55/image_29012025_18_55_56_10373.jpg', '/home/pi/Desktop/images/29012025/18/55/image_29012025_18_56_05_9343.jpg', '/home/pi/Desktop/images/29012025/18/56/image_29012025_18_56_25_9429.jpg', '/home/pi/Desktop/images/29012025/18/56/image_29012025_18_56_46_10372.jpg', '/home/pi/Desktop/images/29012025/18/56/image_29012025_18_56_55_9438.jpg', '/home/pi/Desktop/images/29012025/18/56/image_29012025_18_57_06_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/55/image_29012025_18_55_56_10373.jpg
/home/pi/Desktop/images/29012025/18/55/image_29012025_18_56_05_9343.jpg
/home/pi/Desktop/images/29012025/18/56/image_29012025_18_56_25_9429.jpg
/home/pi/Desktop/images/29012025/18/56/image_29012025_18_56_46_10372.jpg
/home/pi/Desktop/images/29012025/18/56/image_29012025_18_56_55_9438.jpg
/home/pi/Desktop/images/29012025/18/56/image_29012025_18_57_06_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":["1333310691","1333310882","1333310696","1333310855","1333310812","1333310886"],"photo_ids_order":["1333310691","1333310696","1333310812","1333310855","1333310882","1333310886"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c5406c7c13d3478d7c728cfe6b07d1a5.jpg","text":"TemporaryFile(/tmp/multipartBody5361413814225104126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325194913,"filename":"image_29012025_18_55_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/1/31/c2906b7aa70a866fb51488bd0507fe3e.jpg","text":"TemporaryFile(/tmp/multipartBody8184020901450976801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325194913,"filename":"image_29012025_18_56_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/1/31/b811f48b31b6a1f72d0e4056364208b3.jpg","text":"TemporaryFile(/tmp/multipartBody6762141556339846593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325194913,"filename":"image_29012025_18_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/1/31/76a59f9def9182ae1ac48c9c2c52ccde.jpg","text":"TemporaryFile(/tmp/multipartBody7377620138370871234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325194913,"filename":"image_29012025_18_56_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/1/31/dab16fcf561be773f77235ffcd8f51f1.jpg","text":"TemporaryFile(/tmp/multipartBody6627583097304422663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325194913,"filename":"image_29012025_18_56_25_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8efad1a2c870493d10bcf3659cbe08a6.jpg","text":"TemporaryFile(/tmp/multipartBody5908373004565443076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325194913,"filename":"image_29012025_18_57_06_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333310812","file1":"1333310696","file0":"1333310691","file4":"1333310882","file5":"1333310886","file3":"1333310855"},"map_files_photo_id_array":[{"photo_id":"1333310886","filename":"file5"},{"photo_id":"1333310812","filename":"file2"},{"photo_id":"1333310882","filename":"file4"},{"photo_id":"1333310696","filename":"file1"},{"photo_id":"1333310691","filename":"file0"},{"photo_id":"1333310855","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333310691":["hashtag1","hashtag2"]},{"1333310882":["hashtag1","hashtag2"]},{"1333310696":["hashtag1","hashtag2"]},{"1333310855":["hashtag1","hashtag2"]},{"1333310812":["hashtag1","hashtag2"]},{"1333310886":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333310691, 1333310882, 1333310696, 1333310855, 1333310812, 1333310886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.53188467025757 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:06:32.718986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/57/image_29012025_18_57_36_10360.jpg', '/home/pi/Desktop/images/29012025/18/57/image_29012025_18_57_45_9449.jpg', '/home/pi/Desktop/images/29012025/18/58/image_29012025_18_58_15_9433.jpg', '/home/pi/Desktop/images/29012025/18/58/image_29012025_18_58_26_10374.jpg', '/home/pi/Desktop/images/29012025/18/58/image_29012025_18_58_36_10341.jpg', '/home/pi/Desktop/images/29012025/18/58/image_29012025_18_58_45_9413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/57/image_29012025_18_57_36_10360.jpg
/home/pi/Desktop/images/29012025/18/57/image_29012025_18_57_45_9449.jpg
/home/pi/Desktop/images/29012025/18/58/image_29012025_18_58_15_9433.jpg
/home/pi/Desktop/images/29012025/18/58/image_29012025_18_58_26_10374.jpg
/home/pi/Desktop/images/29012025/18/58/image_29012025_18_58_36_10341.jpg
/home/pi/Desktop/images/29012025/18/58/image_29012025_18_58_45_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":["1333311008","1333311002","1333311055","1333310980","1333311025","1333311049"],"photo_ids_order":["1333310980","1333311002","1333311008","1333311025","1333311049","1333311055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dbbcb5e2cd50feda0ecd07544333bb8a.jpg","text":"TemporaryFile(/tmp/multipartBody1446058697691025271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325255172,"filename":"image_29012025_18_58_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/1/31/8169bf2b551ed7e9d6ef77ec62935f5f.jpg","text":"TemporaryFile(/tmp/multipartBody4486633419617004330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325255172,"filename":"image_29012025_18_57_45_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/90eb1443619dd219675b077c33b3d302.jpg","text":"TemporaryFile(/tmp/multipartBody5059342650564896788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325255172,"filename":"image_29012025_18_58_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/1/31/5cedb5c1e143d677990318d8a4afbe7d.jpg","text":"TemporaryFile(/tmp/multipartBody6412587643574855278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325255172,"filename":"image_29012025_18_57_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/1/31/3303e11ad8d776990eddc39dde518805.jpg","text":"TemporaryFile(/tmp/multipartBody27397470422086561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325255172,"filename":"image_29012025_18_58_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/1/31/d42291846f84c7f9dc6c15abcfb8cd3f.jpg","text":"TemporaryFile(/tmp/multipartBody1120196130545742047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325255172,"filename":"image_29012025_18_58_36_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333311008","file1":"1333311002","file0":"1333310980","file4":"1333311049","file5":"1333311055","file3":"1333311025"},"map_files_photo_id_array":[{"photo_id":"1333311055","filename":"file5"},{"photo_id":"1333311008","filename":"file2"},{"photo_id":"1333311049","filename":"file4"},{"photo_id":"1333311002","filename":"file1"},{"photo_id":"1333310980","filename":"file0"},{"photo_id":"1333311025","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333311008":["hashtag1","hashtag2"]},{"1333311002":["hashtag1","hashtag2"]},{"1333311055":["hashtag1","hashtag2"]},{"1333310980":["hashtag1","hashtag2"]},{"1333311025":["hashtag1","hashtag2"]},{"1333311049":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333311008, 1333311002, 1333311055, 1333310980, 1333311025, 1333311049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98679828643799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:07:32.912218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/18/58/image_29012025_18_58_56_10446.jpg', '/home/pi/Desktop/images/29012025/18/58/image_29012025_18_59_05_9461.jpg', '/home/pi/Desktop/images/29012025/18/59/image_29012025_18_59_16_10431.jpg', '/home/pi/Desktop/images/29012025/18/59/image_29012025_18_59_25_9443.jpg', '/home/pi/Desktop/images/29012025/18/59/image_29012025_18_59_35_10351.jpg', '/home/pi/Desktop/images/29012025/18/59/image_29012025_18_59_45_9646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/18/58/image_29012025_18_58_56_10446.jpg
/home/pi/Desktop/images/29012025/18/58/image_29012025_18_59_05_9461.jpg
/home/pi/Desktop/images/29012025/18/59/image_29012025_18_59_16_10431.jpg
/home/pi/Desktop/images/29012025/18/59/image_29012025_18_59_25_9443.jpg
/home/pi/Desktop/images/29012025/18/59/image_29012025_18_59_35_10351.jpg
/home/pi/Desktop/images/29012025/18/59/image_29012025_18_59_45_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333311105","1333311095","1333311108","1333311113","1333311116","1333311099"],"photo_ids_order":["1333311095","1333311099","1333311105","1333311108","1333311113","1333311116"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6b5c35f8484afaf580740e413e93d9e7.jpg","text":"TemporaryFile(/tmp/multipartBody1364622568676998284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325315326,"filename":"image_29012025_18_59_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/1/31/60d0ccc9d2d53a9f987bbd47e9c5b849.jpg","text":"TemporaryFile(/tmp/multipartBody9205160271426153556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325315326,"filename":"image_29012025_18_58_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/1/31/f5257ff53023d38e191abda0ba2d14e5.jpg","text":"TemporaryFile(/tmp/multipartBody4347655094121026404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325315326,"filename":"image_29012025_18_59_25_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c469a088ce4a0c73c7e468a099f58aac.jpg","text":"TemporaryFile(/tmp/multipartBody8145553378688928018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325315326,"filename":"image_29012025_18_59_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/1/31/0715eb55c49783815c72daa47bbbf9ae.jpg","text":"TemporaryFile(/tmp/multipartBody895350185218322067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325315326,"filename":"image_29012025_18_59_45_9646.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b30c071b40394728b3bebfbbeeb05674.jpg","text":"TemporaryFile(/tmp/multipartBody890415221456032654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325315326,"filename":"image_29012025_18_59_05_9461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333311105","file1":"1333311099","file0":"1333311095","file4":"1333311113","file5":"1333311116","file3":"1333311108"},"map_files_photo_id_array":[{"photo_id":"1333311116","filename":"file5"},{"photo_id":"1333311105","filename":"file2"},{"photo_id":"1333311113","filename":"file4"},{"photo_id":"1333311099","filename":"file1"},{"photo_id":"1333311095","filename":"file0"},{"photo_id":"1333311108","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333311105":["hashtag1","hashtag2"]},{"1333311095":["hashtag1","hashtag2"]},{"1333311108":["hashtag1","hashtag2"]},{"1333311113":["hashtag1","hashtag2"]},{"1333311116":["hashtag1","hashtag2"]},{"1333311099":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333311105, 1333311095, 1333311108, 1333311113, 1333311116, 1333311099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.57284474372864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:08:32.181977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/01/image_29012025_19_01_15_10073.jpg', '/home/pi/Desktop/images/29012025/19/01/image_29012025_19_01_25_10437.jpg', '/home/pi/Desktop/images/29012025/19/01/image_29012025_19_01_36_10355.jpg', '/home/pi/Desktop/images/29012025/19/01/image_29012025_19_01_45_9400.jpg', '/home/pi/Desktop/images/29012025/19/01/image_29012025_19_01_55_10419.jpg', '/home/pi/Desktop/images/29012025/19/02/image_29012025_19_02_15_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/01/image_29012025_19_01_15_10073.jpg
/home/pi/Desktop/images/29012025/19/01/image_29012025_19_01_25_10437.jpg
/home/pi/Desktop/images/29012025/19/01/image_29012025_19_01_36_10355.jpg
/home/pi/Desktop/images/29012025/19/01/image_29012025_19_01_45_9400.jpg
/home/pi/Desktop/images/29012025/19/01/image_29012025_19_01_55_10419.jpg
/home/pi/Desktop/images/29012025/19/02/image_29012025_19_02_15_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":["1333311321","1333311269","1333311209","1333311302","1333311352","1333311294"],"photo_ids_order":["1333311209","1333311269","1333311294","1333311302","1333311321","1333311352"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b4582fb01394de2f1a37668cc23f35b5.jpg","text":"TemporaryFile(/tmp/multipartBody3967742773018637754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325374623,"filename":"image_29012025_19_01_55_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d02a6ef336de2d9879d5930cc17a8ecc.jpg","text":"TemporaryFile(/tmp/multipartBody456280275502070168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325374623,"filename":"image_29012025_19_01_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/1/31/de83f034033a4206142eae4c8b93fc3b.jpg","text":"TemporaryFile(/tmp/multipartBody7692992300661722922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325374623,"filename":"image_29012025_19_01_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/1/31/3af6101df18f80c6c808e9e2b4cd192d.jpg","text":"TemporaryFile(/tmp/multipartBody8592381724801944424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325374623,"filename":"image_29012025_19_01_45_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/97de98cf70937c717ae77f9a9a1d3f44.jpg","text":"TemporaryFile(/tmp/multipartBody5796688715838390156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325374623,"filename":"image_29012025_19_02_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/1/31/4e527b4bd315e555da0017e1150bbba1.jpg","text":"TemporaryFile(/tmp/multipartBody3627666773436593940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325374623,"filename":"image_29012025_19_01_36_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333311294","file1":"1333311269","file0":"1333311209","file4":"1333311321","file5":"1333311352","file3":"1333311302"},"map_files_photo_id_array":[{"photo_id":"1333311352","filename":"file5"},{"photo_id":"1333311294","filename":"file2"},{"photo_id":"1333311321","filename":"file4"},{"photo_id":"1333311269","filename":"file1"},{"photo_id":"1333311209","filename":"file0"},{"photo_id":"1333311302","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333311321":["hashtag1","hashtag2"]},{"1333311269":["hashtag1","hashtag2"]},{"1333311209":["hashtag1","hashtag2"]},{"1333311302":["hashtag1","hashtag2"]},{"1333311352":["hashtag1","hashtag2"]},{"1333311294":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333311321, 1333311269, 1333311209, 1333311302, 1333311352, 1333311294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.252301931381226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:09:32.442744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/02/image_29012025_19_02_26_10366.jpg', '/home/pi/Desktop/images/29012025/19/02/image_29012025_19_02_35_9398.jpg', '/home/pi/Desktop/images/29012025/19/02/image_29012025_19_02_45_10375.jpg', '/home/pi/Desktop/images/29012025/19/02/image_29012025_19_02_56_10357.jpg', '/home/pi/Desktop/images/29012025/19/02/image_29012025_19_03_05_9445.jpg', '/home/pi/Desktop/images/29012025/19/03/image_29012025_19_03_16_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/02/image_29012025_19_02_26_10366.jpg
/home/pi/Desktop/images/29012025/19/02/image_29012025_19_02_35_9398.jpg
/home/pi/Desktop/images/29012025/19/02/image_29012025_19_02_45_10375.jpg
/home/pi/Desktop/images/29012025/19/02/image_29012025_19_02_56_10357.jpg
/home/pi/Desktop/images/29012025/19/02/image_29012025_19_03_05_9445.jpg
/home/pi/Desktop/images/29012025/19/03/image_29012025_19_03_16_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":["1333311653","1333312522","1333312504","1333312323","1333311999","1333312589"],"photo_ids_order":["1333311653","1333311999","1333312323","1333312504","1333312522","1333312589"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9a55a8cc462f502d0962c3b87580243d.jpg","text":"TemporaryFile(/tmp/multipartBody2693571679476164868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325434911,"filename":"image_29012025_19_02_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/1/31/6b854b95b930f71aaf4949018c73c2ef.jpg","text":"TemporaryFile(/tmp/multipartBody8765660365429527369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325434911,"filename":"image_29012025_19_03_05_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ba1189f40e3a1387c1b2e9c828666e34.jpg","text":"TemporaryFile(/tmp/multipartBody1688667408548350125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325434911,"filename":"image_29012025_19_02_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/1/31/c9c575fa7694c20fb5f3a0655dd87f8f.jpg","text":"TemporaryFile(/tmp/multipartBody6320669673771432958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325434911,"filename":"image_29012025_19_02_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/1/31/fa6f77bd030911542381d226c077e799.jpg","text":"TemporaryFile(/tmp/multipartBody2873681257373736871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325434911,"filename":"image_29012025_19_02_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/1/31/0c8e87e5d1e663fd85d80cc5df7f2368.jpg","text":"TemporaryFile(/tmp/multipartBody1428285242949517639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325434911,"filename":"image_29012025_19_03_16_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333312323","file1":"1333311999","file0":"1333311653","file4":"1333312522","file5":"1333312589","file3":"1333312504"},"map_files_photo_id_array":[{"photo_id":"1333312589","filename":"file5"},{"photo_id":"1333312323","filename":"file2"},{"photo_id":"1333312522","filename":"file4"},{"photo_id":"1333311999","filename":"file1"},{"photo_id":"1333311653","filename":"file0"},{"photo_id":"1333312504","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333311653":["hashtag1","hashtag2"]},{"1333312522":["hashtag1","hashtag2"]},{"1333312504":["hashtag1","hashtag2"]},{"1333312323":["hashtag1","hashtag2"]},{"1333311999":["hashtag1","hashtag2"]},{"1333312589":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333311653, 1333312522, 1333312504, 1333312323, 1333311999, 1333312589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.023921966552734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:10:32.805521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/03/image_29012025_19_03_25_9355.jpg', '/home/pi/Desktop/images/29012025/19/03/image_29012025_19_03_35_10438.jpg', '/home/pi/Desktop/images/29012025/19/03/image_29012025_19_03_46_10356.jpg', '/home/pi/Desktop/images/29012025/19/03/image_29012025_19_03_55_9517.jpg', '/home/pi/Desktop/images/29012025/19/04/image_29012025_19_04_15_9351.jpg', '/home/pi/Desktop/images/29012025/19/04/image_29012025_19_04_25_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/03/image_29012025_19_03_25_9355.jpg
/home/pi/Desktop/images/29012025/19/03/image_29012025_19_03_35_10438.jpg
/home/pi/Desktop/images/29012025/19/03/image_29012025_19_03_46_10356.jpg
/home/pi/Desktop/images/29012025/19/03/image_29012025_19_03_55_9517.jpg
/home/pi/Desktop/images/29012025/19/04/image_29012025_19_04_15_9351.jpg
/home/pi/Desktop/images/29012025/19/04/image_29012025_19_04_25_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333312922","1333312996","1333312999","1333312939","1333312884","1333312947"],"photo_ids_order":["1333312884","1333312922","1333312939","1333312947","1333312996","1333312999"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/63ddb25d90295145fa01b0aac232830f.jpg","text":"TemporaryFile(/tmp/multipartBody8457555076986752190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325495227,"filename":"image_29012025_19_03_35_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b0c3c278c49395facb939acd5ce06c8e.jpg","text":"TemporaryFile(/tmp/multipartBody2343403751429305528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325495227,"filename":"image_29012025_19_04_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/1/31/37cf0b0eb50872d528490f832180f1ff.jpg","text":"TemporaryFile(/tmp/multipartBody8038918355366065839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325495227,"filename":"image_29012025_19_04_25_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f81bf1df0f99a193183a1be564df0edb.jpg","text":"TemporaryFile(/tmp/multipartBody8692632976392171534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325495227,"filename":"image_29012025_19_03_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/1/31/633f86e6241ff0c8fbaa4177db30eb4b.jpg","text":"TemporaryFile(/tmp/multipartBody6600637603182263332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325495227,"filename":"image_29012025_19_03_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/1/31/a6bbb2c8efcf77e18e95d559107e4a7a.jpg","text":"TemporaryFile(/tmp/multipartBody168398894410063887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325495227,"filename":"image_29012025_19_03_55_9517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333312939","file1":"1333312922","file0":"1333312884","file4":"1333312996","file5":"1333312999","file3":"1333312947"},"map_files_photo_id_array":[{"photo_id":"1333312999","filename":"file5"},{"photo_id":"1333312939","filename":"file2"},{"photo_id":"1333312996","filename":"file4"},{"photo_id":"1333312922","filename":"file1"},{"photo_id":"1333312884","filename":"file0"},{"photo_id":"1333312947","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333312922":["hashtag1","hashtag2"]},{"1333312996":["hashtag1","hashtag2"]},{"1333312999":["hashtag1","hashtag2"]},{"1333312939":["hashtag1","hashtag2"]},{"1333312884":["hashtag1","hashtag2"]},{"1333312947":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333312922, 1333312996, 1333312999, 1333312939, 1333312884, 1333312947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.94559669494629 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:11:32.915394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/04/image_29012025_19_04_36_10411.jpg', '/home/pi/Desktop/images/29012025/19/04/image_29012025_19_04_45_9366.jpg', '/home/pi/Desktop/images/29012025/19/04/image_29012025_19_04_55_10366.jpg', '/home/pi/Desktop/images/29012025/19/04/image_29012025_19_05_05_9346.jpg', '/home/pi/Desktop/images/29012025/19/05/image_29012025_19_05_15_10399.jpg', '/home/pi/Desktop/images/29012025/19/05/image_29012025_19_05_26_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/04/image_29012025_19_04_36_10411.jpg
/home/pi/Desktop/images/29012025/19/04/image_29012025_19_04_45_9366.jpg
/home/pi/Desktop/images/29012025/19/04/image_29012025_19_04_55_10366.jpg
/home/pi/Desktop/images/29012025/19/04/image_29012025_19_05_05_9346.jpg
/home/pi/Desktop/images/29012025/19/05/image_29012025_19_05_15_10399.jpg
/home/pi/Desktop/images/29012025/19/05/image_29012025_19_05_26_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":["1333313222","1333313064","1333313058","1333313517","1333313576","1333313069"],"photo_ids_order":["1333313058","1333313064","1333313069","1333313222","1333313517","1333313576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/40281b8e846eae06979a74f88edbeee1.jpg","text":"TemporaryFile(/tmp/multipartBody2885674697503498859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325555341,"filename":"image_29012025_19_05_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/1/31/c47f7f60cabbbf6e6756ac842953ed16.jpg","text":"TemporaryFile(/tmp/multipartBody2297982747939917589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325555341,"filename":"image_29012025_19_04_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/1/31/e7899ef196b7d668a245183e2a3538ad.jpg","text":"TemporaryFile(/tmp/multipartBody177149354515934290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325555341,"filename":"image_29012025_19_04_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/1/31/25930991832d1eae702b5065549cfd8c.jpg","text":"TemporaryFile(/tmp/multipartBody7618032785064841597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325555341,"filename":"image_29012025_19_05_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/1/31/46f88c11eb20b18c74e97bd5e93e87ba.jpg","text":"TemporaryFile(/tmp/multipartBody7671236186456683899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325555341,"filename":"image_29012025_19_05_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/1/31/e50d53ffa7c368bda6a165a994a7137a.jpg","text":"TemporaryFile(/tmp/multipartBody4551369193407089408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325555341,"filename":"image_29012025_19_04_55_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333313069","file1":"1333313064","file0":"1333313058","file4":"1333313517","file5":"1333313576","file3":"1333313222"},"map_files_photo_id_array":[{"photo_id":"1333313576","filename":"file5"},{"photo_id":"1333313069","filename":"file2"},{"photo_id":"1333313517","filename":"file4"},{"photo_id":"1333313064","filename":"file1"},{"photo_id":"1333313058","filename":"file0"},{"photo_id":"1333313222","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333313222":["hashtag1","hashtag2"]},{"1333313064":["hashtag1","hashtag2"]},{"1333313058":["hashtag1","hashtag2"]},{"1333313517":["hashtag1","hashtag2"]},{"1333313576":["hashtag1","hashtag2"]},{"1333313069":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333313222, 1333313064, 1333313058, 1333313517, 1333313576, 1333313069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.93949270248413 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:12:33.151608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/05/image_29012025_19_05_35_9452.jpg', '/home/pi/Desktop/images/29012025/19/05/image_29012025_19_05_45_10359.jpg', '/home/pi/Desktop/images/29012025/19/05/image_29012025_19_05_55_9373.jpg', '/home/pi/Desktop/images/29012025/19/05/image_29012025_19_06_05_10347.jpg', '/home/pi/Desktop/images/29012025/19/06/image_29012025_19_06_16_10360.jpg', '/home/pi/Desktop/images/29012025/19/06/image_29012025_19_06_35_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/05/image_29012025_19_05_35_9452.jpg
/home/pi/Desktop/images/29012025/19/05/image_29012025_19_05_45_10359.jpg
/home/pi/Desktop/images/29012025/19/05/image_29012025_19_05_55_9373.jpg
/home/pi/Desktop/images/29012025/19/05/image_29012025_19_06_05_10347.jpg
/home/pi/Desktop/images/29012025/19/06/image_29012025_19_06_16_10360.jpg
/home/pi/Desktop/images/29012025/19/06/image_29012025_19_06_35_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":["1333313692","1333313686","1333313680","1333313675","1333313855","1333313834"],"photo_ids_order":["1333313675","1333313680","1333313686","1333313692","1333313834","1333313855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/eb66e09809e4d7395255df24f85f094b.jpg","text":"TemporaryFile(/tmp/multipartBody2392822367417164460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325615561,"filename":"image_29012025_19_06_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/1/31/34af9ac8c78c9f332cacf73137759b8d.jpg","text":"TemporaryFile(/tmp/multipartBody2073491761239056102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325615561,"filename":"image_29012025_19_05_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/1/31/d51cae276f817ad9350df0de9eefa339.jpg","text":"TemporaryFile(/tmp/multipartBody2640276269197157925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325615561,"filename":"image_29012025_19_05_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/1/31/7cf031353ebd9906bb7f201afda7e58c.jpg","text":"TemporaryFile(/tmp/multipartBody5247440125195382539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325615561,"filename":"image_29012025_19_05_35_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0a4cf626a402ecd424b50671967ad2de.jpg","text":"TemporaryFile(/tmp/multipartBody7522882615108532320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325615561,"filename":"image_29012025_19_06_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/1/31/9c897d39b18c7898b6d44eb7e9baef4e.jpg","text":"TemporaryFile(/tmp/multipartBody380125945143316443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325615561,"filename":"image_29012025_19_06_16_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333313686","file1":"1333313680","file0":"1333313675","file4":"1333313834","file5":"1333313855","file3":"1333313692"},"map_files_photo_id_array":[{"photo_id":"1333313855","filename":"file5"},{"photo_id":"1333313686","filename":"file2"},{"photo_id":"1333313834","filename":"file4"},{"photo_id":"1333313680","filename":"file1"},{"photo_id":"1333313675","filename":"file0"},{"photo_id":"1333313692","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333313692":["hashtag1","hashtag2"]},{"1333313686":["hashtag1","hashtag2"]},{"1333313680":["hashtag1","hashtag2"]},{"1333313675":["hashtag1","hashtag2"]},{"1333313855":["hashtag1","hashtag2"]},{"1333313834":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333313692, 1333313686, 1333313680, 1333313675, 1333313855, 1333313834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.377734899520874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:13:32.431635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/06/image_29012025_19_06_46_10378.jpg', '/home/pi/Desktop/images/29012025/19/07/image_29012025_19_07_45_9429.jpg', '/home/pi/Desktop/images/29012025/19/07/image_29012025_19_07_55_10358.jpg', '/home/pi/Desktop/images/29012025/19/07/image_29012025_19_08_05_9393.jpg', '/home/pi/Desktop/images/29012025/19/08/image_29012025_19_08_15_10422.jpg', '/home/pi/Desktop/images/29012025/19/08/image_29012025_19_08_26_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/06/image_29012025_19_06_46_10378.jpg
/home/pi/Desktop/images/29012025/19/07/image_29012025_19_07_45_9429.jpg
/home/pi/Desktop/images/29012025/19/07/image_29012025_19_07_55_10358.jpg
/home/pi/Desktop/images/29012025/19/07/image_29012025_19_08_05_9393.jpg
/home/pi/Desktop/images/29012025/19/08/image_29012025_19_08_15_10422.jpg
/home/pi/Desktop/images/29012025/19/08/image_29012025_19_08_26_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":["1333313915","1333313918","1333313903","1333313895","1333313889","1333313910"],"photo_ids_order":["1333313889","1333313895","1333313903","1333313910","1333313915","1333313918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2292fce105c9644a372a741ff253262b.jpg","text":"TemporaryFile(/tmp/multipartBody3894066716096228037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325674882,"filename":"image_29012025_19_08_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/1/31/a2b9132cd8d1fb4950bd62dbd3f4bcea.jpg","text":"TemporaryFile(/tmp/multipartBody4204931653682984177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325674882,"filename":"image_29012025_19_08_26_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/006287e1903c786a2151d1f6696ef345.jpg","text":"TemporaryFile(/tmp/multipartBody7752043211726380550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325674882,"filename":"image_29012025_19_07_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/1/31/23f47fb6e17261979184e41a1120171d.jpg","text":"TemporaryFile(/tmp/multipartBody8336693055458242832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325674882,"filename":"image_29012025_19_07_45_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/41d05f6358532c503ef1a8f27231e05f.jpg","text":"TemporaryFile(/tmp/multipartBody8039008031258038351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325674882,"filename":"image_29012025_19_06_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/1/31/dcc54ac7dc8d7a3eb7ba341ac04620f7.jpg","text":"TemporaryFile(/tmp/multipartBody2869990004018678921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325674882,"filename":"image_29012025_19_08_05_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333313903","file1":"1333313895","file0":"1333313889","file4":"1333313915","file5":"1333313918","file3":"1333313910"},"map_files_photo_id_array":[{"photo_id":"1333313918","filename":"file5"},{"photo_id":"1333313903","filename":"file2"},{"photo_id":"1333313915","filename":"file4"},{"photo_id":"1333313895","filename":"file1"},{"photo_id":"1333313889","filename":"file0"},{"photo_id":"1333313910","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333313915":["hashtag1","hashtag2"]},{"1333313918":["hashtag1","hashtag2"]},{"1333313903":["hashtag1","hashtag2"]},{"1333313895":["hashtag1","hashtag2"]},{"1333313889":["hashtag1","hashtag2"]},{"1333313910":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333313915, 1333313918, 1333313903, 1333313895, 1333313889, 1333313910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.815372943878174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:14:32.648971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/08/image_29012025_19_08_35_9415.jpg', '/home/pi/Desktop/images/29012025/19/08/image_29012025_19_08_45_10364.jpg', '/home/pi/Desktop/images/29012025/19/08/image_29012025_19_08_55_9346.jpg', '/home/pi/Desktop/images/29012025/19/08/image_29012025_19_09_05_10441.jpg', '/home/pi/Desktop/images/29012025/19/09/image_29012025_19_09_16_10368.jpg', '/home/pi/Desktop/images/29012025/19/09/image_29012025_19_09_35_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/08/image_29012025_19_08_35_9415.jpg
/home/pi/Desktop/images/29012025/19/08/image_29012025_19_08_45_10364.jpg
/home/pi/Desktop/images/29012025/19/08/image_29012025_19_08_55_9346.jpg
/home/pi/Desktop/images/29012025/19/08/image_29012025_19_09_05_10441.jpg
/home/pi/Desktop/images/29012025/19/09/image_29012025_19_09_16_10368.jpg
/home/pi/Desktop/images/29012025/19/09/image_29012025_19_09_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":["1333313940","1333313946","1333313963","1333313957","1333313951","1333313960"],"photo_ids_order":["1333313940","1333313946","1333313951","1333313957","1333313960","1333313963"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ee78499f59f409140861994eca7d8bfe.jpg","text":"TemporaryFile(/tmp/multipartBody5531386026529867258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325735063,"filename":"image_29012025_19_08_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/1/31/f8880b3acd0b57be3fcfbce6a2a96fc0.jpg","text":"TemporaryFile(/tmp/multipartBody3511326593583566814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325735063,"filename":"image_29012025_19_08_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/1/31/654d66329fd64c9c64251ec1e45dceb9.jpg","text":"TemporaryFile(/tmp/multipartBody7835628166138548132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325735063,"filename":"image_29012025_19_09_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/1/31/6fc6ea8a03ed86b9af50c708eb484dd9.jpg","text":"TemporaryFile(/tmp/multipartBody7235015225314796992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325735063,"filename":"image_29012025_19_09_05_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/66986c849e29337466b6a900c4e605e2.jpg","text":"TemporaryFile(/tmp/multipartBody568371605687971913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325735063,"filename":"image_29012025_19_08_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/1/31/ad393c53b144c98484be97f7bb1c5494.jpg","text":"TemporaryFile(/tmp/multipartBody1159684731298708969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325735063,"filename":"image_29012025_19_09_16_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333313951","file1":"1333313946","file0":"1333313940","file4":"1333313960","file5":"1333313963","file3":"1333313957"},"map_files_photo_id_array":[{"photo_id":"1333313963","filename":"file5"},{"photo_id":"1333313951","filename":"file2"},{"photo_id":"1333313960","filename":"file4"},{"photo_id":"1333313946","filename":"file1"},{"photo_id":"1333313940","filename":"file0"},{"photo_id":"1333313957","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333313940":["hashtag1","hashtag2"]},{"1333313946":["hashtag1","hashtag2"]},{"1333313963":["hashtag1","hashtag2"]},{"1333313957":["hashtag1","hashtag2"]},{"1333313951":["hashtag1","hashtag2"]},{"1333313960":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333313940, 1333313946, 1333313963, 1333313957, 1333313951, 1333313960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.84983801841736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:15:32.804372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/09/image_29012025_19_09_45_9376.jpg', '/home/pi/Desktop/images/29012025/19/09/image_29012025_19_09_55_10381.jpg', '/home/pi/Desktop/images/29012025/19/09/image_29012025_19_10_06_10378.jpg', '/home/pi/Desktop/images/29012025/19/10/image_29012025_19_10_15_9430.jpg', '/home/pi/Desktop/images/29012025/19/10/image_29012025_19_10_25_10379.jpg', '/home/pi/Desktop/images/29012025/19/10/image_29012025_19_10_35_9394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/09/image_29012025_19_09_45_9376.jpg
/home/pi/Desktop/images/29012025/19/09/image_29012025_19_09_55_10381.jpg
/home/pi/Desktop/images/29012025/19/09/image_29012025_19_10_06_10378.jpg
/home/pi/Desktop/images/29012025/19/10/image_29012025_19_10_15_9430.jpg
/home/pi/Desktop/images/29012025/19/10/image_29012025_19_10_25_10379.jpg
/home/pi/Desktop/images/29012025/19/10/image_29012025_19_10_35_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":["1333314136","1333314129","1333314062","1333314068","1333314134","1333314107"],"photo_ids_order":["1333314062","1333314068","1333314107","1333314129","1333314134","1333314136"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/805012f011b212626074d6323eef7757.jpg","text":"TemporaryFile(/tmp/multipartBody8404171968308190572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325795246,"filename":"image_29012025_19_10_35_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ac496ab5f72b186728fcfe08f975e151.jpg","text":"TemporaryFile(/tmp/multipartBody971077283065349711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325795246,"filename":"image_29012025_19_10_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/1/31/191c0023d1a49c7649a804f4701d284b.jpg","text":"TemporaryFile(/tmp/multipartBody5240365133342017340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325795246,"filename":"image_29012025_19_09_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/1/31/18189f6cf27d3325db84410b2d857e58.jpg","text":"TemporaryFile(/tmp/multipartBody6960699568050957751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325795246,"filename":"image_29012025_19_09_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/1/31/da0e03bfb728ca117b34aa3e8c52bf05.jpg","text":"TemporaryFile(/tmp/multipartBody5831853354586344137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325795246,"filename":"image_29012025_19_10_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/1/31/22ad82865b2bf5dce510b33043b14c85.jpg","text":"TemporaryFile(/tmp/multipartBody5852564826412228896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325795246,"filename":"image_29012025_19_10_06_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333314107","file1":"1333314068","file0":"1333314062","file4":"1333314134","file5":"1333314136","file3":"1333314129"},"map_files_photo_id_array":[{"photo_id":"1333314136","filename":"file5"},{"photo_id":"1333314107","filename":"file2"},{"photo_id":"1333314134","filename":"file4"},{"photo_id":"1333314068","filename":"file1"},{"photo_id":"1333314062","filename":"file0"},{"photo_id":"1333314129","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333314136":["hashtag1","hashtag2"]},{"1333314129":["hashtag1","hashtag2"]},{"1333314062":["hashtag1","hashtag2"]},{"1333314068":["hashtag1","hashtag2"]},{"1333314134":["hashtag1","hashtag2"]},{"1333314107":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333314136, 1333314129, 1333314062, 1333314068, 1333314134, 1333314107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.643545389175415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:16:33.008501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/10/image_29012025_19_10_45_10392.jpg', '/home/pi/Desktop/images/29012025/19/10/image_29012025_19_10_56_10354.jpg', '/home/pi/Desktop/images/29012025/19/10/image_29012025_19_11_05_9370.jpg', '/home/pi/Desktop/images/29012025/19/11/image_29012025_19_11_15_10363.jpg', '/home/pi/Desktop/images/29012025/19/11/image_29012025_19_11_26_10412.jpg', '/home/pi/Desktop/images/29012025/19/11/image_29012025_19_11_35_9440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/10/image_29012025_19_10_45_10392.jpg
/home/pi/Desktop/images/29012025/19/10/image_29012025_19_10_56_10354.jpg
/home/pi/Desktop/images/29012025/19/10/image_29012025_19_11_05_9370.jpg
/home/pi/Desktop/images/29012025/19/11/image_29012025_19_11_15_10363.jpg
/home/pi/Desktop/images/29012025/19/11/image_29012025_19_11_26_10412.jpg
/home/pi/Desktop/images/29012025/19/11/image_29012025_19_11_35_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":["1333314253","1333314247","1333314241","1333314301","1333314257","1333314233"],"photo_ids_order":["1333314233","1333314241","1333314247","1333314253","1333314257","1333314301"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a001040d5919c9d5b8881092e2c99456.jpg","text":"TemporaryFile(/tmp/multipartBody924189695405972736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325855427,"filename":"image_29012025_19_11_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/1/31/e01a227ec366ef16dfffb5810e2092e0.jpg","text":"TemporaryFile(/tmp/multipartBody440706156978566764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325855427,"filename":"image_29012025_19_11_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/1/31/fa9bd86cd15272296b3bcb3cf0c873be.jpg","text":"TemporaryFile(/tmp/multipartBody8704431380757763999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325855427,"filename":"image_29012025_19_10_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/428ac6b05cd74c437e3fed118761d543.jpg","text":"TemporaryFile(/tmp/multipartBody5249513746377455761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325855427,"filename":"image_29012025_19_11_35_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6cbac21d7492196c129a31735f151965.jpg","text":"TemporaryFile(/tmp/multipartBody4701536001346926495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325855427,"filename":"image_29012025_19_11_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/1/31/2d5454b52386ae2a2f9384ea1650abd1.jpg","text":"TemporaryFile(/tmp/multipartBody1112596769632822206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325855427,"filename":"image_29012025_19_10_45_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333314247","file1":"1333314241","file0":"1333314233","file4":"1333314257","file5":"1333314301","file3":"1333314253"},"map_files_photo_id_array":[{"photo_id":"1333314301","filename":"file5"},{"photo_id":"1333314247","filename":"file2"},{"photo_id":"1333314257","filename":"file4"},{"photo_id":"1333314241","filename":"file1"},{"photo_id":"1333314233","filename":"file0"},{"photo_id":"1333314253","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333314253":["hashtag1","hashtag2"]},{"1333314247":["hashtag1","hashtag2"]},{"1333314241":["hashtag1","hashtag2"]},{"1333314301":["hashtag1","hashtag2"]},{"1333314257":["hashtag1","hashtag2"]},{"1333314233":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333314253, 1333314247, 1333314241, 1333314301, 1333314257, 1333314233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.62157106399536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:17:32.246596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/11/image_29012025_19_11_45_10364.jpg', '/home/pi/Desktop/images/29012025/19/11/image_29012025_19_11_55_9354.jpg', '/home/pi/Desktop/images/29012025/19/11/image_29012025_19_12_05_10432.jpg', '/home/pi/Desktop/images/29012025/19/12/image_29012025_19_12_25_9483.jpg', '/home/pi/Desktop/images/29012025/19/12/image_29012025_19_12_35_10343.jpg', '/home/pi/Desktop/images/29012025/19/12/image_29012025_19_12_45_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/11/image_29012025_19_11_45_10364.jpg
/home/pi/Desktop/images/29012025/19/11/image_29012025_19_11_55_9354.jpg
/home/pi/Desktop/images/29012025/19/11/image_29012025_19_12_05_10432.jpg
/home/pi/Desktop/images/29012025/19/12/image_29012025_19_12_25_9483.jpg
/home/pi/Desktop/images/29012025/19/12/image_29012025_19_12_35_10343.jpg
/home/pi/Desktop/images/29012025/19/12/image_29012025_19_12_45_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":["1333314337","1333314424","1333314403","1333314429","1333314386","1333314413"],"photo_ids_order":["1333314337","1333314386","1333314403","1333314413","1333314424","1333314429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f320a67d42fbe8b5e7ea5a3036caab9f.jpg","text":"TemporaryFile(/tmp/multipartBody701596197789651579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325914669,"filename":"image_29012025_19_11_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/1/31/1cf857345c9d33897a52c148575acb0d.jpg","text":"TemporaryFile(/tmp/multipartBody4725763114253997350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325914669,"filename":"image_29012025_19_12_35_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0f2c471436a6b0d5323345f4e6f0f1c3.jpg","text":"TemporaryFile(/tmp/multipartBody5335759809093221178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325914669,"filename":"image_29012025_19_12_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/1/31/d7a4684a98f00b294a3fadb06481ace7.jpg","text":"TemporaryFile(/tmp/multipartBody342452011219223140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325914669,"filename":"image_29012025_19_12_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/1/31/287183bd8dd05ee8ee254e3160332bdd.jpg","text":"TemporaryFile(/tmp/multipartBody3170039645501416888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325914669,"filename":"image_29012025_19_11_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/1/31/f5073f2c9f221865e50dd1fdefeccd93.jpg","text":"TemporaryFile(/tmp/multipartBody2411344639193600141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325914669,"filename":"image_29012025_19_12_25_9483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333314403","file1":"1333314386","file0":"1333314337","file4":"1333314424","file5":"1333314429","file3":"1333314413"},"map_files_photo_id_array":[{"photo_id":"1333314429","filename":"file5"},{"photo_id":"1333314403","filename":"file2"},{"photo_id":"1333314424","filename":"file4"},{"photo_id":"1333314386","filename":"file1"},{"photo_id":"1333314337","filename":"file0"},{"photo_id":"1333314413","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333314337":["hashtag1","hashtag2"]},{"1333314424":["hashtag1","hashtag2"]},{"1333314403":["hashtag1","hashtag2"]},{"1333314429":["hashtag1","hashtag2"]},{"1333314386":["hashtag1","hashtag2"]},{"1333314413":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333314337, 1333314424, 1333314403, 1333314429, 1333314386, 1333314413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.682746171951294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:18:32.396360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/12/image_29012025_19_12_55_10380.jpg', '/home/pi/Desktop/images/29012025/19/13/image_29012025_19_13_15_9808.jpg', '/home/pi/Desktop/images/29012025/19/13/image_29012025_19_13_26_10358.jpg', '/home/pi/Desktop/images/29012025/19/13/image_29012025_19_13_35_9367.jpg', '/home/pi/Desktop/images/29012025/19/13/image_29012025_19_13_45_10388.jpg', '/home/pi/Desktop/images/29012025/19/13/image_29012025_19_13_55_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/12/image_29012025_19_12_55_10380.jpg
/home/pi/Desktop/images/29012025/19/13/image_29012025_19_13_15_9808.jpg
/home/pi/Desktop/images/29012025/19/13/image_29012025_19_13_26_10358.jpg
/home/pi/Desktop/images/29012025/19/13/image_29012025_19_13_35_9367.jpg
/home/pi/Desktop/images/29012025/19/13/image_29012025_19_13_45_10388.jpg
/home/pi/Desktop/images/29012025/19/13/image_29012025_19_13_55_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":["1333314591","1333314585","1333314594","1333314540","1333314548","1333314595"],"photo_ids_order":["1333314540","1333314548","1333314585","1333314591","1333314594","1333314595"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4f028aa7153767dd293178fc217d808d.jpg","text":"TemporaryFile(/tmp/multipartBody6008233520974852590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325974812,"filename":"image_29012025_19_13_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/1/31/3fd33ad413da1ee2dec872eea4114773.jpg","text":"TemporaryFile(/tmp/multipartBody9030497083824159786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325974812,"filename":"image_29012025_19_13_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/1/31/1a27efd5398540a0115fb1d96d37fb23.jpg","text":"TemporaryFile(/tmp/multipartBody150895707141882075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325974812,"filename":"image_29012025_19_13_45_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/345edf5fe2914bfea7c6998e7905d10e.jpg","text":"TemporaryFile(/tmp/multipartBody2070212956539425904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325974812,"filename":"image_29012025_19_12_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/1/31/324a2fb8d20caebc3a83d4b30b81a530.jpg","text":"TemporaryFile(/tmp/multipartBody164221746153497803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325974812,"filename":"image_29012025_19_13_15_9808.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ad76155d95f2cb5466fb6ddd7c60dff9.jpg","text":"TemporaryFile(/tmp/multipartBody3559316797967951066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738325974812,"filename":"image_29012025_19_13_55_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333314585","file1":"1333314548","file0":"1333314540","file4":"1333314594","file5":"1333314595","file3":"1333314591"},"map_files_photo_id_array":[{"photo_id":"1333314595","filename":"file5"},{"photo_id":"1333314585","filename":"file2"},{"photo_id":"1333314594","filename":"file4"},{"photo_id":"1333314548","filename":"file1"},{"photo_id":"1333314540","filename":"file0"},{"photo_id":"1333314591","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333314591":["hashtag1","hashtag2"]},{"1333314585":["hashtag1","hashtag2"]},{"1333314594":["hashtag1","hashtag2"]},{"1333314540":["hashtag1","hashtag2"]},{"1333314548":["hashtag1","hashtag2"]},{"1333314595":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333314591, 1333314585, 1333314594, 1333314540, 1333314548, 1333314595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.135748863220215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:19:32.637718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/13/image_29012025_19_14_05_10349.jpg', '/home/pi/Desktop/images/29012025/19/14/image_29012025_19_14_16_10342.jpg', '/home/pi/Desktop/images/29012025/19/14/image_29012025_19_14_25_9354.jpg', '/home/pi/Desktop/images/29012025/19/14/image_29012025_19_14_46_10343.jpg', '/home/pi/Desktop/images/29012025/19/14/image_29012025_19_14_55_9441.jpg', '/home/pi/Desktop/images/29012025/19/14/image_29012025_19_15_05_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/13/image_29012025_19_14_05_10349.jpg
/home/pi/Desktop/images/29012025/19/14/image_29012025_19_14_16_10342.jpg
/home/pi/Desktop/images/29012025/19/14/image_29012025_19_14_25_9354.jpg
/home/pi/Desktop/images/29012025/19/14/image_29012025_19_14_46_10343.jpg
/home/pi/Desktop/images/29012025/19/14/image_29012025_19_14_55_9441.jpg
/home/pi/Desktop/images/29012025/19/14/image_29012025_19_15_05_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":["1333314619","1333314649","1333314639","1333314633","1333314644","1333314647"],"photo_ids_order":["1333314619","1333314633","1333314639","1333314644","1333314647","1333314649"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1f9770db51594f99bb02acd07887c121.jpg","text":"TemporaryFile(/tmp/multipartBody4095871568611233949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326035061,"filename":"image_29012025_19_14_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/1/31/21e4f403d49549b16731a5a013256be3.jpg","text":"TemporaryFile(/tmp/multipartBody7118613316984346172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326035061,"filename":"image_29012025_19_15_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/1/31/8b94b7ed3823853cf2f0060ecd0f069d.jpg","text":"TemporaryFile(/tmp/multipartBody3095387795363707519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326035061,"filename":"image_29012025_19_14_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/1/31/36bc7f3d4a59ee861aa26b14501b83be.jpg","text":"TemporaryFile(/tmp/multipartBody4632951539904385828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326035061,"filename":"image_29012025_19_14_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/1/31/a3ec910fc5f1c8b69dd70a5814efc1c1.jpg","text":"TemporaryFile(/tmp/multipartBody6785244573565941910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326035061,"filename":"image_29012025_19_14_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/1/31/b9ac1765e21538d301b26c520618ced0.jpg","text":"TemporaryFile(/tmp/multipartBody9045443147035250988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326035061,"filename":"image_29012025_19_14_55_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333314639","file1":"1333314633","file0":"1333314619","file4":"1333314647","file5":"1333314649","file3":"1333314644"},"map_files_photo_id_array":[{"photo_id":"1333314649","filename":"file5"},{"photo_id":"1333314639","filename":"file2"},{"photo_id":"1333314647","filename":"file4"},{"photo_id":"1333314633","filename":"file1"},{"photo_id":"1333314619","filename":"file0"},{"photo_id":"1333314644","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333314619":["hashtag1","hashtag2"]},{"1333314649":["hashtag1","hashtag2"]},{"1333314639":["hashtag1","hashtag2"]},{"1333314633":["hashtag1","hashtag2"]},{"1333314644":["hashtag1","hashtag2"]},{"1333314647":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333314619, 1333314649, 1333314639, 1333314633, 1333314644, 1333314647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.309990882873535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:20:32.831487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/15/image_29012025_19_15_15_9345.jpg', '/home/pi/Desktop/images/29012025/19/15/image_29012025_19_15_25_10368.jpg', '/home/pi/Desktop/images/29012025/19/15/image_29012025_19_15_36_10380.jpg', '/home/pi/Desktop/images/29012025/19/15/image_29012025_19_15_45_9344.jpg', '/home/pi/Desktop/images/29012025/19/15/image_29012025_19_15_55_10433.jpg', '/home/pi/Desktop/images/29012025/19/15/image_29012025_19_16_06_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/15/image_29012025_19_15_15_9345.jpg
/home/pi/Desktop/images/29012025/19/15/image_29012025_19_15_25_10368.jpg
/home/pi/Desktop/images/29012025/19/15/image_29012025_19_15_36_10380.jpg
/home/pi/Desktop/images/29012025/19/15/image_29012025_19_15_45_9344.jpg
/home/pi/Desktop/images/29012025/19/15/image_29012025_19_15_55_10433.jpg
/home/pi/Desktop/images/29012025/19/15/image_29012025_19_16_06_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":["1333315531","1333315470","1333315545","1333315476","1333315481","1333315441"],"photo_ids_order":["1333315441","1333315470","1333315476","1333315481","1333315531","1333315545"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/55c572d84f7093900c2c5b3c5a735331.jpg","text":"TemporaryFile(/tmp/multipartBody7052004541625639717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326095737,"filename":"image_29012025_19_15_55_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6643eee8dd21aecc6f8e50258032c01f.jpg","text":"TemporaryFile(/tmp/multipartBody4588087878141161677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326095737,"filename":"image_29012025_19_15_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/1/31/fc995c33548a0137125a34845698259f.jpg","text":"TemporaryFile(/tmp/multipartBody896037297534960875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326095737,"filename":"image_29012025_19_16_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/1/31/a89ed440eaad2fe1f3314d7d828bb763.jpg","text":"TemporaryFile(/tmp/multipartBody5424789120039865310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326095737,"filename":"image_29012025_19_15_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/1/31/d5b5cbf699d81538d76835334324d74b.jpg","text":"TemporaryFile(/tmp/multipartBody3214066501563975858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326095737,"filename":"image_29012025_19_15_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/1/31/d669b2a5ae39cd56efa62645daadd1bd.jpg","text":"TemporaryFile(/tmp/multipartBody3973241300400992489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326095737,"filename":"image_29012025_19_15_15_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333315476","file1":"1333315470","file0":"1333315441","file4":"1333315531","file5":"1333315545","file3":"1333315481"},"map_files_photo_id_array":[{"photo_id":"1333315545","filename":"file5"},{"photo_id":"1333315476","filename":"file2"},{"photo_id":"1333315531","filename":"file4"},{"photo_id":"1333315470","filename":"file1"},{"photo_id":"1333315441","filename":"file0"},{"photo_id":"1333315481","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333315531":["hashtag1","hashtag2"]},{"1333315470":["hashtag1","hashtag2"]},{"1333315545":["hashtag1","hashtag2"]},{"1333315476":["hashtag1","hashtag2"]},{"1333315481":["hashtag1","hashtag2"]},{"1333315441":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333315531, 1333315470, 1333315545, 1333315476, 1333315481, 1333315441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.599539279937744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:21:33.082737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/16/image_29012025_19_16_15_9447.jpg', '/home/pi/Desktop/images/29012025/19/16/image_29012025_19_16_26_10391.jpg', '/home/pi/Desktop/images/29012025/19/16/image_29012025_19_16_45_10427.jpg', '/home/pi/Desktop/images/29012025/19/16/image_29012025_19_16_56_10355.jpg', '/home/pi/Desktop/images/29012025/19/16/image_29012025_19_17_05_9390.jpg', '/home/pi/Desktop/images/29012025/19/17/image_29012025_19_17_15_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/16/image_29012025_19_16_15_9447.jpg
/home/pi/Desktop/images/29012025/19/16/image_29012025_19_16_26_10391.jpg
/home/pi/Desktop/images/29012025/19/16/image_29012025_19_16_45_10427.jpg
/home/pi/Desktop/images/29012025/19/16/image_29012025_19_16_56_10355.jpg
/home/pi/Desktop/images/29012025/19/16/image_29012025_19_17_05_9390.jpg
/home/pi/Desktop/images/29012025/19/17/image_29012025_19_17_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":["1333315711","1333315737","1333315701","1333315733","1333315727","1333315721"],"photo_ids_order":["1333315701","1333315711","1333315721","1333315727","1333315733","1333315737"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/39dbaefa0f187f99c55f8707b9bd2b19.jpg","text":"TemporaryFile(/tmp/multipartBody180355962917689688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326155527,"filename":"image_29012025_19_16_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/1/31/dccc48a682e862610a63859b0ca9a040.jpg","text":"TemporaryFile(/tmp/multipartBody3375232993362044498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326155527,"filename":"image_29012025_19_17_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/1/31/d5ab789cf4c1f30938aa201eb81aeaff.jpg","text":"TemporaryFile(/tmp/multipartBody6673127105527154012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326155527,"filename":"image_29012025_19_16_15_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/49fc8521677981436332ace5dd9e7d9a.jpg","text":"TemporaryFile(/tmp/multipartBody8509878762862369469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326155527,"filename":"image_29012025_19_17_05_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/222b75c70dfcb0da6f572a47739c11ea.jpg","text":"TemporaryFile(/tmp/multipartBody2394356073314044569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326155527,"filename":"image_29012025_19_16_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/1/31/215ce16cb26d0699ea928662c21e92b7.jpg","text":"TemporaryFile(/tmp/multipartBody6394995819394447734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326155527,"filename":"image_29012025_19_16_45_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333315721","file1":"1333315711","file0":"1333315701","file4":"1333315733","file5":"1333315737","file3":"1333315727"},"map_files_photo_id_array":[{"photo_id":"1333315737","filename":"file5"},{"photo_id":"1333315721","filename":"file2"},{"photo_id":"1333315733","filename":"file4"},{"photo_id":"1333315711","filename":"file1"},{"photo_id":"1333315701","filename":"file0"},{"photo_id":"1333315727","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333315711":["hashtag1","hashtag2"]},{"1333315737":["hashtag1","hashtag2"]},{"1333315701":["hashtag1","hashtag2"]},{"1333315733":["hashtag1","hashtag2"]},{"1333315727":["hashtag1","hashtag2"]},{"1333315721":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333315711, 1333315737, 1333315701, 1333315733, 1333315727, 1333315721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.72823691368103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:22:32.414236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/17/image_29012025_19_17_25_9397.jpg', '/home/pi/Desktop/images/29012025/19/17/image_29012025_19_17_35_10443.jpg', '/home/pi/Desktop/images/29012025/19/17/image_29012025_19_17_46_10360.jpg', '/home/pi/Desktop/images/29012025/19/17/image_29012025_19_17_55_9471.jpg', '/home/pi/Desktop/images/29012025/19/17/image_29012025_19_18_06_10505.jpg', '/home/pi/Desktop/images/29012025/19/18/image_29012025_19_18_15_9463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/17/image_29012025_19_17_25_9397.jpg
/home/pi/Desktop/images/29012025/19/17/image_29012025_19_17_35_10443.jpg
/home/pi/Desktop/images/29012025/19/17/image_29012025_19_17_46_10360.jpg
/home/pi/Desktop/images/29012025/19/17/image_29012025_19_17_55_9471.jpg
/home/pi/Desktop/images/29012025/19/17/image_29012025_19_18_06_10505.jpg
/home/pi/Desktop/images/29012025/19/18/image_29012025_19_18_15_9463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333315881","1333315854","1333315871","1333315847","1333315877","1333315864"],"photo_ids_order":["1333315847","1333315854","1333315864","1333315871","1333315877","1333315881"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/03d266bebc32038fda8a551d70630c65.jpg","text":"TemporaryFile(/tmp/multipartBody710059060476644378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326214837,"filename":"image_29012025_19_18_15_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/278bcc7d039548d9a88a53861c4c4470.jpg","text":"TemporaryFile(/tmp/multipartBody2226163479375884585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326214837,"filename":"image_29012025_19_17_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/1/31/76043ff5682b6039b6f5198ae0dfc772.jpg","text":"TemporaryFile(/tmp/multipartBody1678782873100579369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326214837,"filename":"image_29012025_19_17_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/1/31/fefd48bf7c235b5e16fb8ce416de5656.jpg","text":"TemporaryFile(/tmp/multipartBody808896123262430196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326214837,"filename":"image_29012025_19_17_25_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d5d8b2f4463887c981b8b4a8d822021a.jpg","text":"TemporaryFile(/tmp/multipartBody7595958448902045399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326214837,"filename":"image_29012025_19_18_06_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/97b637a1094ef18305d3c930419a81df.jpg","text":"TemporaryFile(/tmp/multipartBody3248016922128075688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326214837,"filename":"image_29012025_19_17_46_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333315864","file1":"1333315854","file0":"1333315847","file4":"1333315877","file5":"1333315881","file3":"1333315871"},"map_files_photo_id_array":[{"photo_id":"1333315881","filename":"file5"},{"photo_id":"1333315864","filename":"file2"},{"photo_id":"1333315877","filename":"file4"},{"photo_id":"1333315854","filename":"file1"},{"photo_id":"1333315847","filename":"file0"},{"photo_id":"1333315871","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333315881":["hashtag1","hashtag2"]},{"1333315854":["hashtag1","hashtag2"]},{"1333315871":["hashtag1","hashtag2"]},{"1333315847":["hashtag1","hashtag2"]},{"1333315877":["hashtag1","hashtag2"]},{"1333315864":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333315881, 1333315854, 1333315871, 1333315847, 1333315877, 1333315864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.05864238739014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:23:32.500271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/18/image_29012025_19_18_25_10380.jpg', '/home/pi/Desktop/images/29012025/19/18/image_29012025_19_18_35_9361.jpg', '/home/pi/Desktop/images/29012025/19/18/image_29012025_19_18_45_10457.jpg', '/home/pi/Desktop/images/29012025/19/18/image_29012025_19_18_56_10376.jpg', '/home/pi/Desktop/images/29012025/19/18/image_29012025_19_19_05_9380.jpg', '/home/pi/Desktop/images/29012025/19/19/image_29012025_19_19_15_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/18/image_29012025_19_18_25_10380.jpg
/home/pi/Desktop/images/29012025/19/18/image_29012025_19_18_35_9361.jpg
/home/pi/Desktop/images/29012025/19/18/image_29012025_19_18_45_10457.jpg
/home/pi/Desktop/images/29012025/19/18/image_29012025_19_18_56_10376.jpg
/home/pi/Desktop/images/29012025/19/18/image_29012025_19_19_05_9380.jpg
/home/pi/Desktop/images/29012025/19/19/image_29012025_19_19_15_10346.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.068474531173706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 13:23:42.570702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/18/image_29012025_19_18_25_10380.jpg', '/home/pi/Desktop/images/29012025/19/18/image_29012025_19_18_35_9361.jpg', '/home/pi/Desktop/images/29012025/19/18/image_29012025_19_18_45_10457.jpg', '/home/pi/Desktop/images/29012025/19/18/image_29012025_19_18_56_10376.jpg', '/home/pi/Desktop/images/29012025/19/18/image_29012025_19_19_05_9380.jpg', '/home/pi/Desktop/images/29012025/19/19/image_29012025_19_19_15_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/18/image_29012025_19_18_25_10380.jpg
/home/pi/Desktop/images/29012025/19/18/image_29012025_19_18_35_9361.jpg
/home/pi/Desktop/images/29012025/19/18/image_29012025_19_18_45_10457.jpg
/home/pi/Desktop/images/29012025/19/18/image_29012025_19_18_56_10376.jpg
/home/pi/Desktop/images/29012025/19/18/image_29012025_19_19_05_9380.jpg
/home/pi/Desktop/images/29012025/19/19/image_29012025_19_19_15_10346.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":["1333316949","1333316934","1333316928","1333316913","1333316924","1333316953"],"photo_ids_order":["1333316913","1333316924","1333316928","1333316934","1333316949","1333316953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/61ddc380fba0a85af579d7057b483d17.jpg","text":"TemporaryFile(/tmp/multipartBody8420663134664558986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326284112,"filename":"image_29012025_19_19_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/1/31/28b0f817e43419c6db817e7a0344dba3.jpg","text":"TemporaryFile(/tmp/multipartBody6441564255664309212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326284112,"filename":"image_29012025_19_18_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/1/31/0a5644164937df04f89311141288262d.jpg","text":"TemporaryFile(/tmp/multipartBody2553558625261014536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326284112,"filename":"image_29012025_19_18_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/1/31/3c7883f351d49971fb5a94a0a1162d6e.jpg","text":"TemporaryFile(/tmp/multipartBody1659218994271694067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326284112,"filename":"image_29012025_19_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/1/31/dabcf051b4f466ae7e65dcac99348b9a.jpg","text":"TemporaryFile(/tmp/multipartBody6891261338354624202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326284112,"filename":"image_29012025_19_18_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/1/31/a39350bac4761c654a26057c54d8e3ab.jpg","text":"TemporaryFile(/tmp/multipartBody6273621825528374601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326284112,"filename":"image_29012025_19_19_15_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333316928","file1":"1333316924","file0":"1333316913","file4":"1333316949","file5":"1333316953","file3":"1333316934"},"map_files_photo_id_array":[{"photo_id":"1333316953","filename":"file5"},{"photo_id":"1333316928","filename":"file2"},{"photo_id":"1333316949","filename":"file4"},{"photo_id":"1333316924","filename":"file1"},{"photo_id":"1333316913","filename":"file0"},{"photo_id":"1333316934","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333316949":["hashtag1","hashtag2"]},{"1333316934":["hashtag1","hashtag2"]},{"1333316928":["hashtag1","hashtag2"]},{"1333316913":["hashtag1","hashtag2"]},{"1333316924":["hashtag1","hashtag2"]},{"1333316953":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333316949, 1333316934, 1333316928, 1333316913, 1333316924, 1333316953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.613186836242676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:24:32.905200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/19/image_29012025_19_19_26_10356.jpg', '/home/pi/Desktop/images/29012025/19/19/image_29012025_19_19_35_9379.jpg', '/home/pi/Desktop/images/29012025/19/19/image_29012025_19_19_45_10378.jpg', '/home/pi/Desktop/images/29012025/19/19/image_29012025_19_19_55_9378.jpg', '/home/pi/Desktop/images/29012025/19/19/image_29012025_19_20_05_10458.jpg', '/home/pi/Desktop/images/29012025/19/20/image_29012025_19_20_16_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/19/image_29012025_19_19_26_10356.jpg
/home/pi/Desktop/images/29012025/19/19/image_29012025_19_19_35_9379.jpg
/home/pi/Desktop/images/29012025/19/19/image_29012025_19_19_45_10378.jpg
/home/pi/Desktop/images/29012025/19/19/image_29012025_19_19_55_9378.jpg
/home/pi/Desktop/images/29012025/19/19/image_29012025_19_20_05_10458.jpg
/home/pi/Desktop/images/29012025/19/20/image_29012025_19_20_16_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333317083","1333317416","1333317107","1333317076","1333317096","1333317090"],"photo_ids_order":["1333317076","1333317083","1333317090","1333317096","1333317107","1333317416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a402351188c9d682cf1b81271e4ae119.jpg","text":"TemporaryFile(/tmp/multipartBody6446082779919547799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326335314,"filename":"image_29012025_19_19_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/1/31/c849cf6af0eb0f845126b3cdc75b4f07.jpg","text":"TemporaryFile(/tmp/multipartBody4952505666069142690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326335314,"filename":"image_29012025_19_20_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/15a9647e2a64ba724a8b50eb534c7654.jpg","text":"TemporaryFile(/tmp/multipartBody5568536226779355312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326335314,"filename":"image_29012025_19_20_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/1/31/2615b65347b34a0dc0dbf580b1233c24.jpg","text":"TemporaryFile(/tmp/multipartBody7168459841698180025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326335314,"filename":"image_29012025_19_19_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/1/31/0339253b80730e6b782dadd02968776b.jpg","text":"TemporaryFile(/tmp/multipartBody2478542527548703177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326335314,"filename":"image_29012025_19_19_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/1/31/eac80b9c2b5d92db210bc839af13e455.jpg","text":"TemporaryFile(/tmp/multipartBody1883184950163838509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326335314,"filename":"image_29012025_19_19_45_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333317090","file1":"1333317083","file0":"1333317076","file4":"1333317107","file5":"1333317416","file3":"1333317096"},"map_files_photo_id_array":[{"photo_id":"1333317416","filename":"file5"},{"photo_id":"1333317090","filename":"file2"},{"photo_id":"1333317107","filename":"file4"},{"photo_id":"1333317083","filename":"file1"},{"photo_id":"1333317076","filename":"file0"},{"photo_id":"1333317096","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333317083":["hashtag1","hashtag2"]},{"1333317416":["hashtag1","hashtag2"]},{"1333317107":["hashtag1","hashtag2"]},{"1333317076":["hashtag1","hashtag2"]},{"1333317096":["hashtag1","hashtag2"]},{"1333317090":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333317083, 1333317416, 1333317107, 1333317076, 1333317096, 1333317090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.12681245803833 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:25:33.092097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/20/image_29012025_19_20_25_9435.jpg', '/home/pi/Desktop/images/29012025/19/20/image_29012025_19_20_35_10368.jpg', '/home/pi/Desktop/images/29012025/19/20/image_29012025_19_20_45_9401.jpg', '/home/pi/Desktop/images/29012025/19/20/image_29012025_19_20_55_10410.jpg', '/home/pi/Desktop/images/29012025/19/20/image_29012025_19_21_06_10354.jpg', '/home/pi/Desktop/images/29012025/19/21/image_29012025_19_21_15_9456.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/20/image_29012025_19_20_25_9435.jpg
/home/pi/Desktop/images/29012025/19/20/image_29012025_19_20_35_10368.jpg
/home/pi/Desktop/images/29012025/19/20/image_29012025_19_20_45_9401.jpg
/home/pi/Desktop/images/29012025/19/20/image_29012025_19_20_55_10410.jpg
/home/pi/Desktop/images/29012025/19/20/image_29012025_19_21_06_10354.jpg
/home/pi/Desktop/images/29012025/19/21/image_29012025_19_21_15_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":["1333317481","1333317475","1333317478","1333317463","1333317471","1333317456"],"photo_ids_order":["1333317456","1333317463","1333317471","1333317475","1333317478","1333317481"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d78f4efd9cd72f40bf9bd5c083c11936.jpg","text":"TemporaryFile(/tmp/multipartBody2317978088312247598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326395509,"filename":"image_29012025_19_21_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/1/31/4a317799a68f604569eb28459dd88ffc.jpg","text":"TemporaryFile(/tmp/multipartBody7978726907937877420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326395509,"filename":"image_29012025_19_20_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/1/31/0867800ce8065a6f96e08996b47d30f6.jpg","text":"TemporaryFile(/tmp/multipartBody4087487989812174004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326395509,"filename":"image_29012025_19_21_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/1/31/8caf23e1a8e7e548dcb06290af221479.jpg","text":"TemporaryFile(/tmp/multipartBody2648344266133350977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326395509,"filename":"image_29012025_19_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/1/31/6fca6e01f09f6f7a2f11c3a6db4e6c42.jpg","text":"TemporaryFile(/tmp/multipartBody6086417850607189766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326395509,"filename":"image_29012025_19_20_45_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dca7b544c3a7df26f70dd2f6d198ffa2.jpg","text":"TemporaryFile(/tmp/multipartBody6499585945724063255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326395509,"filename":"image_29012025_19_20_25_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333317471","file1":"1333317463","file0":"1333317456","file4":"1333317478","file5":"1333317481","file3":"1333317475"},"map_files_photo_id_array":[{"photo_id":"1333317481","filename":"file5"},{"photo_id":"1333317471","filename":"file2"},{"photo_id":"1333317478","filename":"file4"},{"photo_id":"1333317463","filename":"file1"},{"photo_id":"1333317456","filename":"file0"},{"photo_id":"1333317475","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333317481":["hashtag1","hashtag2"]},{"1333317475":["hashtag1","hashtag2"]},{"1333317478":["hashtag1","hashtag2"]},{"1333317463":["hashtag1","hashtag2"]},{"1333317471":["hashtag1","hashtag2"]},{"1333317456":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333317481, 1333317475, 1333317478, 1333317463, 1333317471, 1333317456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5455162525177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:26:32.230350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/21/image_29012025_19_21_25_10364.jpg', '/home/pi/Desktop/images/29012025/19/21/image_29012025_19_21_35_9348.jpg', '/home/pi/Desktop/images/29012025/19/21/image_29012025_19_21_45_10435.jpg', '/home/pi/Desktop/images/29012025/19/21/image_29012025_19_21_56_10358.jpg', '/home/pi/Desktop/images/29012025/19/21/image_29012025_19_22_05_9334.jpg', '/home/pi/Desktop/images/29012025/19/22/image_29012025_19_22_15_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/21/image_29012025_19_21_25_10364.jpg
/home/pi/Desktop/images/29012025/19/21/image_29012025_19_21_35_9348.jpg
/home/pi/Desktop/images/29012025/19/21/image_29012025_19_21_45_10435.jpg
/home/pi/Desktop/images/29012025/19/21/image_29012025_19_21_56_10358.jpg
/home/pi/Desktop/images/29012025/19/21/image_29012025_19_22_05_9334.jpg
/home/pi/Desktop/images/29012025/19/22/image_29012025_19_22_15_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":["1333318157","1333318106","1333318081","1333318021","1333318117","1333318026"],"photo_ids_order":["1333318021","1333318026","1333318081","1333318106","1333318117","1333318157"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/09c2b19774fa0cdedffe4e0f3421c2ae.jpg","text":"TemporaryFile(/tmp/multipartBody7581104257527316649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326454674,"filename":"image_29012025_19_22_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/1/31/fe8506a45266a402c76f15a3ce6c2485.jpg","text":"TemporaryFile(/tmp/multipartBody9067026331432917969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326454674,"filename":"image_29012025_19_21_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/1/31/d94fae003cb80bb980d888d7847f94b0.jpg","text":"TemporaryFile(/tmp/multipartBody8594632985636602928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326454674,"filename":"image_29012025_19_21_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/1/31/a778782373d7709b47c5aeea1893591f.jpg","text":"TemporaryFile(/tmp/multipartBody4936071462881461189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326454674,"filename":"image_29012025_19_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/1/31/74cd86b217cfcf3f66b40533964b7c55.jpg","text":"TemporaryFile(/tmp/multipartBody7741243336744845697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326454674,"filename":"image_29012025_19_22_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/1/31/ecb21f43fe1c2c619e529a62335ebe6a.jpg","text":"TemporaryFile(/tmp/multipartBody1639509931589917082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326454674,"filename":"image_29012025_19_21_35_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333318081","file1":"1333318026","file0":"1333318021","file4":"1333318117","file5":"1333318157","file3":"1333318106"},"map_files_photo_id_array":[{"photo_id":"1333318157","filename":"file5"},{"photo_id":"1333318081","filename":"file2"},{"photo_id":"1333318117","filename":"file4"},{"photo_id":"1333318026","filename":"file1"},{"photo_id":"1333318021","filename":"file0"},{"photo_id":"1333318106","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333318157":["hashtag1","hashtag2"]},{"1333318106":["hashtag1","hashtag2"]},{"1333318081":["hashtag1","hashtag2"]},{"1333318021":["hashtag1","hashtag2"]},{"1333318117":["hashtag1","hashtag2"]},{"1333318026":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333318157, 1333318106, 1333318081, 1333318021, 1333318117, 1333318026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.8923864364624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:27:32.716812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/22/image_29012025_19_22_26_10371.jpg', '/home/pi/Desktop/images/29012025/19/22/image_29012025_19_22_35_9391.jpg', '/home/pi/Desktop/images/29012025/19/22/image_29012025_19_22_46_10440.jpg', '/home/pi/Desktop/images/29012025/19/22/image_29012025_19_22_55_9479.jpg', '/home/pi/Desktop/images/29012025/19/22/image_29012025_19_23_05_10370.jpg', '/home/pi/Desktop/images/29012025/19/23/image_29012025_19_23_15_9376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/22/image_29012025_19_22_26_10371.jpg
/home/pi/Desktop/images/29012025/19/22/image_29012025_19_22_35_9391.jpg
/home/pi/Desktop/images/29012025/19/22/image_29012025_19_22_46_10440.jpg
/home/pi/Desktop/images/29012025/19/22/image_29012025_19_22_55_9479.jpg
/home/pi/Desktop/images/29012025/19/22/image_29012025_19_23_05_10370.jpg
/home/pi/Desktop/images/29012025/19/23/image_29012025_19_23_15_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":["1333318555","1333318462","1333318504","1333318501","1333318494","1333318487"],"photo_ids_order":["1333318462","1333318487","1333318494","1333318501","1333318504","1333318555"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0b75dd7e862a7cbbf9f0e991f36c9918.jpg","text":"TemporaryFile(/tmp/multipartBody739179047481812974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326515146,"filename":"image_29012025_19_23_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/1/31/2dc92943a4f2938ddb495748ee6bb022.jpg","text":"TemporaryFile(/tmp/multipartBody6393829253946529008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326515146,"filename":"image_29012025_19_22_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/1/31/30ba24df55b24ec2cb9f54e15fd7cbbb.jpg","text":"TemporaryFile(/tmp/multipartBody3984380908191379085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326515146,"filename":"image_29012025_19_23_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/1/31/37b82324c24392bbd23ba7cc5a264e7a.jpg","text":"TemporaryFile(/tmp/multipartBody7296079421949214697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326515146,"filename":"image_29012025_19_22_55_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/29eb25da66ffd704fb2b720c15fdbac2.jpg","text":"TemporaryFile(/tmp/multipartBody705642857846180232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326515146,"filename":"image_29012025_19_22_46_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bc14cf9e30a118949989b956ffbc20d1.jpg","text":"TemporaryFile(/tmp/multipartBody335220772794410001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326515146,"filename":"image_29012025_19_22_35_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333318494","file1":"1333318487","file0":"1333318462","file4":"1333318504","file5":"1333318555","file3":"1333318501"},"map_files_photo_id_array":[{"photo_id":"1333318555","filename":"file5"},{"photo_id":"1333318494","filename":"file2"},{"photo_id":"1333318504","filename":"file4"},{"photo_id":"1333318487","filename":"file1"},{"photo_id":"1333318462","filename":"file0"},{"photo_id":"1333318501","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333318555":["hashtag1","hashtag2"]},{"1333318462":["hashtag1","hashtag2"]},{"1333318504":["hashtag1","hashtag2"]},{"1333318501":["hashtag1","hashtag2"]},{"1333318494":["hashtag1","hashtag2"]},{"1333318487":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333318555, 1333318462, 1333318504, 1333318501, 1333318494, 1333318487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.906452894210815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:28:32.918681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/23/image_29012025_19_23_25_10364.jpg', '/home/pi/Desktop/images/29012025/19/23/image_29012025_19_23_36_10389.jpg', '/home/pi/Desktop/images/29012025/19/23/image_29012025_19_23_45_9360.jpg', '/home/pi/Desktop/images/29012025/19/23/image_29012025_19_23_55_10339.jpg', '/home/pi/Desktop/images/29012025/19/23/image_29012025_19_24_06_10348.jpg', '/home/pi/Desktop/images/29012025/19/24/image_29012025_19_24_15_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/23/image_29012025_19_23_25_10364.jpg
/home/pi/Desktop/images/29012025/19/23/image_29012025_19_23_36_10389.jpg
/home/pi/Desktop/images/29012025/19/23/image_29012025_19_23_45_9360.jpg
/home/pi/Desktop/images/29012025/19/23/image_29012025_19_23_55_10339.jpg
/home/pi/Desktop/images/29012025/19/23/image_29012025_19_24_06_10348.jpg
/home/pi/Desktop/images/29012025/19/24/image_29012025_19_24_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":["1333318591","1333318582","1333318596","1333318575","1333318586","1333318568"],"photo_ids_order":["1333318568","1333318575","1333318582","1333318586","1333318591","1333318596"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fe01da6735e9c13429640f1e3f4c960b.jpg","text":"TemporaryFile(/tmp/multipartBody5911043253836894655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326575314,"filename":"image_29012025_19_24_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/1/31/7ef4a84d9ea729397ee6e208c7079ada.jpg","text":"TemporaryFile(/tmp/multipartBody421417372123402908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326575314,"filename":"image_29012025_19_23_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/1/31/eef81a8f800970661290790dbdf63112.jpg","text":"TemporaryFile(/tmp/multipartBody2011328089971594476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326575314,"filename":"image_29012025_19_24_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/1/31/1b29962d88c0275ccc9371a5a1c0f894.jpg","text":"TemporaryFile(/tmp/multipartBody5299123477701080304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326575314,"filename":"image_29012025_19_23_36_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/caa64d3cf5a80563532aa2d04f9584c2.jpg","text":"TemporaryFile(/tmp/multipartBody5803327651298735878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326575314,"filename":"image_29012025_19_23_55_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9838ef6d6a0007cc50802ecb03d88388.jpg","text":"TemporaryFile(/tmp/multipartBody8168036400050201218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326575314,"filename":"image_29012025_19_23_25_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333318582","file1":"1333318575","file0":"1333318568","file4":"1333318591","file5":"1333318596","file3":"1333318586"},"map_files_photo_id_array":[{"photo_id":"1333318596","filename":"file5"},{"photo_id":"1333318582","filename":"file2"},{"photo_id":"1333318591","filename":"file4"},{"photo_id":"1333318575","filename":"file1"},{"photo_id":"1333318568","filename":"file0"},{"photo_id":"1333318586","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333318591":["hashtag1","hashtag2"]},{"1333318582":["hashtag1","hashtag2"]},{"1333318596":["hashtag1","hashtag2"]},{"1333318575":["hashtag1","hashtag2"]},{"1333318586":["hashtag1","hashtag2"]},{"1333318568":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333318591, 1333318582, 1333318596, 1333318575, 1333318586, 1333318568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.286149740219116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:29:33.158350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/24/image_29012025_19_24_25_10402.jpg', '/home/pi/Desktop/images/29012025/19/24/image_29012025_19_24_36_10352.jpg', '/home/pi/Desktop/images/29012025/19/24/image_29012025_19_24_45_9468.jpg', '/home/pi/Desktop/images/29012025/19/24/image_29012025_19_24_56_10348.jpg', '/home/pi/Desktop/images/29012025/19/24/image_29012025_19_25_05_9363.jpg', '/home/pi/Desktop/images/29012025/19/25/image_29012025_19_25_15_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/24/image_29012025_19_24_25_10402.jpg
/home/pi/Desktop/images/29012025/19/24/image_29012025_19_24_36_10352.jpg
/home/pi/Desktop/images/29012025/19/24/image_29012025_19_24_45_9468.jpg
/home/pi/Desktop/images/29012025/19/24/image_29012025_19_24_56_10348.jpg
/home/pi/Desktop/images/29012025/19/24/image_29012025_19_25_05_9363.jpg
/home/pi/Desktop/images/29012025/19/25/image_29012025_19_25_15_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.0163214206695557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 13:29:43.131498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/24/image_29012025_19_24_25_10402.jpg', '/home/pi/Desktop/images/29012025/19/24/image_29012025_19_24_36_10352.jpg', '/home/pi/Desktop/images/29012025/19/24/image_29012025_19_24_45_9468.jpg', '/home/pi/Desktop/images/29012025/19/24/image_29012025_19_24_56_10348.jpg', '/home/pi/Desktop/images/29012025/19/24/image_29012025_19_25_05_9363.jpg', '/home/pi/Desktop/images/29012025/19/25/image_29012025_19_25_15_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/24/image_29012025_19_24_25_10402.jpg
/home/pi/Desktop/images/29012025/19/24/image_29012025_19_24_36_10352.jpg
/home/pi/Desktop/images/29012025/19/24/image_29012025_19_24_45_9468.jpg
/home/pi/Desktop/images/29012025/19/24/image_29012025_19_24_56_10348.jpg
/home/pi/Desktop/images/29012025/19/24/image_29012025_19_25_05_9363.jpg
/home/pi/Desktop/images/29012025/19/25/image_29012025_19_25_15_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":["1333318655","1333318649","1333318658","1333318712","1333318717","1333318708"],"photo_ids_order":["1333318649","1333318655","1333318658","1333318708","1333318712","1333318717"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f3c8f8ee8b342b11861890a0a6db2e0d.jpg","text":"TemporaryFile(/tmp/multipartBody1535677256168672451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326644652,"filename":"image_29012025_19_24_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/1/31/a0d026e4746f02d020f4233c4488c5b0.jpg","text":"TemporaryFile(/tmp/multipartBody1563605245023259852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326644652,"filename":"image_29012025_19_24_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/1/31/c0a4cc1fe1efecfc7a7749b2c0a1dc99.jpg","text":"TemporaryFile(/tmp/multipartBody2663667948289974865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326644652,"filename":"image_29012025_19_24_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/1/31/ab52a25412382e873791cbb2e5db9f09.jpg","text":"TemporaryFile(/tmp/multipartBody139103319639948423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326644652,"filename":"image_29012025_19_25_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/1/31/74dc70ccc09342fa008aacc66bfd03f3.jpg","text":"TemporaryFile(/tmp/multipartBody8296525399776106658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326644652,"filename":"image_29012025_19_25_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/1/31/13e8ee66ebbda0c9493f289942ee0703.jpg","text":"TemporaryFile(/tmp/multipartBody264459568735173537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326644652,"filename":"image_29012025_19_24_56_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333318658","file1":"1333318655","file0":"1333318649","file4":"1333318712","file5":"1333318717","file3":"1333318708"},"map_files_photo_id_array":[{"photo_id":"1333318717","filename":"file5"},{"photo_id":"1333318658","filename":"file2"},{"photo_id":"1333318712","filename":"file4"},{"photo_id":"1333318655","filename":"file1"},{"photo_id":"1333318649","filename":"file0"},{"photo_id":"1333318708","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333318655":["hashtag1","hashtag2"]},{"1333318649":["hashtag1","hashtag2"]},{"1333318658":["hashtag1","hashtag2"]},{"1333318712":["hashtag1","hashtag2"]},{"1333318717":["hashtag1","hashtag2"]},{"1333318708":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333318655, 1333318649, 1333318658, 1333318712, 1333318717, 1333318708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.985761642456055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:30:32.315821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/25/image_29012025_19_25_26_10420.jpg', '/home/pi/Desktop/images/29012025/19/25/image_29012025_19_25_35_9411.jpg', '/home/pi/Desktop/images/29012025/19/25/image_29012025_19_25_46_10437.jpg', '/home/pi/Desktop/images/29012025/19/25/image_29012025_19_25_55_9367.jpg', '/home/pi/Desktop/images/29012025/19/25/image_29012025_19_26_05_10374.jpg', '/home/pi/Desktop/images/29012025/19/26/image_29012025_19_26_16_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/25/image_29012025_19_25_26_10420.jpg
/home/pi/Desktop/images/29012025/19/25/image_29012025_19_25_35_9411.jpg
/home/pi/Desktop/images/29012025/19/25/image_29012025_19_25_46_10437.jpg
/home/pi/Desktop/images/29012025/19/25/image_29012025_19_25_55_9367.jpg
/home/pi/Desktop/images/29012025/19/25/image_29012025_19_26_05_10374.jpg
/home/pi/Desktop/images/29012025/19/26/image_29012025_19_26_16_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333318748","1333318778","1333318768","1333318744","1333318773","1333318776"],"photo_ids_order":["1333318744","1333318748","1333318768","1333318773","1333318776","1333318778"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/68c26d6b8119af6a861334d2d0806138.jpg","text":"TemporaryFile(/tmp/multipartBody2879274185864448361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326694748,"filename":"image_29012025_19_25_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/1/31/42b8dae1e2b54678a9ab6b887f2ff86f.jpg","text":"TemporaryFile(/tmp/multipartBody65549155356088285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326694748,"filename":"image_29012025_19_26_16_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/23840d52f9013739aec6086474c34ed8.jpg","text":"TemporaryFile(/tmp/multipartBody1770071995589511746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326694748,"filename":"image_29012025_19_25_46_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7b621e45b9e22c5688a3fda915ba2020.jpg","text":"TemporaryFile(/tmp/multipartBody8510594503560928118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326694748,"filename":"image_29012025_19_25_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/1/31/c710854484ee78ab5c791b7e07f59ad6.jpg","text":"TemporaryFile(/tmp/multipartBody4858928592785626854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326694748,"filename":"image_29012025_19_25_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/1/31/90dada3b6a230fb1a2b8f104eb4595ca.jpg","text":"TemporaryFile(/tmp/multipartBody7461159413676537349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326694748,"filename":"image_29012025_19_26_05_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333318768","file1":"1333318748","file0":"1333318744","file4":"1333318776","file5":"1333318778","file3":"1333318773"},"map_files_photo_id_array":[{"photo_id":"1333318778","filename":"file5"},{"photo_id":"1333318768","filename":"file2"},{"photo_id":"1333318776","filename":"file4"},{"photo_id":"1333318748","filename":"file1"},{"photo_id":"1333318744","filename":"file0"},{"photo_id":"1333318773","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333318748":["hashtag1","hashtag2"]},{"1333318778":["hashtag1","hashtag2"]},{"1333318768":["hashtag1","hashtag2"]},{"1333318744":["hashtag1","hashtag2"]},{"1333318773":["hashtag1","hashtag2"]},{"1333318776":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333318748, 1333318778, 1333318768, 1333318744, 1333318773, 1333318776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.266531467437744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:31:32.518286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/26/image_29012025_19_26_25_9340.jpg', '/home/pi/Desktop/images/29012025/19/26/image_29012025_19_26_35_10373.jpg', '/home/pi/Desktop/images/29012025/19/26/image_29012025_19_26_46_10368.jpg', '/home/pi/Desktop/images/29012025/19/26/image_29012025_19_26_55_9445.jpg', '/home/pi/Desktop/images/29012025/19/26/image_29012025_19_27_05_10358.jpg', '/home/pi/Desktop/images/29012025/19/27/image_29012025_19_27_15_9408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/26/image_29012025_19_26_25_9340.jpg
/home/pi/Desktop/images/29012025/19/26/image_29012025_19_26_35_10373.jpg
/home/pi/Desktop/images/29012025/19/26/image_29012025_19_26_46_10368.jpg
/home/pi/Desktop/images/29012025/19/26/image_29012025_19_26_55_9445.jpg
/home/pi/Desktop/images/29012025/19/26/image_29012025_19_27_05_10358.jpg
/home/pi/Desktop/images/29012025/19/27/image_29012025_19_27_15_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":["1333319041","1333319131","1333319128","1333319133","1333319049","1333319064"],"photo_ids_order":["1333319041","1333319049","1333319064","1333319128","1333319131","1333319133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/24f5408b2401710f93a28cfa332a85aa.jpg","text":"TemporaryFile(/tmp/multipartBody4853855079044148554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326755013,"filename":"image_29012025_19_26_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/1/31/8b06c6a14d1e98ff81de23d29337d5d6.jpg","text":"TemporaryFile(/tmp/multipartBody1336190206260416622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326755013,"filename":"image_29012025_19_27_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/1/31/813ae1568ad5c68d936c9c9e65d5255d.jpg","text":"TemporaryFile(/tmp/multipartBody8132761716512128387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326755013,"filename":"image_29012025_19_26_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/1/31/cb67257d286a89807cba1eca9331b926.jpg","text":"TemporaryFile(/tmp/multipartBody8679974701776528334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326755013,"filename":"image_29012025_19_27_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/1/31/dca79c5db0e9cc5007a29c36762b6504.jpg","text":"TemporaryFile(/tmp/multipartBody523487355271090797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326755013,"filename":"image_29012025_19_26_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/1/31/c5a81060e00ebf8ceef3a3a5032648e3.jpg","text":"TemporaryFile(/tmp/multipartBody3750485754911657267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326755013,"filename":"image_29012025_19_26_46_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333319064","file1":"1333319049","file0":"1333319041","file4":"1333319131","file5":"1333319133","file3":"1333319128"},"map_files_photo_id_array":[{"photo_id":"1333319133","filename":"file5"},{"photo_id":"1333319064","filename":"file2"},{"photo_id":"1333319131","filename":"file4"},{"photo_id":"1333319049","filename":"file1"},{"photo_id":"1333319041","filename":"file0"},{"photo_id":"1333319128","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333319041":["hashtag1","hashtag2"]},{"1333319131":["hashtag1","hashtag2"]},{"1333319128":["hashtag1","hashtag2"]},{"1333319133":["hashtag1","hashtag2"]},{"1333319049":["hashtag1","hashtag2"]},{"1333319064":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333319041, 1333319131, 1333319128, 1333319133, 1333319049, 1333319064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.85064744949341 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:32:32.848508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/27/image_29012025_19_27_25_10462.jpg', '/home/pi/Desktop/images/29012025/19/27/image_29012025_19_27_36_10352.jpg', '/home/pi/Desktop/images/29012025/19/27/image_29012025_19_27_45_9472.jpg', '/home/pi/Desktop/images/29012025/19/27/image_29012025_19_27_56_10409.jpg', '/home/pi/Desktop/images/29012025/19/27/image_29012025_19_28_05_9435.jpg', '/home/pi/Desktop/images/29012025/19/28/image_29012025_19_28_15_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/27/image_29012025_19_27_25_10462.jpg
/home/pi/Desktop/images/29012025/19/27/image_29012025_19_27_36_10352.jpg
/home/pi/Desktop/images/29012025/19/27/image_29012025_19_27_45_9472.jpg
/home/pi/Desktop/images/29012025/19/27/image_29012025_19_27_56_10409.jpg
/home/pi/Desktop/images/29012025/19/27/image_29012025_19_28_05_9435.jpg
/home/pi/Desktop/images/29012025/19/28/image_29012025_19_28_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":["1333319260","1333319248","1333319256","1333319243","1333319252","1333319210"],"photo_ids_order":["1333319210","1333319243","1333319248","1333319252","1333319256","1333319260"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9629f2b8efd67bd0250ddcf93c271ab1.jpg","text":"TemporaryFile(/tmp/multipartBody8125451013759284640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326815275,"filename":"image_29012025_19_28_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/1/31/36930ca21977be913e5a0e1ace0040f0.jpg","text":"TemporaryFile(/tmp/multipartBody4650194791848870398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326815275,"filename":"image_29012025_19_27_45_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/27d275ebfb345f91c16fe65ebcf47a50.jpg","text":"TemporaryFile(/tmp/multipartBody9077348941002121112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326815275,"filename":"image_29012025_19_28_05_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c0f00732ad8b9e24b4a63eceba265ef5.jpg","text":"TemporaryFile(/tmp/multipartBody6063000199370001695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326815275,"filename":"image_29012025_19_27_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/1/31/047a73cf485d6ef1e2c5fb56fbe6cad4.jpg","text":"TemporaryFile(/tmp/multipartBody8087041306102451018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326815275,"filename":"image_29012025_19_27_56_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/944027d6b49634149748da10cc9998f1.jpg","text":"TemporaryFile(/tmp/multipartBody8551030163441903340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326815275,"filename":"image_29012025_19_27_25_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333319248","file1":"1333319243","file0":"1333319210","file4":"1333319256","file5":"1333319260","file3":"1333319252"},"map_files_photo_id_array":[{"photo_id":"1333319260","filename":"file5"},{"photo_id":"1333319248","filename":"file2"},{"photo_id":"1333319256","filename":"file4"},{"photo_id":"1333319243","filename":"file1"},{"photo_id":"1333319210","filename":"file0"},{"photo_id":"1333319252","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333319260":["hashtag1","hashtag2"]},{"1333319248":["hashtag1","hashtag2"]},{"1333319256":["hashtag1","hashtag2"]},{"1333319243":["hashtag1","hashtag2"]},{"1333319252":["hashtag1","hashtag2"]},{"1333319210":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333319260, 1333319248, 1333319256, 1333319243, 1333319252, 1333319210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.789865493774414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:33:33.069372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/28/image_29012025_19_28_26_10367.jpg', '/home/pi/Desktop/images/29012025/19/28/image_29012025_19_28_35_9358.jpg', '/home/pi/Desktop/images/29012025/19/28/image_29012025_19_28_45_10371.jpg', '/home/pi/Desktop/images/29012025/19/28/image_29012025_19_29_05_10342.jpg', '/home/pi/Desktop/images/29012025/19/29/image_29012025_19_29_15_10355.jpg', '/home/pi/Desktop/images/29012025/19/29/image_29012025_19_29_35_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/28/image_29012025_19_28_26_10367.jpg
/home/pi/Desktop/images/29012025/19/28/image_29012025_19_28_35_9358.jpg
/home/pi/Desktop/images/29012025/19/28/image_29012025_19_28_45_10371.jpg
/home/pi/Desktop/images/29012025/19/28/image_29012025_19_29_05_10342.jpg
/home/pi/Desktop/images/29012025/19/29/image_29012025_19_29_15_10355.jpg
/home/pi/Desktop/images/29012025/19/29/image_29012025_19_29_35_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":["1333319315","1333319317","1333319311","1333319298","1333319286","1333319304"],"photo_ids_order":["1333319286","1333319298","1333319304","1333319311","1333319315","1333319317"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d4163a67f242f734f673c3f3b8e022c7.jpg","text":"TemporaryFile(/tmp/multipartBody1280779732914244962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326875490,"filename":"image_29012025_19_29_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/1/31/0d13575862593b4f66b10fd493ae2d50.jpg","text":"TemporaryFile(/tmp/multipartBody4190623217083873827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326875490,"filename":"image_29012025_19_29_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/1/31/07f93cb64fcb300cd8f32e06eddf50b5.jpg","text":"TemporaryFile(/tmp/multipartBody4303679121772316960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326875490,"filename":"image_29012025_19_29_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/1/31/209e51a61ce3fac47a4d1e7e52795aee.jpg","text":"TemporaryFile(/tmp/multipartBody5064752164900485478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326875490,"filename":"image_29012025_19_28_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/1/31/4196a098435f8558a2088e6320a01a40.jpg","text":"TemporaryFile(/tmp/multipartBody8931337786053558314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326875490,"filename":"image_29012025_19_28_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/1/31/eaeb359079144c760d50b5dbc2eb0f2f.jpg","text":"TemporaryFile(/tmp/multipartBody3864084864906259810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326875490,"filename":"image_29012025_19_28_45_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333319304","file1":"1333319298","file0":"1333319286","file4":"1333319315","file5":"1333319317","file3":"1333319311"},"map_files_photo_id_array":[{"photo_id":"1333319317","filename":"file5"},{"photo_id":"1333319304","filename":"file2"},{"photo_id":"1333319315","filename":"file4"},{"photo_id":"1333319298","filename":"file1"},{"photo_id":"1333319286","filename":"file0"},{"photo_id":"1333319311","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333319315":["hashtag1","hashtag2"]},{"1333319317":["hashtag1","hashtag2"]},{"1333319311":["hashtag1","hashtag2"]},{"1333319298":["hashtag1","hashtag2"]},{"1333319286":["hashtag1","hashtag2"]},{"1333319304":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333319315, 1333319317, 1333319311, 1333319298, 1333319286, 1333319304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.538286209106445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:34:32.258249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/29/image_29012025_19_29_55_9417.jpg', '/home/pi/Desktop/images/29012025/19/30/image_29012025_19_30_15_9453.jpg', '/home/pi/Desktop/images/29012025/19/30/image_29012025_19_30_35_9361.jpg', '/home/pi/Desktop/images/29012025/19/30/image_29012025_19_30_45_10361.jpg', '/home/pi/Desktop/images/29012025/19/30/image_29012025_19_30_56_10364.jpg', '/home/pi/Desktop/images/29012025/19/30/image_29012025_19_31_05_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/29/image_29012025_19_29_55_9417.jpg
/home/pi/Desktop/images/29012025/19/30/image_29012025_19_30_15_9453.jpg
/home/pi/Desktop/images/29012025/19/30/image_29012025_19_30_35_9361.jpg
/home/pi/Desktop/images/29012025/19/30/image_29012025_19_30_45_10361.jpg
/home/pi/Desktop/images/29012025/19/30/image_29012025_19_30_56_10364.jpg
/home/pi/Desktop/images/29012025/19/30/image_29012025_19_31_05_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":["1333319680","1333319653","1333319635","1333319577","1333319675","1333319648"],"photo_ids_order":["1333319577","1333319635","1333319648","1333319653","1333319675","1333319680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aa662f3298b68a89d2ce99c7603b3d8c.jpg","text":"TemporaryFile(/tmp/multipartBody1894745080214957935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326934671,"filename":"image_29012025_19_31_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/1/31/cf6e9b59499555a3f9ce3a46051b4e2d.jpg","text":"TemporaryFile(/tmp/multipartBody3691502496119359557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326934671,"filename":"image_29012025_19_30_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/1/31/636dfd572db0c3c384fa30b7f73aa8e7.jpg","text":"TemporaryFile(/tmp/multipartBody7386502743932214118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326934671,"filename":"image_29012025_19_30_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/1/31/06db9064811379fbe9c285b8a9965b9a.jpg","text":"TemporaryFile(/tmp/multipartBody2795214074424645000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326934671,"filename":"image_29012025_19_29_55_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/af5f4deb7f0c0692f3dc3b2fd7168b21.jpg","text":"TemporaryFile(/tmp/multipartBody262010031283017649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326934671,"filename":"image_29012025_19_30_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/1/31/54f27b1d71a4a33a453f88dcb09a5439.jpg","text":"TemporaryFile(/tmp/multipartBody6050819418363522639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326934671,"filename":"image_29012025_19_30_35_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333319648","file1":"1333319635","file0":"1333319577","file4":"1333319675","file5":"1333319680","file3":"1333319653"},"map_files_photo_id_array":[{"photo_id":"1333319680","filename":"file5"},{"photo_id":"1333319648","filename":"file2"},{"photo_id":"1333319675","filename":"file4"},{"photo_id":"1333319635","filename":"file1"},{"photo_id":"1333319577","filename":"file0"},{"photo_id":"1333319653","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333319680":["hashtag1","hashtag2"]},{"1333319653":["hashtag1","hashtag2"]},{"1333319635":["hashtag1","hashtag2"]},{"1333319577":["hashtag1","hashtag2"]},{"1333319675":["hashtag1","hashtag2"]},{"1333319648":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333319680, 1333319653, 1333319635, 1333319577, 1333319675, 1333319648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.057730197906494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:35:32.518601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/31/image_29012025_19_31_15_10398.jpg', '/home/pi/Desktop/images/29012025/19/31/image_29012025_19_31_35_9155.jpg', '/home/pi/Desktop/images/29012025/19/31/image_29012025_19_31_45_9995.jpg', '/home/pi/Desktop/images/29012025/19/31/image_29012025_19_32_06_10361.jpg', '/home/pi/Desktop/images/29012025/19/32/image_29012025_19_32_15_9342.jpg', '/home/pi/Desktop/images/29012025/19/32/image_29012025_19_32_25_10414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/31/image_29012025_19_31_15_10398.jpg
/home/pi/Desktop/images/29012025/19/31/image_29012025_19_31_35_9155.jpg
/home/pi/Desktop/images/29012025/19/31/image_29012025_19_31_45_9995.jpg
/home/pi/Desktop/images/29012025/19/31/image_29012025_19_32_06_10361.jpg
/home/pi/Desktop/images/29012025/19/32/image_29012025_19_32_15_9342.jpg
/home/pi/Desktop/images/29012025/19/32/image_29012025_19_32_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":["1333319848","1333319802","1333319832","1333319852","1333319855","1333319840"],"photo_ids_order":["1333319802","1333319832","1333319840","1333319848","1333319852","1333319855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/81c4c9379ea5f3c2c9a89bf5d216c7e1.jpg","text":"TemporaryFile(/tmp/multipartBody62735063906129229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326994991,"filename":"image_29012025_19_32_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/1/31/393fdedff03d5b0aae8c66d82113c531.jpg","text":"TemporaryFile(/tmp/multipartBody7831301062987274665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326994991,"filename":"image_29012025_19_31_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/1/31/f77213ecfe3446fae3f14ee1ccfce959.jpg","text":"TemporaryFile(/tmp/multipartBody4866105813701569494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326994991,"filename":"image_29012025_19_31_35_9155.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b5478a64b219c729fd3f2423b67ee5f8.jpg","text":"TemporaryFile(/tmp/multipartBody7989075184937093776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326994991,"filename":"image_29012025_19_32_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/1/31/95e162e7884345ebf8559a1558422edb.jpg","text":"TemporaryFile(/tmp/multipartBody4176963300143926855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326994991,"filename":"image_29012025_19_32_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/1/31/1744aef3d58193070a9c40ef144bd6e8.jpg","text":"TemporaryFile(/tmp/multipartBody8939512043438066129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738326994991,"filename":"image_29012025_19_31_45_9995.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333319840","file1":"1333319832","file0":"1333319802","file4":"1333319852","file5":"1333319855","file3":"1333319848"},"map_files_photo_id_array":[{"photo_id":"1333319855","filename":"file5"},{"photo_id":"1333319840","filename":"file2"},{"photo_id":"1333319852","filename":"file4"},{"photo_id":"1333319832","filename":"file1"},{"photo_id":"1333319802","filename":"file0"},{"photo_id":"1333319848","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333319848":["hashtag1","hashtag2"]},{"1333319802":["hashtag1","hashtag2"]},{"1333319832":["hashtag1","hashtag2"]},{"1333319852":["hashtag1","hashtag2"]},{"1333319855":["hashtag1","hashtag2"]},{"1333319840":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333319848, 1333319802, 1333319832, 1333319852, 1333319855, 1333319840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89619493484497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:36:32.716586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/32/image_29012025_19_32_45_9434.jpg', '/home/pi/Desktop/images/29012025/19/32/image_29012025_19_32_55_10348.jpg', '/home/pi/Desktop/images/29012025/19/32/image_29012025_19_33_05_9339.jpg', '/home/pi/Desktop/images/29012025/19/33/image_29012025_19_33_15_10443.jpg', '/home/pi/Desktop/images/29012025/19/33/image_29012025_19_33_26_10459.jpg', '/home/pi/Desktop/images/29012025/19/33/image_29012025_19_33_35_9418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/32/image_29012025_19_32_45_9434.jpg
/home/pi/Desktop/images/29012025/19/32/image_29012025_19_32_55_10348.jpg
/home/pi/Desktop/images/29012025/19/32/image_29012025_19_33_05_9339.jpg
/home/pi/Desktop/images/29012025/19/33/image_29012025_19_33_15_10443.jpg
/home/pi/Desktop/images/29012025/19/33/image_29012025_19_33_26_10459.jpg
/home/pi/Desktop/images/29012025/19/33/image_29012025_19_33_35_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":["1333320278","1333320631","1333320640","1333320684","1333320636","1333320543"],"photo_ids_order":["1333320278","1333320543","1333320631","1333320636","1333320640","1333320684"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/df068b050ce8da6693f58f70b4f04e17.jpg","text":"TemporaryFile(/tmp/multipartBody18234930562485619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327055116,"filename":"image_29012025_19_32_45_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4d42362e46e2aef105de9fd71d1d1131.jpg","text":"TemporaryFile(/tmp/multipartBody5452911747112816411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327055116,"filename":"image_29012025_19_33_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/1/31/987680d5321ed484fd1ecb31712947e7.jpg","text":"TemporaryFile(/tmp/multipartBody6045499831655612123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327055116,"filename":"image_29012025_19_33_26_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4b6455b3051f9665101c311b48621e3b.jpg","text":"TemporaryFile(/tmp/multipartBody6114876849393957959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327055116,"filename":"image_29012025_19_33_35_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/143713a55668338bb7ee497c4b454c16.jpg","text":"TemporaryFile(/tmp/multipartBody4989582382598474487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327055116,"filename":"image_29012025_19_33_15_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/665fa6561ea9fd606e0cf66b7fad5bdf.jpg","text":"TemporaryFile(/tmp/multipartBody106259313073481830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327055116,"filename":"image_29012025_19_32_55_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333320631","file1":"1333320543","file0":"1333320278","file4":"1333320640","file5":"1333320684","file3":"1333320636"},"map_files_photo_id_array":[{"photo_id":"1333320684","filename":"file5"},{"photo_id":"1333320631","filename":"file2"},{"photo_id":"1333320640","filename":"file4"},{"photo_id":"1333320543","filename":"file1"},{"photo_id":"1333320278","filename":"file0"},{"photo_id":"1333320636","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333320278":["hashtag1","hashtag2"]},{"1333320631":["hashtag1","hashtag2"]},{"1333320640":["hashtag1","hashtag2"]},{"1333320684":["hashtag1","hashtag2"]},{"1333320636":["hashtag1","hashtag2"]},{"1333320543":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333320278, 1333320631, 1333320640, 1333320684, 1333320636, 1333320543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.76852512359619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:37:32.956999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/33/image_29012025_19_33_46_10364.jpg', '/home/pi/Desktop/images/29012025/19/33/image_29012025_19_33_55_9345.jpg', '/home/pi/Desktop/images/29012025/19/33/image_29012025_19_34_05_10345.jpg', '/home/pi/Desktop/images/29012025/19/34/image_29012025_19_34_16_10348.jpg', '/home/pi/Desktop/images/29012025/19/34/image_29012025_19_34_25_9483.jpg', '/home/pi/Desktop/images/29012025/19/34/image_29012025_19_34_36_10467.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/33/image_29012025_19_33_46_10364.jpg
/home/pi/Desktop/images/29012025/19/33/image_29012025_19_33_55_9345.jpg
/home/pi/Desktop/images/29012025/19/33/image_29012025_19_34_05_10345.jpg
/home/pi/Desktop/images/29012025/19/34/image_29012025_19_34_16_10348.jpg
/home/pi/Desktop/images/29012025/19/34/image_29012025_19_34_25_9483.jpg
/home/pi/Desktop/images/29012025/19/34/image_29012025_19_34_36_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":["1333321109","1333321033","1333321027","1333321020","1333321116","1333320903"],"photo_ids_order":["1333320903","1333321020","1333321027","1333321033","1333321109","1333321116"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/625146b923c610de459b4f6a149c9fad.jpg","text":"TemporaryFile(/tmp/multipartBody5037511801320823363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327115375,"filename":"image_29012025_19_34_25_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f0ce8588965f2fb9879ea8e74c052bcb.jpg","text":"TemporaryFile(/tmp/multipartBody7921916459227474332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327115375,"filename":"image_29012025_19_34_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/1/31/bc356341e8759bcf97713943ae3cb22b.jpg","text":"TemporaryFile(/tmp/multipartBody5687583326304758631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327115375,"filename":"image_29012025_19_34_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a1e4844596c1b92beaee6b7bfc7b878f.jpg","text":"TemporaryFile(/tmp/multipartBody4599527979406384354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327115375,"filename":"image_29012025_19_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/1/31/21b29359faaca9f3974ae61f8680899b.jpg","text":"TemporaryFile(/tmp/multipartBody2736979435785934050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327115375,"filename":"image_29012025_19_34_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/1/31/91f28307ec610e5a5cdcdac02535bf00.jpg","text":"TemporaryFile(/tmp/multipartBody4546522443837281401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327115375,"filename":"image_29012025_19_33_46_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333321027","file1":"1333321020","file0":"1333320903","file4":"1333321109","file5":"1333321116","file3":"1333321033"},"map_files_photo_id_array":[{"photo_id":"1333321116","filename":"file5"},{"photo_id":"1333321027","filename":"file2"},{"photo_id":"1333321109","filename":"file4"},{"photo_id":"1333321020","filename":"file1"},{"photo_id":"1333320903","filename":"file0"},{"photo_id":"1333321033","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333321109":["hashtag1","hashtag2"]},{"1333321033":["hashtag1","hashtag2"]},{"1333321027":["hashtag1","hashtag2"]},{"1333321020":["hashtag1","hashtag2"]},{"1333321116":["hashtag1","hashtag2"]},{"1333320903":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333321109, 1333321033, 1333321027, 1333321020, 1333321116, 1333320903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.3070182800293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:38:33.126566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/34/image_29012025_19_34_45_9365.jpg', '/home/pi/Desktop/images/29012025/19/34/image_29012025_19_34_55_10411.jpg', '/home/pi/Desktop/images/29012025/19/34/image_29012025_19_35_06_10346.jpg', '/home/pi/Desktop/images/29012025/19/35/image_29012025_19_35_16_10020.jpg', '/home/pi/Desktop/images/29012025/19/35/image_29012025_19_35_25_9515.jpg', '/home/pi/Desktop/images/29012025/19/35/image_29012025_19_35_36_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/34/image_29012025_19_34_45_9365.jpg
/home/pi/Desktop/images/29012025/19/34/image_29012025_19_34_55_10411.jpg
/home/pi/Desktop/images/29012025/19/34/image_29012025_19_35_06_10346.jpg
/home/pi/Desktop/images/29012025/19/35/image_29012025_19_35_16_10020.jpg
/home/pi/Desktop/images/29012025/19/35/image_29012025_19_35_25_9515.jpg
/home/pi/Desktop/images/29012025/19/35/image_29012025_19_35_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":["1333321354","1333321378","1333321327","1333321320","1333321350","1333321346"],"photo_ids_order":["1333321320","1333321327","1333321346","1333321350","1333321354","1333321378"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9dc25e255517a8f99a366702325c699e.jpg","text":"TemporaryFile(/tmp/multipartBody9134985261752496132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327175548,"filename":"image_29012025_19_35_25_9515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8b47e68bac9a5cff8f99841cad176090.jpg","text":"TemporaryFile(/tmp/multipartBody3178320546863822119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327175548,"filename":"image_29012025_19_35_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/1/31/3f99dd693ca00fac1d3fffc9ee16cb56.jpg","text":"TemporaryFile(/tmp/multipartBody5792010657411487665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327175548,"filename":"image_29012025_19_34_55_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b94ef5e3d26aa09fc032a3c7a077189e.jpg","text":"TemporaryFile(/tmp/multipartBody8270492550900279028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327175548,"filename":"image_29012025_19_34_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/1/31/23462dca842aca231d530924f6522f6f.jpg","text":"TemporaryFile(/tmp/multipartBody5017051727229373869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327175548,"filename":"image_29012025_19_35_16_10020.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f396e68734602a4f0c93747ed03b2fb5.jpg","text":"TemporaryFile(/tmp/multipartBody1871332091600069037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327175548,"filename":"image_29012025_19_35_06_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333321346","file1":"1333321327","file0":"1333321320","file4":"1333321354","file5":"1333321378","file3":"1333321350"},"map_files_photo_id_array":[{"photo_id":"1333321378","filename":"file5"},{"photo_id":"1333321346","filename":"file2"},{"photo_id":"1333321354","filename":"file4"},{"photo_id":"1333321327","filename":"file1"},{"photo_id":"1333321320","filename":"file0"},{"photo_id":"1333321350","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333321354":["hashtag1","hashtag2"]},{"1333321378":["hashtag1","hashtag2"]},{"1333321327":["hashtag1","hashtag2"]},{"1333321320":["hashtag1","hashtag2"]},{"1333321350":["hashtag1","hashtag2"]},{"1333321346":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333321354, 1333321378, 1333321327, 1333321320, 1333321350, 1333321346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.64273810386658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:39:32.289346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/35/image_29012025_19_35_45_9357.jpg', '/home/pi/Desktop/images/29012025/19/35/image_29012025_19_35_55_10437.jpg', '/home/pi/Desktop/images/29012025/19/35/image_29012025_19_36_06_10405.jpg', '/home/pi/Desktop/images/29012025/19/36/image_29012025_19_36_15_9341.jpg', '/home/pi/Desktop/images/29012025/19/36/image_29012025_19_36_25_10356.jpg', '/home/pi/Desktop/images/29012025/19/36/image_29012025_19_36_35_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/35/image_29012025_19_35_45_9357.jpg
/home/pi/Desktop/images/29012025/19/35/image_29012025_19_35_55_10437.jpg
/home/pi/Desktop/images/29012025/19/35/image_29012025_19_36_06_10405.jpg
/home/pi/Desktop/images/29012025/19/36/image_29012025_19_36_15_9341.jpg
/home/pi/Desktop/images/29012025/19/36/image_29012025_19_36_25_10356.jpg
/home/pi/Desktop/images/29012025/19/36/image_29012025_19_36_35_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":["1333321471","1333321465","1333321459","1333321497","1333321493","1333321487"],"photo_ids_order":["1333321459","1333321465","1333321471","1333321487","1333321493","1333321497"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/86119fafbb9862ee21600e7d89d8b2e0.jpg","text":"TemporaryFile(/tmp/multipartBody8270336541122123878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327234721,"filename":"image_29012025_19_36_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/1/31/664de4747638285a1248b945247256a0.jpg","text":"TemporaryFile(/tmp/multipartBody3493109029967935386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327234721,"filename":"image_29012025_19_35_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/1/31/79fd051fb6610951e32356a0539bc437.jpg","text":"TemporaryFile(/tmp/multipartBody2214803298239437866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327234721,"filename":"image_29012025_19_35_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/1/31/dc07700d9cd4f917505c939b59a645f1.jpg","text":"TemporaryFile(/tmp/multipartBody6674344119033018221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327234721,"filename":"image_29012025_19_36_35_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d0b7196dc9ba0845064bfa160b4d2c36.jpg","text":"TemporaryFile(/tmp/multipartBody7704075809474405152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327234721,"filename":"image_29012025_19_36_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dbcaef62ad0e4811b0de81a7bc94d25e.jpg","text":"TemporaryFile(/tmp/multipartBody3689540736153032853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327234721,"filename":"image_29012025_19_36_15_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333321471","file1":"1333321465","file0":"1333321459","file4":"1333321493","file5":"1333321497","file3":"1333321487"},"map_files_photo_id_array":[{"photo_id":"1333321497","filename":"file5"},{"photo_id":"1333321471","filename":"file2"},{"photo_id":"1333321493","filename":"file4"},{"photo_id":"1333321465","filename":"file1"},{"photo_id":"1333321459","filename":"file0"},{"photo_id":"1333321487","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333321471":["hashtag1","hashtag2"]},{"1333321465":["hashtag1","hashtag2"]},{"1333321459":["hashtag1","hashtag2"]},{"1333321497":["hashtag1","hashtag2"]},{"1333321493":["hashtag1","hashtag2"]},{"1333321487":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333321471, 1333321465, 1333321459, 1333321497, 1333321493, 1333321487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.190160274505615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:40:32.498931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/36/image_29012025_19_36_45_10368.jpg', '/home/pi/Desktop/images/29012025/19/36/image_29012025_19_36_56_10375.jpg', '/home/pi/Desktop/images/29012025/19/36/image_29012025_19_37_05_9467.jpg', '/home/pi/Desktop/images/29012025/19/37/image_29012025_19_37_15_10351.jpg', '/home/pi/Desktop/images/29012025/19/37/image_29012025_19_37_25_9443.jpg', '/home/pi/Desktop/images/29012025/19/37/image_29012025_19_37_35_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/36/image_29012025_19_36_45_10368.jpg
/home/pi/Desktop/images/29012025/19/36/image_29012025_19_36_56_10375.jpg
/home/pi/Desktop/images/29012025/19/36/image_29012025_19_37_05_9467.jpg
/home/pi/Desktop/images/29012025/19/37/image_29012025_19_37_15_10351.jpg
/home/pi/Desktop/images/29012025/19/37/image_29012025_19_37_25_9443.jpg
/home/pi/Desktop/images/29012025/19/37/image_29012025_19_37_35_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":["1333321582","1333321513","1333321725","1333321661","1333321655","1333321835"],"photo_ids_order":["1333321513","1333321582","1333321655","1333321661","1333321725","1333321835"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/72d0c9c127066a6cd17c1e437c9cb367.jpg","text":"TemporaryFile(/tmp/multipartBody3748770190349969764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327294937,"filename":"image_29012025_19_36_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/1/31/bfabbd31bb5d7770f86a98b780d05fa3.jpg","text":"TemporaryFile(/tmp/multipartBody5256720436442970456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327294937,"filename":"image_29012025_19_36_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/1/31/b75cb1a1400bfa27668c7fb143068901.jpg","text":"TemporaryFile(/tmp/multipartBody3037133920984195037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327294937,"filename":"image_29012025_19_37_25_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/24ce0c1c9088b231f90d34f367194bd4.jpg","text":"TemporaryFile(/tmp/multipartBody3887554536665769104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327294937,"filename":"image_29012025_19_37_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/1/31/e1709487106200a1faf8645982d75a91.jpg","text":"TemporaryFile(/tmp/multipartBody8033281252741815678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327294937,"filename":"image_29012025_19_37_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/1/31/d1361e99bb231d58e10766a5b830345c.jpg","text":"TemporaryFile(/tmp/multipartBody8525904718670388411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327294937,"filename":"image_29012025_19_37_35_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333321655","file1":"1333321582","file0":"1333321513","file4":"1333321725","file5":"1333321835","file3":"1333321661"},"map_files_photo_id_array":[{"photo_id":"1333321835","filename":"file5"},{"photo_id":"1333321655","filename":"file2"},{"photo_id":"1333321725","filename":"file4"},{"photo_id":"1333321582","filename":"file1"},{"photo_id":"1333321513","filename":"file0"},{"photo_id":"1333321661","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333321582":["hashtag1","hashtag2"]},{"1333321513":["hashtag1","hashtag2"]},{"1333321725":["hashtag1","hashtag2"]},{"1333321661":["hashtag1","hashtag2"]},{"1333321655":["hashtag1","hashtag2"]},{"1333321835":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333321582, 1333321513, 1333321725, 1333321661, 1333321655, 1333321835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.948819160461426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:41:32.786700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/37/image_29012025_19_37_46_10381.jpg', '/home/pi/Desktop/images/29012025/19/37/image_29012025_19_37_55_9350.jpg', '/home/pi/Desktop/images/29012025/19/37/image_29012025_19_38_05_10360.jpg', '/home/pi/Desktop/images/29012025/19/38/image_29012025_19_38_16_10348.jpg', '/home/pi/Desktop/images/29012025/19/38/image_29012025_19_38_25_9430.jpg', '/home/pi/Desktop/images/29012025/19/38/image_29012025_19_38_35_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/37/image_29012025_19_37_46_10381.jpg
/home/pi/Desktop/images/29012025/19/37/image_29012025_19_37_55_9350.jpg
/home/pi/Desktop/images/29012025/19/37/image_29012025_19_38_05_10360.jpg
/home/pi/Desktop/images/29012025/19/38/image_29012025_19_38_16_10348.jpg
/home/pi/Desktop/images/29012025/19/38/image_29012025_19_38_25_9430.jpg
/home/pi/Desktop/images/29012025/19/38/image_29012025_19_38_35_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":["1333321963","1333321986","1333321983","1333321979","1333321973","1333321967"],"photo_ids_order":["1333321963","1333321967","1333321973","1333321979","1333321983","1333321986"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/19f5cad80fa76b8404b56ca9470b1719.jpg","text":"TemporaryFile(/tmp/multipartBody7510077562814293019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327355198,"filename":"image_29012025_19_37_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/1/31/e93afeaa9bb44bde515a8203209f86cd.jpg","text":"TemporaryFile(/tmp/multipartBody7294914809819964953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327355198,"filename":"image_29012025_19_38_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/1/31/1895ab69d15a1fbf0c1ecd67281c8feb.jpg","text":"TemporaryFile(/tmp/multipartBody8488312054490705845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327355198,"filename":"image_29012025_19_38_25_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/944489720dbf53e852328396f693b8e8.jpg","text":"TemporaryFile(/tmp/multipartBody8842371022883169994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327355198,"filename":"image_29012025_19_38_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/1/31/b8cf49b1a3ec744e20adb911f42579d5.jpg","text":"TemporaryFile(/tmp/multipartBody461161500679533152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327355198,"filename":"image_29012025_19_38_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/1/31/aef0b391cf65c0c3aa16a984f59b88aa.jpg","text":"TemporaryFile(/tmp/multipartBody4783750497499564953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327355198,"filename":"image_29012025_19_37_55_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333321973","file1":"1333321967","file0":"1333321963","file4":"1333321983","file5":"1333321986","file3":"1333321979"},"map_files_photo_id_array":[{"photo_id":"1333321986","filename":"file5"},{"photo_id":"1333321973","filename":"file2"},{"photo_id":"1333321983","filename":"file4"},{"photo_id":"1333321967","filename":"file1"},{"photo_id":"1333321963","filename":"file0"},{"photo_id":"1333321979","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333321963":["hashtag1","hashtag2"]},{"1333321986":["hashtag1","hashtag2"]},{"1333321983":["hashtag1","hashtag2"]},{"1333321979":["hashtag1","hashtag2"]},{"1333321973":["hashtag1","hashtag2"]},{"1333321967":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333321963, 1333321986, 1333321983, 1333321979, 1333321973, 1333321967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.05925130844116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:42:33.025691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/38/image_29012025_19_38_45_9423.jpg', '/home/pi/Desktop/images/29012025/19/38/image_29012025_19_38_55_10355.jpg', '/home/pi/Desktop/images/29012025/19/38/image_29012025_19_39_06_10392.jpg', '/home/pi/Desktop/images/29012025/19/39/image_29012025_19_39_15_9354.jpg', '/home/pi/Desktop/images/29012025/19/39/image_29012025_19_39_25_10440.jpg', '/home/pi/Desktop/images/29012025/19/39/image_29012025_19_39_36_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/38/image_29012025_19_38_45_9423.jpg
/home/pi/Desktop/images/29012025/19/38/image_29012025_19_38_55_10355.jpg
/home/pi/Desktop/images/29012025/19/38/image_29012025_19_39_06_10392.jpg
/home/pi/Desktop/images/29012025/19/39/image_29012025_19_39_15_9354.jpg
/home/pi/Desktop/images/29012025/19/39/image_29012025_19_39_25_10440.jpg
/home/pi/Desktop/images/29012025/19/39/image_29012025_19_39_36_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":["1333322026","1333322029","1333322020","1333322014","1333322008","1333322030"],"photo_ids_order":["1333322008","1333322014","1333322020","1333322026","1333322029","1333322030"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2a5d85af11f32d674507eaf37a2a105e.jpg","text":"TemporaryFile(/tmp/multipartBody2795351775420289428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327415432,"filename":"image_29012025_19_39_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/1/31/30116a43ebbc2df062b6305e35909fbc.jpg","text":"TemporaryFile(/tmp/multipartBody6411951901615440543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327415432,"filename":"image_29012025_19_39_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/1/31/5ab44235e5e5416126671ac46629c2a6.jpg","text":"TemporaryFile(/tmp/multipartBody5070296192640338703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327415432,"filename":"image_29012025_19_39_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/1/31/f22ecfd608d01778d095b5baf11558e6.jpg","text":"TemporaryFile(/tmp/multipartBody8304590085502039198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327415432,"filename":"image_29012025_19_38_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/1/31/eefc9b175fbf27ca58689b37fe3593eb.jpg","text":"TemporaryFile(/tmp/multipartBody607690763902839876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327415432,"filename":"image_29012025_19_38_45_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ba5ebca9a0bc03b765fdd1bdf2d58454.jpg","text":"TemporaryFile(/tmp/multipartBody6756295311397996961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327415432,"filename":"image_29012025_19_39_36_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333322020","file1":"1333322014","file0":"1333322008","file4":"1333322029","file5":"1333322030","file3":"1333322026"},"map_files_photo_id_array":[{"photo_id":"1333322030","filename":"file5"},{"photo_id":"1333322020","filename":"file2"},{"photo_id":"1333322029","filename":"file4"},{"photo_id":"1333322014","filename":"file1"},{"photo_id":"1333322008","filename":"file0"},{"photo_id":"1333322026","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333322026":["hashtag1","hashtag2"]},{"1333322029":["hashtag1","hashtag2"]},{"1333322020":["hashtag1","hashtag2"]},{"1333322014":["hashtag1","hashtag2"]},{"1333322008":["hashtag1","hashtag2"]},{"1333322030":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333322026, 1333322029, 1333322020, 1333322014, 1333322008, 1333322030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93134117126465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:43:32.209553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/39/image_29012025_19_39_45_9348.jpg', '/home/pi/Desktop/images/29012025/19/39/image_29012025_19_39_55_10403.jpg', '/home/pi/Desktop/images/29012025/19/39/image_29012025_19_40_05_9395.jpg', '/home/pi/Desktop/images/29012025/19/40/image_29012025_19_40_15_10347.jpg', '/home/pi/Desktop/images/29012025/19/40/image_29012025_19_40_35_9403.jpg', '/home/pi/Desktop/images/29012025/19/40/image_29012025_19_41_05_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/39/image_29012025_19_39_45_9348.jpg
/home/pi/Desktop/images/29012025/19/39/image_29012025_19_39_55_10403.jpg
/home/pi/Desktop/images/29012025/19/39/image_29012025_19_40_05_9395.jpg
/home/pi/Desktop/images/29012025/19/40/image_29012025_19_40_15_10347.jpg
/home/pi/Desktop/images/29012025/19/40/image_29012025_19_40_35_9403.jpg
/home/pi/Desktop/images/29012025/19/40/image_29012025_19_41_05_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":["1333322077","1333322053","1333322061","1333322072","1333322066","1333322048"],"photo_ids_order":["1333322048","1333322053","1333322061","1333322066","1333322072","1333322077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8f6a28f02cc3098bd545b53afe820128.jpg","text":"TemporaryFile(/tmp/multipartBody5088245070598622907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327474641,"filename":"image_29012025_19_41_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/1/31/a7ad3988ddea46c468ba060c7a3ec276.jpg","text":"TemporaryFile(/tmp/multipartBody2554567735142731051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327474641,"filename":"image_29012025_19_39_55_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b5ff7b392e7c6fc873a0a8d925feea30.jpg","text":"TemporaryFile(/tmp/multipartBody1382407947625598183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327474641,"filename":"image_29012025_19_40_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/1/31/938f626486fdfe74bf2ef445d8e3d0bc.jpg","text":"TemporaryFile(/tmp/multipartBody4160705872837481751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327474641,"filename":"image_29012025_19_40_35_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d78e01ba80f44662d099b4d862f0451d.jpg","text":"TemporaryFile(/tmp/multipartBody6388618305107940019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327474641,"filename":"image_29012025_19_40_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/1/31/fc33ff09fe4bc0f0cf2b82ee93a80776.jpg","text":"TemporaryFile(/tmp/multipartBody3090810124562382149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327474641,"filename":"image_29012025_19_39_45_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333322061","file1":"1333322053","file0":"1333322048","file4":"1333322072","file5":"1333322077","file3":"1333322066"},"map_files_photo_id_array":[{"photo_id":"1333322077","filename":"file5"},{"photo_id":"1333322061","filename":"file2"},{"photo_id":"1333322072","filename":"file4"},{"photo_id":"1333322053","filename":"file1"},{"photo_id":"1333322048","filename":"file0"},{"photo_id":"1333322066","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333322077":["hashtag1","hashtag2"]},{"1333322053":["hashtag1","hashtag2"]},{"1333322061":["hashtag1","hashtag2"]},{"1333322072":["hashtag1","hashtag2"]},{"1333322066":["hashtag1","hashtag2"]},{"1333322048":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333322077, 1333322053, 1333322061, 1333322072, 1333322066, 1333322048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.91000819206238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:44:32.428481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/41/image_29012025_19_41_15_10331.jpg', '/home/pi/Desktop/images/29012025/19/41/image_29012025_19_41_25_9372.jpg', '/home/pi/Desktop/images/29012025/19/41/image_29012025_19_41_35_10433.jpg', '/home/pi/Desktop/images/29012025/19/42/image_29012025_19_42_15_9442.jpg', '/home/pi/Desktop/images/29012025/19/42/image_29012025_19_42_25_10440.jpg', '/home/pi/Desktop/images/29012025/19/42/image_29012025_19_42_45_9414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/41/image_29012025_19_41_15_10331.jpg
/home/pi/Desktop/images/29012025/19/41/image_29012025_19_41_25_9372.jpg
/home/pi/Desktop/images/29012025/19/41/image_29012025_19_41_35_10433.jpg
/home/pi/Desktop/images/29012025/19/42/image_29012025_19_42_15_9442.jpg
/home/pi/Desktop/images/29012025/19/42/image_29012025_19_42_25_10440.jpg
/home/pi/Desktop/images/29012025/19/42/image_29012025_19_42_45_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":["1333322146","1333322199","1333322154","1333322202","1333322194","1333322188"],"photo_ids_order":["1333322146","1333322154","1333322188","1333322194","1333322199","1333322202"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a8f159234e6aae3eb4a83f3550c5ac62.jpg","text":"TemporaryFile(/tmp/multipartBody5361939880936326553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327534850,"filename":"image_29012025_19_41_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/1/31/34946b60706a452c33c109ad127343fc.jpg","text":"TemporaryFile(/tmp/multipartBody4151527228327646077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327534850,"filename":"image_29012025_19_42_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/1/31/c169aea1826fb65018880c498489d6dc.jpg","text":"TemporaryFile(/tmp/multipartBody3116243470636452997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327534850,"filename":"image_29012025_19_41_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/1/31/07703f3babdce543cb826d6e4454bd0d.jpg","text":"TemporaryFile(/tmp/multipartBody5143159346938697184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327534850,"filename":"image_29012025_19_42_45_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3fafdaee43f4e1215700e7b8aeff0c49.jpg","text":"TemporaryFile(/tmp/multipartBody4476746489332024187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327534850,"filename":"image_29012025_19_42_15_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ed48fa786e1b164906d6d48244850edd.jpg","text":"TemporaryFile(/tmp/multipartBody797332751950872146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327534850,"filename":"image_29012025_19_41_35_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333322188","file1":"1333322154","file0":"1333322146","file4":"1333322199","file5":"1333322202","file3":"1333322194"},"map_files_photo_id_array":[{"photo_id":"1333322202","filename":"file5"},{"photo_id":"1333322188","filename":"file2"},{"photo_id":"1333322199","filename":"file4"},{"photo_id":"1333322154","filename":"file1"},{"photo_id":"1333322146","filename":"file0"},{"photo_id":"1333322194","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333322146":["hashtag1","hashtag2"]},{"1333322199":["hashtag1","hashtag2"]},{"1333322154":["hashtag1","hashtag2"]},{"1333322202":["hashtag1","hashtag2"]},{"1333322194":["hashtag1","hashtag2"]},{"1333322188":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333322146, 1333322199, 1333322154, 1333322202, 1333322194, 1333322188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.32225561141968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:45:32.598147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/42/image_29012025_19_42_55_10344.jpg', '/home/pi/Desktop/images/29012025/19/42/image_29012025_19_43_05_9363.jpg', '/home/pi/Desktop/images/29012025/19/43/image_29012025_19_43_15_10374.jpg', '/home/pi/Desktop/images/29012025/19/43/image_29012025_19_43_45_10418.jpg', '/home/pi/Desktop/images/29012025/19/44/image_29012025_19_44_15_10341.jpg', '/home/pi/Desktop/images/29012025/19/44/image_29012025_19_44_25_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/42/image_29012025_19_42_55_10344.jpg
/home/pi/Desktop/images/29012025/19/42/image_29012025_19_43_05_9363.jpg
/home/pi/Desktop/images/29012025/19/43/image_29012025_19_43_15_10374.jpg
/home/pi/Desktop/images/29012025/19/43/image_29012025_19_43_45_10418.jpg
/home/pi/Desktop/images/29012025/19/44/image_29012025_19_44_15_10341.jpg
/home/pi/Desktop/images/29012025/19/44/image_29012025_19_44_25_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":["1333322413","1333322382","1333322265","1333322259","1333322274","1333322390"],"photo_ids_order":["1333322259","1333322265","1333322274","1333322382","1333322390","1333322413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0b92f84028346bf9850bbd9c8b24910a.jpg","text":"TemporaryFile(/tmp/multipartBody6980347181077498218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327595022,"filename":"image_29012025_19_44_25_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f2e59ebafc1d9c5ff47529e09ddc8392.jpg","text":"TemporaryFile(/tmp/multipartBody5608005026999944872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327595022,"filename":"image_29012025_19_43_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/1/31/b4cc6a4efd3846ef4b87cbdfac73d42f.jpg","text":"TemporaryFile(/tmp/multipartBody5519362526661083929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327595022,"filename":"image_29012025_19_43_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/1/31/5cbe2105f019120a1e65a8769045710e.jpg","text":"TemporaryFile(/tmp/multipartBody7300240748759684369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327595022,"filename":"image_29012025_19_42_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/eca068007a7eae747953fb217ac2d81c.jpg","text":"TemporaryFile(/tmp/multipartBody6320431296869835466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327595022,"filename":"image_29012025_19_43_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/1/31/ad269cd98fe7d184926aea7b3076f304.jpg","text":"TemporaryFile(/tmp/multipartBody8461182441704371305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327595022,"filename":"image_29012025_19_44_15_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333322274","file1":"1333322265","file0":"1333322259","file4":"1333322390","file5":"1333322413","file3":"1333322382"},"map_files_photo_id_array":[{"photo_id":"1333322413","filename":"file5"},{"photo_id":"1333322274","filename":"file2"},{"photo_id":"1333322390","filename":"file4"},{"photo_id":"1333322265","filename":"file1"},{"photo_id":"1333322259","filename":"file0"},{"photo_id":"1333322382","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333322413":["hashtag1","hashtag2"]},{"1333322382":["hashtag1","hashtag2"]},{"1333322265":["hashtag1","hashtag2"]},{"1333322259":["hashtag1","hashtag2"]},{"1333322274":["hashtag1","hashtag2"]},{"1333322390":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333322413, 1333322382, 1333322265, 1333322259, 1333322274, 1333322390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.82096600532532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:46:32.797950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/44/image_29012025_19_44_35_10355.jpg', '/home/pi/Desktop/images/29012025/19/44/image_29012025_19_45_05_10363.jpg', '/home/pi/Desktop/images/29012025/19/45/image_29012025_19_45_16_10363.jpg', '/home/pi/Desktop/images/29012025/19/45/image_29012025_19_45_25_9370.jpg', '/home/pi/Desktop/images/29012025/19/45/image_29012025_19_45_35_10434.jpg', '/home/pi/Desktop/images/29012025/19/45/image_29012025_19_45_45_9440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/44/image_29012025_19_44_35_10355.jpg
/home/pi/Desktop/images/29012025/19/44/image_29012025_19_45_05_10363.jpg
/home/pi/Desktop/images/29012025/19/45/image_29012025_19_45_16_10363.jpg
/home/pi/Desktop/images/29012025/19/45/image_29012025_19_45_25_9370.jpg
/home/pi/Desktop/images/29012025/19/45/image_29012025_19_45_35_10434.jpg
/home/pi/Desktop/images/29012025/19/45/image_29012025_19_45_45_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":["1333322629","1333322622","1333322579","1333322633","1333322636","1333322615"],"photo_ids_order":["1333322579","1333322615","1333322622","1333322629","1333322633","1333322636"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fb81667e4930ee751a6bdfad62fdc69c.jpg","text":"TemporaryFile(/tmp/multipartBody5591585560280841993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327655234,"filename":"image_29012025_19_45_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/1/31/7234801d776f0ceca8b8c56e451e1949.jpg","text":"TemporaryFile(/tmp/multipartBody911078388649960123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327655234,"filename":"image_29012025_19_45_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/1/31/df06b28c9d69ea14525e72154d0e2b45.jpg","text":"TemporaryFile(/tmp/multipartBody7395495719505790490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327655234,"filename":"image_29012025_19_44_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/1/31/8e142a877ceada7b5fa375889c6875a1.jpg","text":"TemporaryFile(/tmp/multipartBody7518733818462091429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327655234,"filename":"image_29012025_19_45_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/1/31/c16f1575f54d3f4382fa37a52f3e6cc5.jpg","text":"TemporaryFile(/tmp/multipartBody8180864664560633526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327655234,"filename":"image_29012025_19_45_45_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5efcb27b08a817e89b092c7e9839507b.jpg","text":"TemporaryFile(/tmp/multipartBody6237643553323483461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327655234,"filename":"image_29012025_19_45_05_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333322622","file1":"1333322615","file0":"1333322579","file4":"1333322633","file5":"1333322636","file3":"1333322629"},"map_files_photo_id_array":[{"photo_id":"1333322636","filename":"file5"},{"photo_id":"1333322622","filename":"file2"},{"photo_id":"1333322633","filename":"file4"},{"photo_id":"1333322615","filename":"file1"},{"photo_id":"1333322579","filename":"file0"},{"photo_id":"1333322629","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333322629":["hashtag1","hashtag2"]},{"1333322622":["hashtag1","hashtag2"]},{"1333322579":["hashtag1","hashtag2"]},{"1333322633":["hashtag1","hashtag2"]},{"1333322636":["hashtag1","hashtag2"]},{"1333322615":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333322629, 1333322622, 1333322579, 1333322633, 1333322636, 1333322615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.9963800907135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:47:33.089999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/45/image_29012025_19_45_55_10505.jpg', '/home/pi/Desktop/images/29012025/19/45/image_29012025_19_46_06_10380.jpg', '/home/pi/Desktop/images/29012025/19/46/image_29012025_19_46_15_9373.jpg', '/home/pi/Desktop/images/29012025/19/46/image_29012025_19_46_25_10378.jpg', '/home/pi/Desktop/images/29012025/19/46/image_29012025_19_46_35_9363.jpg', '/home/pi/Desktop/images/29012025/19/46/image_29012025_19_46_45_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/45/image_29012025_19_45_55_10505.jpg
/home/pi/Desktop/images/29012025/19/45/image_29012025_19_46_06_10380.jpg
/home/pi/Desktop/images/29012025/19/46/image_29012025_19_46_15_9373.jpg
/home/pi/Desktop/images/29012025/19/46/image_29012025_19_46_25_10378.jpg
/home/pi/Desktop/images/29012025/19/46/image_29012025_19_46_35_9363.jpg
/home/pi/Desktop/images/29012025/19/46/image_29012025_19_46_45_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":["1333322673","1333322667","1333322682","1333322660","1333322680","1333322677"],"photo_ids_order":["1333322660","1333322667","1333322673","1333322677","1333322680","1333322682"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/15edbfdf284b0043db5df6dfa7c7104c.jpg","text":"TemporaryFile(/tmp/multipartBody2936336392848053004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327715526,"filename":"image_29012025_19_46_15_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a87e20fe229c57e3d3002f9373385784.jpg","text":"TemporaryFile(/tmp/multipartBody8618609352528265848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327715526,"filename":"image_29012025_19_46_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/1/31/c2f421b1d5ee38949aa1b90e97c646a4.jpg","text":"TemporaryFile(/tmp/multipartBody6100404673225108715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327715526,"filename":"image_29012025_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/1/31/30b4f1c7ec420b9574b4940b9d35f1fb.jpg","text":"TemporaryFile(/tmp/multipartBody3043559559860507074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327715526,"filename":"image_29012025_19_45_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/1/31/99a94ab76c93063514ad31b721e226e3.jpg","text":"TemporaryFile(/tmp/multipartBody4513279689787957832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327715526,"filename":"image_29012025_19_46_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/1/31/41722488bfe257ffb79dce8c3442959f.jpg","text":"TemporaryFile(/tmp/multipartBody7318705707133157819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327715526,"filename":"image_29012025_19_46_25_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333322673","file1":"1333322667","file0":"1333322660","file4":"1333322680","file5":"1333322682","file3":"1333322677"},"map_files_photo_id_array":[{"photo_id":"1333322682","filename":"file5"},{"photo_id":"1333322673","filename":"file2"},{"photo_id":"1333322680","filename":"file4"},{"photo_id":"1333322667","filename":"file1"},{"photo_id":"1333322660","filename":"file0"},{"photo_id":"1333322677","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333322673":["hashtag1","hashtag2"]},{"1333322667":["hashtag1","hashtag2"]},{"1333322682":["hashtag1","hashtag2"]},{"1333322660":["hashtag1","hashtag2"]},{"1333322680":["hashtag1","hashtag2"]},{"1333322677":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333322673, 1333322667, 1333322682, 1333322660, 1333322680, 1333322677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.68281698226929 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:48:32.156850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/46/image_29012025_19_46_56_10372.jpg', '/home/pi/Desktop/images/29012025/19/46/image_29012025_19_47_05_9469.jpg', '/home/pi/Desktop/images/29012025/19/47/image_29012025_19_48_05_10359.jpg', '/home/pi/Desktop/images/29012025/19/48/image_29012025_19_48_16_10352.jpg', '/home/pi/Desktop/images/29012025/19/48/image_29012025_19_48_25_9343.jpg', '/home/pi/Desktop/images/29012025/19/48/image_29012025_19_48_35_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/46/image_29012025_19_46_56_10372.jpg
/home/pi/Desktop/images/29012025/19/46/image_29012025_19_47_05_9469.jpg
/home/pi/Desktop/images/29012025/19/47/image_29012025_19_48_05_10359.jpg
/home/pi/Desktop/images/29012025/19/48/image_29012025_19_48_16_10352.jpg
/home/pi/Desktop/images/29012025/19/48/image_29012025_19_48_25_9343.jpg
/home/pi/Desktop/images/29012025/19/48/image_29012025_19_48_35_10413.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.071260690689087 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 13:48:42.160058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/46/image_29012025_19_46_56_10372.jpg', '/home/pi/Desktop/images/29012025/19/46/image_29012025_19_47_05_9469.jpg', '/home/pi/Desktop/images/29012025/19/47/image_29012025_19_48_05_10359.jpg', '/home/pi/Desktop/images/29012025/19/48/image_29012025_19_48_16_10352.jpg', '/home/pi/Desktop/images/29012025/19/48/image_29012025_19_48_25_9343.jpg', '/home/pi/Desktop/images/29012025/19/48/image_29012025_19_48_35_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/46/image_29012025_19_46_56_10372.jpg
/home/pi/Desktop/images/29012025/19/46/image_29012025_19_47_05_9469.jpg
/home/pi/Desktop/images/29012025/19/47/image_29012025_19_48_05_10359.jpg
/home/pi/Desktop/images/29012025/19/48/image_29012025_19_48_16_10352.jpg
/home/pi/Desktop/images/29012025/19/48/image_29012025_19_48_25_9343.jpg
/home/pi/Desktop/images/29012025/19/48/image_29012025_19_48_35_10413.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":["1333322796","1333322760","1333322750","1333322741","1333322801","1333322755"],"photo_ids_order":["1333322741","1333322750","1333322755","1333322760","1333322796","1333322801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e7f7b6e41e93fc1ea7a084d9b4159419.jpg","text":"TemporaryFile(/tmp/multipartBody8537860507653639947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327783867,"filename":"image_29012025_19_48_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/1/31/47a6f9b30da6e2a6447835d67fcf87e2.jpg","text":"TemporaryFile(/tmp/multipartBody9055372185238465270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327783867,"filename":"image_29012025_19_48_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/1/31/12b9c29bc33d902e3d57d996bb9f5ac0.jpg","text":"TemporaryFile(/tmp/multipartBody5360762705569060077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327783867,"filename":"image_29012025_19_47_05_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8f23e2002990df1244e1debc3d72a03d.jpg","text":"TemporaryFile(/tmp/multipartBody3299466655493246566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327783867,"filename":"image_29012025_19_46_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/1/31/695384ff6e985a324280ba7ccb3ef58f.jpg","text":"TemporaryFile(/tmp/multipartBody8556382627368815641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327783867,"filename":"image_29012025_19_48_35_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ea08273128ebecb9245beb896cc7b90f.jpg","text":"TemporaryFile(/tmp/multipartBody2447425127474196069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327783867,"filename":"image_29012025_19_48_05_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333322755","file1":"1333322750","file0":"1333322741","file4":"1333322796","file5":"1333322801","file3":"1333322760"},"map_files_photo_id_array":[{"photo_id":"1333322801","filename":"file5"},{"photo_id":"1333322755","filename":"file2"},{"photo_id":"1333322796","filename":"file4"},{"photo_id":"1333322750","filename":"file1"},{"photo_id":"1333322741","filename":"file0"},{"photo_id":"1333322760","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333322796":["hashtag1","hashtag2"]},{"1333322760":["hashtag1","hashtag2"]},{"1333322750":["hashtag1","hashtag2"]},{"1333322741":["hashtag1","hashtag2"]},{"1333322801":["hashtag1","hashtag2"]},{"1333322755":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333322796, 1333322760, 1333322750, 1333322741, 1333322801, 1333322755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17568612098694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:49:32.461406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/48/image_29012025_19_48_55_10479.jpg', '/home/pi/Desktop/images/29012025/19/48/image_29012025_19_49_06_10362.jpg', '/home/pi/Desktop/images/29012025/19/49/image_29012025_19_49_15_9448.jpg', '/home/pi/Desktop/images/29012025/19/49/image_29012025_19_49_35_9337.jpg', '/home/pi/Desktop/images/29012025/19/49/image_29012025_19_49_56_10360.jpg', '/home/pi/Desktop/images/29012025/19/49/image_29012025_19_50_05_9415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/48/image_29012025_19_48_55_10479.jpg
/home/pi/Desktop/images/29012025/19/48/image_29012025_19_49_06_10362.jpg
/home/pi/Desktop/images/29012025/19/49/image_29012025_19_49_15_9448.jpg
/home/pi/Desktop/images/29012025/19/49/image_29012025_19_49_35_9337.jpg
/home/pi/Desktop/images/29012025/19/49/image_29012025_19_49_56_10360.jpg
/home/pi/Desktop/images/29012025/19/49/image_29012025_19_50_05_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":["1333322833","1333322827","1333322815","1333322820","1333322846","1333322840"],"photo_ids_order":["1333322815","1333322820","1333322827","1333322833","1333322840","1333322846"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/19bca0cad64beb108a3e5a2b1b3677a2.jpg","text":"TemporaryFile(/tmp/multipartBody6886019777928621921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327834919,"filename":"image_29012025_19_49_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/1/31/ec0c70f960d541f94b4d2098b9e820a2.jpg","text":"TemporaryFile(/tmp/multipartBody4269788066549481748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327834919,"filename":"image_29012025_19_49_15_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9f34d935424ee242b21a3a01d07db333.jpg","text":"TemporaryFile(/tmp/multipartBody2393830985901041864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327834919,"filename":"image_29012025_19_48_55_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/272dcb0bf4dc814c39efb41f4b0c8aa6.jpg","text":"TemporaryFile(/tmp/multipartBody901669485054180760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327834919,"filename":"image_29012025_19_49_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/1/31/79ee4b1a51cc31840c409d647e24a39d.jpg","text":"TemporaryFile(/tmp/multipartBody2658380515499235592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327834919,"filename":"image_29012025_19_50_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/1/31/19de54af4c70a985881b45f1b6d7fcc1.jpg","text":"TemporaryFile(/tmp/multipartBody8431491925853114544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327834919,"filename":"image_29012025_19_49_56_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333322827","file1":"1333322820","file0":"1333322815","file4":"1333322840","file5":"1333322846","file3":"1333322833"},"map_files_photo_id_array":[{"photo_id":"1333322846","filename":"file5"},{"photo_id":"1333322827","filename":"file2"},{"photo_id":"1333322840","filename":"file4"},{"photo_id":"1333322820","filename":"file1"},{"photo_id":"1333322815","filename":"file0"},{"photo_id":"1333322833","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333322833":["hashtag1","hashtag2"]},{"1333322827":["hashtag1","hashtag2"]},{"1333322815":["hashtag1","hashtag2"]},{"1333322820":["hashtag1","hashtag2"]},{"1333322846":["hashtag1","hashtag2"]},{"1333322840":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333322833, 1333322827, 1333322815, 1333322820, 1333322846, 1333322840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.878419637680054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:50:32.655843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/50/image_29012025_19_50_15_10358.jpg', '/home/pi/Desktop/images/29012025/19/50/image_29012025_19_50_25_9377.jpg', '/home/pi/Desktop/images/29012025/19/50/image_29012025_19_50_35_10365.jpg', '/home/pi/Desktop/images/29012025/19/50/image_29012025_19_50_55_9336.jpg', '/home/pi/Desktop/images/29012025/19/50/image_29012025_19_51_05_10415.jpg', '/home/pi/Desktop/images/29012025/19/51/image_29012025_19_51_16_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/50/image_29012025_19_50_15_10358.jpg
/home/pi/Desktop/images/29012025/19/50/image_29012025_19_50_25_9377.jpg
/home/pi/Desktop/images/29012025/19/50/image_29012025_19_50_35_10365.jpg
/home/pi/Desktop/images/29012025/19/50/image_29012025_19_50_55_9336.jpg
/home/pi/Desktop/images/29012025/19/50/image_29012025_19_51_05_10415.jpg
/home/pi/Desktop/images/29012025/19/51/image_29012025_19_51_16_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":["1333322877","1333322871","1333322894","1333322885","1333322890","1333322896"],"photo_ids_order":["1333322871","1333322877","1333322885","1333322890","1333322894","1333322896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6ea64fd448bb32e8032a3bdffcbd37c7.jpg","text":"TemporaryFile(/tmp/multipartBody290824556644784342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327895101,"filename":"image_29012025_19_50_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/1/31/2b8f797e6d8d8977b1d1d5278a2ef9df.jpg","text":"TemporaryFile(/tmp/multipartBody7685917084187086849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327895101,"filename":"image_29012025_19_50_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/1/31/5dc36832c0bd6182c780eab5efeb731a.jpg","text":"TemporaryFile(/tmp/multipartBody5969605170613830370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327895101,"filename":"image_29012025_19_51_05_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2cdc3671ffb21f492426457a96900585.jpg","text":"TemporaryFile(/tmp/multipartBody3220952888651353786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327895101,"filename":"image_29012025_19_50_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/1/31/1c02329e4e9529582b8d02d4ebbe0302.jpg","text":"TemporaryFile(/tmp/multipartBody5026714759473860170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327895101,"filename":"image_29012025_19_50_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/1/31/3ca644bac4f8114d6578fc6a977ba791.jpg","text":"TemporaryFile(/tmp/multipartBody5557326273139283303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327895101,"filename":"image_29012025_19_51_16_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333322885","file1":"1333322877","file0":"1333322871","file4":"1333322894","file5":"1333322896","file3":"1333322890"},"map_files_photo_id_array":[{"photo_id":"1333322896","filename":"file5"},{"photo_id":"1333322885","filename":"file2"},{"photo_id":"1333322894","filename":"file4"},{"photo_id":"1333322877","filename":"file1"},{"photo_id":"1333322871","filename":"file0"},{"photo_id":"1333322890","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333322877":["hashtag1","hashtag2"]},{"1333322871":["hashtag1","hashtag2"]},{"1333322894":["hashtag1","hashtag2"]},{"1333322885":["hashtag1","hashtag2"]},{"1333322890":["hashtag1","hashtag2"]},{"1333322896":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333322877, 1333322871, 1333322894, 1333322885, 1333322890, 1333322896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.3970205783844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:51:32.790365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/51/image_29012025_19_51_45_9364.jpg', '/home/pi/Desktop/images/29012025/19/51/image_29012025_19_51_55_10348.jpg', '/home/pi/Desktop/images/29012025/19/52/image_29012025_19_52_15_10336.jpg', '/home/pi/Desktop/images/29012025/19/52/image_29012025_19_52_26_10374.jpg', '/home/pi/Desktop/images/29012025/19/52/image_29012025_19_52_46_10370.jpg', '/home/pi/Desktop/images/29012025/19/52/image_29012025_19_53_05_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/51/image_29012025_19_51_45_9364.jpg
/home/pi/Desktop/images/29012025/19/51/image_29012025_19_51_55_10348.jpg
/home/pi/Desktop/images/29012025/19/52/image_29012025_19_52_15_10336.jpg
/home/pi/Desktop/images/29012025/19/52/image_29012025_19_52_26_10374.jpg
/home/pi/Desktop/images/29012025/19/52/image_29012025_19_52_46_10370.jpg
/home/pi/Desktop/images/29012025/19/52/image_29012025_19_53_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":["1333322962","1333322959","1333322942","1333322954","1333322948","1333322936"],"photo_ids_order":["1333322936","1333322942","1333322948","1333322954","1333322959","1333322962"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/959c4242079e113718b7e2e3408cc488.jpg","text":"TemporaryFile(/tmp/multipartBody5929473537735674045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327955217,"filename":"image_29012025_19_53_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/1/31/4b9c113b58af6756fecc8fb11b3e241c.jpg","text":"TemporaryFile(/tmp/multipartBody3675874453693653467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327955217,"filename":"image_29012025_19_52_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/1/31/5e33dac422276af13fdadad9819f75a7.jpg","text":"TemporaryFile(/tmp/multipartBody983776267645170512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327955217,"filename":"image_29012025_19_51_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/1/31/496f1e55c75d42e63aecfb1dedf3b726.jpg","text":"TemporaryFile(/tmp/multipartBody1834163142559210510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327955217,"filename":"image_29012025_19_52_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/1/31/8da44fd0d6190ac06aeb5657a7f2b269.jpg","text":"TemporaryFile(/tmp/multipartBody5568665535066647104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327955217,"filename":"image_29012025_19_52_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/adcc060f82e8551451dd4c89d64a89ae.jpg","text":"TemporaryFile(/tmp/multipartBody4762529850144820510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738327955217,"filename":"image_29012025_19_51_45_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333322948","file1":"1333322942","file0":"1333322936","file4":"1333322959","file5":"1333322962","file3":"1333322954"},"map_files_photo_id_array":[{"photo_id":"1333322962","filename":"file5"},{"photo_id":"1333322948","filename":"file2"},{"photo_id":"1333322959","filename":"file4"},{"photo_id":"1333322942","filename":"file1"},{"photo_id":"1333322936","filename":"file0"},{"photo_id":"1333322954","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333322962":["hashtag1","hashtag2"]},{"1333322959":["hashtag1","hashtag2"]},{"1333322942":["hashtag1","hashtag2"]},{"1333322954":["hashtag1","hashtag2"]},{"1333322948":["hashtag1","hashtag2"]},{"1333322936":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333322962, 1333322959, 1333322942, 1333322954, 1333322948, 1333322936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.99177527427673 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:52:32.945538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/53/image_29012025_19_53_25_9437.jpg', '/home/pi/Desktop/images/29012025/19/53/image_29012025_19_53_35_10352.jpg', '/home/pi/Desktop/images/29012025/19/53/image_29012025_19_53_45_9416.jpg', '/home/pi/Desktop/images/29012025/19/53/image_29012025_19_53_55_10358.jpg', '/home/pi/Desktop/images/29012025/19/53/image_29012025_19_54_06_10373.jpg', '/home/pi/Desktop/images/29012025/19/54/image_29012025_19_54_15_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/53/image_29012025_19_53_25_9437.jpg
/home/pi/Desktop/images/29012025/19/53/image_29012025_19_53_35_10352.jpg
/home/pi/Desktop/images/29012025/19/53/image_29012025_19_53_45_9416.jpg
/home/pi/Desktop/images/29012025/19/53/image_29012025_19_53_55_10358.jpg
/home/pi/Desktop/images/29012025/19/53/image_29012025_19_54_06_10373.jpg
/home/pi/Desktop/images/29012025/19/54/image_29012025_19_54_15_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":["1333322973","1333323038","1333323047","1333323061","1333323055","1333323064"],"photo_ids_order":["1333322973","1333323038","1333323047","1333323055","1333323061","1333323064"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2688f663e927b353e460165bce02c5e1.jpg","text":"TemporaryFile(/tmp/multipartBody6400904872597315718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328015386,"filename":"image_29012025_19_53_25_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cf8c7f0aab7a3a052817893474a9a318.jpg","text":"TemporaryFile(/tmp/multipartBody8402875893621247187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328015386,"filename":"image_29012025_19_53_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/1/31/9d32720eae46b71064f8bf6923054dc9.jpg","text":"TemporaryFile(/tmp/multipartBody6163807281258243078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328015386,"filename":"image_29012025_19_53_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/1/31/017f22beec98cf07814afab21d989567.jpg","text":"TemporaryFile(/tmp/multipartBody6115681654448707208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328015386,"filename":"image_29012025_19_54_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/1/31/f45168c42843cf6b4d38bc33c37c6bee.jpg","text":"TemporaryFile(/tmp/multipartBody8481789206684729444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328015386,"filename":"image_29012025_19_53_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/1/31/a7253d6d877fc62425b8b5501357bde2.jpg","text":"TemporaryFile(/tmp/multipartBody5530092522175228200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328015386,"filename":"image_29012025_19_54_15_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333323047","file1":"1333323038","file0":"1333322973","file4":"1333323061","file5":"1333323064","file3":"1333323055"},"map_files_photo_id_array":[{"photo_id":"1333323064","filename":"file5"},{"photo_id":"1333323047","filename":"file2"},{"photo_id":"1333323061","filename":"file4"},{"photo_id":"1333323038","filename":"file1"},{"photo_id":"1333322973","filename":"file0"},{"photo_id":"1333323055","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333322973":["hashtag1","hashtag2"]},{"1333323038":["hashtag1","hashtag2"]},{"1333323047":["hashtag1","hashtag2"]},{"1333323061":["hashtag1","hashtag2"]},{"1333323055":["hashtag1","hashtag2"]},{"1333323064":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333322973, 1333323038, 1333323047, 1333323061, 1333323055, 1333323064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.70397162437439 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:53:33.152177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/54/image_29012025_19_54_36_10420.jpg', '/home/pi/Desktop/images/29012025/19/54/image_29012025_19_54_56_10403.jpg', '/home/pi/Desktop/images/29012025/19/55/image_29012025_19_55_35_9507.jpg', '/home/pi/Desktop/images/29012025/19/55/image_29012025_19_55_46_10354.jpg', '/home/pi/Desktop/images/29012025/19/56/image_29012025_19_56_16_10369.jpg', '/home/pi/Desktop/images/29012025/19/56/image_29012025_19_56_25_9409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/54/image_29012025_19_54_36_10420.jpg
/home/pi/Desktop/images/29012025/19/54/image_29012025_19_54_56_10403.jpg
/home/pi/Desktop/images/29012025/19/55/image_29012025_19_55_35_9507.jpg
/home/pi/Desktop/images/29012025/19/55/image_29012025_19_55_46_10354.jpg
/home/pi/Desktop/images/29012025/19/56/image_29012025_19_56_16_10369.jpg
/home/pi/Desktop/images/29012025/19/56/image_29012025_19_56_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":["1333323100","1333323138","1333323095","1333323146","1333323151","1333323154"],"photo_ids_order":["1333323095","1333323100","1333323138","1333323146","1333323151","1333323154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/000cfad1b31bb9f43cf01bdef7c71be3.jpg","text":"TemporaryFile(/tmp/multipartBody8178411454526654222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328075572,"filename":"image_29012025_19_54_56_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/59f2a4cbc6c8f89d7bbd8d451676dc09.jpg","text":"TemporaryFile(/tmp/multipartBody6416156517148239452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328075572,"filename":"image_29012025_19_55_35_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/93ac8e211fa010857c0187f54a502114.jpg","text":"TemporaryFile(/tmp/multipartBody2582571250647984307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328075572,"filename":"image_29012025_19_54_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/1/31/53d9deac652a4da8d53de0c3557de44d.jpg","text":"TemporaryFile(/tmp/multipartBody7183595805778270595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328075572,"filename":"image_29012025_19_55_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/1/31/e1500fc5bebd6819e66f09c3bb03d87e.jpg","text":"TemporaryFile(/tmp/multipartBody3056784034628986268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328075572,"filename":"image_29012025_19_56_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/1/31/9695e832d424e69287df6fe0a38bbf76.jpg","text":"TemporaryFile(/tmp/multipartBody2927940075337255877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328075572,"filename":"image_29012025_19_56_25_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333323138","file1":"1333323100","file0":"1333323095","file4":"1333323151","file5":"1333323154","file3":"1333323146"},"map_files_photo_id_array":[{"photo_id":"1333323154","filename":"file5"},{"photo_id":"1333323138","filename":"file2"},{"photo_id":"1333323151","filename":"file4"},{"photo_id":"1333323100","filename":"file1"},{"photo_id":"1333323095","filename":"file0"},{"photo_id":"1333323146","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333323100":["hashtag1","hashtag2"]},{"1333323138":["hashtag1","hashtag2"]},{"1333323095":["hashtag1","hashtag2"]},{"1333323146":["hashtag1","hashtag2"]},{"1333323151":["hashtag1","hashtag2"]},{"1333323154":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333323100, 1333323138, 1333323095, 1333323146, 1333323151, 1333323154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.38619065284729 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:54:32.322858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/56/image_29012025_19_56_35_10407.jpg', '/home/pi/Desktop/images/29012025/19/56/image_29012025_19_56_45_9434.jpg', '/home/pi/Desktop/images/29012025/19/56/image_29012025_19_57_06_10350.jpg', '/home/pi/Desktop/images/29012025/19/57/image_29012025_19_57_15_9445.jpg', '/home/pi/Desktop/images/29012025/19/57/image_29012025_19_57_25_10367.jpg', '/home/pi/Desktop/images/29012025/19/57/image_29012025_19_57_35_9365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/56/image_29012025_19_56_35_10407.jpg
/home/pi/Desktop/images/29012025/19/56/image_29012025_19_56_45_9434.jpg
/home/pi/Desktop/images/29012025/19/56/image_29012025_19_57_06_10350.jpg
/home/pi/Desktop/images/29012025/19/57/image_29012025_19_57_15_9445.jpg
/home/pi/Desktop/images/29012025/19/57/image_29012025_19_57_25_10367.jpg
/home/pi/Desktop/images/29012025/19/57/image_29012025_19_57_35_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":["1333324275","1333324262","1333324286","1333324334","1333324282","1333324333"],"photo_ids_order":["1333324262","1333324275","1333324282","1333324286","1333324333","1333324334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/85107811dbdca79e46a62322cb1328b8.jpg","text":"TemporaryFile(/tmp/multipartBody1799681579850805053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328134753,"filename":"image_29012025_19_56_45_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c234006b9e1584d4c1a62e86dea89da0.jpg","text":"TemporaryFile(/tmp/multipartBody4983695528657986880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328134753,"filename":"image_29012025_19_56_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/1/31/a6ba231254c74acc6728a6cb66976461.jpg","text":"TemporaryFile(/tmp/multipartBody8955177022047327207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328134753,"filename":"image_29012025_19_57_15_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cb72466bca4b694ee8c9f4cc8ce72855.jpg","text":"TemporaryFile(/tmp/multipartBody9020950709535375153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328134753,"filename":"image_29012025_19_57_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/1/31/ab1b7750cf2939c5eeaf7cab8f7f0f97.jpg","text":"TemporaryFile(/tmp/multipartBody453086837187927947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328134753,"filename":"image_29012025_19_57_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/1/31/75ac995bc693e53355d27a5e9191ca8d.jpg","text":"TemporaryFile(/tmp/multipartBody8644309669066767279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328134753,"filename":"image_29012025_19_57_25_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333324282","file1":"1333324275","file0":"1333324262","file4":"1333324333","file5":"1333324334","file3":"1333324286"},"map_files_photo_id_array":[{"photo_id":"1333324334","filename":"file5"},{"photo_id":"1333324282","filename":"file2"},{"photo_id":"1333324333","filename":"file4"},{"photo_id":"1333324275","filename":"file1"},{"photo_id":"1333324262","filename":"file0"},{"photo_id":"1333324286","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333324275":["hashtag1","hashtag2"]},{"1333324262":["hashtag1","hashtag2"]},{"1333324286":["hashtag1","hashtag2"]},{"1333324334":["hashtag1","hashtag2"]},{"1333324282":["hashtag1","hashtag2"]},{"1333324333":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333324275, 1333324262, 1333324286, 1333324334, 1333324282, 1333324333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04028010368347 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:55:32.559560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/57/image_29012025_19_57_56_10399.jpg', '/home/pi/Desktop/images/29012025/19/57/image_29012025_19_58_05_9418.jpg', '/home/pi/Desktop/images/29012025/19/58/image_29012025_19_58_15_10365.jpg', '/home/pi/Desktop/images/29012025/19/58/image_29012025_19_58_26_10374.jpg', '/home/pi/Desktop/images/29012025/19/58/image_29012025_19_58_35_9424.jpg', '/home/pi/Desktop/images/29012025/19/58/image_29012025_19_58_46_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/57/image_29012025_19_57_56_10399.jpg
/home/pi/Desktop/images/29012025/19/57/image_29012025_19_58_05_9418.jpg
/home/pi/Desktop/images/29012025/19/58/image_29012025_19_58_15_10365.jpg
/home/pi/Desktop/images/29012025/19/58/image_29012025_19_58_26_10374.jpg
/home/pi/Desktop/images/29012025/19/58/image_29012025_19_58_35_9424.jpg
/home/pi/Desktop/images/29012025/19/58/image_29012025_19_58_46_10368.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.033552885055542 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 13:55:42.479388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/57/image_29012025_19_57_56_10399.jpg', '/home/pi/Desktop/images/29012025/19/57/image_29012025_19_58_05_9418.jpg', '/home/pi/Desktop/images/29012025/19/58/image_29012025_19_58_15_10365.jpg', '/home/pi/Desktop/images/29012025/19/58/image_29012025_19_58_26_10374.jpg', '/home/pi/Desktop/images/29012025/19/58/image_29012025_19_58_35_9424.jpg', '/home/pi/Desktop/images/29012025/19/58/image_29012025_19_58_46_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/57/image_29012025_19_57_56_10399.jpg
/home/pi/Desktop/images/29012025/19/57/image_29012025_19_58_05_9418.jpg
/home/pi/Desktop/images/29012025/19/58/image_29012025_19_58_15_10365.jpg
/home/pi/Desktop/images/29012025/19/58/image_29012025_19_58_26_10374.jpg
/home/pi/Desktop/images/29012025/19/58/image_29012025_19_58_35_9424.jpg
/home/pi/Desktop/images/29012025/19/58/image_29012025_19_58_46_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":["1333324914","1333324877","1333324821","1333324817","1333324910","1333324906"],"photo_ids_order":["1333324817","1333324821","1333324877","1333324906","1333324910","1333324914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/540e62f400e4dce46f1d358decbd08dd.jpg","text":"TemporaryFile(/tmp/multipartBody1314462923816028479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328203996,"filename":"image_29012025_19_58_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/1/31/bf89c32e1f2c4712c01e48df1160253f.jpg","text":"TemporaryFile(/tmp/multipartBody1798406885225003835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328203996,"filename":"image_29012025_19_58_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/1/31/f44f138c205f843e0cc741d39fc10170.jpg","text":"TemporaryFile(/tmp/multipartBody2046582746050512077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328203996,"filename":"image_29012025_19_58_05_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7d6396833ed7eb0ed0a41531911a7b0a.jpg","text":"TemporaryFile(/tmp/multipartBody2915916109521254410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328203996,"filename":"image_29012025_19_57_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/1/31/dd2c806f0a02a61ad8bec359e2b8b9dc.jpg","text":"TemporaryFile(/tmp/multipartBody4027373972671729874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328203996,"filename":"image_29012025_19_58_35_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fc8a07831a6384042147ac1559d5fd28.jpg","text":"TemporaryFile(/tmp/multipartBody7795881045422027356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328203996,"filename":"image_29012025_19_58_26_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333324877","file1":"1333324821","file0":"1333324817","file4":"1333324910","file5":"1333324914","file3":"1333324906"},"map_files_photo_id_array":[{"photo_id":"1333324914","filename":"file5"},{"photo_id":"1333324877","filename":"file2"},{"photo_id":"1333324910","filename":"file4"},{"photo_id":"1333324821","filename":"file1"},{"photo_id":"1333324817","filename":"file0"},{"photo_id":"1333324906","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333324914":["hashtag1","hashtag2"]},{"1333324877":["hashtag1","hashtag2"]},{"1333324821":["hashtag1","hashtag2"]},{"1333324817":["hashtag1","hashtag2"]},{"1333324910":["hashtag1","hashtag2"]},{"1333324906":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333324914, 1333324877, 1333324821, 1333324817, 1333324910, 1333324906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.717445373535156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:56:32.713940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/19/58/image_29012025_19_58_55_9379.jpg', '/home/pi/Desktop/images/29012025/19/59/image_29012025_19_59_16_10363.jpg', '/home/pi/Desktop/images/29012025/19/59/image_29012025_19_59_35_10378.jpg', '/home/pi/Desktop/images/29012025/19/59/image_29012025_19_59_45_9363.jpg', '/home/pi/Desktop/images/29012025/19/59/image_29012025_19_59_55_10381.jpg', '/home/pi/Desktop/images/29012025/20/00/image_29012025_20_00_37_10488.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/19/58/image_29012025_19_58_55_9379.jpg
/home/pi/Desktop/images/29012025/19/59/image_29012025_19_59_16_10363.jpg
/home/pi/Desktop/images/29012025/19/59/image_29012025_19_59_35_10378.jpg
/home/pi/Desktop/images/29012025/19/59/image_29012025_19_59_45_9363.jpg
/home/pi/Desktop/images/29012025/19/59/image_29012025_19_59_55_10381.jpg
/home/pi/Desktop/images/29012025/20/00/image_29012025_20_00_37_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":["1333325103","1333325004","1333325007","1333324993","1333325298","1333324998"],"photo_ids_order":["1333324993","1333324998","1333325004","1333325007","1333325103","1333325298"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ef44ca5b0d821c6200981684c2deeb73.jpg","text":"TemporaryFile(/tmp/multipartBody8128643943461362385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328255135,"filename":"image_29012025_19_59_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/1/31/8633d81c713cc695d2efc4457c0d50c4.jpg","text":"TemporaryFile(/tmp/multipartBody4213299422982782007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328255135,"filename":"image_29012025_19_59_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/1/31/6c4ba677a313e21d6254a6050dc1194f.jpg","text":"TemporaryFile(/tmp/multipartBody6315547842716046902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328255135,"filename":"image_29012025_19_59_45_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8982ba8afefee8d7924ab41e6df1656b.jpg","text":"TemporaryFile(/tmp/multipartBody7137485524557062210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328255135,"filename":"image_29012025_19_58_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/1/31/259e36c7010a0b676c1fe6b844e7adf1.jpg","text":"TemporaryFile(/tmp/multipartBody6668441233148790353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328255135,"filename":"image_29012025_20_00_37_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3a0e44970f6a4df5f98e8cb4cc8bfb19.jpg","text":"TemporaryFile(/tmp/multipartBody4461692555886573009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328255135,"filename":"image_29012025_19_59_16_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333325004","file1":"1333324998","file0":"1333324993","file4":"1333325103","file5":"1333325298","file3":"1333325007"},"map_files_photo_id_array":[{"photo_id":"1333325298","filename":"file5"},{"photo_id":"1333325004","filename":"file2"},{"photo_id":"1333325103","filename":"file4"},{"photo_id":"1333324998","filename":"file1"},{"photo_id":"1333324993","filename":"file0"},{"photo_id":"1333325007","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333325103":["hashtag1","hashtag2"]},{"1333325004":["hashtag1","hashtag2"]},{"1333325007":["hashtag1","hashtag2"]},{"1333324993":["hashtag1","hashtag2"]},{"1333325298":["hashtag1","hashtag2"]},{"1333324998":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333325103, 1333325004, 1333325007, 1333324993, 1333325298, 1333324998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.71529412269592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:57:32.921230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/00/image_29012025_20_00_46_9350.jpg', '/home/pi/Desktop/images/29012025/20/00/image_29012025_20_00_57_10375.jpg', '/home/pi/Desktop/images/29012025/20/01/image_29012025_20_01_16_10337.jpg', '/home/pi/Desktop/images/29012025/20/01/image_29012025_20_01_27_10395.jpg', '/home/pi/Desktop/images/29012025/20/01/image_29012025_20_01_36_9398.jpg', '/home/pi/Desktop/images/29012025/20/01/image_29012025_20_02_06_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/00/image_29012025_20_00_46_9350.jpg
/home/pi/Desktop/images/29012025/20/00/image_29012025_20_00_57_10375.jpg
/home/pi/Desktop/images/29012025/20/01/image_29012025_20_01_16_10337.jpg
/home/pi/Desktop/images/29012025/20/01/image_29012025_20_01_27_10395.jpg
/home/pi/Desktop/images/29012025/20/01/image_29012025_20_01_36_9398.jpg
/home/pi/Desktop/images/29012025/20/01/image_29012025_20_02_06_10354.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 www.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-01-31 13:59:03.312064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/00/image_29012025_20_00_46_9350.jpg', '/home/pi/Desktop/images/29012025/20/00/image_29012025_20_00_57_10375.jpg', '/home/pi/Desktop/images/29012025/20/01/image_29012025_20_01_16_10337.jpg', '/home/pi/Desktop/images/29012025/20/01/image_29012025_20_01_27_10395.jpg', '/home/pi/Desktop/images/29012025/20/01/image_29012025_20_01_36_9398.jpg', '/home/pi/Desktop/images/29012025/20/01/image_29012025_20_02_06_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/00/image_29012025_20_00_46_9350.jpg
/home/pi/Desktop/images/29012025/20/00/image_29012025_20_00_57_10375.jpg
/home/pi/Desktop/images/29012025/20/01/image_29012025_20_01_16_10337.jpg
/home/pi/Desktop/images/29012025/20/01/image_29012025_20_01_27_10395.jpg
/home/pi/Desktop/images/29012025/20/01/image_29012025_20_01_36_9398.jpg
/home/pi/Desktop/images/29012025/20/01/image_29012025_20_02_06_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":["1333325709","1333325713","1333325722","1333325715","1333325718","1333325703"],"photo_ids_order":["1333325703","1333325709","1333325713","1333325715","1333325718","1333325722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fd464687fab7fd96e60e6f5843c86a85.jpg","text":"TemporaryFile(/tmp/multipartBody250181278046603116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328404977,"filename":"image_29012025_20_00_57_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/365b74f28ad07aeb48d42ee8ee95de2f.jpg","text":"TemporaryFile(/tmp/multipartBody3793739929303047518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328404977,"filename":"image_29012025_20_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/1/31/b7a6573e761dd8a6f860d99068a5c6c5.jpg","text":"TemporaryFile(/tmp/multipartBody8809048864723945851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328404977,"filename":"image_29012025_20_02_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/1/31/96d5250e14c431923d2d772409ef943f.jpg","text":"TemporaryFile(/tmp/multipartBody8360929695691673184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328404977,"filename":"image_29012025_20_01_27_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/60dacf07507a7b5f1f0a0740a1b78d95.jpg","text":"TemporaryFile(/tmp/multipartBody6707963070173389274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328404977,"filename":"image_29012025_20_01_36_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/66b380b85d4d7d7b71140fea8471af25.jpg","text":"TemporaryFile(/tmp/multipartBody8297015219292507943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328404977,"filename":"image_29012025_20_00_46_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333325713","file1":"1333325709","file0":"1333325703","file4":"1333325718","file5":"1333325722","file3":"1333325715"},"map_files_photo_id_array":[{"photo_id":"1333325722","filename":"file5"},{"photo_id":"1333325713","filename":"file2"},{"photo_id":"1333325718","filename":"file4"},{"photo_id":"1333325709","filename":"file1"},{"photo_id":"1333325703","filename":"file0"},{"photo_id":"1333325715","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333325709":["hashtag1","hashtag2"]},{"1333325713":["hashtag1","hashtag2"]},{"1333325722":["hashtag1","hashtag2"]},{"1333325715":["hashtag1","hashtag2"]},{"1333325718":["hashtag1","hashtag2"]},{"1333325703":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333325709, 1333325713, 1333325722, 1333325715, 1333325718, 1333325703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.5491886138916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 13:59:52.444078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/02/image_29012025_20_02_17_10372.jpg', '/home/pi/Desktop/images/29012025/20/02/image_29012025_20_02_47_10354.jpg', '/home/pi/Desktop/images/29012025/20/02/image_29012025_20_02_56_9347.jpg', '/home/pi/Desktop/images/29012025/20/02/image_29012025_20_03_07_10352.jpg', '/home/pi/Desktop/images/29012025/20/03/image_29012025_20_03_17_10413.jpg', '/home/pi/Desktop/images/29012025/20/03/image_29012025_20_03_26_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/02/image_29012025_20_02_17_10372.jpg
/home/pi/Desktop/images/29012025/20/02/image_29012025_20_02_47_10354.jpg
/home/pi/Desktop/images/29012025/20/02/image_29012025_20_02_56_9347.jpg
/home/pi/Desktop/images/29012025/20/02/image_29012025_20_03_07_10352.jpg
/home/pi/Desktop/images/29012025/20/03/image_29012025_20_03_17_10413.jpg
/home/pi/Desktop/images/29012025/20/03/image_29012025_20_03_26_9347.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":["1333325741","1333325738","1333325749","1333325752","1333325745","1333325739"],"photo_ids_order":["1333325738","1333325739","1333325741","1333325745","1333325749","1333325752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d85330043640bc0db45202c0b7976e6a.jpg","text":"TemporaryFile(/tmp/multipartBody3102457072035311122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328454889,"filename":"image_29012025_20_02_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/1/31/b1f6bb5c09af01ff16756d8f302d92fd.jpg","text":"TemporaryFile(/tmp/multipartBody3925990652652679511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328454889,"filename":"image_29012025_20_02_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/1/31/42cdabc9e1e3f69d8725e53687139a55.jpg","text":"TemporaryFile(/tmp/multipartBody3364994178294872379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328454889,"filename":"image_29012025_20_03_17_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/add964a88de23547c6c6c90f5afeed44.jpg","text":"TemporaryFile(/tmp/multipartBody5290109980246480994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328454889,"filename":"image_29012025_20_03_26_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b622149cd6d533647bc3b8749ced0ef4.jpg","text":"TemporaryFile(/tmp/multipartBody3170633621593474811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328454889,"filename":"image_29012025_20_03_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/1/31/c72e51d05a8be7a35e7248fb06c7663d.jpg","text":"TemporaryFile(/tmp/multipartBody6971058835031478050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328454889,"filename":"image_29012025_20_02_47_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333325741","file1":"1333325739","file0":"1333325738","file4":"1333325749","file5":"1333325752","file3":"1333325745"},"map_files_photo_id_array":[{"photo_id":"1333325752","filename":"file5"},{"photo_id":"1333325741","filename":"file2"},{"photo_id":"1333325749","filename":"file4"},{"photo_id":"1333325739","filename":"file1"},{"photo_id":"1333325738","filename":"file0"},{"photo_id":"1333325745","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333325741":["hashtag1","hashtag2"]},{"1333325738":["hashtag1","hashtag2"]},{"1333325749":["hashtag1","hashtag2"]},{"1333325752":["hashtag1","hashtag2"]},{"1333325745":["hashtag1","hashtag2"]},{"1333325739":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333325741, 1333325738, 1333325749, 1333325752, 1333325745, 1333325739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.1258065700531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 14:00:42.655458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/03/image_29012025_20_03_37_10449.jpg', '/home/pi/Desktop/images/29012025/20/03/image_29012025_20_03_46_9388.jpg', '/home/pi/Desktop/images/29012025/20/03/image_29012025_20_03_57_10354.jpg', '/home/pi/Desktop/images/29012025/20/03/image_29012025_20_04_07_10339.jpg', '/home/pi/Desktop/images/29012025/20/04/image_29012025_20_04_16_9395.jpg', '/home/pi/Desktop/images/29012025/20/04/image_29012025_20_04_27_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/03/image_29012025_20_03_37_10449.jpg
/home/pi/Desktop/images/29012025/20/03/image_29012025_20_03_46_9388.jpg
/home/pi/Desktop/images/29012025/20/03/image_29012025_20_03_57_10354.jpg
/home/pi/Desktop/images/29012025/20/03/image_29012025_20_04_07_10339.jpg
/home/pi/Desktop/images/29012025/20/04/image_29012025_20_04_16_9395.jpg
/home/pi/Desktop/images/29012025/20/04/image_29012025_20_04_27_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":["1333325933","1333325895","1333325946","1333325940","1333325943","1333325891"],"photo_ids_order":["1333325891","1333325895","1333325933","1333325940","1333325943","1333325946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1a9fabc3b1ad8195c5b81e3c82058c34.jpg","text":"TemporaryFile(/tmp/multipartBody3013793996624035191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328504257,"filename":"image_29012025_20_03_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/1/31/23ed34bfa284f27edcc4877ad49c50f9.jpg","text":"TemporaryFile(/tmp/multipartBody6656341882095412622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328504257,"filename":"image_29012025_20_03_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/1/31/03fdfd2fec3db5e388d2b68c6bd42a70.jpg","text":"TemporaryFile(/tmp/multipartBody1531118389601574566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328504257,"filename":"image_29012025_20_04_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/1/31/8b4170fe9f141ba43eaad71cb5d22001.jpg","text":"TemporaryFile(/tmp/multipartBody9005404184430216421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328504257,"filename":"image_29012025_20_04_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/1/31/c627a03319d71b27513afdd59b04037c.jpg","text":"TemporaryFile(/tmp/multipartBody5699426648777075444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328504257,"filename":"image_29012025_20_04_16_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/152668efaa5bfc21b0871e861a1b4f5a.jpg","text":"TemporaryFile(/tmp/multipartBody925180834418814283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328504257,"filename":"image_29012025_20_03_37_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333325933","file1":"1333325895","file0":"1333325891","file4":"1333325943","file5":"1333325946","file3":"1333325940"},"map_files_photo_id_array":[{"photo_id":"1333325946","filename":"file5"},{"photo_id":"1333325933","filename":"file2"},{"photo_id":"1333325943","filename":"file4"},{"photo_id":"1333325895","filename":"file1"},{"photo_id":"1333325891","filename":"file0"},{"photo_id":"1333325940","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333325933":["hashtag1","hashtag2"]},{"1333325895":["hashtag1","hashtag2"]},{"1333325946":["hashtag1","hashtag2"]},{"1333325940":["hashtag1","hashtag2"]},{"1333325943":["hashtag1","hashtag2"]},{"1333325891":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333325933, 1333325895, 1333325946, 1333325940, 1333325943, 1333325891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.3783164024353 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:01:32.957896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/04/image_29012025_20_04_36_9491.jpg', '/home/pi/Desktop/images/29012025/20/04/image_29012025_20_04_47_10380.jpg', '/home/pi/Desktop/images/29012025/20/04/image_29012025_20_04_57_10388.jpg', '/home/pi/Desktop/images/29012025/20/04/image_29012025_20_05_06_9391.jpg', '/home/pi/Desktop/images/29012025/20/05/image_29012025_20_05_17_10348.jpg', '/home/pi/Desktop/images/29012025/20/05/image_29012025_20_05_26_9425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/04/image_29012025_20_04_36_9491.jpg
/home/pi/Desktop/images/29012025/20/04/image_29012025_20_04_47_10380.jpg
/home/pi/Desktop/images/29012025/20/04/image_29012025_20_04_57_10388.jpg
/home/pi/Desktop/images/29012025/20/04/image_29012025_20_05_06_9391.jpg
/home/pi/Desktop/images/29012025/20/05/image_29012025_20_05_17_10348.jpg
/home/pi/Desktop/images/29012025/20/05/image_29012025_20_05_26_9425.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.0175857543945312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 14:01:42.886480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/04/image_29012025_20_04_36_9491.jpg', '/home/pi/Desktop/images/29012025/20/04/image_29012025_20_04_47_10380.jpg', '/home/pi/Desktop/images/29012025/20/04/image_29012025_20_04_57_10388.jpg', '/home/pi/Desktop/images/29012025/20/04/image_29012025_20_05_06_9391.jpg', '/home/pi/Desktop/images/29012025/20/05/image_29012025_20_05_17_10348.jpg', '/home/pi/Desktop/images/29012025/20/05/image_29012025_20_05_26_9425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/04/image_29012025_20_04_36_9491.jpg
/home/pi/Desktop/images/29012025/20/04/image_29012025_20_04_47_10380.jpg
/home/pi/Desktop/images/29012025/20/04/image_29012025_20_04_57_10388.jpg
/home/pi/Desktop/images/29012025/20/04/image_29012025_20_05_06_9391.jpg
/home/pi/Desktop/images/29012025/20/05/image_29012025_20_05_17_10348.jpg
/home/pi/Desktop/images/29012025/20/05/image_29012025_20_05_26_9425.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":["1333326140","1333325969","1333326151","1333326055","1333325965","1333326129"],"photo_ids_order":["1333325965","1333325969","1333326055","1333326129","1333326140","1333326151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8698531a02c5748e16679dd0bb610b9a.jpg","text":"TemporaryFile(/tmp/multipartBody5929484972100429423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328564459,"filename":"image_29012025_20_05_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/1/31/322d1487f8efdf2b9fbe477f0bd1f92b.jpg","text":"TemporaryFile(/tmp/multipartBody2803911032092114891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328564459,"filename":"image_29012025_20_04_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/1/31/0077e95ad86d96afcd6c363cf90af339.jpg","text":"TemporaryFile(/tmp/multipartBody8267933605393547533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328564459,"filename":"image_29012025_20_05_26_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1a76fc06906a0b89d0e6c28bb5103c89.jpg","text":"TemporaryFile(/tmp/multipartBody7690586731131922646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328564459,"filename":"image_29012025_20_04_57_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/21e32523578589e1a72985ca0e19d481.jpg","text":"TemporaryFile(/tmp/multipartBody3784074006272821964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328564459,"filename":"image_29012025_20_04_36_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a4e64b7bd03bfd87a859696b5a34286c.jpg","text":"TemporaryFile(/tmp/multipartBody6785887163585351435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328564459,"filename":"image_29012025_20_05_06_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333326055","file1":"1333325969","file0":"1333325965","file4":"1333326140","file5":"1333326151","file3":"1333326129"},"map_files_photo_id_array":[{"photo_id":"1333326151","filename":"file5"},{"photo_id":"1333326055","filename":"file2"},{"photo_id":"1333326140","filename":"file4"},{"photo_id":"1333325969","filename":"file1"},{"photo_id":"1333325965","filename":"file0"},{"photo_id":"1333326129","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333326140":["hashtag1","hashtag2"]},{"1333325969":["hashtag1","hashtag2"]},{"1333326151":["hashtag1","hashtag2"]},{"1333326055":["hashtag1","hashtag2"]},{"1333325965":["hashtag1","hashtag2"]},{"1333326129":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333326140, 1333325969, 1333326151, 1333326055, 1333325965, 1333326129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.94079399108887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:02:33.170735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/05/image_29012025_20_05_36_10379.jpg', '/home/pi/Desktop/images/29012025/20/05/image_29012025_20_05_47_10369.jpg', '/home/pi/Desktop/images/29012025/20/05/image_29012025_20_05_56_9445.jpg', '/home/pi/Desktop/images/29012025/20/05/image_29012025_20_06_07_10344.jpg', '/home/pi/Desktop/images/29012025/20/06/image_29012025_20_06_17_10414.jpg', '/home/pi/Desktop/images/29012025/20/06/image_29012025_20_06_26_9388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/05/image_29012025_20_05_36_10379.jpg
/home/pi/Desktop/images/29012025/20/05/image_29012025_20_05_47_10369.jpg
/home/pi/Desktop/images/29012025/20/05/image_29012025_20_05_56_9445.jpg
/home/pi/Desktop/images/29012025/20/05/image_29012025_20_06_07_10344.jpg
/home/pi/Desktop/images/29012025/20/06/image_29012025_20_06_17_10414.jpg
/home/pi/Desktop/images/29012025/20/06/image_29012025_20_06_26_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":["1333326602","1333326562","1333326664","1333326597","1333326587","1333326705"],"photo_ids_order":["1333326562","1333326587","1333326597","1333326602","1333326664","1333326705"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/81ab2ca19ac691b7be5ee6b766c4b4bb.jpg","text":"TemporaryFile(/tmp/multipartBody5167257911917176130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328615592,"filename":"image_29012025_20_06_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/1/31/1b5e767ffe0559c704a97627ab868eef.jpg","text":"TemporaryFile(/tmp/multipartBody6869177264717448899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328615592,"filename":"image_29012025_20_05_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/1/31/7b4ddbc128788c762e1c8d2e56a3f210.jpg","text":"TemporaryFile(/tmp/multipartBody4677685983009645185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328615592,"filename":"image_29012025_20_06_17_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4c0afc5439c183b6c189af486f4652b5.jpg","text":"TemporaryFile(/tmp/multipartBody2776367163265175423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328615592,"filename":"image_29012025_20_05_56_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ea620e8d6ee9b4c2d0eaea7561ba629f.jpg","text":"TemporaryFile(/tmp/multipartBody8468270688822024627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328615592,"filename":"image_29012025_20_05_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/1/31/fea024cc49e0b8ac0db02a99603bc4db.jpg","text":"TemporaryFile(/tmp/multipartBody3466459070265679011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328615592,"filename":"image_29012025_20_06_26_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333326597","file1":"1333326587","file0":"1333326562","file4":"1333326664","file5":"1333326705","file3":"1333326602"},"map_files_photo_id_array":[{"photo_id":"1333326705","filename":"file5"},{"photo_id":"1333326597","filename":"file2"},{"photo_id":"1333326664","filename":"file4"},{"photo_id":"1333326587","filename":"file1"},{"photo_id":"1333326562","filename":"file0"},{"photo_id":"1333326602","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333326602":["hashtag1","hashtag2"]},{"1333326562":["hashtag1","hashtag2"]},{"1333326664":["hashtag1","hashtag2"]},{"1333326597":["hashtag1","hashtag2"]},{"1333326587":["hashtag1","hashtag2"]},{"1333326705":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333326602, 1333326562, 1333326664, 1333326597, 1333326587, 1333326705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37035775184631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:03:32.252501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/06/image_29012025_20_06_37_10342.jpg', '/home/pi/Desktop/images/29012025/20/06/image_29012025_20_06_46_9443.jpg', '/home/pi/Desktop/images/29012025/20/06/image_29012025_20_06_57_10354.jpg', '/home/pi/Desktop/images/29012025/20/06/image_29012025_20_07_07_10343.jpg', '/home/pi/Desktop/images/29012025/20/07/image_29012025_20_07_16_9357.jpg', '/home/pi/Desktop/images/29012025/20/07/image_29012025_20_07_27_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/06/image_29012025_20_06_37_10342.jpg
/home/pi/Desktop/images/29012025/20/06/image_29012025_20_06_46_9443.jpg
/home/pi/Desktop/images/29012025/20/06/image_29012025_20_06_57_10354.jpg
/home/pi/Desktop/images/29012025/20/06/image_29012025_20_07_07_10343.jpg
/home/pi/Desktop/images/29012025/20/07/image_29012025_20_07_16_9357.jpg
/home/pi/Desktop/images/29012025/20/07/image_29012025_20_07_27_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":["1333327316","1333327663","1333327512","1333327181","1333327787","1333327055"],"photo_ids_order":["1333327055","1333327181","1333327316","1333327512","1333327663","1333327787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/986eba193eef111b7eadd27bae28cf36.jpg","text":"TemporaryFile(/tmp/multipartBody4012276094109062725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328674671,"filename":"image_29012025_20_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/1/31/99f715643ffc20f5664b14b45508f914.jpg","text":"TemporaryFile(/tmp/multipartBody1170476476737123771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328674671,"filename":"image_29012025_20_07_16_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9124285515ee365d3663d98d8246b591.jpg","text":"TemporaryFile(/tmp/multipartBody3057219880836126269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328674671,"filename":"image_29012025_20_07_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/1/31/cb5cf7a58f9094f63c30f2a8c83f48a1.jpg","text":"TemporaryFile(/tmp/multipartBody1128231316973391877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328674671,"filename":"image_29012025_20_06_46_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bff0c3c05f431c5540a97329b6916b6d.jpg","text":"TemporaryFile(/tmp/multipartBody4757389756385536031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328674671,"filename":"image_29012025_20_07_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/1/31/1f8e6f89d14f0d46ea9903f6dbbc5e74.jpg","text":"TemporaryFile(/tmp/multipartBody8495488595372394536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328674671,"filename":"image_29012025_20_06_37_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333327316","file1":"1333327181","file0":"1333327055","file4":"1333327663","file5":"1333327787","file3":"1333327512"},"map_files_photo_id_array":[{"photo_id":"1333327787","filename":"file5"},{"photo_id":"1333327316","filename":"file2"},{"photo_id":"1333327663","filename":"file4"},{"photo_id":"1333327181","filename":"file1"},{"photo_id":"1333327055","filename":"file0"},{"photo_id":"1333327512","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333327316":["hashtag1","hashtag2"]},{"1333327663":["hashtag1","hashtag2"]},{"1333327512":["hashtag1","hashtag2"]},{"1333327181":["hashtag1","hashtag2"]},{"1333327787":["hashtag1","hashtag2"]},{"1333327055":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333327316, 1333327663, 1333327512, 1333327181, 1333327787, 1333327055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.2824068069458 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:04:32.865105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/07/image_29012025_20_07_37_10438.jpg', '/home/pi/Desktop/images/29012025/20/07/image_29012025_20_07_46_9439.jpg', '/home/pi/Desktop/images/29012025/20/07/image_29012025_20_07_57_10356.jpg', '/home/pi/Desktop/images/29012025/20/07/image_29012025_20_08_06_9350.jpg', '/home/pi/Desktop/images/29012025/20/08/image_29012025_20_08_17_10336.jpg', '/home/pi/Desktop/images/29012025/20/08/image_29012025_20_08_47_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/07/image_29012025_20_07_37_10438.jpg
/home/pi/Desktop/images/29012025/20/07/image_29012025_20_07_46_9439.jpg
/home/pi/Desktop/images/29012025/20/07/image_29012025_20_07_57_10356.jpg
/home/pi/Desktop/images/29012025/20/07/image_29012025_20_08_06_9350.jpg
/home/pi/Desktop/images/29012025/20/08/image_29012025_20_08_17_10336.jpg
/home/pi/Desktop/images/29012025/20/08/image_29012025_20_08_47_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":["1333328314","1333328410","1333328415","1333328447","1333328420","1333328386"],"photo_ids_order":["1333328314","1333328386","1333328410","1333328415","1333328420","1333328447"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0cd7135f378839ae9c2be471d5bd1162.jpg","text":"TemporaryFile(/tmp/multipartBody7403662631704328736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328735281,"filename":"image_29012025_20_07_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/1/31/55aaba1aa6f6dff6471f9fd3846ffc70.jpg","text":"TemporaryFile(/tmp/multipartBody1225498243742458241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328735281,"filename":"image_29012025_20_07_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/1/31/ac4568f278dca525e7dc94a3fcf3c105.jpg","text":"TemporaryFile(/tmp/multipartBody3909659693764103617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328735281,"filename":"image_29012025_20_08_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/1/31/c2c8108d1f5febc37c876e7aacb8e522.jpg","text":"TemporaryFile(/tmp/multipartBody7286257728138233469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328735281,"filename":"image_29012025_20_08_47_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ab0c08a1c0867c6e9075e4bb1e9b1285.jpg","text":"TemporaryFile(/tmp/multipartBody6763497612047199456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328735281,"filename":"image_29012025_20_08_17_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/50dc6a4fc9f2885533a0c36dd3b874da.jpg","text":"TemporaryFile(/tmp/multipartBody1564659977858991555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328735281,"filename":"image_29012025_20_07_46_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333328410","file1":"1333328386","file0":"1333328314","file4":"1333328420","file5":"1333328447","file3":"1333328415"},"map_files_photo_id_array":[{"photo_id":"1333328447","filename":"file5"},{"photo_id":"1333328410","filename":"file2"},{"photo_id":"1333328420","filename":"file4"},{"photo_id":"1333328386","filename":"file1"},{"photo_id":"1333328314","filename":"file0"},{"photo_id":"1333328415","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333328314":["hashtag1","hashtag2"]},{"1333328410":["hashtag1","hashtag2"]},{"1333328415":["hashtag1","hashtag2"]},{"1333328447":["hashtag1","hashtag2"]},{"1333328420":["hashtag1","hashtag2"]},{"1333328386":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333328314, 1333328410, 1333328415, 1333328447, 1333328420, 1333328386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.186439990997314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:05:32.834476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/08/image_29012025_20_08_56_9361.jpg', '/home/pi/Desktop/images/29012025/20/08/image_29012025_20_09_07_10360.jpg', '/home/pi/Desktop/images/29012025/20/09/image_29012025_20_09_37_10371.jpg', '/home/pi/Desktop/images/29012025/20/09/image_29012025_20_09_46_9467.jpg', '/home/pi/Desktop/images/29012025/20/09/image_29012025_20_09_56_10353.jpg', '/home/pi/Desktop/images/29012025/20/09/image_29012025_20_10_07_10399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/08/image_29012025_20_08_56_9361.jpg
/home/pi/Desktop/images/29012025/20/08/image_29012025_20_09_07_10360.jpg
/home/pi/Desktop/images/29012025/20/09/image_29012025_20_09_37_10371.jpg
/home/pi/Desktop/images/29012025/20/09/image_29012025_20_09_46_9467.jpg
/home/pi/Desktop/images/29012025/20/09/image_29012025_20_09_56_10353.jpg
/home/pi/Desktop/images/29012025/20/09/image_29012025_20_10_07_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":["1333328665","1333328604","1333328597","1333328660","1333328708","1333328624"],"photo_ids_order":["1333328597","1333328604","1333328624","1333328660","1333328665","1333328708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/28e467fa53c1995e0e375bf32712f192.jpg","text":"TemporaryFile(/tmp/multipartBody6153578773760817634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328795255,"filename":"image_29012025_20_09_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/1/31/2048635d3aa3ae36e30a1aa8f747fb01.jpg","text":"TemporaryFile(/tmp/multipartBody396204371259355153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328795255,"filename":"image_29012025_20_09_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/1/31/3d489671ec4f25c3c861319f995372d4.jpg","text":"TemporaryFile(/tmp/multipartBody3608209782537865303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328795255,"filename":"image_29012025_20_08_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/1/31/2c16e7b4b1172aa839c5092777e9caa3.jpg","text":"TemporaryFile(/tmp/multipartBody3282345217845941169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328795255,"filename":"image_29012025_20_09_46_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d3eb0a7b620d7ab6b5e32fac44958ec3.jpg","text":"TemporaryFile(/tmp/multipartBody2886454393319422667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328795255,"filename":"image_29012025_20_10_07_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/819c1dfb8fc6b9e6fcaa1df606b17c01.jpg","text":"TemporaryFile(/tmp/multipartBody8337795161134471321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328795255,"filename":"image_29012025_20_09_37_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333328624","file1":"1333328604","file0":"1333328597","file4":"1333328665","file5":"1333328708","file3":"1333328660"},"map_files_photo_id_array":[{"photo_id":"1333328708","filename":"file5"},{"photo_id":"1333328624","filename":"file2"},{"photo_id":"1333328665","filename":"file4"},{"photo_id":"1333328604","filename":"file1"},{"photo_id":"1333328597","filename":"file0"},{"photo_id":"1333328660","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333328665":["hashtag1","hashtag2"]},{"1333328604":["hashtag1","hashtag2"]},{"1333328597":["hashtag1","hashtag2"]},{"1333328660":["hashtag1","hashtag2"]},{"1333328708":["hashtag1","hashtag2"]},{"1333328624":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333328665, 1333328604, 1333328597, 1333328660, 1333328708, 1333328624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42498707771301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:06:33.054472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/10/image_29012025_20_10_16_9341.jpg', '/home/pi/Desktop/images/29012025/20/10/image_29012025_20_10_27_10361.jpg', '/home/pi/Desktop/images/29012025/20/10/image_29012025_20_10_37_10446.jpg', '/home/pi/Desktop/images/29012025/20/10/image_29012025_20_10_46_9435.jpg', '/home/pi/Desktop/images/29012025/20/10/image_29012025_20_10_57_10387.jpg', '/home/pi/Desktop/images/29012025/20/10/image_29012025_20_11_06_9418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/10/image_29012025_20_10_16_9341.jpg
/home/pi/Desktop/images/29012025/20/10/image_29012025_20_10_27_10361.jpg
/home/pi/Desktop/images/29012025/20/10/image_29012025_20_10_37_10446.jpg
/home/pi/Desktop/images/29012025/20/10/image_29012025_20_10_46_9435.jpg
/home/pi/Desktop/images/29012025/20/10/image_29012025_20_10_57_10387.jpg
/home/pi/Desktop/images/29012025/20/10/image_29012025_20_11_06_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":["1333329165","1333329048","1333328952","1333328794","1333329214","1333328782"],"photo_ids_order":["1333328782","1333328794","1333328952","1333329048","1333329165","1333329214"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3747f71ba3c846ae0d95bbb60ccf5677.jpg","text":"TemporaryFile(/tmp/multipartBody5089952010756154092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328855478,"filename":"image_29012025_20_10_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/1/31/27e9783221d1e500055cb6720f9dc9bb.jpg","text":"TemporaryFile(/tmp/multipartBody4177262543361744620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328855478,"filename":"image_29012025_20_10_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/1/31/74d394915a4f04c1710d0a5c6dbd8686.jpg","text":"TemporaryFile(/tmp/multipartBody7454664750633295553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328855478,"filename":"image_29012025_20_10_37_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c1a2fc3c25140abedfe39e8eb63ecfd5.jpg","text":"TemporaryFile(/tmp/multipartBody7678931186537880558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328855478,"filename":"image_29012025_20_10_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/1/31/c17d1634725f2800318e3280ffbca7a5.jpg","text":"TemporaryFile(/tmp/multipartBody6551505328201267590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328855478,"filename":"image_29012025_20_11_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/1/31/95c01e8dc5f667092d134dd1f070bc31.jpg","text":"TemporaryFile(/tmp/multipartBody1524292509406918838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328855478,"filename":"image_29012025_20_10_16_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333328952","file1":"1333328794","file0":"1333328782","file4":"1333329165","file5":"1333329214","file3":"1333329048"},"map_files_photo_id_array":[{"photo_id":"1333329214","filename":"file5"},{"photo_id":"1333328952","filename":"file2"},{"photo_id":"1333329165","filename":"file4"},{"photo_id":"1333328794","filename":"file1"},{"photo_id":"1333328782","filename":"file0"},{"photo_id":"1333329048","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333329165":["hashtag1","hashtag2"]},{"1333329048":["hashtag1","hashtag2"]},{"1333328952":["hashtag1","hashtag2"]},{"1333328794":["hashtag1","hashtag2"]},{"1333329214":["hashtag1","hashtag2"]},{"1333328782":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333329165, 1333329048, 1333328952, 1333328794, 1333329214, 1333328782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.86065125465393 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:07:32.290379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/11/image_29012025_20_11_17_10360.jpg', '/home/pi/Desktop/images/29012025/20/11/image_29012025_20_11_26_9438.jpg', '/home/pi/Desktop/images/29012025/20/11/image_29012025_20_11_36_10393.jpg', '/home/pi/Desktop/images/29012025/20/11/image_29012025_20_11_47_10357.jpg', '/home/pi/Desktop/images/29012025/20/11/image_29012025_20_11_56_9440.jpg', '/home/pi/Desktop/images/29012025/20/11/image_29012025_20_12_07_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/11/image_29012025_20_11_17_10360.jpg
/home/pi/Desktop/images/29012025/20/11/image_29012025_20_11_26_9438.jpg
/home/pi/Desktop/images/29012025/20/11/image_29012025_20_11_36_10393.jpg
/home/pi/Desktop/images/29012025/20/11/image_29012025_20_11_47_10357.jpg
/home/pi/Desktop/images/29012025/20/11/image_29012025_20_11_56_9440.jpg
/home/pi/Desktop/images/29012025/20/11/image_29012025_20_12_07_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":["1333329279","1333329296","1333329290","1333329284","1333329308","1333329302"],"photo_ids_order":["1333329279","1333329284","1333329290","1333329296","1333329302","1333329308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6e49374df5be959d0090d7f85e258b59.jpg","text":"TemporaryFile(/tmp/multipartBody8450484238711673440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328914719,"filename":"image_29012025_20_11_17_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5146bb2212be941cbcf099bc87a52c8f.jpg","text":"TemporaryFile(/tmp/multipartBody3120855711980975214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328914719,"filename":"image_29012025_20_11_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/1/31/702b42bc77cfb4cebc4c256be02043d1.jpg","text":"TemporaryFile(/tmp/multipartBody6716517504904355990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328914719,"filename":"image_29012025_20_11_36_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/445afb6bfe2b37d9470ce0f8adfe2945.jpg","text":"TemporaryFile(/tmp/multipartBody5165394165696175497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328914719,"filename":"image_29012025_20_11_26_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bf4caedea8d7afac39873d69ffb71a07.jpg","text":"TemporaryFile(/tmp/multipartBody8237416705837119768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328914719,"filename":"image_29012025_20_12_07_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6dff394a75ef8dc96ae86a1acf02efce.jpg","text":"TemporaryFile(/tmp/multipartBody2087055880910886425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328914719,"filename":"image_29012025_20_11_56_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333329290","file1":"1333329284","file0":"1333329279","file4":"1333329302","file5":"1333329308","file3":"1333329296"},"map_files_photo_id_array":[{"photo_id":"1333329308","filename":"file5"},{"photo_id":"1333329290","filename":"file2"},{"photo_id":"1333329302","filename":"file4"},{"photo_id":"1333329284","filename":"file1"},{"photo_id":"1333329279","filename":"file0"},{"photo_id":"1333329296","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333329279":["hashtag1","hashtag2"]},{"1333329296":["hashtag1","hashtag2"]},{"1333329290":["hashtag1","hashtag2"]},{"1333329284":["hashtag1","hashtag2"]},{"1333329308":["hashtag1","hashtag2"]},{"1333329302":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333329279, 1333329296, 1333329290, 1333329284, 1333329308, 1333329302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.6509006023407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:08:32.518018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/12/image_29012025_20_12_17_10424.jpg', '/home/pi/Desktop/images/29012025/20/12/image_29012025_20_12_26_9348.jpg', '/home/pi/Desktop/images/29012025/20/12/image_29012025_20_12_37_10357.jpg', '/home/pi/Desktop/images/29012025/20/12/image_29012025_20_12_46_9450.jpg', '/home/pi/Desktop/images/29012025/20/12/image_29012025_20_12_57_10367.jpg', '/home/pi/Desktop/images/29012025/20/12/image_29012025_20_13_07_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/12/image_29012025_20_12_17_10424.jpg
/home/pi/Desktop/images/29012025/20/12/image_29012025_20_12_26_9348.jpg
/home/pi/Desktop/images/29012025/20/12/image_29012025_20_12_37_10357.jpg
/home/pi/Desktop/images/29012025/20/12/image_29012025_20_12_46_9450.jpg
/home/pi/Desktop/images/29012025/20/12/image_29012025_20_12_57_10367.jpg
/home/pi/Desktop/images/29012025/20/12/image_29012025_20_13_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":["1333329502","1333329447","1333329462","1333329519","1333329507","1333329440"],"photo_ids_order":["1333329440","1333329447","1333329462","1333329502","1333329507","1333329519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2781aeb06b6718ce567dce18b763052f.jpg","text":"TemporaryFile(/tmp/multipartBody5937567348631037644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328974960,"filename":"image_29012025_20_12_46_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/61a4b02692f2bed0a8cf1cdd7fc9854f.jpg","text":"TemporaryFile(/tmp/multipartBody1594142974326767559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328974960,"filename":"image_29012025_20_12_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/1/31/9d8561e0662edda9ba5e76645d61eade.jpg","text":"TemporaryFile(/tmp/multipartBody7822304186131089315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328974960,"filename":"image_29012025_20_12_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/1/31/a94465276a3542f6bfe116e354ec80e2.jpg","text":"TemporaryFile(/tmp/multipartBody6171732604475471393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328974960,"filename":"image_29012025_20_13_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/1/31/f826d3c5286f0418fda72f6af6a25e6b.jpg","text":"TemporaryFile(/tmp/multipartBody8076408894756039402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328974960,"filename":"image_29012025_20_12_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/1/31/aa5b7581b29d1e83f62304d447b12995.jpg","text":"TemporaryFile(/tmp/multipartBody3484156500042589365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738328974960,"filename":"image_29012025_20_12_17_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333329462","file1":"1333329447","file0":"1333329440","file4":"1333329507","file5":"1333329519","file3":"1333329502"},"map_files_photo_id_array":[{"photo_id":"1333329519","filename":"file5"},{"photo_id":"1333329462","filename":"file2"},{"photo_id":"1333329507","filename":"file4"},{"photo_id":"1333329447","filename":"file1"},{"photo_id":"1333329440","filename":"file0"},{"photo_id":"1333329502","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333329502":["hashtag1","hashtag2"]},{"1333329447":["hashtag1","hashtag2"]},{"1333329462":["hashtag1","hashtag2"]},{"1333329519":["hashtag1","hashtag2"]},{"1333329507":["hashtag1","hashtag2"]},{"1333329440":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333329502, 1333329447, 1333329462, 1333329519, 1333329507, 1333329440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.330077171325684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:09:32.748124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/13/image_29012025_20_13_16_9396.jpg', '/home/pi/Desktop/images/29012025/20/13/image_29012025_20_13_27_10375.jpg', '/home/pi/Desktop/images/29012025/20/13/image_29012025_20_13_36_9411.jpg', '/home/pi/Desktop/images/29012025/20/13/image_29012025_20_13_46_10358.jpg', '/home/pi/Desktop/images/29012025/20/13/image_29012025_20_13_57_10356.jpg', '/home/pi/Desktop/images/29012025/20/13/image_29012025_20_14_06_9330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/13/image_29012025_20_13_16_9396.jpg
/home/pi/Desktop/images/29012025/20/13/image_29012025_20_13_27_10375.jpg
/home/pi/Desktop/images/29012025/20/13/image_29012025_20_13_36_9411.jpg
/home/pi/Desktop/images/29012025/20/13/image_29012025_20_13_46_10358.jpg
/home/pi/Desktop/images/29012025/20/13/image_29012025_20_13_57_10356.jpg
/home/pi/Desktop/images/29012025/20/13/image_29012025_20_14_06_9330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333329654","1333329677","1333329647","1333329673","1333329667","1333329661"],"photo_ids_order":["1333329647","1333329654","1333329661","1333329667","1333329673","1333329677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8ce689f97f75e263b2876e737dcc8d57.jpg","text":"TemporaryFile(/tmp/multipartBody8993213431306198605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329035177,"filename":"image_29012025_20_13_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/1/31/99331e678dad5b309fef5fd7a4e0f8ec.jpg","text":"TemporaryFile(/tmp/multipartBody893209872638876530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329035177,"filename":"image_29012025_20_14_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/1/31/5ed643f629b775e6691d061b1f93ff12.jpg","text":"TemporaryFile(/tmp/multipartBody6941170671599811801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329035177,"filename":"image_29012025_20_13_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/1/31/082fcb8d9111d615d6926f353cac80a3.jpg","text":"TemporaryFile(/tmp/multipartBody9042954939993043262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329035177,"filename":"image_29012025_20_13_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/1/31/4482f49ed050676860a2e0f0771c99b7.jpg","text":"TemporaryFile(/tmp/multipartBody1762991777583973477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329035177,"filename":"image_29012025_20_13_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/1/31/e3d10e399ebe911fa480b8bbc5b67996.jpg","text":"TemporaryFile(/tmp/multipartBody4863529545489203640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329035177,"filename":"image_29012025_20_13_36_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333329661","file1":"1333329654","file0":"1333329647","file4":"1333329673","file5":"1333329677","file3":"1333329667"},"map_files_photo_id_array":[{"photo_id":"1333329677","filename":"file5"},{"photo_id":"1333329661","filename":"file2"},{"photo_id":"1333329673","filename":"file4"},{"photo_id":"1333329654","filename":"file1"},{"photo_id":"1333329647","filename":"file0"},{"photo_id":"1333329667","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333329654":["hashtag1","hashtag2"]},{"1333329677":["hashtag1","hashtag2"]},{"1333329647":["hashtag1","hashtag2"]},{"1333329673":["hashtag1","hashtag2"]},{"1333329667":["hashtag1","hashtag2"]},{"1333329661":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333329654, 1333329677, 1333329647, 1333329673, 1333329667, 1333329661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.582268476486206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:10:32.994269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/14/image_29012025_20_14_16_10341.jpg', '/home/pi/Desktop/images/29012025/20/14/image_29012025_20_14_27_10364.jpg', '/home/pi/Desktop/images/29012025/20/14/image_29012025_20_14_36_9506.jpg', '/home/pi/Desktop/images/29012025/20/14/image_29012025_20_14_47_10367.jpg', '/home/pi/Desktop/images/29012025/20/14/image_29012025_20_14_56_9455.jpg', '/home/pi/Desktop/images/29012025/20/14/image_29012025_20_15_06_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/14/image_29012025_20_14_16_10341.jpg
/home/pi/Desktop/images/29012025/20/14/image_29012025_20_14_27_10364.jpg
/home/pi/Desktop/images/29012025/20/14/image_29012025_20_14_36_9506.jpg
/home/pi/Desktop/images/29012025/20/14/image_29012025_20_14_47_10367.jpg
/home/pi/Desktop/images/29012025/20/14/image_29012025_20_14_56_9455.jpg
/home/pi/Desktop/images/29012025/20/14/image_29012025_20_15_06_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":["1333329726","1333329708","1333329722","1333329701","1333329715","1333329730"],"photo_ids_order":["1333329701","1333329708","1333329715","1333329722","1333329726","1333329730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cc825a4a77dcd7b007cdefcdc48f62a5.jpg","text":"TemporaryFile(/tmp/multipartBody1113849387791722942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329095422,"filename":"image_29012025_20_14_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/1/31/ae0cea7234ec9f587ca20f1365b22cd9.jpg","text":"TemporaryFile(/tmp/multipartBody7645728674497991516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329095422,"filename":"image_29012025_20_14_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/1/31/48a1d1629e79e6998e84fbc2aa350301.jpg","text":"TemporaryFile(/tmp/multipartBody6544841959150231959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329095422,"filename":"image_29012025_20_14_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/1/31/72eff2adab7e73e5aff37f5a945aa0b2.jpg","text":"TemporaryFile(/tmp/multipartBody8580884806161538550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329095422,"filename":"image_29012025_20_14_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/1/31/4ff27f2972e69f51710a40b23296c663.jpg","text":"TemporaryFile(/tmp/multipartBody7318270606777333408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329095422,"filename":"image_29012025_20_14_36_9506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/19f102f2065a79ba47d1689840b6ef82.jpg","text":"TemporaryFile(/tmp/multipartBody4379915950513084384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329095422,"filename":"image_29012025_20_15_06_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333329715","file1":"1333329708","file0":"1333329701","file4":"1333329726","file5":"1333329730","file3":"1333329722"},"map_files_photo_id_array":[{"photo_id":"1333329730","filename":"file5"},{"photo_id":"1333329715","filename":"file2"},{"photo_id":"1333329726","filename":"file4"},{"photo_id":"1333329708","filename":"file1"},{"photo_id":"1333329701","filename":"file0"},{"photo_id":"1333329722","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333329726":["hashtag1","hashtag2"]},{"1333329708":["hashtag1","hashtag2"]},{"1333329722":["hashtag1","hashtag2"]},{"1333329701":["hashtag1","hashtag2"]},{"1333329715":["hashtag1","hashtag2"]},{"1333329730":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333329726, 1333329708, 1333329722, 1333329701, 1333329715, 1333329730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.86343502998352 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:11:32.272388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/15/image_29012025_20_15_17_10353.jpg', '/home/pi/Desktop/images/29012025/20/15/image_29012025_20_15_26_9367.jpg', '/home/pi/Desktop/images/29012025/20/15/image_29012025_20_15_37_10342.jpg', '/home/pi/Desktop/images/29012025/20/15/image_29012025_20_15_47_10346.jpg', '/home/pi/Desktop/images/29012025/20/15/image_29012025_20_15_56_9450.jpg', '/home/pi/Desktop/images/29012025/20/15/image_29012025_20_16_07_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/15/image_29012025_20_15_17_10353.jpg
/home/pi/Desktop/images/29012025/20/15/image_29012025_20_15_26_9367.jpg
/home/pi/Desktop/images/29012025/20/15/image_29012025_20_15_37_10342.jpg
/home/pi/Desktop/images/29012025/20/15/image_29012025_20_15_47_10346.jpg
/home/pi/Desktop/images/29012025/20/15/image_29012025_20_15_56_9450.jpg
/home/pi/Desktop/images/29012025/20/15/image_29012025_20_16_07_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":["1333329756","1333329761","1333329749","1333329857","1333329988","1333329766"],"photo_ids_order":["1333329749","1333329756","1333329761","1333329766","1333329857","1333329988"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0aeb43d9ec0d9c5586eebc555a940c9f.jpg","text":"TemporaryFile(/tmp/multipartBody6504881810304528891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329154676,"filename":"image_29012025_20_15_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/1/31/059ad1d70ac7c302a260eff76dc8cefb.jpg","text":"TemporaryFile(/tmp/multipartBody1396067214763433305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329154676,"filename":"image_29012025_20_15_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/1/31/66f757c27f3e11b8cbcce5d8d83d6663.jpg","text":"TemporaryFile(/tmp/multipartBody2252008348603782383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329154676,"filename":"image_29012025_20_15_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/1/31/4c5924c9b7575b86af15b0dd701c6217.jpg","text":"TemporaryFile(/tmp/multipartBody1861003110848760422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329154676,"filename":"image_29012025_20_15_56_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c58b45877378c2db7a55c29fbeefc1a6.jpg","text":"TemporaryFile(/tmp/multipartBody7120576189701383005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329154676,"filename":"image_29012025_20_16_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/1/31/99674e42fc881a93a44f903ccbe786c5.jpg","text":"TemporaryFile(/tmp/multipartBody833840044712415843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329154676,"filename":"image_29012025_20_15_47_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333329761","file1":"1333329756","file0":"1333329749","file4":"1333329857","file5":"1333329988","file3":"1333329766"},"map_files_photo_id_array":[{"photo_id":"1333329988","filename":"file5"},{"photo_id":"1333329761","filename":"file2"},{"photo_id":"1333329857","filename":"file4"},{"photo_id":"1333329756","filename":"file1"},{"photo_id":"1333329749","filename":"file0"},{"photo_id":"1333329766","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333329756":["hashtag1","hashtag2"]},{"1333329761":["hashtag1","hashtag2"]},{"1333329749":["hashtag1","hashtag2"]},{"1333329857":["hashtag1","hashtag2"]},{"1333329988":["hashtag1","hashtag2"]},{"1333329766":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333329756, 1333329761, 1333329749, 1333329857, 1333329988, 1333329766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41311049461365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:12:32.614351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/16/image_29012025_20_16_16_9349.jpg', '/home/pi/Desktop/images/29012025/20/16/image_29012025_20_16_26_10428.jpg', '/home/pi/Desktop/images/29012025/20/16/image_29012025_20_16_37_10367.jpg', '/home/pi/Desktop/images/29012025/20/16/image_29012025_20_16_46_9408.jpg', '/home/pi/Desktop/images/29012025/20/16/image_29012025_20_16_57_10364.jpg', '/home/pi/Desktop/images/29012025/20/16/image_29012025_20_17_06_9408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/16/image_29012025_20_16_16_9349.jpg
/home/pi/Desktop/images/29012025/20/16/image_29012025_20_16_26_10428.jpg
/home/pi/Desktop/images/29012025/20/16/image_29012025_20_16_37_10367.jpg
/home/pi/Desktop/images/29012025/20/16/image_29012025_20_16_46_9408.jpg
/home/pi/Desktop/images/29012025/20/16/image_29012025_20_16_57_10364.jpg
/home/pi/Desktop/images/29012025/20/16/image_29012025_20_17_06_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":["1333330264","1333330408","1333330305","1333330298","1333330288","1333330198"],"photo_ids_order":["1333330198","1333330264","1333330288","1333330298","1333330305","1333330408"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1e4e99f4256336a292abb68e702180de.jpg","text":"TemporaryFile(/tmp/multipartBody519638212935076016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329215329,"filename":"image_29012025_20_16_26_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6c65569f71f2706c0a55fe3c46920bb5.jpg","text":"TemporaryFile(/tmp/multipartBody2474757856716834265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329215329,"filename":"image_29012025_20_17_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/1/31/5f02b6b4e7d75651f83fc85587a00cfc.jpg","text":"TemporaryFile(/tmp/multipartBody6926920290900949697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329215329,"filename":"image_29012025_20_16_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/1/31/f7bdb78bd404bc44f87fb36c35704cdc.jpg","text":"TemporaryFile(/tmp/multipartBody6204413316801857976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329215329,"filename":"image_29012025_20_16_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/1/31/c2c58aa5fcbb010882e5b5eba405d7c9.jpg","text":"TemporaryFile(/tmp/multipartBody1846012833672621793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329215329,"filename":"image_29012025_20_16_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/1/31/6ab766ab1d683bb38ae4776ecd6bbeb8.jpg","text":"TemporaryFile(/tmp/multipartBody984096772341224227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329215329,"filename":"image_29012025_20_16_16_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333330288","file1":"1333330264","file0":"1333330198","file4":"1333330305","file5":"1333330408","file3":"1333330298"},"map_files_photo_id_array":[{"photo_id":"1333330408","filename":"file5"},{"photo_id":"1333330288","filename":"file2"},{"photo_id":"1333330305","filename":"file4"},{"photo_id":"1333330264","filename":"file1"},{"photo_id":"1333330198","filename":"file0"},{"photo_id":"1333330298","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333330264":["hashtag1","hashtag2"]},{"1333330408":["hashtag1","hashtag2"]},{"1333330305":["hashtag1","hashtag2"]},{"1333330298":["hashtag1","hashtag2"]},{"1333330288":["hashtag1","hashtag2"]},{"1333330198":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333330264, 1333330408, 1333330305, 1333330298, 1333330288, 1333330198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.407630920410156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:13:32.356035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/17/image_29012025_20_17_16_10360.jpg', '/home/pi/Desktop/images/29012025/20/17/image_29012025_20_17_27_10383.jpg', '/home/pi/Desktop/images/29012025/20/17/image_29012025_20_17_36_9378.jpg', '/home/pi/Desktop/images/29012025/20/17/image_29012025_20_17_47_10362.jpg', '/home/pi/Desktop/images/29012025/20/17/image_29012025_20_17_57_10362.jpg', '/home/pi/Desktop/images/29012025/20/18/image_29012025_20_18_07_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/17/image_29012025_20_17_16_10360.jpg
/home/pi/Desktop/images/29012025/20/17/image_29012025_20_17_27_10383.jpg
/home/pi/Desktop/images/29012025/20/17/image_29012025_20_17_36_9378.jpg
/home/pi/Desktop/images/29012025/20/17/image_29012025_20_17_47_10362.jpg
/home/pi/Desktop/images/29012025/20/17/image_29012025_20_17_57_10362.jpg
/home/pi/Desktop/images/29012025/20/18/image_29012025_20_18_07_9638.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.011176109313965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 14:13:42.425590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/17/image_29012025_20_17_16_10360.jpg', '/home/pi/Desktop/images/29012025/20/17/image_29012025_20_17_27_10383.jpg', '/home/pi/Desktop/images/29012025/20/17/image_29012025_20_17_36_9378.jpg', '/home/pi/Desktop/images/29012025/20/17/image_29012025_20_17_47_10362.jpg', '/home/pi/Desktop/images/29012025/20/17/image_29012025_20_17_57_10362.jpg', '/home/pi/Desktop/images/29012025/20/18/image_29012025_20_18_07_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/17/image_29012025_20_17_16_10360.jpg
/home/pi/Desktop/images/29012025/20/17/image_29012025_20_17_27_10383.jpg
/home/pi/Desktop/images/29012025/20/17/image_29012025_20_17_36_9378.jpg
/home/pi/Desktop/images/29012025/20/17/image_29012025_20_17_47_10362.jpg
/home/pi/Desktop/images/29012025/20/17/image_29012025_20_17_57_10362.jpg
/home/pi/Desktop/images/29012025/20/18/image_29012025_20_18_07_9638.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":["1333330501","1333330488","1333330479","1333330499","1333330556","1333330495"],"photo_ids_order":["1333330479","1333330488","1333330495","1333330499","1333330501","1333330556"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/410ef343f5b243349ad5f7e646e5a9e5.jpg","text":"TemporaryFile(/tmp/multipartBody1106863681809743409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329283946,"filename":"image_29012025_20_17_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/1/31/d7a8b4ea1cc5393da5cfcabc04f67475.jpg","text":"TemporaryFile(/tmp/multipartBody1689382376931957860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329283946,"filename":"image_29012025_20_17_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/1/31/8704405045fbe2c01165b2adcaf902de.jpg","text":"TemporaryFile(/tmp/multipartBody1047244746644149707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329283946,"filename":"image_29012025_20_17_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/1/31/58a05924a68ae4424fc05265f66b56fd.jpg","text":"TemporaryFile(/tmp/multipartBody8579217086326547515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329283946,"filename":"image_29012025_20_17_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/1/31/424af6fa9f672ebce5cd5f370a989b3e.jpg","text":"TemporaryFile(/tmp/multipartBody5583415653936496277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329283946,"filename":"image_29012025_20_18_07_9638.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1009545f0593a048c9fd1823671f3ebd.jpg","text":"TemporaryFile(/tmp/multipartBody3271725299153392463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329283946,"filename":"image_29012025_20_17_36_9378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333330495","file1":"1333330488","file0":"1333330479","file4":"1333330501","file5":"1333330556","file3":"1333330499"},"map_files_photo_id_array":[{"photo_id":"1333330556","filename":"file5"},{"photo_id":"1333330495","filename":"file2"},{"photo_id":"1333330501","filename":"file4"},{"photo_id":"1333330488","filename":"file1"},{"photo_id":"1333330479","filename":"file0"},{"photo_id":"1333330499","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333330501":["hashtag1","hashtag2"]},{"1333330488":["hashtag1","hashtag2"]},{"1333330479":["hashtag1","hashtag2"]},{"1333330499":["hashtag1","hashtag2"]},{"1333330556":["hashtag1","hashtag2"]},{"1333330495":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333330501, 1333330488, 1333330479, 1333330499, 1333330556, 1333330495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.139397382736206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:14:32.685386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/18/image_29012025_20_18_17_10328.jpg', '/home/pi/Desktop/images/29012025/20/18/image_29012025_20_18_26_9432.jpg', '/home/pi/Desktop/images/29012025/20/18/image_29012025_20_18_37_10433.jpg', '/home/pi/Desktop/images/29012025/20/18/image_29012025_20_18_46_9356.jpg', '/home/pi/Desktop/images/29012025/20/18/image_29012025_20_18_56_10343.jpg', '/home/pi/Desktop/images/29012025/20/18/image_29012025_20_19_07_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/18/image_29012025_20_18_17_10328.jpg
/home/pi/Desktop/images/29012025/20/18/image_29012025_20_18_26_9432.jpg
/home/pi/Desktop/images/29012025/20/18/image_29012025_20_18_37_10433.jpg
/home/pi/Desktop/images/29012025/20/18/image_29012025_20_18_46_9356.jpg
/home/pi/Desktop/images/29012025/20/18/image_29012025_20_18_56_10343.jpg
/home/pi/Desktop/images/29012025/20/18/image_29012025_20_19_07_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":["1333330621","1333330659","1333330673","1333330667","1333330616","1333330777"],"photo_ids_order":["1333330616","1333330621","1333330659","1333330667","1333330673","1333330777"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/49be6a179e6a9366083dfbe3f395d7b9.jpg","text":"TemporaryFile(/tmp/multipartBody2243855300067207310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329335104,"filename":"image_29012025_20_18_26_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/927df04b570ac9ad976a67c1958b96dc.jpg","text":"TemporaryFile(/tmp/multipartBody7718692413208929660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329335104,"filename":"image_29012025_20_18_37_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ca3d5049a3f69618c2abbd53e8d485e9.jpg","text":"TemporaryFile(/tmp/multipartBody819156137530401843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329335104,"filename":"image_29012025_20_18_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/1/31/1cd3dc1a2caacdd816f61dfece523dcd.jpg","text":"TemporaryFile(/tmp/multipartBody4810370932760975796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329335104,"filename":"image_29012025_20_18_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/1/31/8d67f1b7da4ef19739f4ca0ab9cfd1d4.jpg","text":"TemporaryFile(/tmp/multipartBody6185532901747570152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329335104,"filename":"image_29012025_20_18_17_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fec49f8ac929a2f5c9378fbf0ebc8eb0.jpg","text":"TemporaryFile(/tmp/multipartBody1250142533860715589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329335104,"filename":"image_29012025_20_19_07_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333330659","file1":"1333330621","file0":"1333330616","file4":"1333330673","file5":"1333330777","file3":"1333330667"},"map_files_photo_id_array":[{"photo_id":"1333330777","filename":"file5"},{"photo_id":"1333330659","filename":"file2"},{"photo_id":"1333330673","filename":"file4"},{"photo_id":"1333330621","filename":"file1"},{"photo_id":"1333330616","filename":"file0"},{"photo_id":"1333330667","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333330621":["hashtag1","hashtag2"]},{"1333330659":["hashtag1","hashtag2"]},{"1333330673":["hashtag1","hashtag2"]},{"1333330667":["hashtag1","hashtag2"]},{"1333330616":["hashtag1","hashtag2"]},{"1333330777":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333330621, 1333330659, 1333330673, 1333330667, 1333330616, 1333330777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41252136230469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:15:32.786994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/19/image_29012025_20_19_16_9372.jpg', '/home/pi/Desktop/images/29012025/20/19/image_29012025_20_19_36_9555.jpg', '/home/pi/Desktop/images/29012025/20/19/image_29012025_20_19_46_10369.jpg', '/home/pi/Desktop/images/29012025/20/19/image_29012025_20_19_57_10435.jpg', '/home/pi/Desktop/images/29012025/20/19/image_29012025_20_20_06_9334.jpg', '/home/pi/Desktop/images/29012025/20/20/image_29012025_20_20_17_10282.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/19/image_29012025_20_19_16_9372.jpg
/home/pi/Desktop/images/29012025/20/19/image_29012025_20_19_36_9555.jpg
/home/pi/Desktop/images/29012025/20/19/image_29012025_20_19_46_10369.jpg
/home/pi/Desktop/images/29012025/20/19/image_29012025_20_19_57_10435.jpg
/home/pi/Desktop/images/29012025/20/19/image_29012025_20_20_06_9334.jpg
/home/pi/Desktop/images/29012025/20/20/image_29012025_20_20_17_10282.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333331190","1333331142","1333331186","1333331087","1333331165","1333331042"],"photo_ids_order":["1333331042","1333331087","1333331142","1333331165","1333331186","1333331190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/72a5c47dfb2df98b0b68328de7d22d3c.jpg","text":"TemporaryFile(/tmp/multipartBody7797716938372465045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329395226,"filename":"image_29012025_20_20_17_10282.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ba47be81de0f81f3c5b0dc9315403cc9.jpg","text":"TemporaryFile(/tmp/multipartBody3906730346458070280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329395226,"filename":"image_29012025_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/1/31/474a5b841ef59de3b96052fe9c20e58c.jpg","text":"TemporaryFile(/tmp/multipartBody3241778909729420278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329395226,"filename":"image_29012025_20_20_06_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dd4f749e4470d1107cbe82ecc1a5f34e.jpg","text":"TemporaryFile(/tmp/multipartBody3290651075802685517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329395226,"filename":"image_29012025_20_19_36_9555.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e3a20f8619de6f6cca562dee7a508080.jpg","text":"TemporaryFile(/tmp/multipartBody1122181437345195655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329395226,"filename":"image_29012025_20_19_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/1/31/fd36142471fb69b00cd7969d3ddb8e6f.jpg","text":"TemporaryFile(/tmp/multipartBody7085946166106937238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329395226,"filename":"image_29012025_20_19_16_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333331142","file1":"1333331087","file0":"1333331042","file4":"1333331186","file5":"1333331190","file3":"1333331165"},"map_files_photo_id_array":[{"photo_id":"1333331190","filename":"file5"},{"photo_id":"1333331142","filename":"file2"},{"photo_id":"1333331186","filename":"file4"},{"photo_id":"1333331087","filename":"file1"},{"photo_id":"1333331042","filename":"file0"},{"photo_id":"1333331165","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333331190":["hashtag1","hashtag2"]},{"1333331142":["hashtag1","hashtag2"]},{"1333331186":["hashtag1","hashtag2"]},{"1333331087":["hashtag1","hashtag2"]},{"1333331165":["hashtag1","hashtag2"]},{"1333331042":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333331190, 1333331142, 1333331186, 1333331087, 1333331165, 1333331042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92784357070923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:16:33.016471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/20/image_29012025_20_20_27_10329.jpg', '/home/pi/Desktop/images/29012025/20/20/image_29012025_20_20_36_9404.jpg', '/home/pi/Desktop/images/29012025/20/20/image_29012025_20_20_47_10369.jpg', '/home/pi/Desktop/images/29012025/20/20/image_29012025_20_20_56_9394.jpg', '/home/pi/Desktop/images/29012025/20/20/image_29012025_20_21_06_10349.jpg', '/home/pi/Desktop/images/29012025/20/21/image_29012025_20_21_17_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/20/image_29012025_20_20_27_10329.jpg
/home/pi/Desktop/images/29012025/20/20/image_29012025_20_20_36_9404.jpg
/home/pi/Desktop/images/29012025/20/20/image_29012025_20_20_47_10369.jpg
/home/pi/Desktop/images/29012025/20/20/image_29012025_20_20_56_9394.jpg
/home/pi/Desktop/images/29012025/20/20/image_29012025_20_21_06_10349.jpg
/home/pi/Desktop/images/29012025/20/21/image_29012025_20_21_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":["1333331226","1333331241","1333331235","1333331219","1333331213","1333331245"],"photo_ids_order":["1333331213","1333331219","1333331226","1333331235","1333331241","1333331245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/112ddd0472f10aa616b93f38b25f067d.jpg","text":"TemporaryFile(/tmp/multipartBody9058756139205156736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329455424,"filename":"image_29012025_20_20_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/1/31/e7131f55c3e11308574595f84a67ce06.jpg","text":"TemporaryFile(/tmp/multipartBody2773123382969882765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329455424,"filename":"image_29012025_20_21_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/1/31/113caf23d3c9b4dce6d384fb818afcb8.jpg","text":"TemporaryFile(/tmp/multipartBody1864120099223350562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329455424,"filename":"image_29012025_20_20_56_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/27509ebe2d294205c0683e75bf1ea902.jpg","text":"TemporaryFile(/tmp/multipartBody7722581644636860824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329455424,"filename":"image_29012025_20_20_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/1/31/ae9ccf87fe8f9971ad5c14055310f374.jpg","text":"TemporaryFile(/tmp/multipartBody2711497472488219678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329455424,"filename":"image_29012025_20_20_27_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d3c0423fa4f83681178074b63a7c1312.jpg","text":"TemporaryFile(/tmp/multipartBody8164723028874023766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329455424,"filename":"image_29012025_20_21_17_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333331226","file1":"1333331219","file0":"1333331213","file4":"1333331241","file5":"1333331245","file3":"1333331235"},"map_files_photo_id_array":[{"photo_id":"1333331245","filename":"file5"},{"photo_id":"1333331226","filename":"file2"},{"photo_id":"1333331241","filename":"file4"},{"photo_id":"1333331219","filename":"file1"},{"photo_id":"1333331213","filename":"file0"},{"photo_id":"1333331235","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333331226":["hashtag1","hashtag2"]},{"1333331241":["hashtag1","hashtag2"]},{"1333331235":["hashtag1","hashtag2"]},{"1333331219":["hashtag1","hashtag2"]},{"1333331213":["hashtag1","hashtag2"]},{"1333331245":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333331226, 1333331241, 1333331235, 1333331219, 1333331213, 1333331245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93788266181946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:17:32.258928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/21/image_29012025_20_21_26_9446.jpg', '/home/pi/Desktop/images/29012025/20/21/image_29012025_20_21_37_10344.jpg', '/home/pi/Desktop/images/29012025/20/21/image_29012025_20_21_47_10371.jpg', '/home/pi/Desktop/images/29012025/20/21/image_29012025_20_21_56_9403.jpg', '/home/pi/Desktop/images/29012025/20/21/image_29012025_20_22_07_10362.jpg', '/home/pi/Desktop/images/29012025/20/22/image_29012025_20_22_16_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/21/image_29012025_20_21_26_9446.jpg
/home/pi/Desktop/images/29012025/20/21/image_29012025_20_21_37_10344.jpg
/home/pi/Desktop/images/29012025/20/21/image_29012025_20_21_47_10371.jpg
/home/pi/Desktop/images/29012025/20/21/image_29012025_20_21_56_9403.jpg
/home/pi/Desktop/images/29012025/20/21/image_29012025_20_22_07_10362.jpg
/home/pi/Desktop/images/29012025/20/22/image_29012025_20_22_16_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":["1333331716","1333331652","1333331712","1333331633","1333331708","1333331644"],"photo_ids_order":["1333331633","1333331644","1333331652","1333331708","1333331712","1333331716"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/74ffec28bd691a3bd1bd34b2d5c9e8fa.jpg","text":"TemporaryFile(/tmp/multipartBody555246683311885933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329514676,"filename":"image_29012025_20_22_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/1/31/a5f98e99828d3a124c7d9a5e4062beb1.jpg","text":"TemporaryFile(/tmp/multipartBody994413208448784682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329514676,"filename":"image_29012025_20_21_47_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/54db9671ea668206fe76d818d2afca84.jpg","text":"TemporaryFile(/tmp/multipartBody3445385208768406540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329514676,"filename":"image_29012025_20_22_07_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5cf73fd4c9d4b280339fe16c0c774708.jpg","text":"TemporaryFile(/tmp/multipartBody6564632093963635951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329514676,"filename":"image_29012025_20_21_26_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4166ffbc4d333669f8f1416fed80670c.jpg","text":"TemporaryFile(/tmp/multipartBody2376534118093282941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329514676,"filename":"image_29012025_20_21_56_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6998f42cafb8683f64bcadcd27088a03.jpg","text":"TemporaryFile(/tmp/multipartBody3775418474578772884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329514676,"filename":"image_29012025_20_21_37_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333331652","file1":"1333331644","file0":"1333331633","file4":"1333331712","file5":"1333331716","file3":"1333331708"},"map_files_photo_id_array":[{"photo_id":"1333331716","filename":"file5"},{"photo_id":"1333331652","filename":"file2"},{"photo_id":"1333331712","filename":"file4"},{"photo_id":"1333331644","filename":"file1"},{"photo_id":"1333331633","filename":"file0"},{"photo_id":"1333331708","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333331716":["hashtag1","hashtag2"]},{"1333331652":["hashtag1","hashtag2"]},{"1333331712":["hashtag1","hashtag2"]},{"1333331633":["hashtag1","hashtag2"]},{"1333331708":["hashtag1","hashtag2"]},{"1333331644":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333331716, 1333331652, 1333331712, 1333331633, 1333331708, 1333331644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.55190587043762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:18:32.543187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/22/image_29012025_20_22_26_10370.jpg', '/home/pi/Desktop/images/29012025/20/22/image_29012025_20_22_37_10349.jpg', '/home/pi/Desktop/images/29012025/20/22/image_29012025_20_22_46_9442.jpg', '/home/pi/Desktop/images/29012025/20/22/image_29012025_20_22_57_10434.jpg', '/home/pi/Desktop/images/29012025/20/22/image_29012025_20_23_06_9437.jpg', '/home/pi/Desktop/images/29012025/20/23/image_29012025_20_23_16_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/22/image_29012025_20_22_26_10370.jpg
/home/pi/Desktop/images/29012025/20/22/image_29012025_20_22_37_10349.jpg
/home/pi/Desktop/images/29012025/20/22/image_29012025_20_22_46_9442.jpg
/home/pi/Desktop/images/29012025/20/22/image_29012025_20_22_57_10434.jpg
/home/pi/Desktop/images/29012025/20/22/image_29012025_20_23_06_9437.jpg
/home/pi/Desktop/images/29012025/20/23/image_29012025_20_23_16_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":["1333331815","1333331809","1333331841","1333331846","1333331824","1333331833"],"photo_ids_order":["1333331809","1333331815","1333331824","1333331833","1333331841","1333331846"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7ff6565aee0f7df01f89531410500297.jpg","text":"TemporaryFile(/tmp/multipartBody3903640495229377157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329574987,"filename":"image_29012025_20_22_37_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/82e872a8de3160b487d1fbae7220b84d.jpg","text":"TemporaryFile(/tmp/multipartBody5063348791756474269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329574987,"filename":"image_29012025_20_22_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/1/31/70cde8d3483278c2efe53878308cf2d3.jpg","text":"TemporaryFile(/tmp/multipartBody7913533356307293969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329574987,"filename":"image_29012025_20_23_06_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4a7adf612fbca566c32066cfdc901e80.jpg","text":"TemporaryFile(/tmp/multipartBody6101370155291610158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329574987,"filename":"image_29012025_20_23_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/1/31/f775da52a88ae79db06252543b11b35d.jpg","text":"TemporaryFile(/tmp/multipartBody3566312192165443840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329574987,"filename":"image_29012025_20_22_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/1/31/5181c1c4a1fa31640558f276b166d71e.jpg","text":"TemporaryFile(/tmp/multipartBody4434246175142830119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329574987,"filename":"image_29012025_20_22_57_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333331824","file1":"1333331815","file0":"1333331809","file4":"1333331841","file5":"1333331846","file3":"1333331833"},"map_files_photo_id_array":[{"photo_id":"1333331846","filename":"file5"},{"photo_id":"1333331824","filename":"file2"},{"photo_id":"1333331841","filename":"file4"},{"photo_id":"1333331815","filename":"file1"},{"photo_id":"1333331809","filename":"file0"},{"photo_id":"1333331833","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333331815":["hashtag1","hashtag2"]},{"1333331809":["hashtag1","hashtag2"]},{"1333331841":["hashtag1","hashtag2"]},{"1333331846":["hashtag1","hashtag2"]},{"1333331824":["hashtag1","hashtag2"]},{"1333331833":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333331815, 1333331809, 1333331841, 1333331846, 1333331824, 1333331833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.0760064125061 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:19:32.737963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/23/image_29012025_20_23_27_10373.jpg', '/home/pi/Desktop/images/29012025/20/23/image_29012025_20_23_36_9421.jpg', '/home/pi/Desktop/images/29012025/20/23/image_29012025_20_23_47_10373.jpg', '/home/pi/Desktop/images/29012025/20/23/image_29012025_20_23_57_10406.jpg', '/home/pi/Desktop/images/29012025/20/23/image_29012025_20_24_06_9352.jpg', '/home/pi/Desktop/images/29012025/20/24/image_29012025_20_24_17_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/23/image_29012025_20_23_27_10373.jpg
/home/pi/Desktop/images/29012025/20/23/image_29012025_20_23_36_9421.jpg
/home/pi/Desktop/images/29012025/20/23/image_29012025_20_23_47_10373.jpg
/home/pi/Desktop/images/29012025/20/23/image_29012025_20_23_57_10406.jpg
/home/pi/Desktop/images/29012025/20/23/image_29012025_20_24_06_9352.jpg
/home/pi/Desktop/images/29012025/20/24/image_29012025_20_24_17_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":["1333331898","1333331871","1333331864","1333331878","1333331893","1333331887"],"photo_ids_order":["1333331864","1333331871","1333331878","1333331887","1333331893","1333331898"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d5ff0de2ae035e44c9747219af1d10aa.jpg","text":"TemporaryFile(/tmp/multipartBody223911541654763386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329635147,"filename":"image_29012025_20_24_17_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a3fa2800a9fe245426b8409c41e76950.jpg","text":"TemporaryFile(/tmp/multipartBody7085974639812078450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329635147,"filename":"image_29012025_20_23_36_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c35604f88442e1c9ac9d232a58b93fdc.jpg","text":"TemporaryFile(/tmp/multipartBody6143608705469452180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329635147,"filename":"image_29012025_20_23_27_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cecbbaf020d0186051bd45d8c47bb958.jpg","text":"TemporaryFile(/tmp/multipartBody6898811979942196008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329635147,"filename":"image_29012025_20_23_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/1/31/1ce8b0ed21e6b9f3c0bf9168d16ea508.jpg","text":"TemporaryFile(/tmp/multipartBody1879281277717778325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329635147,"filename":"image_29012025_20_24_06_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c4305e854f1b109b61a1571fc73a9a37.jpg","text":"TemporaryFile(/tmp/multipartBody104432884052001158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329635147,"filename":"image_29012025_20_23_57_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333331878","file1":"1333331871","file0":"1333331864","file4":"1333331893","file5":"1333331898","file3":"1333331887"},"map_files_photo_id_array":[{"photo_id":"1333331898","filename":"file5"},{"photo_id":"1333331878","filename":"file2"},{"photo_id":"1333331893","filename":"file4"},{"photo_id":"1333331871","filename":"file1"},{"photo_id":"1333331864","filename":"file0"},{"photo_id":"1333331887","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333331898":["hashtag1","hashtag2"]},{"1333331871":["hashtag1","hashtag2"]},{"1333331864":["hashtag1","hashtag2"]},{"1333331878":["hashtag1","hashtag2"]},{"1333331893":["hashtag1","hashtag2"]},{"1333331887":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333331898, 1333331871, 1333331864, 1333331878, 1333331893, 1333331887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.381428480148315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:20:33.079749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/24/image_29012025_20_24_26_9376.jpg', '/home/pi/Desktop/images/29012025/20/24/image_29012025_20_24_36_10345.jpg', '/home/pi/Desktop/images/29012025/20/24/image_29012025_20_24_47_10380.jpg', '/home/pi/Desktop/images/29012025/20/24/image_29012025_20_25_07_10368.jpg', '/home/pi/Desktop/images/29012025/20/25/image_29012025_20_25_17_10336.jpg', '/home/pi/Desktop/images/29012025/20/25/image_29012025_20_25_26_9422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/24/image_29012025_20_24_26_9376.jpg
/home/pi/Desktop/images/29012025/20/24/image_29012025_20_24_36_10345.jpg
/home/pi/Desktop/images/29012025/20/24/image_29012025_20_24_47_10380.jpg
/home/pi/Desktop/images/29012025/20/24/image_29012025_20_25_07_10368.jpg
/home/pi/Desktop/images/29012025/20/25/image_29012025_20_25_17_10336.jpg
/home/pi/Desktop/images/29012025/20/25/image_29012025_20_25_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":["1333331934","1333331928","1333331957","1333331939","1333331959","1333331923"],"photo_ids_order":["1333331923","1333331928","1333331934","1333331939","1333331957","1333331959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fab3363b6e55d3e2510312a17b1504a0.jpg","text":"TemporaryFile(/tmp/multipartBody6198797996487521627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329695490,"filename":"image_29012025_20_24_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/1/31/0ccb52b781d4e098af218a60c8b33b0e.jpg","text":"TemporaryFile(/tmp/multipartBody9119123621207235675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329695490,"filename":"image_29012025_20_24_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/1/31/426e3935182319c0a92aeaaa853f6721.jpg","text":"TemporaryFile(/tmp/multipartBody138632347062606160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329695490,"filename":"image_29012025_20_25_17_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cfe8ac312d6a91baeaca76f3c0434637.jpg","text":"TemporaryFile(/tmp/multipartBody9039971189632570915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329695490,"filename":"image_29012025_20_25_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/1/31/57c6a743b553c87fb195a1de650706a4.jpg","text":"TemporaryFile(/tmp/multipartBody3418771297570928519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329695490,"filename":"image_29012025_20_25_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/1/31/21cedcb49a8051daae56eab239a805a8.jpg","text":"TemporaryFile(/tmp/multipartBody6536114897642680699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329695490,"filename":"image_29012025_20_24_26_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333331934","file1":"1333331928","file0":"1333331923","file4":"1333331957","file5":"1333331959","file3":"1333331939"},"map_files_photo_id_array":[{"photo_id":"1333331959","filename":"file5"},{"photo_id":"1333331934","filename":"file2"},{"photo_id":"1333331957","filename":"file4"},{"photo_id":"1333331928","filename":"file1"},{"photo_id":"1333331923","filename":"file0"},{"photo_id":"1333331939","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333331934":["hashtag1","hashtag2"]},{"1333331928":["hashtag1","hashtag2"]},{"1333331957":["hashtag1","hashtag2"]},{"1333331939":["hashtag1","hashtag2"]},{"1333331959":["hashtag1","hashtag2"]},{"1333331923":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333331934, 1333331928, 1333331957, 1333331939, 1333331959, 1333331923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.246235847473145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:21:32.256067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/25/image_29012025_20_25_37_10337.jpg', '/home/pi/Desktop/images/29012025/20/25/image_29012025_20_25_46_9420.jpg', '/home/pi/Desktop/images/29012025/20/25/image_29012025_20_25_56_10359.jpg', '/home/pi/Desktop/images/29012025/20/25/image_29012025_20_26_07_10365.jpg', '/home/pi/Desktop/images/29012025/20/26/image_29012025_20_26_16_9353.jpg', '/home/pi/Desktop/images/29012025/20/26/image_29012025_20_26_26_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/25/image_29012025_20_25_37_10337.jpg
/home/pi/Desktop/images/29012025/20/25/image_29012025_20_25_46_9420.jpg
/home/pi/Desktop/images/29012025/20/25/image_29012025_20_25_56_10359.jpg
/home/pi/Desktop/images/29012025/20/25/image_29012025_20_26_07_10365.jpg
/home/pi/Desktop/images/29012025/20/26/image_29012025_20_26_16_9353.jpg
/home/pi/Desktop/images/29012025/20/26/image_29012025_20_26_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":["1333332006","1333332135","1333332036","1333332242","1333332028","1333332042"],"photo_ids_order":["1333332006","1333332028","1333332036","1333332042","1333332135","1333332242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0e28dc3b6b65d3ce5b0aedc63941306f.jpg","text":"TemporaryFile(/tmp/multipartBody6109381593557399382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329754703,"filename":"image_29012025_20_25_37_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3e3a584600a20fb3f38c58ea508f4f74.jpg","text":"TemporaryFile(/tmp/multipartBody6329432763813479403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329754703,"filename":"image_29012025_20_26_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/1/31/e7ef89204a5582a89cdc3fc1adab910a.jpg","text":"TemporaryFile(/tmp/multipartBody3816179697896842801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329754703,"filename":"image_29012025_20_25_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/1/31/17e3ab680ba38f58f506e6ee63cd27c4.jpg","text":"TemporaryFile(/tmp/multipartBody2346521654777217448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329754703,"filename":"image_29012025_20_26_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/1/31/b5ddeac8de5281065a48259955689efe.jpg","text":"TemporaryFile(/tmp/multipartBody2807030567975585511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329754703,"filename":"image_29012025_20_25_46_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2dda4091aa2e107d5c496dc8202f6a05.jpg","text":"TemporaryFile(/tmp/multipartBody8941905466403458181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329754703,"filename":"image_29012025_20_26_07_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333332036","file1":"1333332028","file0":"1333332006","file4":"1333332135","file5":"1333332242","file3":"1333332042"},"map_files_photo_id_array":[{"photo_id":"1333332242","filename":"file5"},{"photo_id":"1333332036","filename":"file2"},{"photo_id":"1333332135","filename":"file4"},{"photo_id":"1333332028","filename":"file1"},{"photo_id":"1333332006","filename":"file0"},{"photo_id":"1333332042","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333332006":["hashtag1","hashtag2"]},{"1333332135":["hashtag1","hashtag2"]},{"1333332036":["hashtag1","hashtag2"]},{"1333332242":["hashtag1","hashtag2"]},{"1333332028":["hashtag1","hashtag2"]},{"1333332042":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333332006, 1333332135, 1333332036, 1333332242, 1333332028, 1333332042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.649983644485474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:22:32.458733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/26/image_29012025_20_26_37_10360.jpg', '/home/pi/Desktop/images/29012025/20/26/image_29012025_20_26_46_9348.jpg', '/home/pi/Desktop/images/29012025/20/26/image_29012025_20_26_57_10347.jpg', '/home/pi/Desktop/images/29012025/20/26/image_29012025_20_27_07_10337.jpg', '/home/pi/Desktop/images/29012025/20/27/image_29012025_20_27_16_9347.jpg', '/home/pi/Desktop/images/29012025/20/27/image_29012025_20_27_27_10545.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/26/image_29012025_20_26_37_10360.jpg
/home/pi/Desktop/images/29012025/20/26/image_29012025_20_26_46_9348.jpg
/home/pi/Desktop/images/29012025/20/26/image_29012025_20_26_57_10347.jpg
/home/pi/Desktop/images/29012025/20/26/image_29012025_20_27_07_10337.jpg
/home/pi/Desktop/images/29012025/20/27/image_29012025_20_27_16_9347.jpg
/home/pi/Desktop/images/29012025/20/27/image_29012025_20_27_27_10545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333332458","1333332413","1333332670","1333332673","1333332568","1333332352"],"photo_ids_order":["1333332352","1333332413","1333332458","1333332568","1333332670","1333332673"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bbd9ec36e0ff07e4a6befcb44163b505.jpg","text":"TemporaryFile(/tmp/multipartBody8096192284202648257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329814888,"filename":"image_29012025_20_26_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/1/31/5844e82a732fe6208a86ba81ad3205cc.jpg","text":"TemporaryFile(/tmp/multipartBody2416063626032715993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329814888,"filename":"image_29012025_20_26_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/1/31/a8b3dde2cdc15b0204f2530fbe4ac2ab.jpg","text":"TemporaryFile(/tmp/multipartBody8866429774850500552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329814888,"filename":"image_29012025_20_27_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/1/31/c23eee7824b64488e4857ebf8d578f6a.jpg","text":"TemporaryFile(/tmp/multipartBody5888237458269099443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329814888,"filename":"image_29012025_20_27_27_10545.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/33b95840ae4218e42402e654aaed18ba.jpg","text":"TemporaryFile(/tmp/multipartBody4927029724374865170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329814888,"filename":"image_29012025_20_27_07_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/559e25dfc30b95bd219121e48d6e7eb2.jpg","text":"TemporaryFile(/tmp/multipartBody2315149417511066548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329814888,"filename":"image_29012025_20_26_37_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333332458","file1":"1333332413","file0":"1333332352","file4":"1333332670","file5":"1333332673","file3":"1333332568"},"map_files_photo_id_array":[{"photo_id":"1333332673","filename":"file5"},{"photo_id":"1333332458","filename":"file2"},{"photo_id":"1333332670","filename":"file4"},{"photo_id":"1333332413","filename":"file1"},{"photo_id":"1333332352","filename":"file0"},{"photo_id":"1333332568","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333332458":["hashtag1","hashtag2"]},{"1333332413":["hashtag1","hashtag2"]},{"1333332670":["hashtag1","hashtag2"]},{"1333332673":["hashtag1","hashtag2"]},{"1333332568":["hashtag1","hashtag2"]},{"1333332352":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333332458, 1333332413, 1333332670, 1333332673, 1333332568, 1333332352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.108543157577515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:23:32.716870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/27/image_29012025_20_27_36_9435.jpg', '/home/pi/Desktop/images/29012025/20/27/image_29012025_20_27_47_10442.jpg', '/home/pi/Desktop/images/29012025/20/27/image_29012025_20_27_56_9447.jpg', '/home/pi/Desktop/images/29012025/20/27/image_29012025_20_28_06_10342.jpg', '/home/pi/Desktop/images/29012025/20/28/image_29012025_20_28_17_10332.jpg', '/home/pi/Desktop/images/29012025/20/28/image_29012025_20_28_26_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/27/image_29012025_20_27_36_9435.jpg
/home/pi/Desktop/images/29012025/20/27/image_29012025_20_27_47_10442.jpg
/home/pi/Desktop/images/29012025/20/27/image_29012025_20_27_56_9447.jpg
/home/pi/Desktop/images/29012025/20/27/image_29012025_20_28_06_10342.jpg
/home/pi/Desktop/images/29012025/20/28/image_29012025_20_28_17_10332.jpg
/home/pi/Desktop/images/29012025/20/28/image_29012025_20_28_26_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":["1333332791","1333332782","1333332776","1333332769","1333332789","1333332765"],"photo_ids_order":["1333332765","1333332769","1333332776","1333332782","1333332789","1333332791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e34d21e303c5d2304baed8c09c6123b5.jpg","text":"TemporaryFile(/tmp/multipartBody106150735710576332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329875138,"filename":"image_29012025_20_28_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/1/31/dcaad1860e933a5a27fe763a7a1b41b4.jpg","text":"TemporaryFile(/tmp/multipartBody8550398279140313805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329875138,"filename":"image_29012025_20_28_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/1/31/070f88ff0af505158a456a06963bfa95.jpg","text":"TemporaryFile(/tmp/multipartBody8930515644031050803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329875138,"filename":"image_29012025_20_27_56_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/20a6422caa82b3c6cff3adca77172ffa.jpg","text":"TemporaryFile(/tmp/multipartBody582498611990685146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329875138,"filename":"image_29012025_20_27_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/1/31/651c519bbca019ae9465ef055dfb0d60.jpg","text":"TemporaryFile(/tmp/multipartBody8902065324392082625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329875138,"filename":"image_29012025_20_28_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/1/31/8ca3e7a3a9dff934bd64ca3fc36c002d.jpg","text":"TemporaryFile(/tmp/multipartBody8816659598922820072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329875138,"filename":"image_29012025_20_27_36_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333332776","file1":"1333332769","file0":"1333332765","file4":"1333332789","file5":"1333332791","file3":"1333332782"},"map_files_photo_id_array":[{"photo_id":"1333332791","filename":"file5"},{"photo_id":"1333332776","filename":"file2"},{"photo_id":"1333332789","filename":"file4"},{"photo_id":"1333332769","filename":"file1"},{"photo_id":"1333332765","filename":"file0"},{"photo_id":"1333332782","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333332791":["hashtag1","hashtag2"]},{"1333332782":["hashtag1","hashtag2"]},{"1333332776":["hashtag1","hashtag2"]},{"1333332769":["hashtag1","hashtag2"]},{"1333332789":["hashtag1","hashtag2"]},{"1333332765":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333332791, 1333332782, 1333332776, 1333332769, 1333332789, 1333332765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.15858459472656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:24:32.947873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/28/image_29012025_20_28_37_10401.jpg', '/home/pi/Desktop/images/29012025/20/28/image_29012025_20_28_47_10354.jpg', '/home/pi/Desktop/images/29012025/20/28/image_29012025_20_28_56_9337.jpg', '/home/pi/Desktop/images/29012025/20/28/image_29012025_20_29_07_10345.jpg', '/home/pi/Desktop/images/29012025/20/29/image_29012025_20_29_17_10355.jpg', '/home/pi/Desktop/images/29012025/20/29/image_29012025_20_29_26_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/28/image_29012025_20_28_37_10401.jpg
/home/pi/Desktop/images/29012025/20/28/image_29012025_20_28_47_10354.jpg
/home/pi/Desktop/images/29012025/20/28/image_29012025_20_28_56_9337.jpg
/home/pi/Desktop/images/29012025/20/28/image_29012025_20_29_07_10345.jpg
/home/pi/Desktop/images/29012025/20/29/image_29012025_20_29_17_10355.jpg
/home/pi/Desktop/images/29012025/20/29/image_29012025_20_29_26_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":["1333332849","1333332822","1333332816","1333332842","1333332829","1333332838"],"photo_ids_order":["1333332816","1333332822","1333332829","1333332838","1333332842","1333332849"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e4112a9bf7be08049223026f29986bc7.jpg","text":"TemporaryFile(/tmp/multipartBody8333730138995168158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329935355,"filename":"image_29012025_20_29_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/1/31/ced8e07ace924d9a3f4098bf4fe13742.jpg","text":"TemporaryFile(/tmp/multipartBody6586079214565923063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329935355,"filename":"image_29012025_20_28_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/1/31/d7a37ad2d70e1eaf1004a490f689fc63.jpg","text":"TemporaryFile(/tmp/multipartBody3103063924943574261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329935355,"filename":"image_29012025_20_28_37_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6b7aaaddaf81be96df9863df9b1f09f2.jpg","text":"TemporaryFile(/tmp/multipartBody9099925382941515221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329935355,"filename":"image_29012025_20_29_17_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a597ae1a643ea3fc8f94175664c926f2.jpg","text":"TemporaryFile(/tmp/multipartBody8311602177867259196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329935355,"filename":"image_29012025_20_28_56_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9bf8833459eced02a4f2470407fdff0c.jpg","text":"TemporaryFile(/tmp/multipartBody6040025006317816394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329935355,"filename":"image_29012025_20_29_07_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333332829","file1":"1333332822","file0":"1333332816","file4":"1333332842","file5":"1333332849","file3":"1333332838"},"map_files_photo_id_array":[{"photo_id":"1333332849","filename":"file5"},{"photo_id":"1333332829","filename":"file2"},{"photo_id":"1333332842","filename":"file4"},{"photo_id":"1333332822","filename":"file1"},{"photo_id":"1333332816","filename":"file0"},{"photo_id":"1333332838","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333332849":["hashtag1","hashtag2"]},{"1333332822":["hashtag1","hashtag2"]},{"1333332816":["hashtag1","hashtag2"]},{"1333332842":["hashtag1","hashtag2"]},{"1333332829":["hashtag1","hashtag2"]},{"1333332838":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333332849, 1333332822, 1333332816, 1333332842, 1333332829, 1333332838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.54753518104553 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:25:32.232106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/29/image_29012025_20_29_46_9512.jpg', '/home/pi/Desktop/images/29012025/20/29/image_29012025_20_29_57_10343.jpg', '/home/pi/Desktop/images/29012025/20/29/image_29012025_20_30_07_10348.jpg', '/home/pi/Desktop/images/29012025/20/30/image_29012025_20_30_16_9340.jpg', '/home/pi/Desktop/images/29012025/20/30/image_29012025_20_30_27_10355.jpg', '/home/pi/Desktop/images/29012025/20/30/image_29012025_20_30_37_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/29/image_29012025_20_29_46_9512.jpg
/home/pi/Desktop/images/29012025/20/29/image_29012025_20_29_57_10343.jpg
/home/pi/Desktop/images/29012025/20/29/image_29012025_20_30_07_10348.jpg
/home/pi/Desktop/images/29012025/20/30/image_29012025_20_30_16_9340.jpg
/home/pi/Desktop/images/29012025/20/30/image_29012025_20_30_27_10355.jpg
/home/pi/Desktop/images/29012025/20/30/image_29012025_20_30_37_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":["1333332971","1333332965","1333332974","1333332956","1333332944","1333332949"],"photo_ids_order":["1333332944","1333332949","1333332956","1333332965","1333332971","1333332974"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/283f11365fd52bc673071d2aee795b76.jpg","text":"TemporaryFile(/tmp/multipartBody1439088187600918655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329994672,"filename":"image_29012025_20_30_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/1/31/1e04df7a02a86ade1dfce7751e9c4665.jpg","text":"TemporaryFile(/tmp/multipartBody8643647737163215834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329994672,"filename":"image_29012025_20_30_16_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/31acb2ac416d855aca413e9871aa9f7f.jpg","text":"TemporaryFile(/tmp/multipartBody2967607101062725420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329994672,"filename":"image_29012025_20_30_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/1/31/52c069686aab98ddd8cfebe47c14cb46.jpg","text":"TemporaryFile(/tmp/multipartBody4851639832802850519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329994672,"filename":"image_29012025_20_30_07_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3ca12cb656ca197013abd48d2eec16ee.jpg","text":"TemporaryFile(/tmp/multipartBody5213286298917893188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329994672,"filename":"image_29012025_20_29_46_9512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b29ffdc9fa3dfcfdb3f83d102fb3fc76.jpg","text":"TemporaryFile(/tmp/multipartBody778285840638672583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738329994672,"filename":"image_29012025_20_29_57_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333332956","file1":"1333332949","file0":"1333332944","file4":"1333332971","file5":"1333332974","file3":"1333332965"},"map_files_photo_id_array":[{"photo_id":"1333332974","filename":"file5"},{"photo_id":"1333332956","filename":"file2"},{"photo_id":"1333332971","filename":"file4"},{"photo_id":"1333332949","filename":"file1"},{"photo_id":"1333332944","filename":"file0"},{"photo_id":"1333332965","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333332971":["hashtag1","hashtag2"]},{"1333332965":["hashtag1","hashtag2"]},{"1333332974":["hashtag1","hashtag2"]},{"1333332956":["hashtag1","hashtag2"]},{"1333332944":["hashtag1","hashtag2"]},{"1333332949":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333332971, 1333332965, 1333332974, 1333332956, 1333332944, 1333332949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.18186807632446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:26:32.585191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/30/image_29012025_20_30_57_10341.jpg', '/home/pi/Desktop/images/29012025/20/30/image_29012025_20_31_07_10411.jpg', '/home/pi/Desktop/images/29012025/20/31/image_29012025_20_31_16_9405.jpg', '/home/pi/Desktop/images/29012025/20/31/image_29012025_20_31_27_10381.jpg', '/home/pi/Desktop/images/29012025/20/31/image_29012025_20_31_36_9355.jpg', '/home/pi/Desktop/images/29012025/20/31/image_29012025_20_31_47_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/30/image_29012025_20_30_57_10341.jpg
/home/pi/Desktop/images/29012025/20/30/image_29012025_20_31_07_10411.jpg
/home/pi/Desktop/images/29012025/20/31/image_29012025_20_31_16_9405.jpg
/home/pi/Desktop/images/29012025/20/31/image_29012025_20_31_27_10381.jpg
/home/pi/Desktop/images/29012025/20/31/image_29012025_20_31_36_9355.jpg
/home/pi/Desktop/images/29012025/20/31/image_29012025_20_31_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":["1333333016","1333333001","1333333007","1333333129","1333333140","1333333011"],"photo_ids_order":["1333333001","1333333007","1333333011","1333333016","1333333129","1333333140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3a5509f2e660c409929db54245901c21.jpg","text":"TemporaryFile(/tmp/multipartBody9085292598360229167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330055038,"filename":"image_29012025_20_31_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/1/31/0b036280ecf10dab9f6cab42d6d15b33.jpg","text":"TemporaryFile(/tmp/multipartBody8259423775995849578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330055038,"filename":"image_29012025_20_30_57_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/75441820ba0c22f1059bc4c0b0ee4897.jpg","text":"TemporaryFile(/tmp/multipartBody6087332446991905574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330055038,"filename":"image_29012025_20_31_07_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5ae4f4b151c6c5fb6f9494fefa3542f0.jpg","text":"TemporaryFile(/tmp/multipartBody6032527967133662500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330055038,"filename":"image_29012025_20_31_36_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ee79216e90fac4e53f0625dcd1ae4820.jpg","text":"TemporaryFile(/tmp/multipartBody3235331875948145497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330055038,"filename":"image_29012025_20_31_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/1/31/d43710a25f9b12028d4859f50356d8b2.jpg","text":"TemporaryFile(/tmp/multipartBody4141003572130234920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330055038,"filename":"image_29012025_20_31_16_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333333011","file1":"1333333007","file0":"1333333001","file4":"1333333129","file5":"1333333140","file3":"1333333016"},"map_files_photo_id_array":[{"photo_id":"1333333140","filename":"file5"},{"photo_id":"1333333011","filename":"file2"},{"photo_id":"1333333129","filename":"file4"},{"photo_id":"1333333007","filename":"file1"},{"photo_id":"1333333001","filename":"file0"},{"photo_id":"1333333016","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333333016":["hashtag1","hashtag2"]},{"1333333001":["hashtag1","hashtag2"]},{"1333333007":["hashtag1","hashtag2"]},{"1333333129":["hashtag1","hashtag2"]},{"1333333140":["hashtag1","hashtag2"]},{"1333333011":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333333016, 1333333001, 1333333007, 1333333129, 1333333140, 1333333011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16082310676575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:27:32.797405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/31/image_29012025_20_31_57_10354.jpg', '/home/pi/Desktop/images/29012025/20/31/image_29012025_20_32_06_9419.jpg', '/home/pi/Desktop/images/29012025/20/32/image_29012025_20_32_17_10350.jpg', '/home/pi/Desktop/images/29012025/20/32/image_29012025_20_32_26_9409.jpg', '/home/pi/Desktop/images/29012025/20/32/image_29012025_20_32_36_10342.jpg', '/home/pi/Desktop/images/29012025/20/32/image_29012025_20_32_47_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/31/image_29012025_20_31_57_10354.jpg
/home/pi/Desktop/images/29012025/20/31/image_29012025_20_32_06_9419.jpg
/home/pi/Desktop/images/29012025/20/32/image_29012025_20_32_17_10350.jpg
/home/pi/Desktop/images/29012025/20/32/image_29012025_20_32_26_9409.jpg
/home/pi/Desktop/images/29012025/20/32/image_29012025_20_32_36_10342.jpg
/home/pi/Desktop/images/29012025/20/32/image_29012025_20_32_47_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":["1333333252","1333333197","1333333191","1333333248","1333333242","1333333203"],"photo_ids_order":["1333333191","1333333197","1333333203","1333333242","1333333248","1333333252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b3f6cef1dc7a3395b50a705ae854a30c.jpg","text":"TemporaryFile(/tmp/multipartBody7820600975837351150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330115191,"filename":"image_29012025_20_32_47_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7ba5ed7b343858cc54573f403e549f8c.jpg","text":"TemporaryFile(/tmp/multipartBody8480048513409640250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330115191,"filename":"image_29012025_20_32_06_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cc3e5b8ecd3272ba61c7af1a3943cc55.jpg","text":"TemporaryFile(/tmp/multipartBody7246528588633738444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330115191,"filename":"image_29012025_20_31_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/1/31/1fd6ae76d6f199c594691c1f70fa5c05.jpg","text":"TemporaryFile(/tmp/multipartBody4281825914430764984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330115191,"filename":"image_29012025_20_32_36_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/393599879b966d079fa2d622dce20969.jpg","text":"TemporaryFile(/tmp/multipartBody8797020375834196714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330115191,"filename":"image_29012025_20_32_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/1/31/858e05dbfd0909826e4442b71e291805.jpg","text":"TemporaryFile(/tmp/multipartBody6184536630753902452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330115191,"filename":"image_29012025_20_32_17_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333333203","file1":"1333333197","file0":"1333333191","file4":"1333333248","file5":"1333333252","file3":"1333333242"},"map_files_photo_id_array":[{"photo_id":"1333333252","filename":"file5"},{"photo_id":"1333333203","filename":"file2"},{"photo_id":"1333333248","filename":"file4"},{"photo_id":"1333333197","filename":"file1"},{"photo_id":"1333333191","filename":"file0"},{"photo_id":"1333333242","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333333252":["hashtag1","hashtag2"]},{"1333333197":["hashtag1","hashtag2"]},{"1333333191":["hashtag1","hashtag2"]},{"1333333248":["hashtag1","hashtag2"]},{"1333333242":["hashtag1","hashtag2"]},{"1333333203":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333333252, 1333333197, 1333333191, 1333333248, 1333333242, 1333333203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.616997480392456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:28:32.973161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/32/image_29012025_20_32_56_9419.jpg', '/home/pi/Desktop/images/29012025/20/32/image_29012025_20_33_07_10323.jpg', '/home/pi/Desktop/images/29012025/20/33/image_29012025_20_33_17_10331.jpg', '/home/pi/Desktop/images/29012025/20/33/image_29012025_20_33_26_9402.jpg', '/home/pi/Desktop/images/29012025/20/33/image_29012025_20_33_37_10340.jpg', '/home/pi/Desktop/images/29012025/20/33/image_29012025_20_33_46_9455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/32/image_29012025_20_32_56_9419.jpg
/home/pi/Desktop/images/29012025/20/32/image_29012025_20_33_07_10323.jpg
/home/pi/Desktop/images/29012025/20/33/image_29012025_20_33_17_10331.jpg
/home/pi/Desktop/images/29012025/20/33/image_29012025_20_33_26_9402.jpg
/home/pi/Desktop/images/29012025/20/33/image_29012025_20_33_37_10340.jpg
/home/pi/Desktop/images/29012025/20/33/image_29012025_20_33_46_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":["1333333298","1333333307","1333333267","1333333282","1333333303","1333333275"],"photo_ids_order":["1333333267","1333333275","1333333282","1333333298","1333333303","1333333307"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/11d0932bb49810fccca6d7cedc3fbf95.jpg","text":"TemporaryFile(/tmp/multipartBody1435879603432098022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330175351,"filename":"image_29012025_20_33_26_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/252300f4dff2392d2c12bbf1e903c2e8.jpg","text":"TemporaryFile(/tmp/multipartBody5063962721129019781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330175351,"filename":"image_29012025_20_33_46_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/87bd1d2ea7f1030c12199c25796b9adb.jpg","text":"TemporaryFile(/tmp/multipartBody6409740199726791323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330175351,"filename":"image_29012025_20_32_56_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/38d84dec1ed977821b282ee27e7f0143.jpg","text":"TemporaryFile(/tmp/multipartBody3630674637407956402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330175351,"filename":"image_29012025_20_33_17_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5cce8cba51e6a9b385211cf9cc4124c4.jpg","text":"TemporaryFile(/tmp/multipartBody2463881158665927683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330175351,"filename":"image_29012025_20_33_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/1/31/1f331a45f4664fa872d86379816d5049.jpg","text":"TemporaryFile(/tmp/multipartBody6768668069489032721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330175351,"filename":"image_29012025_20_33_07_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333333282","file1":"1333333275","file0":"1333333267","file4":"1333333303","file5":"1333333307","file3":"1333333298"},"map_files_photo_id_array":[{"photo_id":"1333333307","filename":"file5"},{"photo_id":"1333333282","filename":"file2"},{"photo_id":"1333333303","filename":"file4"},{"photo_id":"1333333275","filename":"file1"},{"photo_id":"1333333267","filename":"file0"},{"photo_id":"1333333298","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333333298":["hashtag1","hashtag2"]},{"1333333307":["hashtag1","hashtag2"]},{"1333333267":["hashtag1","hashtag2"]},{"1333333282":["hashtag1","hashtag2"]},{"1333333303":["hashtag1","hashtag2"]},{"1333333275":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333333298, 1333333307, 1333333267, 1333333282, 1333333303, 1333333275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.53634214401245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:29:32.431127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/33/image_29012025_20_33_56_10352.jpg', '/home/pi/Desktop/images/29012025/20/33/image_29012025_20_34_07_10341.jpg', '/home/pi/Desktop/images/29012025/20/34/image_29012025_20_34_16_9433.jpg', '/home/pi/Desktop/images/29012025/20/34/image_29012025_20_34_46_9340.jpg', '/home/pi/Desktop/images/29012025/20/34/image_29012025_20_34_57_10356.jpg', '/home/pi/Desktop/images/29012025/20/34/image_29012025_20_35_07_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/33/image_29012025_20_33_56_10352.jpg
/home/pi/Desktop/images/29012025/20/33/image_29012025_20_34_07_10341.jpg
/home/pi/Desktop/images/29012025/20/34/image_29012025_20_34_16_9433.jpg
/home/pi/Desktop/images/29012025/20/34/image_29012025_20_34_46_9340.jpg
/home/pi/Desktop/images/29012025/20/34/image_29012025_20_34_57_10356.jpg
/home/pi/Desktop/images/29012025/20/34/image_29012025_20_35_07_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.004242420196533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 14:29:42.400237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/33/image_29012025_20_33_56_10352.jpg', '/home/pi/Desktop/images/29012025/20/33/image_29012025_20_34_07_10341.jpg', '/home/pi/Desktop/images/29012025/20/34/image_29012025_20_34_16_9433.jpg', '/home/pi/Desktop/images/29012025/20/34/image_29012025_20_34_46_9340.jpg', '/home/pi/Desktop/images/29012025/20/34/image_29012025_20_34_57_10356.jpg', '/home/pi/Desktop/images/29012025/20/34/image_29012025_20_35_07_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/33/image_29012025_20_33_56_10352.jpg
/home/pi/Desktop/images/29012025/20/33/image_29012025_20_34_07_10341.jpg
/home/pi/Desktop/images/29012025/20/34/image_29012025_20_34_16_9433.jpg
/home/pi/Desktop/images/29012025/20/34/image_29012025_20_34_46_9340.jpg
/home/pi/Desktop/images/29012025/20/34/image_29012025_20_34_57_10356.jpg
/home/pi/Desktop/images/29012025/20/34/image_29012025_20_35_07_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":["1333333376","1333333367","1333333372","1333333351","1333333360","1333333344"],"photo_ids_order":["1333333344","1333333351","1333333360","1333333367","1333333372","1333333376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/53f81ec292d09ad58fefcb04101088a1.jpg","text":"TemporaryFile(/tmp/multipartBody7124300216445877972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330243898,"filename":"image_29012025_20_35_07_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8dc44d63f6d6d664eb63d8f914fd4c37.jpg","text":"TemporaryFile(/tmp/multipartBody3062962793104108956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330243898,"filename":"image_29012025_20_34_46_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2d5649c9bacc92f03d5b01ef9c0bc394.jpg","text":"TemporaryFile(/tmp/multipartBody6176865054627438712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330243898,"filename":"image_29012025_20_34_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/1/31/7a5fcfffacce1b519bdaa3e2650cf855.jpg","text":"TemporaryFile(/tmp/multipartBody4162947824132768599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330243898,"filename":"image_29012025_20_34_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/1/31/d9d1da415c9e1800ab7f98e30bdc55ca.jpg","text":"TemporaryFile(/tmp/multipartBody622106861887065809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330243898,"filename":"image_29012025_20_34_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/1/31/74d8219da83b7d5b67370f5dcb2c0b31.jpg","text":"TemporaryFile(/tmp/multipartBody3608759772384732710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330243898,"filename":"image_29012025_20_33_56_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333333360","file1":"1333333351","file0":"1333333344","file4":"1333333372","file5":"1333333376","file3":"1333333367"},"map_files_photo_id_array":[{"photo_id":"1333333376","filename":"file5"},{"photo_id":"1333333360","filename":"file2"},{"photo_id":"1333333372","filename":"file4"},{"photo_id":"1333333351","filename":"file1"},{"photo_id":"1333333344","filename":"file0"},{"photo_id":"1333333367","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333333376":["hashtag1","hashtag2"]},{"1333333367":["hashtag1","hashtag2"]},{"1333333372":["hashtag1","hashtag2"]},{"1333333351":["hashtag1","hashtag2"]},{"1333333360":["hashtag1","hashtag2"]},{"1333333344":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333333376, 1333333367, 1333333372, 1333333351, 1333333360, 1333333344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64527463912964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:30:32.542095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/35/image_29012025_20_35_27_10369.jpg', '/home/pi/Desktop/images/29012025/20/35/image_29012025_20_35_36_9348.jpg', '/home/pi/Desktop/images/29012025/20/35/image_29012025_20_35_46_10371.jpg', '/home/pi/Desktop/images/29012025/20/35/image_29012025_20_35_57_10391.jpg', '/home/pi/Desktop/images/29012025/20/35/image_29012025_20_36_06_9339.jpg', '/home/pi/Desktop/images/29012025/20/36/image_29012025_20_36_17_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/35/image_29012025_20_35_27_10369.jpg
/home/pi/Desktop/images/29012025/20/35/image_29012025_20_35_36_9348.jpg
/home/pi/Desktop/images/29012025/20/35/image_29012025_20_35_46_10371.jpg
/home/pi/Desktop/images/29012025/20/35/image_29012025_20_35_57_10391.jpg
/home/pi/Desktop/images/29012025/20/35/image_29012025_20_36_06_9339.jpg
/home/pi/Desktop/images/29012025/20/36/image_29012025_20_36_17_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":["1333333592","1333333616","1333333619","1333333612","1333333575","1333333539"],"photo_ids_order":["1333333539","1333333575","1333333592","1333333612","1333333616","1333333619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3ed3a42bcc5110831c0f1dcc7f8a7d62.jpg","text":"TemporaryFile(/tmp/multipartBody3383271770001464844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330294960,"filename":"image_29012025_20_35_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/1/31/c7e18f8d9bb179669d71581fe753f161.jpg","text":"TemporaryFile(/tmp/multipartBody7269401286611534106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330294960,"filename":"image_29012025_20_36_06_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2c0c63318998ae9b5e52a8970e3f0d06.jpg","text":"TemporaryFile(/tmp/multipartBody8144268940007443069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330294960,"filename":"image_29012025_20_36_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/1/31/6268e94bc774508fd9745f05108224d2.jpg","text":"TemporaryFile(/tmp/multipartBody5989925297130601361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330294960,"filename":"image_29012025_20_35_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/1/31/1f248ccde8f6fa64b2cb00592be6fcb4.jpg","text":"TemporaryFile(/tmp/multipartBody8515793189638231461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330294960,"filename":"image_29012025_20_35_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/1/31/d76657520995df845177eefd2471fb03.jpg","text":"TemporaryFile(/tmp/multipartBody3075245480940101909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330294960,"filename":"image_29012025_20_35_27_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333333592","file1":"1333333575","file0":"1333333539","file4":"1333333616","file5":"1333333619","file3":"1333333612"},"map_files_photo_id_array":[{"photo_id":"1333333619","filename":"file5"},{"photo_id":"1333333592","filename":"file2"},{"photo_id":"1333333616","filename":"file4"},{"photo_id":"1333333575","filename":"file1"},{"photo_id":"1333333539","filename":"file0"},{"photo_id":"1333333612","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333333592":["hashtag1","hashtag2"]},{"1333333616":["hashtag1","hashtag2"]},{"1333333619":["hashtag1","hashtag2"]},{"1333333612":["hashtag1","hashtag2"]},{"1333333575":["hashtag1","hashtag2"]},{"1333333539":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333333592, 1333333616, 1333333619, 1333333612, 1333333575, 1333333539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.391175746917725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:31:32.837346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/36/image_29012025_20_36_27_10387.jpg', '/home/pi/Desktop/images/29012025/20/36/image_29012025_20_36_36_9450.jpg', '/home/pi/Desktop/images/29012025/20/36/image_29012025_20_36_47_10372.jpg', '/home/pi/Desktop/images/29012025/20/36/image_29012025_20_36_56_9353.jpg', '/home/pi/Desktop/images/29012025/20/36/image_29012025_20_37_06_10332.jpg', '/home/pi/Desktop/images/29012025/20/37/image_29012025_20_37_17_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/36/image_29012025_20_36_27_10387.jpg
/home/pi/Desktop/images/29012025/20/36/image_29012025_20_36_36_9450.jpg
/home/pi/Desktop/images/29012025/20/36/image_29012025_20_36_47_10372.jpg
/home/pi/Desktop/images/29012025/20/36/image_29012025_20_36_56_9353.jpg
/home/pi/Desktop/images/29012025/20/36/image_29012025_20_37_06_10332.jpg
/home/pi/Desktop/images/29012025/20/37/image_29012025_20_37_17_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":["1333333655","1333333715","1333333711","1333333705","1333333641","1333333647"],"photo_ids_order":["1333333641","1333333647","1333333655","1333333705","1333333711","1333333715"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8345ccbc9dfc7c0c6cdb9316914d9dc4.jpg","text":"TemporaryFile(/tmp/multipartBody3971559602966673980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330355227,"filename":"image_29012025_20_36_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/1/31/ebab72632b3f21d793be23b56858f89d.jpg","text":"TemporaryFile(/tmp/multipartBody8389073449283323957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330355227,"filename":"image_29012025_20_37_17_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/69de712412d727c945e95f2bb18bae24.jpg","text":"TemporaryFile(/tmp/multipartBody4501728667683875240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330355227,"filename":"image_29012025_20_37_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/1/31/3ec25e86cca08dc3646671ab7eb264d4.jpg","text":"TemporaryFile(/tmp/multipartBody9165861994103136431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330355227,"filename":"image_29012025_20_36_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/1/31/ee3842489d120c728a14dc62982da028.jpg","text":"TemporaryFile(/tmp/multipartBody3976249719401410063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330355227,"filename":"image_29012025_20_36_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/1/31/eb13f9cc621cc071b73af2fbdba1dc1b.jpg","text":"TemporaryFile(/tmp/multipartBody2201316153749850691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330355227,"filename":"image_29012025_20_36_36_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333333655","file1":"1333333647","file0":"1333333641","file4":"1333333711","file5":"1333333715","file3":"1333333705"},"map_files_photo_id_array":[{"photo_id":"1333333715","filename":"file5"},{"photo_id":"1333333655","filename":"file2"},{"photo_id":"1333333711","filename":"file4"},{"photo_id":"1333333647","filename":"file1"},{"photo_id":"1333333641","filename":"file0"},{"photo_id":"1333333705","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333333655":["hashtag1","hashtag2"]},{"1333333715":["hashtag1","hashtag2"]},{"1333333711":["hashtag1","hashtag2"]},{"1333333705":["hashtag1","hashtag2"]},{"1333333641":["hashtag1","hashtag2"]},{"1333333647":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333333655, 1333333715, 1333333711, 1333333705, 1333333641, 1333333647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78466057777405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:32:33.011058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/37/image_29012025_20_37_26_9419.jpg', '/home/pi/Desktop/images/29012025/20/37/image_29012025_20_37_37_10344.jpg', '/home/pi/Desktop/images/29012025/20/37/image_29012025_20_37_46_9504.jpg', '/home/pi/Desktop/images/29012025/20/37/image_29012025_20_37_56_10340.jpg', '/home/pi/Desktop/images/29012025/20/37/image_29012025_20_38_07_10343.jpg', '/home/pi/Desktop/images/29012025/20/38/image_29012025_20_38_16_9404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/37/image_29012025_20_37_26_9419.jpg
/home/pi/Desktop/images/29012025/20/37/image_29012025_20_37_37_10344.jpg
/home/pi/Desktop/images/29012025/20/37/image_29012025_20_37_46_9504.jpg
/home/pi/Desktop/images/29012025/20/37/image_29012025_20_37_56_10340.jpg
/home/pi/Desktop/images/29012025/20/37/image_29012025_20_38_07_10343.jpg
/home/pi/Desktop/images/29012025/20/38/image_29012025_20_38_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":["1333334216","1333334051","1333334058","1333334067","1333334214","1333334189"],"photo_ids_order":["1333334051","1333334058","1333334067","1333334189","1333334214","1333334216"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cd654644f273ed44bc87fe95988b1497.jpg","text":"TemporaryFile(/tmp/multipartBody6497112837974847945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330415434,"filename":"image_29012025_20_38_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/1/31/022c4959240c94362f1de8f106d80c68.jpg","text":"TemporaryFile(/tmp/multipartBody5594640109709807814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330415434,"filename":"image_29012025_20_37_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/1/31/1661fe83acff93ad823909b8228a81e2.jpg","text":"TemporaryFile(/tmp/multipartBody5533945350244575272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330415434,"filename":"image_29012025_20_37_37_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d39be9872a231fe25001a5b8e7be1934.jpg","text":"TemporaryFile(/tmp/multipartBody5840149168211655438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330415434,"filename":"image_29012025_20_37_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/1/31/0bb2752b404567d75e346e14621f4a65.jpg","text":"TemporaryFile(/tmp/multipartBody8639393940351935321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330415434,"filename":"image_29012025_20_38_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/1/31/582025616743986d6a4a6dd4550e7fcb.jpg","text":"TemporaryFile(/tmp/multipartBody52143013976446036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330415434,"filename":"image_29012025_20_37_56_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333334067","file1":"1333334058","file0":"1333334051","file4":"1333334214","file5":"1333334216","file3":"1333334189"},"map_files_photo_id_array":[{"photo_id":"1333334216","filename":"file5"},{"photo_id":"1333334067","filename":"file2"},{"photo_id":"1333334214","filename":"file4"},{"photo_id":"1333334058","filename":"file1"},{"photo_id":"1333334051","filename":"file0"},{"photo_id":"1333334189","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333334216":["hashtag1","hashtag2"]},{"1333334051":["hashtag1","hashtag2"]},{"1333334058":["hashtag1","hashtag2"]},{"1333334067":["hashtag1","hashtag2"]},{"1333334214":["hashtag1","hashtag2"]},{"1333334189":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333334216, 1333334051, 1333334058, 1333334067, 1333334214, 1333334189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.78456902503967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:33:32.219798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/38/image_29012025_20_38_26_10371.jpg', '/home/pi/Desktop/images/29012025/20/38/image_29012025_20_38_37_10375.jpg', '/home/pi/Desktop/images/29012025/20/38/image_29012025_20_38_46_9353.jpg', '/home/pi/Desktop/images/29012025/20/38/image_29012025_20_38_57_10349.jpg', '/home/pi/Desktop/images/29012025/20/38/image_29012025_20_39_07_10419.jpg', '/home/pi/Desktop/images/29012025/20/39/image_29012025_20_39_36_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/38/image_29012025_20_38_26_10371.jpg
/home/pi/Desktop/images/29012025/20/38/image_29012025_20_38_37_10375.jpg
/home/pi/Desktop/images/29012025/20/38/image_29012025_20_38_46_9353.jpg
/home/pi/Desktop/images/29012025/20/38/image_29012025_20_38_57_10349.jpg
/home/pi/Desktop/images/29012025/20/38/image_29012025_20_39_07_10419.jpg
/home/pi/Desktop/images/29012025/20/39/image_29012025_20_39_36_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":["1333334303","1333334284","1333334280","1333334307","1333334297","1333334291"],"photo_ids_order":["1333334280","1333334284","1333334291","1333334297","1333334303","1333334307"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0eeca1beb9b8e8d66796368e29edd314.jpg","text":"TemporaryFile(/tmp/multipartBody7290194186362806841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330474625,"filename":"image_29012025_20_39_07_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8c41c1b23f3a2a8c10b561904dab3434.jpg","text":"TemporaryFile(/tmp/multipartBody7952568462189872839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330474625,"filename":"image_29012025_20_38_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/1/31/8fe7a5183be5bc57ba9bfaefa4e99901.jpg","text":"TemporaryFile(/tmp/multipartBody1919306578967427998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330474625,"filename":"image_29012025_20_38_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/1/31/ccf597bff5ba5a33ad03e70134d11c8d.jpg","text":"TemporaryFile(/tmp/multipartBody1990770163998615432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330474625,"filename":"image_29012025_20_39_36_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8d01084c99d59e4691f085aa6b77a6be.jpg","text":"TemporaryFile(/tmp/multipartBody3045255799219790727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330474625,"filename":"image_29012025_20_38_57_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d8c6552e01cc901e3db004b2c0600a83.jpg","text":"TemporaryFile(/tmp/multipartBody4192762770529388181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330474625,"filename":"image_29012025_20_38_46_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333334291","file1":"1333334284","file0":"1333334280","file4":"1333334303","file5":"1333334307","file3":"1333334297"},"map_files_photo_id_array":[{"photo_id":"1333334307","filename":"file5"},{"photo_id":"1333334291","filename":"file2"},{"photo_id":"1333334303","filename":"file4"},{"photo_id":"1333334284","filename":"file1"},{"photo_id":"1333334280","filename":"file0"},{"photo_id":"1333334297","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333334303":["hashtag1","hashtag2"]},{"1333334284":["hashtag1","hashtag2"]},{"1333334280":["hashtag1","hashtag2"]},{"1333334307":["hashtag1","hashtag2"]},{"1333334297":["hashtag1","hashtag2"]},{"1333334291":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333334303, 1333334284, 1333334280, 1333334307, 1333334297, 1333334291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.603853702545166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:34:32.957457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/39/image_29012025_20_39_46_10365.jpg', '/home/pi/Desktop/images/29012025/20/39/image_29012025_20_39_57_10359.jpg', '/home/pi/Desktop/images/29012025/20/39/image_29012025_20_40_06_9389.jpg', '/home/pi/Desktop/images/29012025/20/40/image_29012025_20_40_27_10479.jpg', '/home/pi/Desktop/images/29012025/20/40/image_29012025_20_40_36_9347.jpg', '/home/pi/Desktop/images/29012025/20/40/image_29012025_20_40_47_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/39/image_29012025_20_39_46_10365.jpg
/home/pi/Desktop/images/29012025/20/39/image_29012025_20_39_57_10359.jpg
/home/pi/Desktop/images/29012025/20/39/image_29012025_20_40_06_9389.jpg
/home/pi/Desktop/images/29012025/20/40/image_29012025_20_40_27_10479.jpg
/home/pi/Desktop/images/29012025/20/40/image_29012025_20_40_36_9347.jpg
/home/pi/Desktop/images/29012025/20/40/image_29012025_20_40_47_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":["1333334347","1333334367","1333334361","1333334370","1333334340","1333334334"],"photo_ids_order":["1333334334","1333334340","1333334347","1333334361","1333334367","1333334370"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1936bd78f9193deb58c48176452d6ad5.jpg","text":"TemporaryFile(/tmp/multipartBody9159570177677290741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330535348,"filename":"image_29012025_20_40_06_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6b4871970a5af76e598ed996f6ac66c6.jpg","text":"TemporaryFile(/tmp/multipartBody2052566824148543067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330535348,"filename":"image_29012025_20_40_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/1/31/f113985c59a5b18e60ff829e8a3993a2.jpg","text":"TemporaryFile(/tmp/multipartBody3231429833172794710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330535348,"filename":"image_29012025_20_40_27_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/545d0998f36bd3871fe2c851682ccf59.jpg","text":"TemporaryFile(/tmp/multipartBody3190711789187011883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330535348,"filename":"image_29012025_20_40_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/1/31/e47a19dfda726c3923489ad0dc016293.jpg","text":"TemporaryFile(/tmp/multipartBody2214321064358504452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330535348,"filename":"image_29012025_20_39_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/1/31/74a6d96fb6d31d96effd5daff4c3ce3b.jpg","text":"TemporaryFile(/tmp/multipartBody1465692835024346387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330535348,"filename":"image_29012025_20_39_46_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333334347","file1":"1333334340","file0":"1333334334","file4":"1333334367","file5":"1333334370","file3":"1333334361"},"map_files_photo_id_array":[{"photo_id":"1333334370","filename":"file5"},{"photo_id":"1333334347","filename":"file2"},{"photo_id":"1333334367","filename":"file4"},{"photo_id":"1333334340","filename":"file1"},{"photo_id":"1333334334","filename":"file0"},{"photo_id":"1333334361","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333334347":["hashtag1","hashtag2"]},{"1333334367":["hashtag1","hashtag2"]},{"1333334361":["hashtag1","hashtag2"]},{"1333334370":["hashtag1","hashtag2"]},{"1333334340":["hashtag1","hashtag2"]},{"1333334334":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333334347, 1333334367, 1333334361, 1333334370, 1333334340, 1333334334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86384677886963 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:35:32.997312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/40/image_29012025_20_40_56_9472.jpg', '/home/pi/Desktop/images/29012025/20/40/image_29012025_20_41_07_10428.jpg', '/home/pi/Desktop/images/29012025/20/41/image_29012025_20_41_16_9450.jpg', '/home/pi/Desktop/images/29012025/20/41/image_29012025_20_41_26_10404.jpg', '/home/pi/Desktop/images/29012025/20/41/image_29012025_20_41_37_10423.jpg', '/home/pi/Desktop/images/29012025/20/41/image_29012025_20_41_46_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/40/image_29012025_20_40_56_9472.jpg
/home/pi/Desktop/images/29012025/20/40/image_29012025_20_41_07_10428.jpg
/home/pi/Desktop/images/29012025/20/41/image_29012025_20_41_16_9450.jpg
/home/pi/Desktop/images/29012025/20/41/image_29012025_20_41_26_10404.jpg
/home/pi/Desktop/images/29012025/20/41/image_29012025_20_41_37_10423.jpg
/home/pi/Desktop/images/29012025/20/41/image_29012025_20_41_46_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":["1333334702","1333334497","1333334491","1333334665","1333334524","1333334547"],"photo_ids_order":["1333334491","1333334497","1333334524","1333334547","1333334665","1333334702"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4d858594a57692d02f160b16e778e216.jpg","text":"TemporaryFile(/tmp/multipartBody4291543025346047084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330595422,"filename":"image_29012025_20_41_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/1/31/0e1a2484f2bf2522e1ad39bbd36dd2e2.jpg","text":"TemporaryFile(/tmp/multipartBody5738759664095198238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330595422,"filename":"image_29012025_20_41_07_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7cc6f02fbc39a058dd8973a3adde7691.jpg","text":"TemporaryFile(/tmp/multipartBody6233726944238557797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330595422,"filename":"image_29012025_20_40_56_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2e84c603147dc9bdb526880632b6a42c.jpg","text":"TemporaryFile(/tmp/multipartBody662889249527519091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330595422,"filename":"image_29012025_20_41_37_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f7289fe76ce00cc8b0aa7db642d80d52.jpg","text":"TemporaryFile(/tmp/multipartBody4292762558713873909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330595422,"filename":"image_29012025_20_41_16_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4110912a3db3519d497109f4b70a0487.jpg","text":"TemporaryFile(/tmp/multipartBody682366213112132805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330595422,"filename":"image_29012025_20_41_26_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333334524","file1":"1333334497","file0":"1333334491","file4":"1333334665","file5":"1333334702","file3":"1333334547"},"map_files_photo_id_array":[{"photo_id":"1333334702","filename":"file5"},{"photo_id":"1333334524","filename":"file2"},{"photo_id":"1333334665","filename":"file4"},{"photo_id":"1333334497","filename":"file1"},{"photo_id":"1333334491","filename":"file0"},{"photo_id":"1333334547","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333334702":["hashtag1","hashtag2"]},{"1333334497":["hashtag1","hashtag2"]},{"1333334491":["hashtag1","hashtag2"]},{"1333334665":["hashtag1","hashtag2"]},{"1333334524":["hashtag1","hashtag2"]},{"1333334547":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333334702, 1333334497, 1333334491, 1333334665, 1333334524, 1333334547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.21885013580322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:36:33.016173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/41/image_29012025_20_41_57_10447.jpg', '/home/pi/Desktop/images/29012025/20/41/image_29012025_20_42_06_9359.jpg', '/home/pi/Desktop/images/29012025/20/42/image_29012025_20_42_36_9423.jpg', '/home/pi/Desktop/images/29012025/20/42/image_29012025_20_42_47_10354.jpg', '/home/pi/Desktop/images/29012025/20/42/image_29012025_20_42_57_10419.jpg', '/home/pi/Desktop/images/29012025/20/43/image_29012025_20_43_17_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/41/image_29012025_20_41_57_10447.jpg
/home/pi/Desktop/images/29012025/20/41/image_29012025_20_42_06_9359.jpg
/home/pi/Desktop/images/29012025/20/42/image_29012025_20_42_36_9423.jpg
/home/pi/Desktop/images/29012025/20/42/image_29012025_20_42_47_10354.jpg
/home/pi/Desktop/images/29012025/20/42/image_29012025_20_42_57_10419.jpg
/home/pi/Desktop/images/29012025/20/43/image_29012025_20_43_17_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":["1333335040","1333334962","1333335053","1333335056","1333335044","1333335011"],"photo_ids_order":["1333334962","1333335011","1333335040","1333335044","1333335053","1333335056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bee55c3815c5e6a0066102ea814c078a.jpg","text":"TemporaryFile(/tmp/multipartBody8456920902726920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330655407,"filename":"image_29012025_20_42_36_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f55a7703506ed61bdcc2821205173513.jpg","text":"TemporaryFile(/tmp/multipartBody1848455359952547164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330655407,"filename":"image_29012025_20_41_57_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fad93d997a61786e81421224c875c176.jpg","text":"TemporaryFile(/tmp/multipartBody5838582248943357671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330655407,"filename":"image_29012025_20_42_57_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5dd1a6291fdf436ed80887a4bfb1636c.jpg","text":"TemporaryFile(/tmp/multipartBody8208586074193344346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330655407,"filename":"image_29012025_20_43_17_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b32ea1fa0cf8f8aad00e11fddd768938.jpg","text":"TemporaryFile(/tmp/multipartBody8667227298751827416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330655407,"filename":"image_29012025_20_42_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/1/31/d28944169dfac339f328a02c414adf3a.jpg","text":"TemporaryFile(/tmp/multipartBody3987396375618056615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330655407,"filename":"image_29012025_20_42_06_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333335040","file1":"1333335011","file0":"1333334962","file4":"1333335053","file5":"1333335056","file3":"1333335044"},"map_files_photo_id_array":[{"photo_id":"1333335056","filename":"file5"},{"photo_id":"1333335040","filename":"file2"},{"photo_id":"1333335053","filename":"file4"},{"photo_id":"1333335011","filename":"file1"},{"photo_id":"1333334962","filename":"file0"},{"photo_id":"1333335044","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333335040":["hashtag1","hashtag2"]},{"1333334962":["hashtag1","hashtag2"]},{"1333335053":["hashtag1","hashtag2"]},{"1333335056":["hashtag1","hashtag2"]},{"1333335044":["hashtag1","hashtag2"]},{"1333335011":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333335040, 1333334962, 1333335053, 1333335056, 1333335044, 1333335011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.32539463043213 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:37:32.253936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/43/image_29012025_20_43_26_9441.jpg', '/home/pi/Desktop/images/29012025/20/43/image_29012025_20_43_47_10364.jpg', '/home/pi/Desktop/images/29012025/20/43/image_29012025_20_43_56_9441.jpg', '/home/pi/Desktop/images/29012025/20/43/image_29012025_20_44_07_10350.jpg', '/home/pi/Desktop/images/29012025/20/44/image_29012025_20_44_26_10349.jpg', '/home/pi/Desktop/images/29012025/20/44/image_29012025_20_44_57_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/43/image_29012025_20_43_26_9441.jpg
/home/pi/Desktop/images/29012025/20/43/image_29012025_20_43_47_10364.jpg
/home/pi/Desktop/images/29012025/20/43/image_29012025_20_43_56_9441.jpg
/home/pi/Desktop/images/29012025/20/43/image_29012025_20_44_07_10350.jpg
/home/pi/Desktop/images/29012025/20/44/image_29012025_20_44_26_10349.jpg
/home/pi/Desktop/images/29012025/20/44/image_29012025_20_44_57_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":["1333335198","1333335223","1333335195","1333335182","1333335227","1333335187"],"photo_ids_order":["1333335182","1333335187","1333335195","1333335198","1333335223","1333335227"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b8825dbd7fb0f56c732bf473250ee620.jpg","text":"TemporaryFile(/tmp/multipartBody3490118108576666661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330714668,"filename":"image_29012025_20_44_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/1/31/ef880540434e259dc992d81ec34c0a0d.jpg","text":"TemporaryFile(/tmp/multipartBody7067629608928469797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330714668,"filename":"image_29012025_20_44_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/1/31/a6a05322bf740fcdef1ce4a2dcf41348.jpg","text":"TemporaryFile(/tmp/multipartBody8788207866579618106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330714668,"filename":"image_29012025_20_43_56_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9ffc124f0d3a6be178e11188c8de1471.jpg","text":"TemporaryFile(/tmp/multipartBody6312144519601627046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330714668,"filename":"image_29012025_20_43_26_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3050c17f0e8d53eba29f65c5b9adcbdf.jpg","text":"TemporaryFile(/tmp/multipartBody2056250900649633916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330714668,"filename":"image_29012025_20_44_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/1/31/22d665bf9b0be9f9c3e9ab851e1da5eb.jpg","text":"TemporaryFile(/tmp/multipartBody5103422667296534949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330714668,"filename":"image_29012025_20_43_47_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333335195","file1":"1333335187","file0":"1333335182","file4":"1333335223","file5":"1333335227","file3":"1333335198"},"map_files_photo_id_array":[{"photo_id":"1333335227","filename":"file5"},{"photo_id":"1333335195","filename":"file2"},{"photo_id":"1333335223","filename":"file4"},{"photo_id":"1333335187","filename":"file1"},{"photo_id":"1333335182","filename":"file0"},{"photo_id":"1333335198","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333335198":["hashtag1","hashtag2"]},{"1333335223":["hashtag1","hashtag2"]},{"1333335195":["hashtag1","hashtag2"]},{"1333335182":["hashtag1","hashtag2"]},{"1333335227":["hashtag1","hashtag2"]},{"1333335187":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333335198, 1333335223, 1333335195, 1333335182, 1333335227, 1333335187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.825997829437256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:38:32.511705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/44/image_29012025_20_45_06_9408.jpg', '/home/pi/Desktop/images/29012025/20/45/image_29012025_20_45_16_10344.jpg', '/home/pi/Desktop/images/29012025/20/45/image_29012025_20_45_27_10355.jpg', '/home/pi/Desktop/images/29012025/20/45/image_29012025_20_45_36_9415.jpg', '/home/pi/Desktop/images/29012025/20/45/image_29012025_20_45_47_10344.jpg', '/home/pi/Desktop/images/29012025/20/45/image_29012025_20_45_57_10492.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/44/image_29012025_20_45_06_9408.jpg
/home/pi/Desktop/images/29012025/20/45/image_29012025_20_45_16_10344.jpg
/home/pi/Desktop/images/29012025/20/45/image_29012025_20_45_27_10355.jpg
/home/pi/Desktop/images/29012025/20/45/image_29012025_20_45_36_9415.jpg
/home/pi/Desktop/images/29012025/20/45/image_29012025_20_45_47_10344.jpg
/home/pi/Desktop/images/29012025/20/45/image_29012025_20_45_57_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":["1333335295","1333335277","1333335271","1333335281","1333335290","1333335284"],"photo_ids_order":["1333335271","1333335277","1333335281","1333335284","1333335290","1333335295"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b4ecacff6f12683293edb1d9c2f5b39c.jpg","text":"TemporaryFile(/tmp/multipartBody8029708743258182614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330774910,"filename":"image_29012025_20_45_57_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7423df48d45fbbce2e0d6a8e250c2c6e.jpg","text":"TemporaryFile(/tmp/multipartBody4541553376163881151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330774910,"filename":"image_29012025_20_45_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/1/31/8aff2450764ac3ef39593078feb52d0b.jpg","text":"TemporaryFile(/tmp/multipartBody2079505024323038437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330774910,"filename":"image_29012025_20_45_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/1/31/d0589759420734039d557181a19f5458.jpg","text":"TemporaryFile(/tmp/multipartBody8106299594545553473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330774910,"filename":"image_29012025_20_45_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/1/31/9f99ccd4cf1ac88cb7b71b0a26bb3881.jpg","text":"TemporaryFile(/tmp/multipartBody7763128192438617073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330774910,"filename":"image_29012025_20_45_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/1/31/ef26bba3b9f2692601d7186d335c42b1.jpg","text":"TemporaryFile(/tmp/multipartBody6712769469363967257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330774910,"filename":"image_29012025_20_45_36_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333335281","file1":"1333335277","file0":"1333335271","file4":"1333335290","file5":"1333335295","file3":"1333335284"},"map_files_photo_id_array":[{"photo_id":"1333335295","filename":"file5"},{"photo_id":"1333335281","filename":"file2"},{"photo_id":"1333335290","filename":"file4"},{"photo_id":"1333335277","filename":"file1"},{"photo_id":"1333335271","filename":"file0"},{"photo_id":"1333335284","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333335295":["hashtag1","hashtag2"]},{"1333335277":["hashtag1","hashtag2"]},{"1333335271":["hashtag1","hashtag2"]},{"1333335281":["hashtag1","hashtag2"]},{"1333335290":["hashtag1","hashtag2"]},{"1333335284":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333335295, 1333335277, 1333335271, 1333335281, 1333335290, 1333335284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.53476858139038 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:39:32.725711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/46/image_29012025_20_46_37_10338.jpg', '/home/pi/Desktop/images/29012025/20/46/image_29012025_20_46_47_10364.jpg', '/home/pi/Desktop/images/29012025/20/46/image_29012025_20_46_56_9410.jpg', '/home/pi/Desktop/images/29012025/20/46/image_29012025_20_47_07_10327.jpg', '/home/pi/Desktop/images/29012025/20/47/image_29012025_20_47_17_10400.jpg', '/home/pi/Desktop/images/29012025/20/47/image_29012025_20_47_37_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/46/image_29012025_20_46_37_10338.jpg
/home/pi/Desktop/images/29012025/20/46/image_29012025_20_46_47_10364.jpg
/home/pi/Desktop/images/29012025/20/46/image_29012025_20_46_56_9410.jpg
/home/pi/Desktop/images/29012025/20/46/image_29012025_20_47_07_10327.jpg
/home/pi/Desktop/images/29012025/20/47/image_29012025_20_47_17_10400.jpg
/home/pi/Desktop/images/29012025/20/47/image_29012025_20_47_37_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":["1333335478","1333335505","1333335494","1333335377","1333335371","1333335500"],"photo_ids_order":["1333335371","1333335377","1333335478","1333335494","1333335500","1333335505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cccd3cde1393f2f682348ed649675584.jpg","text":"TemporaryFile(/tmp/multipartBody661304085018595453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330835129,"filename":"image_29012025_20_46_56_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/132d7e3441eda62a0231848a3b8c5e81.jpg","text":"TemporaryFile(/tmp/multipartBody3213540197219174266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330835129,"filename":"image_29012025_20_47_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/1/31/6bde78ef7e8f0ada22a0b3f45656aa2a.jpg","text":"TemporaryFile(/tmp/multipartBody4588284629774932524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330835129,"filename":"image_29012025_20_47_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/1/31/28705202eaebeac2b053ae2fdd0bee2c.jpg","text":"TemporaryFile(/tmp/multipartBody1014537087397270940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330835129,"filename":"image_29012025_20_46_47_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c39d460b16aabcf1a2bd121f9af63b86.jpg","text":"TemporaryFile(/tmp/multipartBody8137918225385923345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330835129,"filename":"image_29012025_20_46_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/1/31/a5e659c08b0f1a40b68a929918e86216.jpg","text":"TemporaryFile(/tmp/multipartBody8332313473388573422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330835129,"filename":"image_29012025_20_47_17_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333335478","file1":"1333335377","file0":"1333335371","file4":"1333335500","file5":"1333335505","file3":"1333335494"},"map_files_photo_id_array":[{"photo_id":"1333335505","filename":"file5"},{"photo_id":"1333335478","filename":"file2"},{"photo_id":"1333335500","filename":"file4"},{"photo_id":"1333335377","filename":"file1"},{"photo_id":"1333335371","filename":"file0"},{"photo_id":"1333335494","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333335478":["hashtag1","hashtag2"]},{"1333335505":["hashtag1","hashtag2"]},{"1333335494":["hashtag1","hashtag2"]},{"1333335377":["hashtag1","hashtag2"]},{"1333335371":["hashtag1","hashtag2"]},{"1333335500":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333335478, 1333335505, 1333335494, 1333335377, 1333335371, 1333335500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.44919490814209 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:40:33.109475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/47/image_29012025_20_47_46_9382.jpg', '/home/pi/Desktop/images/29012025/20/47/image_29012025_20_48_07_10333.jpg', '/home/pi/Desktop/images/29012025/20/48/image_29012025_20_48_16_9405.jpg', '/home/pi/Desktop/images/29012025/20/48/image_29012025_20_48_27_10352.jpg', '/home/pi/Desktop/images/29012025/20/49/image_29012025_20_49_26_9424.jpg', '/home/pi/Desktop/images/29012025/20/49/image_29012025_20_49_36_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/47/image_29012025_20_47_46_9382.jpg
/home/pi/Desktop/images/29012025/20/47/image_29012025_20_48_07_10333.jpg
/home/pi/Desktop/images/29012025/20/48/image_29012025_20_48_16_9405.jpg
/home/pi/Desktop/images/29012025/20/48/image_29012025_20_48_27_10352.jpg
/home/pi/Desktop/images/29012025/20/49/image_29012025_20_49_26_9424.jpg
/home/pi/Desktop/images/29012025/20/49/image_29012025_20_49_36_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":["1333335701","1333335712","1333335669","1333335714","1333335708","1333335717"],"photo_ids_order":["1333335669","1333335701","1333335708","1333335712","1333335714","1333335717"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/59cf193bdb24c41303ac220bca5c8f38.jpg","text":"TemporaryFile(/tmp/multipartBody2017643497831416305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330895542,"filename":"image_29012025_20_48_07_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ea2731c44662c8c09daa11e5994dd672.jpg","text":"TemporaryFile(/tmp/multipartBody2254851625038204868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330895542,"filename":"image_29012025_20_48_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/1/31/4fabb7f3ac0840f7e5bd310b663be2e5.jpg","text":"TemporaryFile(/tmp/multipartBody1019355749610749581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330895542,"filename":"image_29012025_20_47_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/1/31/f7f494f78a3afc63b270a2c7cf1bd4cc.jpg","text":"TemporaryFile(/tmp/multipartBody1723495661979830126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330895542,"filename":"image_29012025_20_49_26_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2f7d6394ae1006c1e47fea5fd290133d.jpg","text":"TemporaryFile(/tmp/multipartBody6522337714815762418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330895542,"filename":"image_29012025_20_48_16_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8a8546bc43284c5e86e5b90dae273919.jpg","text":"TemporaryFile(/tmp/multipartBody3469937269347175501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330895542,"filename":"image_29012025_20_49_36_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333335708","file1":"1333335701","file0":"1333335669","file4":"1333335714","file5":"1333335717","file3":"1333335712"},"map_files_photo_id_array":[{"photo_id":"1333335717","filename":"file5"},{"photo_id":"1333335708","filename":"file2"},{"photo_id":"1333335714","filename":"file4"},{"photo_id":"1333335701","filename":"file1"},{"photo_id":"1333335669","filename":"file0"},{"photo_id":"1333335712","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333335701":["hashtag1","hashtag2"]},{"1333335712":["hashtag1","hashtag2"]},{"1333335669":["hashtag1","hashtag2"]},{"1333335714":["hashtag1","hashtag2"]},{"1333335708":["hashtag1","hashtag2"]},{"1333335717":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333335701, 1333335712, 1333335669, 1333335714, 1333335708, 1333335717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.752171754837036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:41:32.446853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/49/image_29012025_20_49_47_10384.jpg', '/home/pi/Desktop/images/29012025/20/49/image_29012025_20_49_56_9418.jpg', '/home/pi/Desktop/images/29012025/20/49/image_29012025_20_50_07_10329.jpg', '/home/pi/Desktop/images/29012025/20/50/image_29012025_20_50_17_10337.jpg', '/home/pi/Desktop/images/29012025/20/50/image_29012025_20_50_26_9344.jpg', '/home/pi/Desktop/images/29012025/20/50/image_29012025_20_50_37_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/49/image_29012025_20_49_47_10384.jpg
/home/pi/Desktop/images/29012025/20/49/image_29012025_20_49_56_9418.jpg
/home/pi/Desktop/images/29012025/20/49/image_29012025_20_50_07_10329.jpg
/home/pi/Desktop/images/29012025/20/50/image_29012025_20_50_17_10337.jpg
/home/pi/Desktop/images/29012025/20/50/image_29012025_20_50_26_9344.jpg
/home/pi/Desktop/images/29012025/20/50/image_29012025_20_50_37_10343.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.025588035583496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 14:41:42.262763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/49/image_29012025_20_49_47_10384.jpg', '/home/pi/Desktop/images/29012025/20/49/image_29012025_20_49_56_9418.jpg', '/home/pi/Desktop/images/29012025/20/49/image_29012025_20_50_07_10329.jpg', '/home/pi/Desktop/images/29012025/20/50/image_29012025_20_50_17_10337.jpg', '/home/pi/Desktop/images/29012025/20/50/image_29012025_20_50_26_9344.jpg', '/home/pi/Desktop/images/29012025/20/50/image_29012025_20_50_37_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/49/image_29012025_20_49_47_10384.jpg
/home/pi/Desktop/images/29012025/20/49/image_29012025_20_49_56_9418.jpg
/home/pi/Desktop/images/29012025/20/49/image_29012025_20_50_07_10329.jpg
/home/pi/Desktop/images/29012025/20/50/image_29012025_20_50_17_10337.jpg
/home/pi/Desktop/images/29012025/20/50/image_29012025_20_50_26_9344.jpg
/home/pi/Desktop/images/29012025/20/50/image_29012025_20_50_37_10343.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":["1333335778","1333335789","1333335753","1333335785","1333335770","1333335761"],"photo_ids_order":["1333335753","1333335761","1333335770","1333335778","1333335785","1333335789"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/882bd4a5e74a68177b9f2da61fbda24c.jpg","text":"TemporaryFile(/tmp/multipartBody8234237821544521815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330963757,"filename":"image_29012025_20_50_17_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b5b2f7098326a608b147cded7308234e.jpg","text":"TemporaryFile(/tmp/multipartBody5633259264230169178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330963757,"filename":"image_29012025_20_50_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/1/31/b7e39f25d1b5c68e13b261e2383c6c73.jpg","text":"TemporaryFile(/tmp/multipartBody6102708071136991519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330963757,"filename":"image_29012025_20_49_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/1/31/e0f5a6287e7460efa4fb70930e4320ea.jpg","text":"TemporaryFile(/tmp/multipartBody5156815672149354724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330963757,"filename":"image_29012025_20_50_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/1/31/c1cccaa519cfcaf497ac82c7e25dfa15.jpg","text":"TemporaryFile(/tmp/multipartBody2728638356855534339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330963757,"filename":"image_29012025_20_50_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/1/31/b943212c529b7051cdb60c43ea22e2a6.jpg","text":"TemporaryFile(/tmp/multipartBody6502064218790590294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738330963757,"filename":"image_29012025_20_49_56_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333335770","file1":"1333335761","file0":"1333335753","file4":"1333335785","file5":"1333335789","file3":"1333335778"},"map_files_photo_id_array":[{"photo_id":"1333335789","filename":"file5"},{"photo_id":"1333335770","filename":"file2"},{"photo_id":"1333335785","filename":"file4"},{"photo_id":"1333335761","filename":"file1"},{"photo_id":"1333335753","filename":"file0"},{"photo_id":"1333335778","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333335778":["hashtag1","hashtag2"]},{"1333335789":["hashtag1","hashtag2"]},{"1333335753":["hashtag1","hashtag2"]},{"1333335785":["hashtag1","hashtag2"]},{"1333335770":["hashtag1","hashtag2"]},{"1333335761":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333335778, 1333335789, 1333335753, 1333335785, 1333335770, 1333335761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.78138971328735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:42:32.469256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/50/image_29012025_20_50_47_10346.jpg', '/home/pi/Desktop/images/29012025/20/50/image_29012025_20_50_56_9434.jpg', '/home/pi/Desktop/images/29012025/20/50/image_29012025_20_51_07_10336.jpg', '/home/pi/Desktop/images/29012025/20/51/image_29012025_20_51_16_9383.jpg', '/home/pi/Desktop/images/29012025/20/51/image_29012025_20_51_26_10364.jpg', '/home/pi/Desktop/images/29012025/20/51/image_29012025_20_51_37_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/50/image_29012025_20_50_47_10346.jpg
/home/pi/Desktop/images/29012025/20/50/image_29012025_20_50_56_9434.jpg
/home/pi/Desktop/images/29012025/20/50/image_29012025_20_51_07_10336.jpg
/home/pi/Desktop/images/29012025/20/51/image_29012025_20_51_16_9383.jpg
/home/pi/Desktop/images/29012025/20/51/image_29012025_20_51_26_10364.jpg
/home/pi/Desktop/images/29012025/20/51/image_29012025_20_51_37_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":["1333335859","1333335820","1333335855","1333335825","1333335848","1333335833"],"photo_ids_order":["1333335820","1333335825","1333335833","1333335848","1333335855","1333335859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1dc9bb38064a8eed5e4bd2d6cb4f4253.jpg","text":"TemporaryFile(/tmp/multipartBody655269670920320054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331014900,"filename":"image_29012025_20_51_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/1/31/fb268634bf2eb780a802c9a8de8c45cf.jpg","text":"TemporaryFile(/tmp/multipartBody3272809259599112675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331014900,"filename":"image_29012025_20_50_47_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/99436e6889fc799b8926b5a6fdc48711.jpg","text":"TemporaryFile(/tmp/multipartBody5035742081319393694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331014900,"filename":"image_29012025_20_51_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/1/31/153679fc84d1177fad49da7e2ad3bf27.jpg","text":"TemporaryFile(/tmp/multipartBody7102126725180290261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331014900,"filename":"image_29012025_20_50_56_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6b51547b9ee6937bb02f57b4d560803a.jpg","text":"TemporaryFile(/tmp/multipartBody1042558800656985884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331014900,"filename":"image_29012025_20_51_16_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c7fb695e5dde73480217b620c1086b79.jpg","text":"TemporaryFile(/tmp/multipartBody3131023731385780555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331014900,"filename":"image_29012025_20_51_07_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333335833","file1":"1333335825","file0":"1333335820","file4":"1333335855","file5":"1333335859","file3":"1333335848"},"map_files_photo_id_array":[{"photo_id":"1333335859","filename":"file5"},{"photo_id":"1333335833","filename":"file2"},{"photo_id":"1333335855","filename":"file4"},{"photo_id":"1333335825","filename":"file1"},{"photo_id":"1333335820","filename":"file0"},{"photo_id":"1333335848","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333335859":["hashtag1","hashtag2"]},{"1333335820":["hashtag1","hashtag2"]},{"1333335855":["hashtag1","hashtag2"]},{"1333335825":["hashtag1","hashtag2"]},{"1333335848":["hashtag1","hashtag2"]},{"1333335833":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333335859, 1333335820, 1333335855, 1333335825, 1333335848, 1333335833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.63869071006775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:43:32.670568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/51/image_29012025_20_51_46_9448.jpg', '/home/pi/Desktop/images/29012025/20/51/image_29012025_20_51_57_10359.jpg', '/home/pi/Desktop/images/29012025/20/51/image_29012025_20_52_06_9464.jpg', '/home/pi/Desktop/images/29012025/20/52/image_29012025_20_52_16_10446.jpg', '/home/pi/Desktop/images/29012025/20/52/image_29012025_20_52_27_10511.jpg', '/home/pi/Desktop/images/29012025/20/52/image_29012025_20_52_36_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/51/image_29012025_20_51_46_9448.jpg
/home/pi/Desktop/images/29012025/20/51/image_29012025_20_51_57_10359.jpg
/home/pi/Desktop/images/29012025/20/51/image_29012025_20_52_06_9464.jpg
/home/pi/Desktop/images/29012025/20/52/image_29012025_20_52_16_10446.jpg
/home/pi/Desktop/images/29012025/20/52/image_29012025_20_52_27_10511.jpg
/home/pi/Desktop/images/29012025/20/52/image_29012025_20_52_36_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":["1333336105","1333335990","1333335951","1333335995","1333335965","1333336096"],"photo_ids_order":["1333335951","1333335965","1333335990","1333335995","1333336096","1333336105"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/815d7b4d5b65ab62d016ac4870fcaddd.jpg","text":"TemporaryFile(/tmp/multipartBody4581111203556822077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331075106,"filename":"image_29012025_20_52_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/1/31/ef60487d507404fba27dfc4a81b247c3.jpg","text":"TemporaryFile(/tmp/multipartBody2295680088135507886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331075106,"filename":"image_29012025_20_52_06_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0cffc67d1e2c108285aa7e5231f502f4.jpg","text":"TemporaryFile(/tmp/multipartBody8463438929278548907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331075106,"filename":"image_29012025_20_51_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/1/31/dd2002dd857484b8d28d9f1fcecf98e6.jpg","text":"TemporaryFile(/tmp/multipartBody6963418149703144116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331075106,"filename":"image_29012025_20_52_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/1/31/2e7a0b9ff1a3b1e067d78e29442a2944.jpg","text":"TemporaryFile(/tmp/multipartBody6338169471215369821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331075106,"filename":"image_29012025_20_51_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/1/31/47f8a20fba8e463403cd7a1c443b6320.jpg","text":"TemporaryFile(/tmp/multipartBody7494674718351560669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331075106,"filename":"image_29012025_20_52_27_10511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333335990","file1":"1333335965","file0":"1333335951","file4":"1333336096","file5":"1333336105","file3":"1333335995"},"map_files_photo_id_array":[{"photo_id":"1333336105","filename":"file5"},{"photo_id":"1333335990","filename":"file2"},{"photo_id":"1333336096","filename":"file4"},{"photo_id":"1333335965","filename":"file1"},{"photo_id":"1333335951","filename":"file0"},{"photo_id":"1333335995","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333336105":["hashtag1","hashtag2"]},{"1333335990":["hashtag1","hashtag2"]},{"1333335951":["hashtag1","hashtag2"]},{"1333335995":["hashtag1","hashtag2"]},{"1333335965":["hashtag1","hashtag2"]},{"1333336096":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333336105, 1333335990, 1333335951, 1333335995, 1333335965, 1333336096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.16268348693848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:44:33.076266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/52/image_29012025_20_52_47_10341.jpg', '/home/pi/Desktop/images/29012025/20/52/image_29012025_20_52_56_9384.jpg', '/home/pi/Desktop/images/29012025/20/52/image_29012025_20_53_06_10344.jpg', '/home/pi/Desktop/images/29012025/20/53/image_29012025_20_53_17_10344.jpg', '/home/pi/Desktop/images/29012025/20/53/image_29012025_20_53_26_9394.jpg', '/home/pi/Desktop/images/29012025/20/53/image_29012025_20_53_37_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/52/image_29012025_20_52_47_10341.jpg
/home/pi/Desktop/images/29012025/20/52/image_29012025_20_52_56_9384.jpg
/home/pi/Desktop/images/29012025/20/52/image_29012025_20_53_06_10344.jpg
/home/pi/Desktop/images/29012025/20/53/image_29012025_20_53_17_10344.jpg
/home/pi/Desktop/images/29012025/20/53/image_29012025_20_53_26_9394.jpg
/home/pi/Desktop/images/29012025/20/53/image_29012025_20_53_37_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":["1333336147","1333336140","1333336131","1333336157","1333336124","1333336153"],"photo_ids_order":["1333336124","1333336131","1333336140","1333336147","1333336153","1333336157"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f794f2ad2253bd5beb803c43f2cc40c8.jpg","text":"TemporaryFile(/tmp/multipartBody5905522215086899656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331135483,"filename":"image_29012025_20_53_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/1/31/3faeff94bdf7daf17fb388569456cad3.jpg","text":"TemporaryFile(/tmp/multipartBody1149819479098301593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331135483,"filename":"image_29012025_20_53_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/51cfedc952a28eb4faa354aba08609be.jpg","text":"TemporaryFile(/tmp/multipartBody2734355369744435882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331135483,"filename":"image_29012025_20_52_56_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ddfc982277a60ce505cd2a45dfde477f.jpg","text":"TemporaryFile(/tmp/multipartBody1508292677793955835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331135483,"filename":"image_29012025_20_53_37_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6f42f366057bb249a023da2fa7412657.jpg","text":"TemporaryFile(/tmp/multipartBody6843193667070330454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331135483,"filename":"image_29012025_20_52_47_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/46b620ea8c87488dbb98d8d3a16ded81.jpg","text":"TemporaryFile(/tmp/multipartBody3576293441485894188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331135483,"filename":"image_29012025_20_53_26_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333336140","file1":"1333336131","file0":"1333336124","file4":"1333336153","file5":"1333336157","file3":"1333336147"},"map_files_photo_id_array":[{"photo_id":"1333336157","filename":"file5"},{"photo_id":"1333336140","filename":"file2"},{"photo_id":"1333336153","filename":"file4"},{"photo_id":"1333336131","filename":"file1"},{"photo_id":"1333336124","filename":"file0"},{"photo_id":"1333336147","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333336147":["hashtag1","hashtag2"]},{"1333336140":["hashtag1","hashtag2"]},{"1333336131":["hashtag1","hashtag2"]},{"1333336157":["hashtag1","hashtag2"]},{"1333336124":["hashtag1","hashtag2"]},{"1333336153":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333336147, 1333336140, 1333336131, 1333336157, 1333336124, 1333336153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.15714454650879 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:45:32.485446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/53/image_29012025_20_53_47_10478.jpg', '/home/pi/Desktop/images/29012025/20/53/image_29012025_20_53_56_9425.jpg', '/home/pi/Desktop/images/29012025/20/53/image_29012025_20_54_07_10342.jpg', '/home/pi/Desktop/images/29012025/20/54/image_29012025_20_54_16_9462.jpg', '/home/pi/Desktop/images/29012025/20/54/image_29012025_20_54_27_10362.jpg', '/home/pi/Desktop/images/29012025/20/54/image_29012025_20_54_36_9478.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/53/image_29012025_20_53_47_10478.jpg
/home/pi/Desktop/images/29012025/20/53/image_29012025_20_53_56_9425.jpg
/home/pi/Desktop/images/29012025/20/53/image_29012025_20_54_07_10342.jpg
/home/pi/Desktop/images/29012025/20/54/image_29012025_20_54_16_9462.jpg
/home/pi/Desktop/images/29012025/20/54/image_29012025_20_54_27_10362.jpg
/home/pi/Desktop/images/29012025/20/54/image_29012025_20_54_36_9478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333336269","1333336361","1333336178","1333336480","1333336328","1333336474"],"photo_ids_order":["1333336178","1333336269","1333336328","1333336361","1333336474","1333336480"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/172d59ce16135eb2fc998c6f3296fbc1.jpg","text":"TemporaryFile(/tmp/multipartBody4279352231484099985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331194900,"filename":"image_29012025_20_53_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/1/31/515875907d9c617dcea3a9c203dbcac6.jpg","text":"TemporaryFile(/tmp/multipartBody156395456202909614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331194900,"filename":"image_29012025_20_54_16_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d18495d0f5654d864b110068d6a29210.jpg","text":"TemporaryFile(/tmp/multipartBody1543453599233583598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331194900,"filename":"image_29012025_20_53_47_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3baf53bc7bc9b6248191231030586a4d.jpg","text":"TemporaryFile(/tmp/multipartBody436972487213079727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331194900,"filename":"image_29012025_20_54_36_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/51fd07f9c0703f916f5f2b8cdecf79d0.jpg","text":"TemporaryFile(/tmp/multipartBody5593020202204552861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331194900,"filename":"image_29012025_20_54_07_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fb3e07a253d0e54775e2f2a833874636.jpg","text":"TemporaryFile(/tmp/multipartBody749751302492851756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331194900,"filename":"image_29012025_20_54_27_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333336328","file1":"1333336269","file0":"1333336178","file4":"1333336474","file5":"1333336480","file3":"1333336361"},"map_files_photo_id_array":[{"photo_id":"1333336480","filename":"file5"},{"photo_id":"1333336328","filename":"file2"},{"photo_id":"1333336474","filename":"file4"},{"photo_id":"1333336269","filename":"file1"},{"photo_id":"1333336178","filename":"file0"},{"photo_id":"1333336361","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333336269":["hashtag1","hashtag2"]},{"1333336361":["hashtag1","hashtag2"]},{"1333336178":["hashtag1","hashtag2"]},{"1333336480":["hashtag1","hashtag2"]},{"1333336328":["hashtag1","hashtag2"]},{"1333336474":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333336269, 1333336361, 1333336178, 1333336480, 1333336328, 1333336474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.05880308151245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:46:32.670804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/54/image_29012025_20_54_46_10329.jpg', '/home/pi/Desktop/images/29012025/20/54/image_29012025_20_54_57_10360.jpg', '/home/pi/Desktop/images/29012025/20/54/image_29012025_20_55_06_9451.jpg', '/home/pi/Desktop/images/29012025/20/55/image_29012025_20_55_17_10358.jpg', '/home/pi/Desktop/images/29012025/20/55/image_29012025_20_55_26_9656.jpg', '/home/pi/Desktop/images/29012025/20/55/image_29012025_20_55_37_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/54/image_29012025_20_54_46_10329.jpg
/home/pi/Desktop/images/29012025/20/54/image_29012025_20_54_57_10360.jpg
/home/pi/Desktop/images/29012025/20/54/image_29012025_20_55_06_9451.jpg
/home/pi/Desktop/images/29012025/20/55/image_29012025_20_55_17_10358.jpg
/home/pi/Desktop/images/29012025/20/55/image_29012025_20_55_26_9656.jpg
/home/pi/Desktop/images/29012025/20/55/image_29012025_20_55_37_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":["1333336708","1333336668","1333336662","1333336710","1333336655","1333336622"],"photo_ids_order":["1333336622","1333336655","1333336662","1333336668","1333336708","1333336710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/88ae0dd0c6a8c6d7e6c3f051a6b415c7.jpg","text":"TemporaryFile(/tmp/multipartBody2721588594962776614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331255078,"filename":"image_29012025_20_55_26_9656.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e94ed7d969628c7290f7c4f9641badd8.jpg","text":"TemporaryFile(/tmp/multipartBody2222063972288781285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331255078,"filename":"image_29012025_20_55_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/1/31/95cce9c4471ce2f5a7b75f31db037a9e.jpg","text":"TemporaryFile(/tmp/multipartBody6226145509175748141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331255078,"filename":"image_29012025_20_55_06_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/202cf01419160cf5b56d4beda615f782.jpg","text":"TemporaryFile(/tmp/multipartBody6915786688254722033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331255078,"filename":"image_29012025_20_55_37_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/51e07cb37683aab884c23c1f35f1dc22.jpg","text":"TemporaryFile(/tmp/multipartBody5950251074158817773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331255078,"filename":"image_29012025_20_54_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/1/31/89c28d003c1b51f51ea3bd79c3b9c3c8.jpg","text":"TemporaryFile(/tmp/multipartBody7948374808901091367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331255078,"filename":"image_29012025_20_54_46_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333336662","file1":"1333336655","file0":"1333336622","file4":"1333336708","file5":"1333336710","file3":"1333336668"},"map_files_photo_id_array":[{"photo_id":"1333336710","filename":"file5"},{"photo_id":"1333336662","filename":"file2"},{"photo_id":"1333336708","filename":"file4"},{"photo_id":"1333336655","filename":"file1"},{"photo_id":"1333336622","filename":"file0"},{"photo_id":"1333336668","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333336708":["hashtag1","hashtag2"]},{"1333336668":["hashtag1","hashtag2"]},{"1333336662":["hashtag1","hashtag2"]},{"1333336710":["hashtag1","hashtag2"]},{"1333336655":["hashtag1","hashtag2"]},{"1333336622":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333336708, 1333336668, 1333336662, 1333336710, 1333336655, 1333336622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13542556762695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:47:32.914591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/55/image_29012025_20_55_46_9486.jpg', '/home/pi/Desktop/images/29012025/20/55/image_29012025_20_55_57_10341.jpg', '/home/pi/Desktop/images/29012025/20/55/image_29012025_20_56_07_10345.jpg', '/home/pi/Desktop/images/29012025/20/56/image_29012025_20_56_16_9430.jpg', '/home/pi/Desktop/images/29012025/20/56/image_29012025_20_56_27_10363.jpg', '/home/pi/Desktop/images/29012025/20/56/image_29012025_20_56_36_9405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/55/image_29012025_20_55_46_9486.jpg
/home/pi/Desktop/images/29012025/20/55/image_29012025_20_55_57_10341.jpg
/home/pi/Desktop/images/29012025/20/55/image_29012025_20_56_07_10345.jpg
/home/pi/Desktop/images/29012025/20/56/image_29012025_20_56_16_9430.jpg
/home/pi/Desktop/images/29012025/20/56/image_29012025_20_56_27_10363.jpg
/home/pi/Desktop/images/29012025/20/56/image_29012025_20_56_36_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":["1333336810","1333336807","1333336860","1333336796","1333336814","1333336802"],"photo_ids_order":["1333336796","1333336802","1333336807","1333336810","1333336814","1333336860"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/13a100e8d33255d575f42666338f9eb5.jpg","text":"TemporaryFile(/tmp/multipartBody8344127398028180232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331315324,"filename":"image_29012025_20_56_16_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/264c6b78f16bb2d2e40ed2c2c0dc917f.jpg","text":"TemporaryFile(/tmp/multipartBody6102389294068483216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331315324,"filename":"image_29012025_20_56_07_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/95ba4344a1b533ef0d87ed12cd436c0a.jpg","text":"TemporaryFile(/tmp/multipartBody330121607911802009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331315324,"filename":"image_29012025_20_56_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/1/31/1a2b3b8cbf61854662319c2421a85f3b.jpg","text":"TemporaryFile(/tmp/multipartBody259515125634056929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331315324,"filename":"image_29012025_20_55_46_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a1719fcfd820d3b8127d4c6e945ef973.jpg","text":"TemporaryFile(/tmp/multipartBody1101102056092387150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331315324,"filename":"image_29012025_20_56_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/1/31/11dd8d950b0065f55f27a359dc2af0d0.jpg","text":"TemporaryFile(/tmp/multipartBody2588966570578917871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331315324,"filename":"image_29012025_20_55_57_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333336807","file1":"1333336802","file0":"1333336796","file4":"1333336814","file5":"1333336860","file3":"1333336810"},"map_files_photo_id_array":[{"photo_id":"1333336860","filename":"file5"},{"photo_id":"1333336807","filename":"file2"},{"photo_id":"1333336814","filename":"file4"},{"photo_id":"1333336802","filename":"file1"},{"photo_id":"1333336796","filename":"file0"},{"photo_id":"1333336810","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333336810":["hashtag1","hashtag2"]},{"1333336807":["hashtag1","hashtag2"]},{"1333336860":["hashtag1","hashtag2"]},{"1333336796":["hashtag1","hashtag2"]},{"1333336814":["hashtag1","hashtag2"]},{"1333336802":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333336810, 1333336807, 1333336860, 1333336796, 1333336814, 1333336802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.83579444885254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:48:33.007903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/56/image_29012025_20_56_46_10374.jpg', '/home/pi/Desktop/images/29012025/20/56/image_29012025_20_56_57_10367.jpg', '/home/pi/Desktop/images/29012025/20/56/image_29012025_20_57_06_9422.jpg', '/home/pi/Desktop/images/29012025/20/57/image_29012025_20_57_17_10366.jpg', '/home/pi/Desktop/images/29012025/20/57/image_29012025_20_57_27_10405.jpg', '/home/pi/Desktop/images/29012025/20/57/image_29012025_20_57_36_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/56/image_29012025_20_56_46_10374.jpg
/home/pi/Desktop/images/29012025/20/56/image_29012025_20_56_57_10367.jpg
/home/pi/Desktop/images/29012025/20/56/image_29012025_20_57_06_9422.jpg
/home/pi/Desktop/images/29012025/20/57/image_29012025_20_57_17_10366.jpg
/home/pi/Desktop/images/29012025/20/57/image_29012025_20_57_27_10405.jpg
/home/pi/Desktop/images/29012025/20/57/image_29012025_20_57_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":["1333336909","1333336914","1333336964","1333336946","1333336925","1333336921"],"photo_ids_order":["1333336909","1333336914","1333336921","1333336925","1333336946","1333336964"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ab1058661b97cefacb955ef50c5183c9.jpg","text":"TemporaryFile(/tmp/multipartBody2203491456032446395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331375398,"filename":"image_29012025_20_56_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/1/31/655cb5d8115eaa103d9a3e06052c5b35.jpg","text":"TemporaryFile(/tmp/multipartBody3442541056299624248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331375398,"filename":"image_29012025_20_56_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/1/31/38ce81d7ecbcf69bd1f5f5b05f99f9a3.jpg","text":"TemporaryFile(/tmp/multipartBody4085333499088603386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331375398,"filename":"image_29012025_20_57_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/1/31/390daafafde815bce95d9b0f85a45e2f.jpg","text":"TemporaryFile(/tmp/multipartBody6068627254786491084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331375398,"filename":"image_29012025_20_57_27_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8e3291ddff08785fb6afbede94be43a5.jpg","text":"TemporaryFile(/tmp/multipartBody2604139584925359140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331375398,"filename":"image_29012025_20_57_17_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/848364c185a423ae04e29376929a8f4d.jpg","text":"TemporaryFile(/tmp/multipartBody7333471963015922592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331375398,"filename":"image_29012025_20_57_06_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333336921","file1":"1333336914","file0":"1333336909","file4":"1333336946","file5":"1333336964","file3":"1333336925"},"map_files_photo_id_array":[{"photo_id":"1333336964","filename":"file5"},{"photo_id":"1333336921","filename":"file2"},{"photo_id":"1333336946","filename":"file4"},{"photo_id":"1333336914","filename":"file1"},{"photo_id":"1333336909","filename":"file0"},{"photo_id":"1333336925","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333336909":["hashtag1","hashtag2"]},{"1333336914":["hashtag1","hashtag2"]},{"1333336964":["hashtag1","hashtag2"]},{"1333336946":["hashtag1","hashtag2"]},{"1333336925":["hashtag1","hashtag2"]},{"1333336921":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333336909, 1333336914, 1333336964, 1333336946, 1333336925, 1333336921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.55560922622681 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:49:32.316455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/57/image_29012025_20_57_47_10361.jpg', '/home/pi/Desktop/images/29012025/20/57/image_29012025_20_57_56_9412.jpg', '/home/pi/Desktop/images/29012025/20/57/image_29012025_20_58_06_10349.jpg', '/home/pi/Desktop/images/29012025/20/58/image_29012025_20_58_17_10334.jpg', '/home/pi/Desktop/images/29012025/20/58/image_29012025_20_58_26_9340.jpg', '/home/pi/Desktop/images/29012025/20/58/image_29012025_20_58_36_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/57/image_29012025_20_57_47_10361.jpg
/home/pi/Desktop/images/29012025/20/57/image_29012025_20_57_56_9412.jpg
/home/pi/Desktop/images/29012025/20/57/image_29012025_20_58_06_10349.jpg
/home/pi/Desktop/images/29012025/20/58/image_29012025_20_58_17_10334.jpg
/home/pi/Desktop/images/29012025/20/58/image_29012025_20_58_26_9340.jpg
/home/pi/Desktop/images/29012025/20/58/image_29012025_20_58_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":["1333337040","1333337034","1333337028","1333337020","1333337002","1333337011"],"photo_ids_order":["1333337002","1333337011","1333337020","1333337028","1333337034","1333337040"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1cc43ae7213862a61d0f1e77d3c727d9.jpg","text":"TemporaryFile(/tmp/multipartBody5859142302461124767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331434728,"filename":"image_29012025_20_58_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/1/31/8f49d1d1fd1ec81b8c891cc506c6911b.jpg","text":"TemporaryFile(/tmp/multipartBody4590237165759395257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331434728,"filename":"image_29012025_20_58_26_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a449543818633d79b6985298baa29de9.jpg","text":"TemporaryFile(/tmp/multipartBody8510118738654172670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331434728,"filename":"image_29012025_20_58_17_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/111fb6454f6d3da70776e7ff94741148.jpg","text":"TemporaryFile(/tmp/multipartBody6977105450791569121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331434728,"filename":"image_29012025_20_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/1/31/62afe4256efb7be31f6aa2c94621d008.jpg","text":"TemporaryFile(/tmp/multipartBody3892740047973570556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331434728,"filename":"image_29012025_20_57_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/1/31/67416b9d4b4467af5e9ab8ef685909e1.jpg","text":"TemporaryFile(/tmp/multipartBody8701806770663462397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331434728,"filename":"image_29012025_20_57_56_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333337020","file1":"1333337011","file0":"1333337002","file4":"1333337034","file5":"1333337040","file3":"1333337028"},"map_files_photo_id_array":[{"photo_id":"1333337040","filename":"file5"},{"photo_id":"1333337020","filename":"file2"},{"photo_id":"1333337034","filename":"file4"},{"photo_id":"1333337011","filename":"file1"},{"photo_id":"1333337002","filename":"file0"},{"photo_id":"1333337028","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333337040":["hashtag1","hashtag2"]},{"1333337034":["hashtag1","hashtag2"]},{"1333337028":["hashtag1","hashtag2"]},{"1333337020":["hashtag1","hashtag2"]},{"1333337002":["hashtag1","hashtag2"]},{"1333337011":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333337040, 1333337034, 1333337028, 1333337020, 1333337002, 1333337011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16491413116455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:50:32.488615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/58/image_29012025_20_58_47_10350.jpg', '/home/pi/Desktop/images/29012025/20/58/image_29012025_20_58_56_9353.jpg', '/home/pi/Desktop/images/29012025/20/58/image_29012025_20_59_07_10349.jpg', '/home/pi/Desktop/images/29012025/20/59/image_29012025_20_59_17_10358.jpg', '/home/pi/Desktop/images/29012025/20/59/image_29012025_20_59_26_9411.jpg', '/home/pi/Desktop/images/29012025/20/59/image_29012025_20_59_37_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/58/image_29012025_20_58_47_10350.jpg
/home/pi/Desktop/images/29012025/20/58/image_29012025_20_58_56_9353.jpg
/home/pi/Desktop/images/29012025/20/58/image_29012025_20_59_07_10349.jpg
/home/pi/Desktop/images/29012025/20/59/image_29012025_20_59_17_10358.jpg
/home/pi/Desktop/images/29012025/20/59/image_29012025_20_59_26_9411.jpg
/home/pi/Desktop/images/29012025/20/59/image_29012025_20_59_37_10362.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.0404956340789795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 14:50:42.402516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/58/image_29012025_20_58_47_10350.jpg', '/home/pi/Desktop/images/29012025/20/58/image_29012025_20_58_56_9353.jpg', '/home/pi/Desktop/images/29012025/20/58/image_29012025_20_59_07_10349.jpg', '/home/pi/Desktop/images/29012025/20/59/image_29012025_20_59_17_10358.jpg', '/home/pi/Desktop/images/29012025/20/59/image_29012025_20_59_26_9411.jpg', '/home/pi/Desktop/images/29012025/20/59/image_29012025_20_59_37_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/58/image_29012025_20_58_47_10350.jpg
/home/pi/Desktop/images/29012025/20/58/image_29012025_20_58_56_9353.jpg
/home/pi/Desktop/images/29012025/20/58/image_29012025_20_59_07_10349.jpg
/home/pi/Desktop/images/29012025/20/59/image_29012025_20_59_17_10358.jpg
/home/pi/Desktop/images/29012025/20/59/image_29012025_20_59_26_9411.jpg
/home/pi/Desktop/images/29012025/20/59/image_29012025_20_59_37_10362.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":["1333337340","1333337168","1333337249","1333337300","1333337284","1333337212"],"photo_ids_order":["1333337168","1333337212","1333337249","1333337284","1333337300","1333337340"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cdf517239d6267b12fbd08497563f76d.jpg","text":"TemporaryFile(/tmp/multipartBody1170419532995101489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331503916,"filename":"image_29012025_20_59_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/1/31/a490405b1dc5dbe3dbdb5ff3bac44c00.jpg","text":"TemporaryFile(/tmp/multipartBody2236529217276748644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331503916,"filename":"image_29012025_20_58_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/1/31/32ee6cd969d70480a47f51009ecf157b.jpg","text":"TemporaryFile(/tmp/multipartBody3652563101828368385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331503916,"filename":"image_29012025_20_59_07_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0900232efb4ed3aafcc8c466a08d5835.jpg","text":"TemporaryFile(/tmp/multipartBody2397783707302137626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331503916,"filename":"image_29012025_20_59_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/1/31/d3df5473136913ff271f113f060caa9a.jpg","text":"TemporaryFile(/tmp/multipartBody3593044249172975212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331503916,"filename":"image_29012025_20_59_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/1/31/1cced7d0c72f34b3673571d60a9d3f8c.jpg","text":"TemporaryFile(/tmp/multipartBody5895301025410825132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331503916,"filename":"image_29012025_20_58_56_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333337249","file1":"1333337212","file0":"1333337168","file4":"1333337300","file5":"1333337340","file3":"1333337284"},"map_files_photo_id_array":[{"photo_id":"1333337340","filename":"file5"},{"photo_id":"1333337249","filename":"file2"},{"photo_id":"1333337300","filename":"file4"},{"photo_id":"1333337212","filename":"file1"},{"photo_id":"1333337168","filename":"file0"},{"photo_id":"1333337284","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333337340":["hashtag1","hashtag2"]},{"1333337168":["hashtag1","hashtag2"]},{"1333337249":["hashtag1","hashtag2"]},{"1333337300":["hashtag1","hashtag2"]},{"1333337284":["hashtag1","hashtag2"]},{"1333337212":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333337340, 1333337168, 1333337249, 1333337300, 1333337284, 1333337212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.91052508354187 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:51:32.674697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/20/59/image_29012025_20_59_46_9396.jpg', '/home/pi/Desktop/images/29012025/20/59/image_29012025_20_59_56_10363.jpg', '/home/pi/Desktop/images/29012025/21/00/image_29012025_21_00_15_10073.jpg', '/home/pi/Desktop/images/29012025/21/00/image_29012025_21_00_26_10403.jpg', '/home/pi/Desktop/images/29012025/21/00/image_29012025_21_00_36_10425.jpg', '/home/pi/Desktop/images/29012025/21/00/image_29012025_21_00_46_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/20/59/image_29012025_20_59_46_9396.jpg
/home/pi/Desktop/images/29012025/20/59/image_29012025_20_59_56_10363.jpg
/home/pi/Desktop/images/29012025/21/00/image_29012025_21_00_15_10073.jpg
/home/pi/Desktop/images/29012025/21/00/image_29012025_21_00_26_10403.jpg
/home/pi/Desktop/images/29012025/21/00/image_29012025_21_00_36_10425.jpg
/home/pi/Desktop/images/29012025/21/00/image_29012025_21_00_46_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":["1333337370","1333337366","1333337351","1333337627","1333337357","1333337374"],"photo_ids_order":["1333337351","1333337357","1333337366","1333337370","1333337374","1333337627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/01054c12e3c868c69b56a9f5b10d338b.jpg","text":"TemporaryFile(/tmp/multipartBody1094738733160888595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331555106,"filename":"image_29012025_21_00_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/1/31/b57ad49a6797542935b6b3647ac8f764.jpg","text":"TemporaryFile(/tmp/multipartBody554061465143938931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331555106,"filename":"image_29012025_21_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/1/31/447817b8f07186d762a8f6622455d76c.jpg","text":"TemporaryFile(/tmp/multipartBody8364409825060981847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331555106,"filename":"image_29012025_20_59_46_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b48d6547fecbcda653385e0257927271.jpg","text":"TemporaryFile(/tmp/multipartBody3684302220011097378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331555106,"filename":"image_29012025_21_00_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/1/31/fdb2e6b7ef94271837561a9b0ebe58ee.jpg","text":"TemporaryFile(/tmp/multipartBody2206716207032939034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331555106,"filename":"image_29012025_20_59_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/1/31/3659181d9bb27196baab97147f6d8af5.jpg","text":"TemporaryFile(/tmp/multipartBody5920361813098162278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331555106,"filename":"image_29012025_21_00_36_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333337366","file1":"1333337357","file0":"1333337351","file4":"1333337374","file5":"1333337627","file3":"1333337370"},"map_files_photo_id_array":[{"photo_id":"1333337627","filename":"file5"},{"photo_id":"1333337366","filename":"file2"},{"photo_id":"1333337374","filename":"file4"},{"photo_id":"1333337357","filename":"file1"},{"photo_id":"1333337351","filename":"file0"},{"photo_id":"1333337370","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333337370":["hashtag1","hashtag2"]},{"1333337366":["hashtag1","hashtag2"]},{"1333337351":["hashtag1","hashtag2"]},{"1333337627":["hashtag1","hashtag2"]},{"1333337357":["hashtag1","hashtag2"]},{"1333337374":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333337370, 1333337366, 1333337351, 1333337627, 1333337357, 1333337374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.13848662376404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:52:32.909630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/00/image_29012025_21_00_56_10429.jpg', '/home/pi/Desktop/images/29012025/21/00/image_29012025_21_01_05_9351.jpg', '/home/pi/Desktop/images/29012025/21/01/image_29012025_21_01_16_10335.jpg', '/home/pi/Desktop/images/29012025/21/01/image_29012025_21_01_26_10433.jpg', '/home/pi/Desktop/images/29012025/21/01/image_29012025_21_01_36_9351.jpg', '/home/pi/Desktop/images/29012025/21/01/image_29012025_21_01_46_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/00/image_29012025_21_00_56_10429.jpg
/home/pi/Desktop/images/29012025/21/00/image_29012025_21_01_05_9351.jpg
/home/pi/Desktop/images/29012025/21/01/image_29012025_21_01_16_10335.jpg
/home/pi/Desktop/images/29012025/21/01/image_29012025_21_01_26_10433.jpg
/home/pi/Desktop/images/29012025/21/01/image_29012025_21_01_36_9351.jpg
/home/pi/Desktop/images/29012025/21/01/image_29012025_21_01_46_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":["1333338374","1333338347","1333338376","1333338355","1333338370","1333338364"],"photo_ids_order":["1333338347","1333338355","1333338364","1333338370","1333338374","1333338376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5334afaad39d2e6084f2ff70b466ead5.jpg","text":"TemporaryFile(/tmp/multipartBody2754120348188083622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331615319,"filename":"image_29012025_21_01_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/1/31/c897b0b293370cbaffa5421836d7e20c.jpg","text":"TemporaryFile(/tmp/multipartBody7090505667284327256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331615319,"filename":"image_29012025_21_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/1/31/478b7948656e5bf4adaa5f6a8267bb12.jpg","text":"TemporaryFile(/tmp/multipartBody7860932404383295799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331615319,"filename":"image_29012025_21_01_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/1/31/e4e6c398fe27a818c75801565cb5dd15.jpg","text":"TemporaryFile(/tmp/multipartBody8638752453334494841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331615319,"filename":"image_29012025_21_01_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/1/31/6ca40b43d11af06e4d3221af313251d9.jpg","text":"TemporaryFile(/tmp/multipartBody2606484921229112415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331615319,"filename":"image_29012025_21_01_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/1/31/a96cee5dbe6c85f3e12ffcbb5f929ebe.jpg","text":"TemporaryFile(/tmp/multipartBody8408857568692306194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331615319,"filename":"image_29012025_21_01_16_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333338364","file1":"1333338355","file0":"1333338347","file4":"1333338374","file5":"1333338376","file3":"1333338370"},"map_files_photo_id_array":[{"photo_id":"1333338376","filename":"file5"},{"photo_id":"1333338364","filename":"file2"},{"photo_id":"1333338374","filename":"file4"},{"photo_id":"1333338355","filename":"file1"},{"photo_id":"1333338347","filename":"file0"},{"photo_id":"1333338370","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333338374":["hashtag1","hashtag2"]},{"1333338347":["hashtag1","hashtag2"]},{"1333338376":["hashtag1","hashtag2"]},{"1333338355":["hashtag1","hashtag2"]},{"1333338370":["hashtag1","hashtag2"]},{"1333338364":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333338374, 1333338347, 1333338376, 1333338355, 1333338370, 1333338364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65617513656616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:53:33.089372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/01/image_29012025_21_01_56_10400.jpg', '/home/pi/Desktop/images/29012025/21/01/image_29012025_21_02_06_9345.jpg', '/home/pi/Desktop/images/29012025/21/02/image_29012025_21_02_16_10397.jpg', '/home/pi/Desktop/images/29012025/21/02/image_29012025_21_02_25_9357.jpg', '/home/pi/Desktop/images/29012025/21/02/image_29012025_21_02_36_10331.jpg', '/home/pi/Desktop/images/29012025/21/02/image_29012025_21_02_46_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/01/image_29012025_21_01_56_10400.jpg
/home/pi/Desktop/images/29012025/21/01/image_29012025_21_02_06_9345.jpg
/home/pi/Desktop/images/29012025/21/02/image_29012025_21_02_16_10397.jpg
/home/pi/Desktop/images/29012025/21/02/image_29012025_21_02_25_9357.jpg
/home/pi/Desktop/images/29012025/21/02/image_29012025_21_02_36_10331.jpg
/home/pi/Desktop/images/29012025/21/02/image_29012025_21_02_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":["1333338728","1333338722","1333338701","1333338733","1333338715","1333338709"],"photo_ids_order":["1333338701","1333338709","1333338715","1333338722","1333338728","1333338733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f1904c3cc0c2ad16f6b318f468b425a2.jpg","text":"TemporaryFile(/tmp/multipartBody610678850705272494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331675497,"filename":"image_29012025_21_02_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/1/31/0ba430477f4fb05a930e5fce4e069964.jpg","text":"TemporaryFile(/tmp/multipartBody5350011545711354938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331675497,"filename":"image_29012025_21_02_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/1/31/b5e26ede72992c0ce8e8dbf31c11991c.jpg","text":"TemporaryFile(/tmp/multipartBody3127397080689506101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331675497,"filename":"image_29012025_21_01_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/1/31/6ea1944b76c8468371e46b31cb437dd3.jpg","text":"TemporaryFile(/tmp/multipartBody484273150393763150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331675497,"filename":"image_29012025_21_02_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/1/31/0333a9769e539bc00880ff4392632189.jpg","text":"TemporaryFile(/tmp/multipartBody8144341523109063187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331675497,"filename":"image_29012025_21_02_16_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2535e2cbb7c51e781063321db6a5c15a.jpg","text":"TemporaryFile(/tmp/multipartBody7002276193605244478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331675497,"filename":"image_29012025_21_02_06_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333338715","file1":"1333338709","file0":"1333338701","file4":"1333338728","file5":"1333338733","file3":"1333338722"},"map_files_photo_id_array":[{"photo_id":"1333338733","filename":"file5"},{"photo_id":"1333338715","filename":"file2"},{"photo_id":"1333338728","filename":"file4"},{"photo_id":"1333338709","filename":"file1"},{"photo_id":"1333338701","filename":"file0"},{"photo_id":"1333338722","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333338728":["hashtag1","hashtag2"]},{"1333338722":["hashtag1","hashtag2"]},{"1333338701":["hashtag1","hashtag2"]},{"1333338733":["hashtag1","hashtag2"]},{"1333338715":["hashtag1","hashtag2"]},{"1333338709":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333338728, 1333338722, 1333338701, 1333338733, 1333338715, 1333338709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72344517707825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:54:32.292848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/02/image_29012025_21_02_55_9338.jpg', '/home/pi/Desktop/images/29012025/21/02/image_29012025_21_03_06_10339.jpg', '/home/pi/Desktop/images/29012025/21/03/image_29012025_21_03_16_10475.jpg', '/home/pi/Desktop/images/29012025/21/03/image_29012025_21_03_26_9363.jpg', '/home/pi/Desktop/images/29012025/21/03/image_29012025_21_03_36_10427.jpg', '/home/pi/Desktop/images/29012025/21/03/image_29012025_21_03_45_9365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/02/image_29012025_21_02_55_9338.jpg
/home/pi/Desktop/images/29012025/21/02/image_29012025_21_03_06_10339.jpg
/home/pi/Desktop/images/29012025/21/03/image_29012025_21_03_16_10475.jpg
/home/pi/Desktop/images/29012025/21/03/image_29012025_21_03_26_9363.jpg
/home/pi/Desktop/images/29012025/21/03/image_29012025_21_03_36_10427.jpg
/home/pi/Desktop/images/29012025/21/03/image_29012025_21_03_45_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":["1333339073","1333339067","1333339084","1333339080","1333339023","1333339088"],"photo_ids_order":["1333339023","1333339067","1333339073","1333339080","1333339084","1333339088"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c1fb2005394f46b78aeb704a94ecef18.jpg","text":"TemporaryFile(/tmp/multipartBody6829891465115863132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331734701,"filename":"image_29012025_21_03_16_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f66240e12d7979fe5166b06ca57d157c.jpg","text":"TemporaryFile(/tmp/multipartBody1155531779799688124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331734701,"filename":"image_29012025_21_03_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/1/31/2046f0e2d50fe708b6cb457cb89ad3d2.jpg","text":"TemporaryFile(/tmp/multipartBody5595028846422235483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331734701,"filename":"image_29012025_21_03_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/1/31/f47869c06646598e8d23219e37e22da5.jpg","text":"TemporaryFile(/tmp/multipartBody5206419871217605297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331734701,"filename":"image_29012025_21_03_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/1/31/64efa484c313ead53305de7e88d1b4d9.jpg","text":"TemporaryFile(/tmp/multipartBody2140366261058151215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331734701,"filename":"image_29012025_21_02_55_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a2809b3775943f7262078be6e55b80ce.jpg","text":"TemporaryFile(/tmp/multipartBody1862365085022296961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331734701,"filename":"image_29012025_21_03_45_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333339073","file1":"1333339067","file0":"1333339023","file4":"1333339084","file5":"1333339088","file3":"1333339080"},"map_files_photo_id_array":[{"photo_id":"1333339088","filename":"file5"},{"photo_id":"1333339073","filename":"file2"},{"photo_id":"1333339084","filename":"file4"},{"photo_id":"1333339067","filename":"file1"},{"photo_id":"1333339023","filename":"file0"},{"photo_id":"1333339080","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333339073":["hashtag1","hashtag2"]},{"1333339067":["hashtag1","hashtag2"]},{"1333339084":["hashtag1","hashtag2"]},{"1333339080":["hashtag1","hashtag2"]},{"1333339023":["hashtag1","hashtag2"]},{"1333339088":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333339073, 1333339067, 1333339084, 1333339080, 1333339023, 1333339088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.61731171607971 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:55:32.520055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/03/image_29012025_21_03_56_10349.jpg', '/home/pi/Desktop/images/29012025/21/03/image_29012025_21_04_06_10339.jpg', '/home/pi/Desktop/images/29012025/21/04/image_29012025_21_04_15_9347.jpg', '/home/pi/Desktop/images/29012025/21/04/image_29012025_21_04_26_10350.jpg', '/home/pi/Desktop/images/29012025/21/04/image_29012025_21_04_36_10431.jpg', '/home/pi/Desktop/images/29012025/21/04/image_29012025_21_04_46_9389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/03/image_29012025_21_03_56_10349.jpg
/home/pi/Desktop/images/29012025/21/03/image_29012025_21_04_06_10339.jpg
/home/pi/Desktop/images/29012025/21/04/image_29012025_21_04_15_9347.jpg
/home/pi/Desktop/images/29012025/21/04/image_29012025_21_04_26_10350.jpg
/home/pi/Desktop/images/29012025/21/04/image_29012025_21_04_36_10431.jpg
/home/pi/Desktop/images/29012025/21/04/image_29012025_21_04_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":["1333339799","1333339244","1333339610","1333339333","1333339362","1333339827"],"photo_ids_order":["1333339244","1333339333","1333339362","1333339610","1333339799","1333339827"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4e0a16ca0d623d43770a88ff498ad48a.jpg","text":"TemporaryFile(/tmp/multipartBody8060795205290033130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331794944,"filename":"image_29012025_21_04_36_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b6a820ff5ae0758cf85c4d6d4b1801e3.jpg","text":"TemporaryFile(/tmp/multipartBody304464588859166131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331794944,"filename":"image_29012025_21_03_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/1/31/4ca018ef4104e2a41ff9595c497abcc8.jpg","text":"TemporaryFile(/tmp/multipartBody448528652873175313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331794944,"filename":"image_29012025_21_04_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/1/31/3f200d9f382ddac6cc218b2da86d47e5.jpg","text":"TemporaryFile(/tmp/multipartBody3419481903903792516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331794944,"filename":"image_29012025_21_04_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/1/31/3ba47ca471f57c4583082f3fb9a40057.jpg","text":"TemporaryFile(/tmp/multipartBody4872768869146911499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331794944,"filename":"image_29012025_21_04_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/1/31/d89dcd0d97b0ab460fc8fe63bf9da17b.jpg","text":"TemporaryFile(/tmp/multipartBody5034478381370074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331794944,"filename":"image_29012025_21_04_46_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333339362","file1":"1333339333","file0":"1333339244","file4":"1333339799","file5":"1333339827","file3":"1333339610"},"map_files_photo_id_array":[{"photo_id":"1333339827","filename":"file5"},{"photo_id":"1333339362","filename":"file2"},{"photo_id":"1333339799","filename":"file4"},{"photo_id":"1333339333","filename":"file1"},{"photo_id":"1333339244","filename":"file0"},{"photo_id":"1333339610","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333339799":["hashtag1","hashtag2"]},{"1333339244":["hashtag1","hashtag2"]},{"1333339610":["hashtag1","hashtag2"]},{"1333339333":["hashtag1","hashtag2"]},{"1333339362":["hashtag1","hashtag2"]},{"1333339827":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333339799, 1333339244, 1333339610, 1333339333, 1333339362, 1333339827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.81675863265991 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:56:32.781151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/04/image_29012025_21_04_56_10449.jpg', '/home/pi/Desktop/images/29012025/21/04/image_29012025_21_05_05_9366.jpg', '/home/pi/Desktop/images/29012025/21/05/image_29012025_21_05_16_10365.jpg', '/home/pi/Desktop/images/29012025/21/05/image_29012025_21_05_26_10457.jpg', '/home/pi/Desktop/images/29012025/21/05/image_29012025_21_05_36_9341.jpg', '/home/pi/Desktop/images/29012025/21/05/image_29012025_21_05_46_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/04/image_29012025_21_04_56_10449.jpg
/home/pi/Desktop/images/29012025/21/04/image_29012025_21_05_05_9366.jpg
/home/pi/Desktop/images/29012025/21/05/image_29012025_21_05_16_10365.jpg
/home/pi/Desktop/images/29012025/21/05/image_29012025_21_05_26_10457.jpg
/home/pi/Desktop/images/29012025/21/05/image_29012025_21_05_36_9341.jpg
/home/pi/Desktop/images/29012025/21/05/image_29012025_21_05_46_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":["1333339976","1333339969","1333339995","1333339998","1333339983","1333339991"],"photo_ids_order":["1333339969","1333339976","1333339983","1333339991","1333339995","1333339998"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fdf9a147fca8c5598693d1b0216d8d35.jpg","text":"TemporaryFile(/tmp/multipartBody4966766462557967343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331855181,"filename":"image_29012025_21_05_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/1/31/34c799a2232b742728bf7efbbb211c03.jpg","text":"TemporaryFile(/tmp/multipartBody273264556177691230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331855181,"filename":"image_29012025_21_04_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/1/31/ed32bafd1dab6714f5e0f82d1e1dce31.jpg","text":"TemporaryFile(/tmp/multipartBody8063884635542528741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331855181,"filename":"image_29012025_21_05_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/1/31/f03f0d322e22fa0054f18f12524dd746.jpg","text":"TemporaryFile(/tmp/multipartBody8781449706813573573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331855181,"filename":"image_29012025_21_05_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/1/31/8ebc328559e5edf6ed64cae55e8e2d36.jpg","text":"TemporaryFile(/tmp/multipartBody5401690835954401160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331855181,"filename":"image_29012025_21_05_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/1/31/697386ae958841ec1096764d7d7ba8a1.jpg","text":"TemporaryFile(/tmp/multipartBody1214325223365960472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738331855181,"filename":"image_29012025_21_05_26_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333339983","file1":"1333339976","file0":"1333339969","file4":"1333339995","file5":"1333339998","file3":"1333339991"},"map_files_photo_id_array":[{"photo_id":"1333339998","filename":"file5"},{"photo_id":"1333339983","filename":"file2"},{"photo_id":"1333339995","filename":"file4"},{"photo_id":"1333339976","filename":"file1"},{"photo_id":"1333339969","filename":"file0"},{"photo_id":"1333339991","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333339976":["hashtag1","hashtag2"]},{"1333339969":["hashtag1","hashtag2"]},{"1333339995":["hashtag1","hashtag2"]},{"1333339998":["hashtag1","hashtag2"]},{"1333339983":["hashtag1","hashtag2"]},{"1333339991":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333339976, 1333339969, 1333339995, 1333339998, 1333339983, 1333339991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64315986633301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:57:33.000125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/05/image_29012025_21_05_56_10351.jpg', '/home/pi/Desktop/images/29012025/21/05/image_29012025_21_06_06_9345.jpg', '/home/pi/Desktop/images/29012025/21/06/image_29012025_21_06_16_10422.jpg', '/home/pi/Desktop/images/29012025/21/06/image_29012025_21_06_25_9322.jpg', '/home/pi/Desktop/images/29012025/21/06/image_29012025_21_06_36_10343.jpg', '/home/pi/Desktop/images/29012025/21/06/image_29012025_21_06_46_10481.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/05/image_29012025_21_05_56_10351.jpg
/home/pi/Desktop/images/29012025/21/05/image_29012025_21_06_06_9345.jpg
/home/pi/Desktop/images/29012025/21/06/image_29012025_21_06_16_10422.jpg
/home/pi/Desktop/images/29012025/21/06/image_29012025_21_06_25_9322.jpg
/home/pi/Desktop/images/29012025/21/06/image_29012025_21_06_36_10343.jpg
/home/pi/Desktop/images/29012025/21/06/image_29012025_21_06_46_10481.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 www.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-01-31 14:59:03.383759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/05/image_29012025_21_05_56_10351.jpg', '/home/pi/Desktop/images/29012025/21/05/image_29012025_21_06_06_9345.jpg', '/home/pi/Desktop/images/29012025/21/06/image_29012025_21_06_16_10422.jpg', '/home/pi/Desktop/images/29012025/21/06/image_29012025_21_06_25_9322.jpg', '/home/pi/Desktop/images/29012025/21/06/image_29012025_21_06_36_10343.jpg', '/home/pi/Desktop/images/29012025/21/06/image_29012025_21_06_46_10481.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/05/image_29012025_21_05_56_10351.jpg
/home/pi/Desktop/images/29012025/21/05/image_29012025_21_06_06_9345.jpg
/home/pi/Desktop/images/29012025/21/06/image_29012025_21_06_16_10422.jpg
/home/pi/Desktop/images/29012025/21/06/image_29012025_21_06_25_9322.jpg
/home/pi/Desktop/images/29012025/21/06/image_29012025_21_06_36_10343.jpg
/home/pi/Desktop/images/29012025/21/06/image_29012025_21_06_46_10481.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":["1333340700","1333340747","1333340773","1333340605","1333340812","1333340806"],"photo_ids_order":["1333340605","1333340700","1333340747","1333340773","1333340806","1333340812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/03681e3677b3edb04823a31beb5ecc96.jpg","text":"TemporaryFile(/tmp/multipartBody3485713125289517636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332005012,"filename":"image_29012025_21_06_06_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/497f4a7f9032ea52c5cfd6781a3274c0.jpg","text":"TemporaryFile(/tmp/multipartBody8291214850708687184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332005012,"filename":"image_29012025_21_06_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/1/31/4a8ffbc116270cb5d1a04c3eda5cf2b2.jpg","text":"TemporaryFile(/tmp/multipartBody4978484195391570453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332005012,"filename":"image_29012025_21_06_25_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/973cbce1204c2093334395910f9df86a.jpg","text":"TemporaryFile(/tmp/multipartBody3810352538288499300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332005012,"filename":"image_29012025_21_05_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/1/31/2faaa5792a356202e26a282b8ee1ca56.jpg","text":"TemporaryFile(/tmp/multipartBody4246481416811564019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332005012,"filename":"image_29012025_21_06_46_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/55dd94b6e98e6a875fc0aa3bcc7f6bb3.jpg","text":"TemporaryFile(/tmp/multipartBody8496536952357145106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332005012,"filename":"image_29012025_21_06_36_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333340747","file1":"1333340700","file0":"1333340605","file4":"1333340806","file5":"1333340812","file3":"1333340773"},"map_files_photo_id_array":[{"photo_id":"1333340812","filename":"file5"},{"photo_id":"1333340747","filename":"file2"},{"photo_id":"1333340806","filename":"file4"},{"photo_id":"1333340700","filename":"file1"},{"photo_id":"1333340605","filename":"file0"},{"photo_id":"1333340773","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333340700":["hashtag1","hashtag2"]},{"1333340747":["hashtag1","hashtag2"]},{"1333340773":["hashtag1","hashtag2"]},{"1333340605":["hashtag1","hashtag2"]},{"1333340812":["hashtag1","hashtag2"]},{"1333340806":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333340700, 1333340747, 1333340773, 1333340605, 1333340812, 1333340806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.268534660339355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 14:59:52.423310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/06/image_29012025_21_06_56_9341.jpg', '/home/pi/Desktop/images/29012025/21/06/image_29012025_21_07_06_10413.jpg', '/home/pi/Desktop/images/29012025/21/07/image_29012025_21_07_15_9327.jpg', '/home/pi/Desktop/images/29012025/21/07/image_29012025_21_07_26_10341.jpg', '/home/pi/Desktop/images/29012025/21/07/image_29012025_21_07_36_10429.jpg', '/home/pi/Desktop/images/29012025/21/07/image_29012025_21_07_46_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/06/image_29012025_21_06_56_9341.jpg
/home/pi/Desktop/images/29012025/21/06/image_29012025_21_07_06_10413.jpg
/home/pi/Desktop/images/29012025/21/07/image_29012025_21_07_15_9327.jpg
/home/pi/Desktop/images/29012025/21/07/image_29012025_21_07_26_10341.jpg
/home/pi/Desktop/images/29012025/21/07/image_29012025_21_07_36_10429.jpg
/home/pi/Desktop/images/29012025/21/07/image_29012025_21_07_46_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":["1333340855","1333340858","1333340860","1333340877","1333340853","1333340847"],"photo_ids_order":["1333340847","1333340853","1333340855","1333340858","1333340860","1333340877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/627fe86df1796ba1fe8ac8462f92156e.jpg","text":"TemporaryFile(/tmp/multipartBody1700617365340117124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332054833,"filename":"image_29012025_21_07_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/1/31/e06baf820a035444a5177f4739e85b36.jpg","text":"TemporaryFile(/tmp/multipartBody8324688907113194520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332054833,"filename":"image_29012025_21_07_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/1/31/b6b7a30fd421f3ba98a53f80bc32d4e3.jpg","text":"TemporaryFile(/tmp/multipartBody423132031822482805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332054833,"filename":"image_29012025_21_07_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/1/31/045e73746ac58e33283ff77aa9bd4b60.jpg","text":"TemporaryFile(/tmp/multipartBody3813221101704415122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332054833,"filename":"image_29012025_21_07_46_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a59cf069ddbb4c60e6524e7cafed1758.jpg","text":"TemporaryFile(/tmp/multipartBody1746723344930713490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332054833,"filename":"image_29012025_21_07_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/1/31/fc35c91200e9544dcbd66914997a4b22.jpg","text":"TemporaryFile(/tmp/multipartBody4226781769181784262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332054833,"filename":"image_29012025_21_06_56_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333340855","file1":"1333340853","file0":"1333340847","file4":"1333340860","file5":"1333340877","file3":"1333340858"},"map_files_photo_id_array":[{"photo_id":"1333340877","filename":"file5"},{"photo_id":"1333340855","filename":"file2"},{"photo_id":"1333340860","filename":"file4"},{"photo_id":"1333340853","filename":"file1"},{"photo_id":"1333340847","filename":"file0"},{"photo_id":"1333340858","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333340855":["hashtag1","hashtag2"]},{"1333340858":["hashtag1","hashtag2"]},{"1333340860":["hashtag1","hashtag2"]},{"1333340877":["hashtag1","hashtag2"]},{"1333340853":["hashtag1","hashtag2"]},{"1333340847":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333340855, 1333340858, 1333340860, 1333340877, 1333340853, 1333340847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.21470236778259 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 15:00:42.697466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/07/image_29012025_21_07_56_10449.jpg', '/home/pi/Desktop/images/29012025/21/07/image_29012025_21_08_06_10344.jpg', '/home/pi/Desktop/images/29012025/21/08/image_29012025_21_08_16_9422.jpg', '/home/pi/Desktop/images/29012025/21/08/image_29012025_21_08_26_10452.jpg', '/home/pi/Desktop/images/29012025/21/08/image_29012025_21_08_36_9361.jpg', '/home/pi/Desktop/images/29012025/21/08/image_29012025_21_08_46_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/07/image_29012025_21_07_56_10449.jpg
/home/pi/Desktop/images/29012025/21/07/image_29012025_21_08_06_10344.jpg
/home/pi/Desktop/images/29012025/21/08/image_29012025_21_08_16_9422.jpg
/home/pi/Desktop/images/29012025/21/08/image_29012025_21_08_26_10452.jpg
/home/pi/Desktop/images/29012025/21/08/image_29012025_21_08_36_9361.jpg
/home/pi/Desktop/images/29012025/21/08/image_29012025_21_08_46_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":["1333341059","1333341050","1333341038","1333341046","1333341055","1333341060"],"photo_ids_order":["1333341038","1333341046","1333341050","1333341055","1333341059","1333341060"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/17f11c989a6aff0bb94ad31eecf0f930.jpg","text":"TemporaryFile(/tmp/multipartBody6166314014211923231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332104280,"filename":"image_29012025_21_08_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/1/31/f0f7fe850213740861c5cc94327ababe.jpg","text":"TemporaryFile(/tmp/multipartBody3103557387685613711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332104280,"filename":"image_29012025_21_08_16_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2913c0df9e4b2a57b3ab20a40c0d1400.jpg","text":"TemporaryFile(/tmp/multipartBody520958693698667737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332104280,"filename":"image_29012025_21_07_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/1/31/8ac1d42750cfe336565cfd15a7ccb3ab.jpg","text":"TemporaryFile(/tmp/multipartBody3245485285093600530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332104280,"filename":"image_29012025_21_08_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1a2944835e98b496e83447e045da9d63.jpg","text":"TemporaryFile(/tmp/multipartBody1880468460453993521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332104280,"filename":"image_29012025_21_08_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/1/31/01fa5aeeaa03071d13b6691f09db96bb.jpg","text":"TemporaryFile(/tmp/multipartBody6398072904194019548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332104280,"filename":"image_29012025_21_08_46_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333341050","file1":"1333341046","file0":"1333341038","file4":"1333341059","file5":"1333341060","file3":"1333341055"},"map_files_photo_id_array":[{"photo_id":"1333341060","filename":"file5"},{"photo_id":"1333341050","filename":"file2"},{"photo_id":"1333341059","filename":"file4"},{"photo_id":"1333341046","filename":"file1"},{"photo_id":"1333341038","filename":"file0"},{"photo_id":"1333341055","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333341059":["hashtag1","hashtag2"]},{"1333341050":["hashtag1","hashtag2"]},{"1333341038":["hashtag1","hashtag2"]},{"1333341046":["hashtag1","hashtag2"]},{"1333341055":["hashtag1","hashtag2"]},{"1333341060":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333341059, 1333341050, 1333341038, 1333341046, 1333341055, 1333341060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.17240357398987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:01:33.026398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/08/image_29012025_21_08_55_9358.jpg', '/home/pi/Desktop/images/29012025/21/08/image_29012025_21_09_06_10365.jpg', '/home/pi/Desktop/images/29012025/21/09/image_29012025_21_09_16_10344.jpg', '/home/pi/Desktop/images/29012025/21/09/image_29012025_21_09_25_9362.jpg', '/home/pi/Desktop/images/29012025/21/09/image_29012025_21_09_36_10378.jpg', '/home/pi/Desktop/images/29012025/21/09/image_29012025_21_09_46_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/08/image_29012025_21_08_55_9358.jpg
/home/pi/Desktop/images/29012025/21/08/image_29012025_21_09_06_10365.jpg
/home/pi/Desktop/images/29012025/21/09/image_29012025_21_09_16_10344.jpg
/home/pi/Desktop/images/29012025/21/09/image_29012025_21_09_25_9362.jpg
/home/pi/Desktop/images/29012025/21/09/image_29012025_21_09_36_10378.jpg
/home/pi/Desktop/images/29012025/21/09/image_29012025_21_09_46_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":["1333341122","1333341094","1333341073","1333341099","1333341081","1333341111"],"photo_ids_order":["1333341073","1333341081","1333341094","1333341099","1333341111","1333341122"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/29357a9ed2a03b24ad9c12da6e69506d.jpg","text":"TemporaryFile(/tmp/multipartBody7133483878865292293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332155467,"filename":"image_29012025_21_09_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/1/31/3c2d52be0425ba0ca46ba2d685ac0afc.jpg","text":"TemporaryFile(/tmp/multipartBody2889748200515861731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332155467,"filename":"image_29012025_21_09_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/1/31/82e9d0fcaff53ee0b5d37d0968043a13.jpg","text":"TemporaryFile(/tmp/multipartBody6329700407766776495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332155467,"filename":"image_29012025_21_08_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/1/31/c7ab82fffd9e9195c6e3bb79c1c47614.jpg","text":"TemporaryFile(/tmp/multipartBody2470158138192782582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332155467,"filename":"image_29012025_21_09_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/1/31/d59ef14e98104c14e4281ad4e79e76fd.jpg","text":"TemporaryFile(/tmp/multipartBody516733953550996827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332155467,"filename":"image_29012025_21_09_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/1/31/2c7697ad52a67a88bfb88a284bcbaae4.jpg","text":"TemporaryFile(/tmp/multipartBody6778971647248740683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332155467,"filename":"image_29012025_21_09_36_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333341094","file1":"1333341081","file0":"1333341073","file4":"1333341111","file5":"1333341122","file3":"1333341099"},"map_files_photo_id_array":[{"photo_id":"1333341122","filename":"file5"},{"photo_id":"1333341094","filename":"file2"},{"photo_id":"1333341111","filename":"file4"},{"photo_id":"1333341081","filename":"file1"},{"photo_id":"1333341073","filename":"file0"},{"photo_id":"1333341099","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333341122":["hashtag1","hashtag2"]},{"1333341094":["hashtag1","hashtag2"]},{"1333341073":["hashtag1","hashtag2"]},{"1333341099":["hashtag1","hashtag2"]},{"1333341081":["hashtag1","hashtag2"]},{"1333341111":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333341122, 1333341094, 1333341073, 1333341099, 1333341081, 1333341111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.11135983467102 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:02:33.179131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/09/image_29012025_21_09_56_9353.jpg', '/home/pi/Desktop/images/29012025/21/09/image_29012025_21_10_06_10352.jpg', '/home/pi/Desktop/images/29012025/21/10/image_29012025_21_10_16_10426.jpg', '/home/pi/Desktop/images/29012025/21/10/image_29012025_21_10_45_9331.jpg', '/home/pi/Desktop/images/29012025/21/10/image_29012025_21_10_56_10437.jpg', '/home/pi/Desktop/images/29012025/21/11/image_29012025_21_11_16_9442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/09/image_29012025_21_09_56_9353.jpg
/home/pi/Desktop/images/29012025/21/09/image_29012025_21_10_06_10352.jpg
/home/pi/Desktop/images/29012025/21/10/image_29012025_21_10_16_10426.jpg
/home/pi/Desktop/images/29012025/21/10/image_29012025_21_10_45_9331.jpg
/home/pi/Desktop/images/29012025/21/10/image_29012025_21_10_56_10437.jpg
/home/pi/Desktop/images/29012025/21/11/image_29012025_21_11_16_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":["1333341161","1333341169","1333341172","1333341177","1333341156","1333341165"],"photo_ids_order":["1333341156","1333341161","1333341165","1333341169","1333341172","1333341177"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b6994d7c2bdd1d18911e8a460168442d.jpg","text":"TemporaryFile(/tmp/multipartBody8136100455626579357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332215599,"filename":"image_29012025_21_10_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/1/31/43e7bbc8b84d08a036f617208d96a7e3.jpg","text":"TemporaryFile(/tmp/multipartBody2220630434019742917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332215599,"filename":"image_29012025_21_10_45_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/79b11a3448bb8a3c36c84b795afbc211.jpg","text":"TemporaryFile(/tmp/multipartBody6308579269624650773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332215599,"filename":"image_29012025_21_10_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/1/31/7a64ba8f0a7772fa5d41e66feeb6cb0b.jpg","text":"TemporaryFile(/tmp/multipartBody6285529977751645947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332215599,"filename":"image_29012025_21_11_16_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/593f2a548e5f7e8f17702bdd63289248.jpg","text":"TemporaryFile(/tmp/multipartBody4556563263912082726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332215599,"filename":"image_29012025_21_09_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/1/31/b43cac8cc2cbdbf609bd79eae4d48745.jpg","text":"TemporaryFile(/tmp/multipartBody880355102776205048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332215599,"filename":"image_29012025_21_10_16_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333341165","file1":"1333341161","file0":"1333341156","file4":"1333341172","file5":"1333341177","file3":"1333341169"},"map_files_photo_id_array":[{"photo_id":"1333341177","filename":"file5"},{"photo_id":"1333341165","filename":"file2"},{"photo_id":"1333341172","filename":"file4"},{"photo_id":"1333341161","filename":"file1"},{"photo_id":"1333341156","filename":"file0"},{"photo_id":"1333341169","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333341161":["hashtag1","hashtag2"]},{"1333341169":["hashtag1","hashtag2"]},{"1333341172":["hashtag1","hashtag2"]},{"1333341177":["hashtag1","hashtag2"]},{"1333341156":["hashtag1","hashtag2"]},{"1333341165":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333341161, 1333341169, 1333341172, 1333341177, 1333341156, 1333341165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.878482818603516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:03:32.408284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/11/image_29012025_21_11_26_10417.jpg', '/home/pi/Desktop/images/29012025/21/11/image_29012025_21_11_35_9343.jpg', '/home/pi/Desktop/images/29012025/21/11/image_29012025_21_11_46_10419.jpg', '/home/pi/Desktop/images/29012025/21/11/image_29012025_21_12_06_9343.jpg', '/home/pi/Desktop/images/29012025/21/12/image_29012025_21_12_16_10359.jpg', '/home/pi/Desktop/images/29012025/21/12/image_29012025_21_12_26_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/11/image_29012025_21_11_26_10417.jpg
/home/pi/Desktop/images/29012025/21/11/image_29012025_21_11_35_9343.jpg
/home/pi/Desktop/images/29012025/21/11/image_29012025_21_11_46_10419.jpg
/home/pi/Desktop/images/29012025/21/11/image_29012025_21_12_06_9343.jpg
/home/pi/Desktop/images/29012025/21/12/image_29012025_21_12_16_10359.jpg
/home/pi/Desktop/images/29012025/21/12/image_29012025_21_12_26_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":["1333341212","1333341221","1333341220","1333341217","1333341204","1333341197"],"photo_ids_order":["1333341197","1333341204","1333341212","1333341217","1333341220","1333341221"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b049c7e82b838444d7f64b197234caa2.jpg","text":"TemporaryFile(/tmp/multipartBody3049992770440170325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332274865,"filename":"image_29012025_21_11_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/1/31/e931fdd67c41554a492b927ff0660214.jpg","text":"TemporaryFile(/tmp/multipartBody113508909725117261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332274865,"filename":"image_29012025_21_12_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/1/31/de666241dffbefe3ff9fa3f8099386fa.jpg","text":"TemporaryFile(/tmp/multipartBody4519678574772743510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332274865,"filename":"image_29012025_21_12_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/1/31/91d5ec56efe46daaba4cd3e2b5f62b3b.jpg","text":"TemporaryFile(/tmp/multipartBody6706074995730948047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332274865,"filename":"image_29012025_21_12_06_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e2df6e4072b0a226b412f85f46a69f83.jpg","text":"TemporaryFile(/tmp/multipartBody4260810392187290624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332274865,"filename":"image_29012025_21_11_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c1e0f1584bc760adb984d108c6a3983d.jpg","text":"TemporaryFile(/tmp/multipartBody7860803942176739905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332274865,"filename":"image_29012025_21_11_26_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333341212","file1":"1333341204","file0":"1333341197","file4":"1333341220","file5":"1333341221","file3":"1333341217"},"map_files_photo_id_array":[{"photo_id":"1333341221","filename":"file5"},{"photo_id":"1333341212","filename":"file2"},{"photo_id":"1333341220","filename":"file4"},{"photo_id":"1333341204","filename":"file1"},{"photo_id":"1333341197","filename":"file0"},{"photo_id":"1333341217","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333341212":["hashtag1","hashtag2"]},{"1333341221":["hashtag1","hashtag2"]},{"1333341220":["hashtag1","hashtag2"]},{"1333341217":["hashtag1","hashtag2"]},{"1333341204":["hashtag1","hashtag2"]},{"1333341197":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333341212, 1333341221, 1333341220, 1333341217, 1333341204, 1333341197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.928937911987305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:04:32.584706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/12/image_29012025_21_12_36_9332.jpg', '/home/pi/Desktop/images/29012025/21/12/image_29012025_21_12_46_10348.jpg', '/home/pi/Desktop/images/29012025/21/12/image_29012025_21_13_06_9459.jpg', '/home/pi/Desktop/images/29012025/21/13/image_29012025_21_13_16_10408.jpg', '/home/pi/Desktop/images/29012025/21/13/image_29012025_21_13_26_9340.jpg', '/home/pi/Desktop/images/29012025/21/13/image_29012025_21_13_36_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/12/image_29012025_21_12_36_9332.jpg
/home/pi/Desktop/images/29012025/21/12/image_29012025_21_12_46_10348.jpg
/home/pi/Desktop/images/29012025/21/12/image_29012025_21_13_06_9459.jpg
/home/pi/Desktop/images/29012025/21/13/image_29012025_21_13_16_10408.jpg
/home/pi/Desktop/images/29012025/21/13/image_29012025_21_13_26_9340.jpg
/home/pi/Desktop/images/29012025/21/13/image_29012025_21_13_36_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":["1333341263","1333341239","1333341260","1333341250","1333341255","1333341243"],"photo_ids_order":["1333341239","1333341243","1333341250","1333341255","1333341260","1333341263"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2eb19a6e9753a98f1eb513d92c667887.jpg","text":"TemporaryFile(/tmp/multipartBody6584473637630639570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332335030,"filename":"image_29012025_21_13_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/1/31/413a5fc0ad515bb6afe278eaa8c87826.jpg","text":"TemporaryFile(/tmp/multipartBody8582278506236158091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332335030,"filename":"image_29012025_21_12_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/1/31/fa0eca514fd5dad9008e2794d46b632a.jpg","text":"TemporaryFile(/tmp/multipartBody5872770803553921725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332335030,"filename":"image_29012025_21_13_26_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2e0740d00a5b4bbfb567ec25cd22d8ea.jpg","text":"TemporaryFile(/tmp/multipartBody339246881023346713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332335030,"filename":"image_29012025_21_13_06_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/44ec23bfee9eee935814386d62dc096f.jpg","text":"TemporaryFile(/tmp/multipartBody3336703438964804112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332335030,"filename":"image_29012025_21_13_16_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7141d4620a58b14b9c1d19f601f47abe.jpg","text":"TemporaryFile(/tmp/multipartBody1640851375625953229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332335030,"filename":"image_29012025_21_12_46_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333341250","file1":"1333341243","file0":"1333341239","file4":"1333341260","file5":"1333341263","file3":"1333341255"},"map_files_photo_id_array":[{"photo_id":"1333341263","filename":"file5"},{"photo_id":"1333341250","filename":"file2"},{"photo_id":"1333341260","filename":"file4"},{"photo_id":"1333341243","filename":"file1"},{"photo_id":"1333341239","filename":"file0"},{"photo_id":"1333341255","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333341263":["hashtag1","hashtag2"]},{"1333341239":["hashtag1","hashtag2"]},{"1333341260":["hashtag1","hashtag2"]},{"1333341250":["hashtag1","hashtag2"]},{"1333341255":["hashtag1","hashtag2"]},{"1333341243":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333341263, 1333341239, 1333341260, 1333341250, 1333341255, 1333341243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.219112396240234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:05:32.798018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/13/image_29012025_21_13_46_10405.jpg', '/home/pi/Desktop/images/29012025/21/13/image_29012025_21_13_56_9355.jpg', '/home/pi/Desktop/images/29012025/21/13/image_29012025_21_14_06_10398.jpg', '/home/pi/Desktop/images/29012025/21/14/image_29012025_21_14_16_10335.jpg', '/home/pi/Desktop/images/29012025/21/14/image_29012025_21_14_26_9345.jpg', '/home/pi/Desktop/images/29012025/21/14/image_29012025_21_14_36_10423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/13/image_29012025_21_13_46_10405.jpg
/home/pi/Desktop/images/29012025/21/13/image_29012025_21_13_56_9355.jpg
/home/pi/Desktop/images/29012025/21/13/image_29012025_21_14_06_10398.jpg
/home/pi/Desktop/images/29012025/21/14/image_29012025_21_14_16_10335.jpg
/home/pi/Desktop/images/29012025/21/14/image_29012025_21_14_26_9345.jpg
/home/pi/Desktop/images/29012025/21/14/image_29012025_21_14_36_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":["1333341386","1333341434","1333341428","1333341397","1333341441","1333341438"],"photo_ids_order":["1333341386","1333341397","1333341428","1333341434","1333341438","1333341441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1c6a4a73d830e60538b967665e3b2bc6.jpg","text":"TemporaryFile(/tmp/multipartBody3536296532454178523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332395236,"filename":"image_29012025_21_13_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/1/31/7947f419baa3b9c5438328be9dd56867.jpg","text":"TemporaryFile(/tmp/multipartBody5368800372280398992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332395236,"filename":"image_29012025_21_14_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/361efa8e5def399eea18bf82daf28c8d.jpg","text":"TemporaryFile(/tmp/multipartBody7401220694534432714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332395236,"filename":"image_29012025_21_14_06_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/61f266132674970c75a291dfe106fe9e.jpg","text":"TemporaryFile(/tmp/multipartBody2566594942944591554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332395236,"filename":"image_29012025_21_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/1/31/320e5a9134f27a7abf62a4a27f46afd0.jpg","text":"TemporaryFile(/tmp/multipartBody2133994062629383144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332395236,"filename":"image_29012025_21_14_36_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ad4432c2792f9b63d711e4829516d6ee.jpg","text":"TemporaryFile(/tmp/multipartBody54014594290457759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332395236,"filename":"image_29012025_21_14_26_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333341428","file1":"1333341397","file0":"1333341386","file4":"1333341438","file5":"1333341441","file3":"1333341434"},"map_files_photo_id_array":[{"photo_id":"1333341441","filename":"file5"},{"photo_id":"1333341428","filename":"file2"},{"photo_id":"1333341438","filename":"file4"},{"photo_id":"1333341397","filename":"file1"},{"photo_id":"1333341386","filename":"file0"},{"photo_id":"1333341434","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333341386":["hashtag1","hashtag2"]},{"1333341434":["hashtag1","hashtag2"]},{"1333341428":["hashtag1","hashtag2"]},{"1333341397":["hashtag1","hashtag2"]},{"1333341441":["hashtag1","hashtag2"]},{"1333341438":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333341386, 1333341434, 1333341428, 1333341397, 1333341441, 1333341438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.039944648742676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:06:33.069884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/14/image_29012025_21_14_45_9332.jpg', '/home/pi/Desktop/images/29012025/21/14/image_29012025_21_14_56_10343.jpg', '/home/pi/Desktop/images/29012025/21/14/image_29012025_21_15_06_10373.jpg', '/home/pi/Desktop/images/29012025/21/15/image_29012025_21_15_16_9327.jpg', '/home/pi/Desktop/images/29012025/21/15/image_29012025_21_15_26_10371.jpg', '/home/pi/Desktop/images/29012025/21/15/image_29012025_21_15_36_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/14/image_29012025_21_14_45_9332.jpg
/home/pi/Desktop/images/29012025/21/14/image_29012025_21_14_56_10343.jpg
/home/pi/Desktop/images/29012025/21/14/image_29012025_21_15_06_10373.jpg
/home/pi/Desktop/images/29012025/21/15/image_29012025_21_15_16_9327.jpg
/home/pi/Desktop/images/29012025/21/15/image_29012025_21_15_26_10371.jpg
/home/pi/Desktop/images/29012025/21/15/image_29012025_21_15_36_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":["1333341476","1333341485","1333341548","1333341541","1333341535","1333341471"],"photo_ids_order":["1333341471","1333341476","1333341485","1333341535","1333341541","1333341548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cd1987497bbc0e4a0eb511c873a247b4.jpg","text":"TemporaryFile(/tmp/multipartBody4544894434773822976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332455479,"filename":"image_29012025_21_14_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/1/31/e359a39f4b25d3254d557789848bf692.jpg","text":"TemporaryFile(/tmp/multipartBody4898141320445535788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332455479,"filename":"image_29012025_21_15_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/1/31/0d5c00ad5e13d6a424e2d6c3ce132fa3.jpg","text":"TemporaryFile(/tmp/multipartBody7747370320892808076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332455479,"filename":"image_29012025_21_15_36_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bb8d4f6bfde48226da1374fe22e5675e.jpg","text":"TemporaryFile(/tmp/multipartBody6897597607887019334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332455479,"filename":"image_29012025_21_15_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/1/31/f7093152e6db2e0e96bb35ae87179167.jpg","text":"TemporaryFile(/tmp/multipartBody3384685755709642185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332455479,"filename":"image_29012025_21_15_16_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6719753e808002ca382e7215efc53f79.jpg","text":"TemporaryFile(/tmp/multipartBody4228469360198466279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332455479,"filename":"image_29012025_21_14_45_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333341485","file1":"1333341476","file0":"1333341471","file4":"1333341541","file5":"1333341548","file3":"1333341535"},"map_files_photo_id_array":[{"photo_id":"1333341548","filename":"file5"},{"photo_id":"1333341485","filename":"file2"},{"photo_id":"1333341541","filename":"file4"},{"photo_id":"1333341476","filename":"file1"},{"photo_id":"1333341471","filename":"file0"},{"photo_id":"1333341535","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333341476":["hashtag1","hashtag2"]},{"1333341485":["hashtag1","hashtag2"]},{"1333341548":["hashtag1","hashtag2"]},{"1333341541":["hashtag1","hashtag2"]},{"1333341535":["hashtag1","hashtag2"]},{"1333341471":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333341476, 1333341485, 1333341548, 1333341541, 1333341535, 1333341471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.49247694015503 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:07:32.331880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/15/image_29012025_21_15_46_9352.jpg', '/home/pi/Desktop/images/29012025/21/15/image_29012025_21_15_56_10446.jpg', '/home/pi/Desktop/images/29012025/21/15/image_29012025_21_16_05_9417.jpg', '/home/pi/Desktop/images/29012025/21/16/image_29012025_21_16_16_10343.jpg', '/home/pi/Desktop/images/29012025/21/16/image_29012025_21_16_26_10436.jpg', '/home/pi/Desktop/images/29012025/21/16/image_29012025_21_16_36_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/15/image_29012025_21_15_46_9352.jpg
/home/pi/Desktop/images/29012025/21/15/image_29012025_21_15_56_10446.jpg
/home/pi/Desktop/images/29012025/21/15/image_29012025_21_16_05_9417.jpg
/home/pi/Desktop/images/29012025/21/16/image_29012025_21_16_16_10343.jpg
/home/pi/Desktop/images/29012025/21/16/image_29012025_21_16_26_10436.jpg
/home/pi/Desktop/images/29012025/21/16/image_29012025_21_16_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":["1333341626","1333341611","1333341605","1333341631","1333341633","1333341618"],"photo_ids_order":["1333341605","1333341611","1333341618","1333341626","1333341631","1333341633"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/94bac8564ed3149935b3e6a1147f89ff.jpg","text":"TemporaryFile(/tmp/multipartBody4558329650553901400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332514757,"filename":"image_29012025_21_16_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/1/31/3f028c9500c1362f85d73bc35ce23f17.jpg","text":"TemporaryFile(/tmp/multipartBody8272542398677455916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332514757,"filename":"image_29012025_21_15_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/1/31/9dd075ced62515124514b07fbb9ce9cd.jpg","text":"TemporaryFile(/tmp/multipartBody367458103840269209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332514757,"filename":"image_29012025_21_15_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/1/31/b61cbc23c14636ade922b5f7db0f39c5.jpg","text":"TemporaryFile(/tmp/multipartBody3437260458044553853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332514757,"filename":"image_29012025_21_16_26_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5432eea6de99104020e3c4df302b25c8.jpg","text":"TemporaryFile(/tmp/multipartBody7316982206207988240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332514757,"filename":"image_29012025_21_16_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/1/31/dae5f5c423809177b7a05efcbf30eee7.jpg","text":"TemporaryFile(/tmp/multipartBody468019288833336217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332514757,"filename":"image_29012025_21_16_05_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333341618","file1":"1333341611","file0":"1333341605","file4":"1333341631","file5":"1333341633","file3":"1333341626"},"map_files_photo_id_array":[{"photo_id":"1333341633","filename":"file5"},{"photo_id":"1333341618","filename":"file2"},{"photo_id":"1333341631","filename":"file4"},{"photo_id":"1333341611","filename":"file1"},{"photo_id":"1333341605","filename":"file0"},{"photo_id":"1333341626","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333341626":["hashtag1","hashtag2"]},{"1333341611":["hashtag1","hashtag2"]},{"1333341605":["hashtag1","hashtag2"]},{"1333341631":["hashtag1","hashtag2"]},{"1333341633":["hashtag1","hashtag2"]},{"1333341618":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333341626, 1333341611, 1333341605, 1333341631, 1333341633, 1333341618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.30466628074646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:08:32.490295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/16/image_29012025_21_16_46_10427.jpg', '/home/pi/Desktop/images/29012025/21/16/image_29012025_21_16_55_9346.jpg', '/home/pi/Desktop/images/29012025/21/16/image_29012025_21_17_06_10400.jpg', '/home/pi/Desktop/images/29012025/21/17/image_29012025_21_17_16_10443.jpg', '/home/pi/Desktop/images/29012025/21/17/image_29012025_21_17_26_9346.jpg', '/home/pi/Desktop/images/29012025/21/17/image_29012025_21_17_36_10443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/16/image_29012025_21_16_46_10427.jpg
/home/pi/Desktop/images/29012025/21/16/image_29012025_21_16_55_9346.jpg
/home/pi/Desktop/images/29012025/21/16/image_29012025_21_17_06_10400.jpg
/home/pi/Desktop/images/29012025/21/17/image_29012025_21_17_16_10443.jpg
/home/pi/Desktop/images/29012025/21/17/image_29012025_21_17_26_9346.jpg
/home/pi/Desktop/images/29012025/21/17/image_29012025_21_17_36_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":["1333341680","1333341677","1333341667","1333341652","1333341672","1333341683"],"photo_ids_order":["1333341652","1333341667","1333341672","1333341677","1333341680","1333341683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/80135d20df239a93e0bda434785669b2.jpg","text":"TemporaryFile(/tmp/multipartBody7543964944428795086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332574911,"filename":"image_29012025_21_17_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/1/31/879b3b4fb5a305845e558275982796eb.jpg","text":"TemporaryFile(/tmp/multipartBody1974716586035801600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332574911,"filename":"image_29012025_21_17_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/1/31/b034871f918e07d95a926ecc768f94d3.jpg","text":"TemporaryFile(/tmp/multipartBody369251518729871700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332574911,"filename":"image_29012025_21_16_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/1/31/496cd76a95c3326318735bcc9e943d1f.jpg","text":"TemporaryFile(/tmp/multipartBody6742192028782920269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332574911,"filename":"image_29012025_21_16_46_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fae454111305d12940319e77376be432.jpg","text":"TemporaryFile(/tmp/multipartBody3586196529236520517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332574911,"filename":"image_29012025_21_17_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/1/31/f6eb729e3938696097b177b32932eb25.jpg","text":"TemporaryFile(/tmp/multipartBody8712241778388277611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332574911,"filename":"image_29012025_21_17_36_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333341672","file1":"1333341667","file0":"1333341652","file4":"1333341680","file5":"1333341683","file3":"1333341677"},"map_files_photo_id_array":[{"photo_id":"1333341683","filename":"file5"},{"photo_id":"1333341672","filename":"file2"},{"photo_id":"1333341680","filename":"file4"},{"photo_id":"1333341667","filename":"file1"},{"photo_id":"1333341652","filename":"file0"},{"photo_id":"1333341677","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333341680":["hashtag1","hashtag2"]},{"1333341677":["hashtag1","hashtag2"]},{"1333341667":["hashtag1","hashtag2"]},{"1333341652":["hashtag1","hashtag2"]},{"1333341672":["hashtag1","hashtag2"]},{"1333341683":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333341680, 1333341677, 1333341667, 1333341652, 1333341672, 1333341683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.41583609580994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:09:32.727151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/17/image_29012025_21_17_46_10346.jpg', '/home/pi/Desktop/images/29012025/21/17/image_29012025_21_18_06_10355.jpg', '/home/pi/Desktop/images/29012025/21/18/image_29012025_21_18_16_9418.jpg', '/home/pi/Desktop/images/29012025/21/18/image_29012025_21_18_26_10436.jpg', '/home/pi/Desktop/images/29012025/21/18/image_29012025_21_18_36_10353.jpg', '/home/pi/Desktop/images/29012025/21/18/image_29012025_21_18_46_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/17/image_29012025_21_17_46_10346.jpg
/home/pi/Desktop/images/29012025/21/17/image_29012025_21_18_06_10355.jpg
/home/pi/Desktop/images/29012025/21/18/image_29012025_21_18_16_9418.jpg
/home/pi/Desktop/images/29012025/21/18/image_29012025_21_18_26_10436.jpg
/home/pi/Desktop/images/29012025/21/18/image_29012025_21_18_36_10353.jpg
/home/pi/Desktop/images/29012025/21/18/image_29012025_21_18_46_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":["1333341842","1333341760","1333341798","1333341792","1333341804","1333341779"],"photo_ids_order":["1333341760","1333341779","1333341792","1333341798","1333341804","1333341842"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e58b95cebaa80df51b1080470e3a8c3f.jpg","text":"TemporaryFile(/tmp/multipartBody7345526688817176884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332635182,"filename":"image_29012025_21_18_46_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/210b14494f7312aff5f07bb71e2f3836.jpg","text":"TemporaryFile(/tmp/multipartBody5519823591842605022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332635182,"filename":"image_29012025_21_17_46_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/df050cf4d80355f4315f3c482b3d6fbb.jpg","text":"TemporaryFile(/tmp/multipartBody6897650824511226825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332635182,"filename":"image_29012025_21_18_26_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9d2def2796eb4470e2c0fed4171803e3.jpg","text":"TemporaryFile(/tmp/multipartBody1045676968784192835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332635182,"filename":"image_29012025_21_18_16_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f5146e788d593bc67ab11ed3dfea36dc.jpg","text":"TemporaryFile(/tmp/multipartBody5819533412422727741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332635182,"filename":"image_29012025_21_18_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/1/31/28600cd15c13a151111d1d59298f64f7.jpg","text":"TemporaryFile(/tmp/multipartBody8821828410406371944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332635182,"filename":"image_29012025_21_18_06_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333341792","file1":"1333341779","file0":"1333341760","file4":"1333341804","file5":"1333341842","file3":"1333341798"},"map_files_photo_id_array":[{"photo_id":"1333341842","filename":"file5"},{"photo_id":"1333341792","filename":"file2"},{"photo_id":"1333341804","filename":"file4"},{"photo_id":"1333341779","filename":"file1"},{"photo_id":"1333341760","filename":"file0"},{"photo_id":"1333341798","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333341842":["hashtag1","hashtag2"]},{"1333341760":["hashtag1","hashtag2"]},{"1333341798":["hashtag1","hashtag2"]},{"1333341792":["hashtag1","hashtag2"]},{"1333341804":["hashtag1","hashtag2"]},{"1333341779":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333341842, 1333341760, 1333341798, 1333341792, 1333341804, 1333341779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.666306257247925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:10:32.934612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/18/image_29012025_21_18_56_10421.jpg', '/home/pi/Desktop/images/29012025/21/18/image_29012025_21_19_05_9324.jpg', '/home/pi/Desktop/images/29012025/21/19/image_29012025_21_19_16_10341.jpg', '/home/pi/Desktop/images/29012025/21/19/image_29012025_21_19_26_10423.jpg', '/home/pi/Desktop/images/29012025/21/19/image_29012025_21_19_36_9359.jpg', '/home/pi/Desktop/images/29012025/21/19/image_29012025_21_19_46_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/18/image_29012025_21_18_56_10421.jpg
/home/pi/Desktop/images/29012025/21/18/image_29012025_21_19_05_9324.jpg
/home/pi/Desktop/images/29012025/21/19/image_29012025_21_19_16_10341.jpg
/home/pi/Desktop/images/29012025/21/19/image_29012025_21_19_26_10423.jpg
/home/pi/Desktop/images/29012025/21/19/image_29012025_21_19_36_9359.jpg
/home/pi/Desktop/images/29012025/21/19/image_29012025_21_19_46_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":["1333341961","1333341882","1333341876","1333341930","1333341896","1333341890"],"photo_ids_order":["1333341876","1333341882","1333341890","1333341896","1333341930","1333341961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/229333eef963e286a4a4fa23020a2503.jpg","text":"TemporaryFile(/tmp/multipartBody2424386080331829695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332695333,"filename":"image_29012025_21_19_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/1/31/4cc0d01e70b0d059f0562114b0dd7688.jpg","text":"TemporaryFile(/tmp/multipartBody9000395264730422636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332695333,"filename":"image_29012025_21_19_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/1/31/f2f87708343c76d562f66e964098c6ec.jpg","text":"TemporaryFile(/tmp/multipartBody3408158101942151683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332695333,"filename":"image_29012025_21_18_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/1/31/ac2dac311677e782e3872e2d62802e6c.jpg","text":"TemporaryFile(/tmp/multipartBody2769940740778960951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332695333,"filename":"image_29012025_21_19_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/1/31/597d51d719c51bdef59186dd0161cd88.jpg","text":"TemporaryFile(/tmp/multipartBody5451511998497744848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332695333,"filename":"image_29012025_21_19_26_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1a0c1e5529b6e0096e0a4a831a4427f0.jpg","text":"TemporaryFile(/tmp/multipartBody1733314096675481469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332695333,"filename":"image_29012025_21_19_16_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333341890","file1":"1333341882","file0":"1333341876","file4":"1333341930","file5":"1333341961","file3":"1333341896"},"map_files_photo_id_array":[{"photo_id":"1333341961","filename":"file5"},{"photo_id":"1333341890","filename":"file2"},{"photo_id":"1333341930","filename":"file4"},{"photo_id":"1333341882","filename":"file1"},{"photo_id":"1333341876","filename":"file0"},{"photo_id":"1333341896","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333341961":["hashtag1","hashtag2"]},{"1333341882":["hashtag1","hashtag2"]},{"1333341876":["hashtag1","hashtag2"]},{"1333341930":["hashtag1","hashtag2"]},{"1333341896":["hashtag1","hashtag2"]},{"1333341890":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333341961, 1333341882, 1333341876, 1333341930, 1333341896, 1333341890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.181859254837036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:11:33.083455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/19/image_29012025_21_19_56_10357.jpg', '/home/pi/Desktop/images/29012025/21/19/image_29012025_21_20_06_9332.jpg', '/home/pi/Desktop/images/29012025/21/20/image_29012025_21_20_16_10376.jpg', '/home/pi/Desktop/images/29012025/21/20/image_29012025_21_20_25_9355.jpg', '/home/pi/Desktop/images/29012025/21/20/image_29012025_21_20_36_10356.jpg', '/home/pi/Desktop/images/29012025/21/20/image_29012025_21_20_46_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/19/image_29012025_21_19_56_10357.jpg
/home/pi/Desktop/images/29012025/21/19/image_29012025_21_20_06_9332.jpg
/home/pi/Desktop/images/29012025/21/20/image_29012025_21_20_16_10376.jpg
/home/pi/Desktop/images/29012025/21/20/image_29012025_21_20_25_9355.jpg
/home/pi/Desktop/images/29012025/21/20/image_29012025_21_20_36_10356.jpg
/home/pi/Desktop/images/29012025/21/20/image_29012025_21_20_46_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":["1333341986","1333342001","1333341991","1333341982","1333342006","1333341998"],"photo_ids_order":["1333341982","1333341986","1333341991","1333341998","1333342001","1333342006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ead7f8a7fc99d6191aab2cdeb04f9cf9.jpg","text":"TemporaryFile(/tmp/multipartBody2395552942291972332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332755493,"filename":"image_29012025_21_20_06_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/702c6ede66f8d1982fded78b7556441f.jpg","text":"TemporaryFile(/tmp/multipartBody6401178569459535548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332755493,"filename":"image_29012025_21_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/1/31/8a57ae18430ba08fba70e3ff2024221f.jpg","text":"TemporaryFile(/tmp/multipartBody6698372361285428023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332755493,"filename":"image_29012025_21_20_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/1/31/6f4f2d7c4d0987c8782cc0415fa21875.jpg","text":"TemporaryFile(/tmp/multipartBody8193538523435840637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332755493,"filename":"image_29012025_21_19_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/1/31/a1e32ccc0a4e3cdd2aa935be72aaf6ac.jpg","text":"TemporaryFile(/tmp/multipartBody3429723669601587161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332755493,"filename":"image_29012025_21_20_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/1/31/a1e0dba4e098fb8dd0f602e348321035.jpg","text":"TemporaryFile(/tmp/multipartBody1313362432965648747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332755493,"filename":"image_29012025_21_20_25_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333341991","file1":"1333341986","file0":"1333341982","file4":"1333342001","file5":"1333342006","file3":"1333341998"},"map_files_photo_id_array":[{"photo_id":"1333342006","filename":"file5"},{"photo_id":"1333341991","filename":"file2"},{"photo_id":"1333342001","filename":"file4"},{"photo_id":"1333341986","filename":"file1"},{"photo_id":"1333341982","filename":"file0"},{"photo_id":"1333341998","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333341986":["hashtag1","hashtag2"]},{"1333342001":["hashtag1","hashtag2"]},{"1333341991":["hashtag1","hashtag2"]},{"1333341982":["hashtag1","hashtag2"]},{"1333342006":["hashtag1","hashtag2"]},{"1333341998":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333341986, 1333342001, 1333341991, 1333341982, 1333342006, 1333341998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.04663848876953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:12:33.077869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/20/image_29012025_21_20_56_9342.jpg', '/home/pi/Desktop/images/29012025/21/20/image_29012025_21_21_06_10340.jpg', '/home/pi/Desktop/images/29012025/21/21/image_29012025_21_21_16_10347.jpg', '/home/pi/Desktop/images/29012025/21/21/image_29012025_21_21_26_9380.jpg', '/home/pi/Desktop/images/29012025/21/21/image_29012025_21_21_36_10450.jpg', '/home/pi/Desktop/images/29012025/21/21/image_29012025_21_21_45_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/20/image_29012025_21_20_56_9342.jpg
/home/pi/Desktop/images/29012025/21/20/image_29012025_21_21_06_10340.jpg
/home/pi/Desktop/images/29012025/21/21/image_29012025_21_21_16_10347.jpg
/home/pi/Desktop/images/29012025/21/21/image_29012025_21_21_26_9380.jpg
/home/pi/Desktop/images/29012025/21/21/image_29012025_21_21_36_10450.jpg
/home/pi/Desktop/images/29012025/21/21/image_29012025_21_21_45_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":["1333342450","1333342168","1333342054","1333342797","1333343384","1333343147"],"photo_ids_order":["1333342054","1333342168","1333342450","1333342797","1333343147","1333343384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6351ef7948bb0c3d1ed812531bed2bba.jpg","text":"TemporaryFile(/tmp/multipartBody618628976523079485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332815571,"filename":"image_29012025_21_21_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/1/31/7363ecc97bf5bc8483726f684061d228.jpg","text":"TemporaryFile(/tmp/multipartBody6496458302648868659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332815571,"filename":"image_29012025_21_21_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/1/31/73398bb411eb6ad5cbe877200328eed3.jpg","text":"TemporaryFile(/tmp/multipartBody6159948739487305077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332815571,"filename":"image_29012025_21_20_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/1/31/5ba5ef4beb5c0b854dae0c33ec30bf3f.jpg","text":"TemporaryFile(/tmp/multipartBody2555342111810505707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332815571,"filename":"image_29012025_21_21_26_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3e3ffd6fefe35e213f18831d4d8326dc.jpg","text":"TemporaryFile(/tmp/multipartBody1980869708299147017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332815571,"filename":"image_29012025_21_21_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/1/31/3d6510762ed80d53af07d77a8e266803.jpg","text":"TemporaryFile(/tmp/multipartBody4691331609170459352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332815571,"filename":"image_29012025_21_21_36_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333342450","file1":"1333342168","file0":"1333342054","file4":"1333343147","file5":"1333343384","file3":"1333342797"},"map_files_photo_id_array":[{"photo_id":"1333343384","filename":"file5"},{"photo_id":"1333342450","filename":"file2"},{"photo_id":"1333343147","filename":"file4"},{"photo_id":"1333342168","filename":"file1"},{"photo_id":"1333342054","filename":"file0"},{"photo_id":"1333342797","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333342450":["hashtag1","hashtag2"]},{"1333342168":["hashtag1","hashtag2"]},{"1333342054":["hashtag1","hashtag2"]},{"1333342797":["hashtag1","hashtag2"]},{"1333343384":["hashtag1","hashtag2"]},{"1333343147":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333342450, 1333342168, 1333342054, 1333342797, 1333343384, 1333343147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.16750431060791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:13:32.248181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/21/image_29012025_21_21_56_10371.jpg', '/home/pi/Desktop/images/29012025/21/21/image_29012025_21_22_06_10461.jpg', '/home/pi/Desktop/images/29012025/21/22/image_29012025_21_22_16_9420.jpg', '/home/pi/Desktop/images/29012025/21/22/image_29012025_21_22_26_10396.jpg', '/home/pi/Desktop/images/29012025/21/22/image_29012025_21_22_35_9341.jpg', '/home/pi/Desktop/images/29012025/21/22/image_29012025_21_22_46_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/21/image_29012025_21_21_56_10371.jpg
/home/pi/Desktop/images/29012025/21/21/image_29012025_21_22_06_10461.jpg
/home/pi/Desktop/images/29012025/21/22/image_29012025_21_22_16_9420.jpg
/home/pi/Desktop/images/29012025/21/22/image_29012025_21_22_26_10396.jpg
/home/pi/Desktop/images/29012025/21/22/image_29012025_21_22_35_9341.jpg
/home/pi/Desktop/images/29012025/21/22/image_29012025_21_22_46_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":["1333343557","1333343535","1333343579","1333343492","1333343522","1333343593"],"photo_ids_order":["1333343492","1333343522","1333343535","1333343557","1333343579","1333343593"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9d662d9b75c7a1b27092da55f58c9dd3.jpg","text":"TemporaryFile(/tmp/multipartBody5237771719532069747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332874749,"filename":"image_29012025_21_22_26_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fde93177872655855190787f7052f8d5.jpg","text":"TemporaryFile(/tmp/multipartBody5267177344405831844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332874749,"filename":"image_29012025_21_22_16_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cdff3b89d24fe5b43e64c28ec756b401.jpg","text":"TemporaryFile(/tmp/multipartBody3084765592816645387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332874749,"filename":"image_29012025_21_22_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/1/31/8f29570cc919efb28c1ddfe8560e4068.jpg","text":"TemporaryFile(/tmp/multipartBody4293705298544295164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332874749,"filename":"image_29012025_21_21_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/1/31/d3b12c035d3f4a7cc5d2919f1319d000.jpg","text":"TemporaryFile(/tmp/multipartBody2857488583041241871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332874749,"filename":"image_29012025_21_22_06_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/af92c3c95faa581279460f12ed138e66.jpg","text":"TemporaryFile(/tmp/multipartBody7763386556284631755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332874749,"filename":"image_29012025_21_22_46_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333343535","file1":"1333343522","file0":"1333343492","file4":"1333343579","file5":"1333343593","file3":"1333343557"},"map_files_photo_id_array":[{"photo_id":"1333343593","filename":"file5"},{"photo_id":"1333343535","filename":"file2"},{"photo_id":"1333343579","filename":"file4"},{"photo_id":"1333343522","filename":"file1"},{"photo_id":"1333343492","filename":"file0"},{"photo_id":"1333343557","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333343557":["hashtag1","hashtag2"]},{"1333343535":["hashtag1","hashtag2"]},{"1333343579":["hashtag1","hashtag2"]},{"1333343492":["hashtag1","hashtag2"]},{"1333343522":["hashtag1","hashtag2"]},{"1333343593":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333343557, 1333343535, 1333343579, 1333343492, 1333343522, 1333343593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75231051445007 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:14:32.530672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/22/image_29012025_21_23_06_9353.jpg', '/home/pi/Desktop/images/29012025/21/23/image_29012025_21_23_16_10440.jpg', '/home/pi/Desktop/images/29012025/21/23/image_29012025_21_23_25_9354.jpg', '/home/pi/Desktop/images/29012025/21/23/image_29012025_21_23_36_10354.jpg', '/home/pi/Desktop/images/29012025/21/23/image_29012025_21_23_46_9933.jpg', '/home/pi/Desktop/images/29012025/21/23/image_29012025_21_23_56_10387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/22/image_29012025_21_23_06_9353.jpg
/home/pi/Desktop/images/29012025/21/23/image_29012025_21_23_16_10440.jpg
/home/pi/Desktop/images/29012025/21/23/image_29012025_21_23_25_9354.jpg
/home/pi/Desktop/images/29012025/21/23/image_29012025_21_23_36_10354.jpg
/home/pi/Desktop/images/29012025/21/23/image_29012025_21_23_46_9933.jpg
/home/pi/Desktop/images/29012025/21/23/image_29012025_21_23_56_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":["1333344075","1333344069","1333344063","1333344036","1333343955","1333343999"],"photo_ids_order":["1333343955","1333343999","1333344036","1333344063","1333344069","1333344075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1283836d26ef9f25030f1e59fffb6207.jpg","text":"TemporaryFile(/tmp/multipartBody5710775641699324952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332934945,"filename":"image_29012025_21_23_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/1/31/ddff370f21aacdbe2ad1643f1395f27c.jpg","text":"TemporaryFile(/tmp/multipartBody8952016219968818048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332934945,"filename":"image_29012025_21_23_46_9933.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/62d5b927b00fbdbc56472ad48fc8b3ad.jpg","text":"TemporaryFile(/tmp/multipartBody1533919770128571972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332934945,"filename":"image_29012025_21_23_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/1/31/9ad5c9050a307a2c8de908e761ba86e4.jpg","text":"TemporaryFile(/tmp/multipartBody7590136633989875664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332934945,"filename":"image_29012025_21_23_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/1/31/1476fe85d76ca30b6961fabbb12f497f.jpg","text":"TemporaryFile(/tmp/multipartBody6109781718274268466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332934945,"filename":"image_29012025_21_23_06_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a020086dc722b32a2a66709e003d8e93.jpg","text":"TemporaryFile(/tmp/multipartBody7691941073651511044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332934945,"filename":"image_29012025_21_23_16_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333344036","file1":"1333343999","file0":"1333343955","file4":"1333344069","file5":"1333344075","file3":"1333344063"},"map_files_photo_id_array":[{"photo_id":"1333344075","filename":"file5"},{"photo_id":"1333344036","filename":"file2"},{"photo_id":"1333344069","filename":"file4"},{"photo_id":"1333343999","filename":"file1"},{"photo_id":"1333343955","filename":"file0"},{"photo_id":"1333344063","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333344075":["hashtag1","hashtag2"]},{"1333344069":["hashtag1","hashtag2"]},{"1333344063":["hashtag1","hashtag2"]},{"1333344036":["hashtag1","hashtag2"]},{"1333343955":["hashtag1","hashtag2"]},{"1333343999":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333344075, 1333344069, 1333344063, 1333344036, 1333343955, 1333343999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.311304807662964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:15:32.807210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/23/image_29012025_21_24_05_9419.jpg', '/home/pi/Desktop/images/29012025/21/24/image_29012025_21_24_16_10442.jpg', '/home/pi/Desktop/images/29012025/21/24/image_29012025_21_24_26_9649.jpg', '/home/pi/Desktop/images/29012025/21/24/image_29012025_21_24_36_10452.jpg', '/home/pi/Desktop/images/29012025/21/24/image_29012025_21_24_45_9350.jpg', '/home/pi/Desktop/images/29012025/21/24/image_29012025_21_24_56_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/23/image_29012025_21_24_05_9419.jpg
/home/pi/Desktop/images/29012025/21/24/image_29012025_21_24_16_10442.jpg
/home/pi/Desktop/images/29012025/21/24/image_29012025_21_24_26_9649.jpg
/home/pi/Desktop/images/29012025/21/24/image_29012025_21_24_36_10452.jpg
/home/pi/Desktop/images/29012025/21/24/image_29012025_21_24_45_9350.jpg
/home/pi/Desktop/images/29012025/21/24/image_29012025_21_24_56_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":["1333344092","1333344146","1333344131","1333344154","1333344142","1333344151"],"photo_ids_order":["1333344092","1333344131","1333344142","1333344146","1333344151","1333344154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0a8614dd287283ad17db1563c6d9de32.jpg","text":"TemporaryFile(/tmp/multipartBody441972304963499427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332995245,"filename":"image_29012025_21_24_05_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b19a2488347e87e3f4b934243868cc81.jpg","text":"TemporaryFile(/tmp/multipartBody6986223897857383113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332995245,"filename":"image_29012025_21_24_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/1/31/8070c2f5a2f4f0f6cfc369b4053bef79.jpg","text":"TemporaryFile(/tmp/multipartBody4612609384425756042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332995245,"filename":"image_29012025_21_24_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/1/31/40c1551cbb4f84975df5152801db0e0b.jpg","text":"TemporaryFile(/tmp/multipartBody1688748873464285824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332995245,"filename":"image_29012025_21_24_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/1/31/670bc0b5951c3c88df80dce113bd062d.jpg","text":"TemporaryFile(/tmp/multipartBody5376307407987135698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332995245,"filename":"image_29012025_21_24_26_9649.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0360840e635f9881338206b935edc134.jpg","text":"TemporaryFile(/tmp/multipartBody2665150551600212495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738332995245,"filename":"image_29012025_21_24_45_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333344142","file1":"1333344131","file0":"1333344092","file4":"1333344151","file5":"1333344154","file3":"1333344146"},"map_files_photo_id_array":[{"photo_id":"1333344154","filename":"file5"},{"photo_id":"1333344142","filename":"file2"},{"photo_id":"1333344151","filename":"file4"},{"photo_id":"1333344131","filename":"file1"},{"photo_id":"1333344092","filename":"file0"},{"photo_id":"1333344146","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333344092":["hashtag1","hashtag2"]},{"1333344146":["hashtag1","hashtag2"]},{"1333344131":["hashtag1","hashtag2"]},{"1333344154":["hashtag1","hashtag2"]},{"1333344142":["hashtag1","hashtag2"]},{"1333344151":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333344092, 1333344146, 1333344131, 1333344154, 1333344142, 1333344151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98897838592529 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:16:33.027460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/24/image_29012025_21_25_06_10428.jpg', '/home/pi/Desktop/images/29012025/21/25/image_29012025_21_25_15_9334.jpg', '/home/pi/Desktop/images/29012025/21/25/image_29012025_21_25_26_10357.jpg', '/home/pi/Desktop/images/29012025/21/25/image_29012025_21_25_36_10351.jpg', '/home/pi/Desktop/images/29012025/21/25/image_29012025_21_25_46_9346.jpg', '/home/pi/Desktop/images/29012025/21/25/image_29012025_21_25_56_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/24/image_29012025_21_25_06_10428.jpg
/home/pi/Desktop/images/29012025/21/25/image_29012025_21_25_15_9334.jpg
/home/pi/Desktop/images/29012025/21/25/image_29012025_21_25_26_10357.jpg
/home/pi/Desktop/images/29012025/21/25/image_29012025_21_25_36_10351.jpg
/home/pi/Desktop/images/29012025/21/25/image_29012025_21_25_46_9346.jpg
/home/pi/Desktop/images/29012025/21/25/image_29012025_21_25_56_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":["1333344445","1333344430","1333344369","1333344362","1333344350","1333344355"],"photo_ids_order":["1333344350","1333344355","1333344362","1333344369","1333344430","1333344445"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a1f73b92fb30ea1e44e08e5c517ff713.jpg","text":"TemporaryFile(/tmp/multipartBody9059326467482336116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333055445,"filename":"image_29012025_21_25_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/1/31/9cfbf2962a9102bea61e97e22fe19b6f.jpg","text":"TemporaryFile(/tmp/multipartBody3857348362396763012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333055445,"filename":"image_29012025_21_25_46_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5704ae1ddeeb8376dce64a89e3517621.jpg","text":"TemporaryFile(/tmp/multipartBody6992921471261945000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333055445,"filename":"image_29012025_21_25_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/1/31/33d65e311bd7f036d17407686225a785.jpg","text":"TemporaryFile(/tmp/multipartBody2451604266062912493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333055445,"filename":"image_29012025_21_25_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/1/31/9be3d04fe824067c93e8b2df4832e88a.jpg","text":"TemporaryFile(/tmp/multipartBody5549665074824696252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333055445,"filename":"image_29012025_21_25_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/1/31/3fe5d09f6270fc954dbf03de21d71ca5.jpg","text":"TemporaryFile(/tmp/multipartBody797131971190267587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333055445,"filename":"image_29012025_21_25_15_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333344362","file1":"1333344355","file0":"1333344350","file4":"1333344430","file5":"1333344445","file3":"1333344369"},"map_files_photo_id_array":[{"photo_id":"1333344445","filename":"file5"},{"photo_id":"1333344362","filename":"file2"},{"photo_id":"1333344430","filename":"file4"},{"photo_id":"1333344355","filename":"file1"},{"photo_id":"1333344350","filename":"file0"},{"photo_id":"1333344369","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333344445":["hashtag1","hashtag2"]},{"1333344430":["hashtag1","hashtag2"]},{"1333344369":["hashtag1","hashtag2"]},{"1333344362":["hashtag1","hashtag2"]},{"1333344350":["hashtag1","hashtag2"]},{"1333344355":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333344445, 1333344430, 1333344369, 1333344362, 1333344350, 1333344355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.84844136238098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:17:32.228137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/25/image_29012025_21_26_06_10416.jpg', '/home/pi/Desktop/images/29012025/21/26/image_29012025_21_26_16_9332.jpg', '/home/pi/Desktop/images/29012025/21/26/image_29012025_21_26_26_10453.jpg', '/home/pi/Desktop/images/29012025/21/26/image_29012025_21_26_35_9391.jpg', '/home/pi/Desktop/images/29012025/21/26/image_29012025_21_26_46_10366.jpg', '/home/pi/Desktop/images/29012025/21/26/image_29012025_21_26_56_10425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/25/image_29012025_21_26_06_10416.jpg
/home/pi/Desktop/images/29012025/21/26/image_29012025_21_26_16_9332.jpg
/home/pi/Desktop/images/29012025/21/26/image_29012025_21_26_26_10453.jpg
/home/pi/Desktop/images/29012025/21/26/image_29012025_21_26_35_9391.jpg
/home/pi/Desktop/images/29012025/21/26/image_29012025_21_26_46_10366.jpg
/home/pi/Desktop/images/29012025/21/26/image_29012025_21_26_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":["1333344531","1333344572","1333344578","1333344644","1333344565","1333344625"],"photo_ids_order":["1333344531","1333344565","1333344572","1333344578","1333344625","1333344644"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cbe373ce0d4a4cd0dacd33af1a0d4fce.jpg","text":"TemporaryFile(/tmp/multipartBody2869977175596095237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333114668,"filename":"image_29012025_21_26_06_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e006472ff2488d90fe541f5cd7ed7232.jpg","text":"TemporaryFile(/tmp/multipartBody6701438338906327916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333114668,"filename":"image_29012025_21_26_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/1/31/3f2c44d36bef7e1013a6a18a80d6a516.jpg","text":"TemporaryFile(/tmp/multipartBody7343547142080106876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333114668,"filename":"image_29012025_21_26_35_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c0014f1ea646fdbba574a34063e2a43f.jpg","text":"TemporaryFile(/tmp/multipartBody4385091594871596380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333114668,"filename":"image_29012025_21_26_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/1/31/26948087dce6cf43d35fa0e7c0526de0.jpg","text":"TemporaryFile(/tmp/multipartBody119781082706757666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333114668,"filename":"image_29012025_21_26_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/1/31/9224a1b7423112f7ba8dbf17dd045810.jpg","text":"TemporaryFile(/tmp/multipartBody1472540307857415144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333114668,"filename":"image_29012025_21_26_46_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333344572","file1":"1333344565","file0":"1333344531","file4":"1333344625","file5":"1333344644","file3":"1333344578"},"map_files_photo_id_array":[{"photo_id":"1333344644","filename":"file5"},{"photo_id":"1333344572","filename":"file2"},{"photo_id":"1333344625","filename":"file4"},{"photo_id":"1333344565","filename":"file1"},{"photo_id":"1333344531","filename":"file0"},{"photo_id":"1333344578","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333344531":["hashtag1","hashtag2"]},{"1333344572":["hashtag1","hashtag2"]},{"1333344578":["hashtag1","hashtag2"]},{"1333344644":["hashtag1","hashtag2"]},{"1333344565":["hashtag1","hashtag2"]},{"1333344625":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333344531, 1333344572, 1333344578, 1333344644, 1333344565, 1333344625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.592289686203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:18:32.479881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/26/image_29012025_21_27_06_9345.jpg', '/home/pi/Desktop/images/29012025/21/27/image_29012025_21_27_16_10418.jpg', '/home/pi/Desktop/images/29012025/21/27/image_29012025_21_27_25_9365.jpg', '/home/pi/Desktop/images/29012025/21/27/image_29012025_21_27_36_10353.jpg', '/home/pi/Desktop/images/29012025/21/27/image_29012025_21_27_46_10380.jpg', '/home/pi/Desktop/images/29012025/21/27/image_29012025_21_27_56_9451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/26/image_29012025_21_27_06_9345.jpg
/home/pi/Desktop/images/29012025/21/27/image_29012025_21_27_16_10418.jpg
/home/pi/Desktop/images/29012025/21/27/image_29012025_21_27_25_9365.jpg
/home/pi/Desktop/images/29012025/21/27/image_29012025_21_27_36_10353.jpg
/home/pi/Desktop/images/29012025/21/27/image_29012025_21_27_46_10380.jpg
/home/pi/Desktop/images/29012025/21/27/image_29012025_21_27_56_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":["1333344981","1333344928","1333344978","1333344855","1333344973","1333344910"],"photo_ids_order":["1333344855","1333344910","1333344928","1333344973","1333344978","1333344981"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/421e890d0d73e24ff0895fc88dbb7266.jpg","text":"TemporaryFile(/tmp/multipartBody263925333779422857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333175057,"filename":"image_29012025_21_27_56_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6051503fa86b091d67ee3bc3dcba9885.jpg","text":"TemporaryFile(/tmp/multipartBody3352424586280045865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333175057,"filename":"image_29012025_21_27_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/1/31/67839b232685503ba76509048b48da00.jpg","text":"TemporaryFile(/tmp/multipartBody5624745871628901326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333175057,"filename":"image_29012025_21_27_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/1/31/349735939f06fc8896de15525afd163e.jpg","text":"TemporaryFile(/tmp/multipartBody1789923609549015371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333175057,"filename":"image_29012025_21_27_06_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6d03e50f1df2f12e12e2b1e1f5140359.jpg","text":"TemporaryFile(/tmp/multipartBody2769594993513840942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333175057,"filename":"image_29012025_21_27_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/1/31/6c7881f3d3fc08e6928bbdf806d07837.jpg","text":"TemporaryFile(/tmp/multipartBody7820156202218239163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333175057,"filename":"image_29012025_21_27_16_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333344928","file1":"1333344910","file0":"1333344855","file4":"1333344978","file5":"1333344981","file3":"1333344973"},"map_files_photo_id_array":[{"photo_id":"1333344981","filename":"file5"},{"photo_id":"1333344928","filename":"file2"},{"photo_id":"1333344978","filename":"file4"},{"photo_id":"1333344910","filename":"file1"},{"photo_id":"1333344855","filename":"file0"},{"photo_id":"1333344973","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333344981":["hashtag1","hashtag2"]},{"1333344928":["hashtag1","hashtag2"]},{"1333344978":["hashtag1","hashtag2"]},{"1333344855":["hashtag1","hashtag2"]},{"1333344973":["hashtag1","hashtag2"]},{"1333344910":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333344981, 1333344928, 1333344978, 1333344855, 1333344973, 1333344910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.88502883911133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:19:32.721931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/27/image_29012025_21_28_06_10433.jpg', '/home/pi/Desktop/images/29012025/21/28/image_29012025_21_28_16_10335.jpg', '/home/pi/Desktop/images/29012025/21/28/image_29012025_21_28_26_9356.jpg', '/home/pi/Desktop/images/29012025/21/28/image_29012025_21_28_36_10415.jpg', '/home/pi/Desktop/images/29012025/21/28/image_29012025_21_28_45_9339.jpg', '/home/pi/Desktop/images/29012025/21/28/image_29012025_21_29_06_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/27/image_29012025_21_28_06_10433.jpg
/home/pi/Desktop/images/29012025/21/28/image_29012025_21_28_16_10335.jpg
/home/pi/Desktop/images/29012025/21/28/image_29012025_21_28_26_9356.jpg
/home/pi/Desktop/images/29012025/21/28/image_29012025_21_28_36_10415.jpg
/home/pi/Desktop/images/29012025/21/28/image_29012025_21_28_45_9339.jpg
/home/pi/Desktop/images/29012025/21/28/image_29012025_21_29_06_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":["1333345170","1333345239","1333345233","1333345244","1333345115","1333345096"],"photo_ids_order":["1333345096","1333345115","1333345170","1333345233","1333345239","1333345244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/389d01ae19e806ae509172e838cfd7a7.jpg","text":"TemporaryFile(/tmp/multipartBody8946739701180391406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333235126,"filename":"image_29012025_21_28_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/1/31/6ba1b132d9b8337dea4c2f243799e5d8.jpg","text":"TemporaryFile(/tmp/multipartBody8492438969863101177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333235126,"filename":"image_29012025_21_28_45_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bccff04f3389dfda42c3971b56e07d44.jpg","text":"TemporaryFile(/tmp/multipartBody7823601919727516964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333235126,"filename":"image_29012025_21_28_36_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d4287198208dec22b98baace64e1e24f.jpg","text":"TemporaryFile(/tmp/multipartBody5417204639618706740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333235126,"filename":"image_29012025_21_29_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/1/31/0fbbff4ba0b4accd46ee9c2b74a22db6.jpg","text":"TemporaryFile(/tmp/multipartBody5433980844008349894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333235126,"filename":"image_29012025_21_28_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f57ee59f7182152c45a03c3e1d9906ff.jpg","text":"TemporaryFile(/tmp/multipartBody6844472731161921457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333235126,"filename":"image_29012025_21_28_06_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333345170","file1":"1333345115","file0":"1333345096","file4":"1333345239","file5":"1333345244","file3":"1333345233"},"map_files_photo_id_array":[{"photo_id":"1333345244","filename":"file5"},{"photo_id":"1333345170","filename":"file2"},{"photo_id":"1333345239","filename":"file4"},{"photo_id":"1333345115","filename":"file1"},{"photo_id":"1333345096","filename":"file0"},{"photo_id":"1333345233","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333345170":["hashtag1","hashtag2"]},{"1333345239":["hashtag1","hashtag2"]},{"1333345233":["hashtag1","hashtag2"]},{"1333345244":["hashtag1","hashtag2"]},{"1333345115":["hashtag1","hashtag2"]},{"1333345096":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333345170, 1333345239, 1333345233, 1333345244, 1333345115, 1333345096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66692233085632 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:20:32.931041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/29/image_29012025_21_29_16_9337.jpg', '/home/pi/Desktop/images/29012025/21/29/image_29012025_21_29_26_10385.jpg', '/home/pi/Desktop/images/29012025/21/29/image_29012025_21_29_36_10388.jpg', '/home/pi/Desktop/images/29012025/21/29/image_29012025_21_29_46_9348.jpg', '/home/pi/Desktop/images/29012025/21/29/image_29012025_21_29_56_10423.jpg', '/home/pi/Desktop/images/29012025/21/29/image_29012025_21_30_05_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/29/image_29012025_21_29_16_9337.jpg
/home/pi/Desktop/images/29012025/21/29/image_29012025_21_29_26_10385.jpg
/home/pi/Desktop/images/29012025/21/29/image_29012025_21_29_36_10388.jpg
/home/pi/Desktop/images/29012025/21/29/image_29012025_21_29_46_9348.jpg
/home/pi/Desktop/images/29012025/21/29/image_29012025_21_29_56_10423.jpg
/home/pi/Desktop/images/29012025/21/29/image_29012025_21_30_05_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":["1333345449","1333345367","1333345460","1333345439","1333345396","1333345456"],"photo_ids_order":["1333345367","1333345396","1333345439","1333345449","1333345456","1333345460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/59f032dc2c4be9434293c4464893ed81.jpg","text":"TemporaryFile(/tmp/multipartBody6041198096988737464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333295328,"filename":"image_29012025_21_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/1/31/5aa23e68abf3e79137993df39dc27f5d.jpg","text":"TemporaryFile(/tmp/multipartBody5018566795248537685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333295328,"filename":"image_29012025_21_29_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/1/31/ad3660e0c0b1b516dac7c10c54b43f80.jpg","text":"TemporaryFile(/tmp/multipartBody7598643164579652497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333295328,"filename":"image_29012025_21_30_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/1/31/76c008c711def5f20a00e73dd006cd33.jpg","text":"TemporaryFile(/tmp/multipartBody5619388265510130276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333295328,"filename":"image_29012025_21_29_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/1/31/dcbf4197ff0923b08c4c17e6efb015b1.jpg","text":"TemporaryFile(/tmp/multipartBody6918605866879012533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333295328,"filename":"image_29012025_21_29_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/1/31/c8f45189c733ff6ef2842c85411c978d.jpg","text":"TemporaryFile(/tmp/multipartBody2078690685715749793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333295328,"filename":"image_29012025_21_29_56_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333345439","file1":"1333345396","file0":"1333345367","file4":"1333345456","file5":"1333345460","file3":"1333345449"},"map_files_photo_id_array":[{"photo_id":"1333345460","filename":"file5"},{"photo_id":"1333345439","filename":"file2"},{"photo_id":"1333345456","filename":"file4"},{"photo_id":"1333345396","filename":"file1"},{"photo_id":"1333345367","filename":"file0"},{"photo_id":"1333345449","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333345449":["hashtag1","hashtag2"]},{"1333345367":["hashtag1","hashtag2"]},{"1333345460":["hashtag1","hashtag2"]},{"1333345439":["hashtag1","hashtag2"]},{"1333345396":["hashtag1","hashtag2"]},{"1333345456":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333345449, 1333345367, 1333345460, 1333345439, 1333345396, 1333345456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.88588094711304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:21:32.145204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/30/image_29012025_21_30_16_10347.jpg', '/home/pi/Desktop/images/29012025/21/30/image_29012025_21_30_26_10376.jpg', '/home/pi/Desktop/images/29012025/21/30/image_29012025_21_30_46_10367.jpg', '/home/pi/Desktop/images/29012025/21/30/image_29012025_21_30_56_10363.jpg', '/home/pi/Desktop/images/29012025/21/30/image_29012025_21_31_06_9336.jpg', '/home/pi/Desktop/images/29012025/21/31/image_29012025_21_31_16_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/30/image_29012025_21_30_16_10347.jpg
/home/pi/Desktop/images/29012025/21/30/image_29012025_21_30_26_10376.jpg
/home/pi/Desktop/images/29012025/21/30/image_29012025_21_30_46_10367.jpg
/home/pi/Desktop/images/29012025/21/30/image_29012025_21_30_56_10363.jpg
/home/pi/Desktop/images/29012025/21/30/image_29012025_21_31_06_9336.jpg
/home/pi/Desktop/images/29012025/21/31/image_29012025_21_31_16_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333345482","1333345551","1333345577","1333345574","1333345532","1333345473"],"photo_ids_order":["1333345473","1333345482","1333345532","1333345551","1333345574","1333345577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/47102ff299e77c362999b9525be9ef5e.jpg","text":"TemporaryFile(/tmp/multipartBody4456603638420735291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333354556,"filename":"image_29012025_21_30_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/1/31/9fcd65b86ccd1ef530bdd707f90ecf82.jpg","text":"TemporaryFile(/tmp/multipartBody5648623332828620331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333354556,"filename":"image_29012025_21_30_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/1/31/0106090b600fc32deb37b18e22534684.jpg","text":"TemporaryFile(/tmp/multipartBody1161263876194989870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333354556,"filename":"image_29012025_21_31_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4e611cd023b3df39a52700ae5c59fa54.jpg","text":"TemporaryFile(/tmp/multipartBody5405324311992761296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333354556,"filename":"image_29012025_21_31_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/1/31/ee769b0bff76c77fe8fd57c228e9b442.jpg","text":"TemporaryFile(/tmp/multipartBody4912214326821923842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333354556,"filename":"image_29012025_21_30_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/1/31/9ff3b5a6e1137daf1893b14892ffab09.jpg","text":"TemporaryFile(/tmp/multipartBody7147142836879255109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333354556,"filename":"image_29012025_21_30_16_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333345532","file1":"1333345482","file0":"1333345473","file4":"1333345574","file5":"1333345577","file3":"1333345551"},"map_files_photo_id_array":[{"photo_id":"1333345577","filename":"file5"},{"photo_id":"1333345532","filename":"file2"},{"photo_id":"1333345574","filename":"file4"},{"photo_id":"1333345482","filename":"file1"},{"photo_id":"1333345473","filename":"file0"},{"photo_id":"1333345551","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333345482":["hashtag1","hashtag2"]},{"1333345551":["hashtag1","hashtag2"]},{"1333345577":["hashtag1","hashtag2"]},{"1333345574":["hashtag1","hashtag2"]},{"1333345532":["hashtag1","hashtag2"]},{"1333345473":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333345482, 1333345551, 1333345577, 1333345574, 1333345532, 1333345473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.592788219451904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:22:32.393240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/31/image_29012025_21_31_26_10411.jpg', '/home/pi/Desktop/images/29012025/21/31/image_29012025_21_31_36_9346.jpg', '/home/pi/Desktop/images/29012025/21/31/image_29012025_21_31_46_10460.jpg', '/home/pi/Desktop/images/29012025/21/31/image_29012025_21_31_55_9371.jpg', '/home/pi/Desktop/images/29012025/21/31/image_29012025_21_32_06_10345.jpg', '/home/pi/Desktop/images/29012025/21/32/image_29012025_21_32_16_10430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/31/image_29012025_21_31_26_10411.jpg
/home/pi/Desktop/images/29012025/21/31/image_29012025_21_31_36_9346.jpg
/home/pi/Desktop/images/29012025/21/31/image_29012025_21_31_46_10460.jpg
/home/pi/Desktop/images/29012025/21/31/image_29012025_21_31_55_9371.jpg
/home/pi/Desktop/images/29012025/21/31/image_29012025_21_32_06_10345.jpg
/home/pi/Desktop/images/29012025/21/32/image_29012025_21_32_16_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":["1333346864","1333346858","1333346810","1333346851","1333346869","1333346805"],"photo_ids_order":["1333346805","1333346810","1333346851","1333346858","1333346864","1333346869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e2e16467f05f90728e947e0bccd4cd3c.jpg","text":"TemporaryFile(/tmp/multipartBody1829041321681803592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333414850,"filename":"image_29012025_21_32_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/1/31/405c8d097a6bca634a782b18e2a5c54d.jpg","text":"TemporaryFile(/tmp/multipartBody4706982119463244469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333414850,"filename":"image_29012025_21_31_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/1/31/c815fa0c2dce1147299694bfd62b8b15.jpg","text":"TemporaryFile(/tmp/multipartBody4756480576704190408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333414850,"filename":"image_29012025_21_31_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/1/31/07dee50138017c8816a6951d76d9586b.jpg","text":"TemporaryFile(/tmp/multipartBody5089108604611719960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333414850,"filename":"image_29012025_21_31_46_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1176b4f9301a3d4f14337ba80d95c7c6.jpg","text":"TemporaryFile(/tmp/multipartBody8704160703985049738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333414850,"filename":"image_29012025_21_32_16_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/85aa53113fee2b6056f9ab3b30e36ffc.jpg","text":"TemporaryFile(/tmp/multipartBody6441274625329207166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333414850,"filename":"image_29012025_21_31_26_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333346851","file1":"1333346810","file0":"1333346805","file4":"1333346864","file5":"1333346869","file3":"1333346858"},"map_files_photo_id_array":[{"photo_id":"1333346869","filename":"file5"},{"photo_id":"1333346851","filename":"file2"},{"photo_id":"1333346864","filename":"file4"},{"photo_id":"1333346810","filename":"file1"},{"photo_id":"1333346805","filename":"file0"},{"photo_id":"1333346858","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333346864":["hashtag1","hashtag2"]},{"1333346858":["hashtag1","hashtag2"]},{"1333346810":["hashtag1","hashtag2"]},{"1333346851":["hashtag1","hashtag2"]},{"1333346869":["hashtag1","hashtag2"]},{"1333346805":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333346864, 1333346858, 1333346810, 1333346851, 1333346869, 1333346805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7215039730072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:23:32.652611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/32/image_29012025_21_32_45_9353.jpg', '/home/pi/Desktop/images/29012025/21/32/image_29012025_21_32_56_10369.jpg', '/home/pi/Desktop/images/29012025/21/32/image_29012025_21_33_06_10421.jpg', '/home/pi/Desktop/images/29012025/21/33/image_29012025_21_33_16_9389.jpg', '/home/pi/Desktop/images/29012025/21/33/image_29012025_21_33_26_10416.jpg', '/home/pi/Desktop/images/29012025/21/33/image_29012025_21_33_35_9449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/32/image_29012025_21_32_45_9353.jpg
/home/pi/Desktop/images/29012025/21/32/image_29012025_21_32_56_10369.jpg
/home/pi/Desktop/images/29012025/21/32/image_29012025_21_33_06_10421.jpg
/home/pi/Desktop/images/29012025/21/33/image_29012025_21_33_16_9389.jpg
/home/pi/Desktop/images/29012025/21/33/image_29012025_21_33_26_10416.jpg
/home/pi/Desktop/images/29012025/21/33/image_29012025_21_33_35_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":["1333346894","1333346992","1333346914","1333346905","1333347303","1333346925"],"photo_ids_order":["1333346894","1333346905","1333346914","1333346925","1333346992","1333347303"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/46ee4a57019b700bce993e4429ab7b7f.jpg","text":"TemporaryFile(/tmp/multipartBody5791398419063729361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333475077,"filename":"image_29012025_21_32_45_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1c3ac376e2ad3969a3035eb5c1ab438d.jpg","text":"TemporaryFile(/tmp/multipartBody6114191380550192033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333475077,"filename":"image_29012025_21_33_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/1/31/bc7ae03a038ecad0bc5cd0bedd2b8ef3.jpg","text":"TemporaryFile(/tmp/multipartBody4779148514365711514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333475077,"filename":"image_29012025_21_33_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/1/31/dde8a393daeb1947f53b63231177ba02.jpg","text":"TemporaryFile(/tmp/multipartBody1910191212542172188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333475077,"filename":"image_29012025_21_32_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/1/31/76675f82a7854b474cf3753d9f6bc12a.jpg","text":"TemporaryFile(/tmp/multipartBody4976389350426065732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333475077,"filename":"image_29012025_21_33_35_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/992220bc5991941ab658be5bde12571a.jpg","text":"TemporaryFile(/tmp/multipartBody2449699962163708069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333475077,"filename":"image_29012025_21_33_16_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333346914","file1":"1333346905","file0":"1333346894","file4":"1333346992","file5":"1333347303","file3":"1333346925"},"map_files_photo_id_array":[{"photo_id":"1333347303","filename":"file5"},{"photo_id":"1333346914","filename":"file2"},{"photo_id":"1333346992","filename":"file4"},{"photo_id":"1333346905","filename":"file1"},{"photo_id":"1333346894","filename":"file0"},{"photo_id":"1333346925","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333346894":["hashtag1","hashtag2"]},{"1333346992":["hashtag1","hashtag2"]},{"1333346914":["hashtag1","hashtag2"]},{"1333346905":["hashtag1","hashtag2"]},{"1333347303":["hashtag1","hashtag2"]},{"1333346925":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333346894, 1333346992, 1333346914, 1333346905, 1333347303, 1333346925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24404287338257 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:24:32.830527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/33/image_29012025_21_33_46_10352.jpg', '/home/pi/Desktop/images/29012025/21/33/image_29012025_21_33_56_10443.jpg', '/home/pi/Desktop/images/29012025/21/33/image_29012025_21_34_06_9335.jpg', '/home/pi/Desktop/images/29012025/21/34/image_29012025_21_34_16_10460.jpg', '/home/pi/Desktop/images/29012025/21/34/image_29012025_21_34_26_9454.jpg', '/home/pi/Desktop/images/29012025/21/34/image_29012025_21_34_36_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/33/image_29012025_21_33_46_10352.jpg
/home/pi/Desktop/images/29012025/21/33/image_29012025_21_33_56_10443.jpg
/home/pi/Desktop/images/29012025/21/33/image_29012025_21_34_06_9335.jpg
/home/pi/Desktop/images/29012025/21/34/image_29012025_21_34_16_10460.jpg
/home/pi/Desktop/images/29012025/21/34/image_29012025_21_34_26_9454.jpg
/home/pi/Desktop/images/29012025/21/34/image_29012025_21_34_36_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":["1333347638","1333347623","1333347574","1333347454","1333347529","1333347517"],"photo_ids_order":["1333347454","1333347517","1333347529","1333347574","1333347623","1333347638"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5952ad3f56466a3eed616d8530f81a0a.jpg","text":"TemporaryFile(/tmp/multipartBody7291250847617355851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333535248,"filename":"image_29012025_21_34_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/1/31/9b5d765178c7666468861f45b97b78a6.jpg","text":"TemporaryFile(/tmp/multipartBody6078832961419169349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333535248,"filename":"image_29012025_21_34_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/1/31/3bcf26e9389c72d4ada17cd5f844f176.jpg","text":"TemporaryFile(/tmp/multipartBody8596319426751257708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333535248,"filename":"image_29012025_21_34_16_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9942d9fc98fb5d2ba55a1658a30f5b15.jpg","text":"TemporaryFile(/tmp/multipartBody7710468205913343596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333535248,"filename":"image_29012025_21_33_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/1/31/a8b282e150ff0d80c1ab2010ee94831f.jpg","text":"TemporaryFile(/tmp/multipartBody8322791895296676185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333535248,"filename":"image_29012025_21_34_06_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/abff34aa4cffdde913e44b55dc86e57f.jpg","text":"TemporaryFile(/tmp/multipartBody4466879232935603655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333535248,"filename":"image_29012025_21_33_56_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333347529","file1":"1333347517","file0":"1333347454","file4":"1333347623","file5":"1333347638","file3":"1333347574"},"map_files_photo_id_array":[{"photo_id":"1333347638","filename":"file5"},{"photo_id":"1333347529","filename":"file2"},{"photo_id":"1333347623","filename":"file4"},{"photo_id":"1333347517","filename":"file1"},{"photo_id":"1333347454","filename":"file0"},{"photo_id":"1333347574","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333347638":["hashtag1","hashtag2"]},{"1333347623":["hashtag1","hashtag2"]},{"1333347574":["hashtag1","hashtag2"]},{"1333347454":["hashtag1","hashtag2"]},{"1333347529":["hashtag1","hashtag2"]},{"1333347517":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333347638, 1333347623, 1333347574, 1333347454, 1333347529, 1333347517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.741581201553345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:25:33.091196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/34/image_29012025_21_34_46_10358.jpg', '/home/pi/Desktop/images/29012025/21/34/image_29012025_21_34_56_9422.jpg', '/home/pi/Desktop/images/29012025/21/34/image_29012025_21_35_06_10455.jpg', '/home/pi/Desktop/images/29012025/21/35/image_29012025_21_35_15_9350.jpg', '/home/pi/Desktop/images/29012025/21/35/image_29012025_21_35_26_10364.jpg', '/home/pi/Desktop/images/29012025/21/35/image_29012025_21_35_36_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/34/image_29012025_21_34_46_10358.jpg
/home/pi/Desktop/images/29012025/21/34/image_29012025_21_34_56_9422.jpg
/home/pi/Desktop/images/29012025/21/34/image_29012025_21_35_06_10455.jpg
/home/pi/Desktop/images/29012025/21/35/image_29012025_21_35_15_9350.jpg
/home/pi/Desktop/images/29012025/21/35/image_29012025_21_35_26_10364.jpg
/home/pi/Desktop/images/29012025/21/35/image_29012025_21_35_36_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":["1333347773","1333347734","1333347787","1333347781","1333347768","1333347785"],"photo_ids_order":["1333347734","1333347768","1333347773","1333347781","1333347785","1333347787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2cdc6f19905cef3bb5207f5161ba693a.jpg","text":"TemporaryFile(/tmp/multipartBody8684706165079111248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333595505,"filename":"image_29012025_21_35_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/1/31/5d3bf2d759864bbfcc95adbde75d2aab.jpg","text":"TemporaryFile(/tmp/multipartBody6761645186302558663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333595505,"filename":"image_29012025_21_34_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/1/31/2187c45dedfc7195904d67502d6bbcf9.jpg","text":"TemporaryFile(/tmp/multipartBody8041272049659823617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333595505,"filename":"image_29012025_21_35_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/1/31/c186dd06d6f532689ee1019300ccf903.jpg","text":"TemporaryFile(/tmp/multipartBody1753663114002671071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333595505,"filename":"image_29012025_21_35_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/1/31/6ab359fbdbe7e6fd863bad701b49f6b9.jpg","text":"TemporaryFile(/tmp/multipartBody7041942850337421840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333595505,"filename":"image_29012025_21_34_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/1/31/c5d2bbed0c35bd1c1d788c7f98128ca4.jpg","text":"TemporaryFile(/tmp/multipartBody1091496933617531818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333595505,"filename":"image_29012025_21_35_26_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333347773","file1":"1333347768","file0":"1333347734","file4":"1333347785","file5":"1333347787","file3":"1333347781"},"map_files_photo_id_array":[{"photo_id":"1333347787","filename":"file5"},{"photo_id":"1333347773","filename":"file2"},{"photo_id":"1333347785","filename":"file4"},{"photo_id":"1333347768","filename":"file1"},{"photo_id":"1333347734","filename":"file0"},{"photo_id":"1333347781","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333347773":["hashtag1","hashtag2"]},{"1333347734":["hashtag1","hashtag2"]},{"1333347787":["hashtag1","hashtag2"]},{"1333347781":["hashtag1","hashtag2"]},{"1333347768":["hashtag1","hashtag2"]},{"1333347785":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333347773, 1333347734, 1333347787, 1333347781, 1333347768, 1333347785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.415247678756714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:26:32.130646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/35/image_29012025_21_35_46_9433.jpg', '/home/pi/Desktop/images/29012025/21/35/image_29012025_21_35_56_10513.jpg', '/home/pi/Desktop/images/29012025/21/35/image_29012025_21_36_05_9334.jpg', '/home/pi/Desktop/images/29012025/21/36/image_29012025_21_36_16_10388.jpg', '/home/pi/Desktop/images/29012025/21/36/image_29012025_21_36_26_10394.jpg', '/home/pi/Desktop/images/29012025/21/36/image_29012025_21_36_36_9417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/35/image_29012025_21_35_46_9433.jpg
/home/pi/Desktop/images/29012025/21/35/image_29012025_21_35_56_10513.jpg
/home/pi/Desktop/images/29012025/21/35/image_29012025_21_36_05_9334.jpg
/home/pi/Desktop/images/29012025/21/36/image_29012025_21_36_16_10388.jpg
/home/pi/Desktop/images/29012025/21/36/image_29012025_21_36_26_10394.jpg
/home/pi/Desktop/images/29012025/21/36/image_29012025_21_36_36_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":["1333347883","1333347913","1333347984","1333347936","1333347992","1333347887"],"photo_ids_order":["1333347883","1333347887","1333347913","1333347936","1333347984","1333347992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b3cb3fe69d724631cd16dcd50afa3e86.jpg","text":"TemporaryFile(/tmp/multipartBody8679759212201297592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333654555,"filename":"image_29012025_21_35_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/1/31/0aee0a0a1366af6ca9b3e5ef203f4a47.jpg","text":"TemporaryFile(/tmp/multipartBody8541853722298949996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333654555,"filename":"image_29012025_21_36_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/1/31/a53706cb03e5c3c9037ca99480f8ca3b.jpg","text":"TemporaryFile(/tmp/multipartBody5737191010508099873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333654555,"filename":"image_29012025_21_36_26_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5031a459cfbbffc3c7808fd7124e1c08.jpg","text":"TemporaryFile(/tmp/multipartBody2342622094116325382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333654555,"filename":"image_29012025_21_36_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/1/31/19d887eb1ea45bf69a56f9fb9285363b.jpg","text":"TemporaryFile(/tmp/multipartBody5036643761385864951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333654555,"filename":"image_29012025_21_36_36_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/981dac5ab84da8440327545b24ba79fb.jpg","text":"TemporaryFile(/tmp/multipartBody6242540637908288705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333654555,"filename":"image_29012025_21_35_56_10513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333347913","file1":"1333347887","file0":"1333347883","file4":"1333347984","file5":"1333347992","file3":"1333347936"},"map_files_photo_id_array":[{"photo_id":"1333347992","filename":"file5"},{"photo_id":"1333347913","filename":"file2"},{"photo_id":"1333347984","filename":"file4"},{"photo_id":"1333347887","filename":"file1"},{"photo_id":"1333347883","filename":"file0"},{"photo_id":"1333347936","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333347883":["hashtag1","hashtag2"]},{"1333347913":["hashtag1","hashtag2"]},{"1333347984":["hashtag1","hashtag2"]},{"1333347936":["hashtag1","hashtag2"]},{"1333347992":["hashtag1","hashtag2"]},{"1333347887":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333347883, 1333347913, 1333347984, 1333347936, 1333347992, 1333347887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.44215226173401 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:27:32.327746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/36/image_29012025_21_36_46_10484.jpg', '/home/pi/Desktop/images/29012025/21/36/image_29012025_21_36_56_9351.jpg', '/home/pi/Desktop/images/29012025/21/37/image_29012025_21_37_16_10392.jpg', '/home/pi/Desktop/images/29012025/21/37/image_29012025_21_37_26_9357.jpg', '/home/pi/Desktop/images/29012025/21/37/image_29012025_21_37_45_9347.jpg', '/home/pi/Desktop/images/29012025/21/37/image_29012025_21_37_56_10405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/36/image_29012025_21_36_46_10484.jpg
/home/pi/Desktop/images/29012025/21/36/image_29012025_21_36_56_9351.jpg
/home/pi/Desktop/images/29012025/21/37/image_29012025_21_37_16_10392.jpg
/home/pi/Desktop/images/29012025/21/37/image_29012025_21_37_26_9357.jpg
/home/pi/Desktop/images/29012025/21/37/image_29012025_21_37_45_9347.jpg
/home/pi/Desktop/images/29012025/21/37/image_29012025_21_37_56_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":["1333348186","1333348180","1333348168","1333348190","1333348175","1333348160"],"photo_ids_order":["1333348160","1333348168","1333348175","1333348180","1333348186","1333348190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5ce1b9ecd0c92c075db4e88da3a1be66.jpg","text":"TemporaryFile(/tmp/multipartBody8443974893295543322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333714745,"filename":"image_29012025_21_37_45_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5489e396500bda7beb7ae489779707e1.jpg","text":"TemporaryFile(/tmp/multipartBody2477060777055841388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333714745,"filename":"image_29012025_21_37_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/1/31/dcd8337924d856655bb436842e1b9370.jpg","text":"TemporaryFile(/tmp/multipartBody6273529850169775447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333714745,"filename":"image_29012025_21_36_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/1/31/1dbbcdece3471a5579c633e87b890b63.jpg","text":"TemporaryFile(/tmp/multipartBody5286077766388439424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333714745,"filename":"image_29012025_21_37_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/1/31/f819e8094d0d667996a8597566e647be.jpg","text":"TemporaryFile(/tmp/multipartBody4216438180354954361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333714745,"filename":"image_29012025_21_37_16_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/35e60828ef5437c4c599662c6330f719.jpg","text":"TemporaryFile(/tmp/multipartBody4429686378209523468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333714745,"filename":"image_29012025_21_36_46_10484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333348175","file1":"1333348168","file0":"1333348160","file4":"1333348186","file5":"1333348190","file3":"1333348180"},"map_files_photo_id_array":[{"photo_id":"1333348190","filename":"file5"},{"photo_id":"1333348175","filename":"file2"},{"photo_id":"1333348186","filename":"file4"},{"photo_id":"1333348168","filename":"file1"},{"photo_id":"1333348160","filename":"file0"},{"photo_id":"1333348180","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333348186":["hashtag1","hashtag2"]},{"1333348180":["hashtag1","hashtag2"]},{"1333348168":["hashtag1","hashtag2"]},{"1333348190":["hashtag1","hashtag2"]},{"1333348175":["hashtag1","hashtag2"]},{"1333348160":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333348186, 1333348180, 1333348168, 1333348190, 1333348175, 1333348160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.06700825691223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:28:32.830328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/38/image_29012025_21_38_26_10416.jpg', '/home/pi/Desktop/images/29012025/21/38/image_29012025_21_39_06_9433.jpg', '/home/pi/Desktop/images/29012025/21/39/image_29012025_21_39_16_10476.jpg', '/home/pi/Desktop/images/29012025/21/39/image_29012025_21_39_36_10345.jpg', '/home/pi/Desktop/images/29012025/21/39/image_29012025_21_40_06_10427.jpg', '/home/pi/Desktop/images/29012025/21/40/image_29012025_21_40_15_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/38/image_29012025_21_38_26_10416.jpg
/home/pi/Desktop/images/29012025/21/38/image_29012025_21_39_06_9433.jpg
/home/pi/Desktop/images/29012025/21/39/image_29012025_21_39_16_10476.jpg
/home/pi/Desktop/images/29012025/21/39/image_29012025_21_39_36_10345.jpg
/home/pi/Desktop/images/29012025/21/39/image_29012025_21_40_06_10427.jpg
/home/pi/Desktop/images/29012025/21/40/image_29012025_21_40_15_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":["1333348211","1333348205","1333348222","1333348225","1333348219","1333348215"],"photo_ids_order":["1333348205","1333348211","1333348215","1333348219","1333348222","1333348225"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/03ee8113cb9040d0e62b8c84147121f7.jpg","text":"TemporaryFile(/tmp/multipartBody4468666332630192307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333775238,"filename":"image_29012025_21_39_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/1/31/fcd6221de5f71ddf7ba639cddabe769e.jpg","text":"TemporaryFile(/tmp/multipartBody6581130551662079323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333775238,"filename":"image_29012025_21_38_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/1/31/a97cde989329a260edbd5feb98c850e8.jpg","text":"TemporaryFile(/tmp/multipartBody5476268145484528785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333775238,"filename":"image_29012025_21_40_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/1/31/6b75474a882a10354b418b719f36a104.jpg","text":"TemporaryFile(/tmp/multipartBody7863730937825784585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333775238,"filename":"image_29012025_21_40_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/1/31/6507bfc8ac0998f9c08b156e322237da.jpg","text":"TemporaryFile(/tmp/multipartBody7563440358779916796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333775238,"filename":"image_29012025_21_39_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/1/31/64fe673c1fd10607f60304e2c80caf4d.jpg","text":"TemporaryFile(/tmp/multipartBody2551570066045405464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333775238,"filename":"image_29012025_21_39_16_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333348215","file1":"1333348211","file0":"1333348205","file4":"1333348222","file5":"1333348225","file3":"1333348219"},"map_files_photo_id_array":[{"photo_id":"1333348225","filename":"file5"},{"photo_id":"1333348215","filename":"file2"},{"photo_id":"1333348222","filename":"file4"},{"photo_id":"1333348211","filename":"file1"},{"photo_id":"1333348205","filename":"file0"},{"photo_id":"1333348219","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333348211":["hashtag1","hashtag2"]},{"1333348205":["hashtag1","hashtag2"]},{"1333348222":["hashtag1","hashtag2"]},{"1333348225":["hashtag1","hashtag2"]},{"1333348219":["hashtag1","hashtag2"]},{"1333348215":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333348211, 1333348205, 1333348222, 1333348225, 1333348219, 1333348215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.16589307785034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:29:32.294329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/40/image_29012025_21_40_26_10373.jpg', '/home/pi/Desktop/images/29012025/21/40/image_29012025_21_40_36_10390.jpg', '/home/pi/Desktop/images/29012025/21/40/image_29012025_21_40_45_9340.jpg', '/home/pi/Desktop/images/29012025/21/41/image_29012025_21_41_16_9347.jpg', '/home/pi/Desktop/images/29012025/21/41/image_29012025_21_41_26_10419.jpg', '/home/pi/Desktop/images/29012025/21/41/image_29012025_21_41_35_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/40/image_29012025_21_40_26_10373.jpg
/home/pi/Desktop/images/29012025/21/40/image_29012025_21_40_36_10390.jpg
/home/pi/Desktop/images/29012025/21/40/image_29012025_21_40_45_9340.jpg
/home/pi/Desktop/images/29012025/21/41/image_29012025_21_41_16_9347.jpg
/home/pi/Desktop/images/29012025/21/41/image_29012025_21_41_26_10419.jpg
/home/pi/Desktop/images/29012025/21/41/image_29012025_21_41_35_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":["1333348294","1333348255","1333348287","1333348260","1333348263","1333348271"],"photo_ids_order":["1333348255","1333348260","1333348263","1333348271","1333348287","1333348294"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1913d1477982a385c364f0378509eb13.jpg","text":"TemporaryFile(/tmp/multipartBody2459825579362417822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333834727,"filename":"image_29012025_21_41_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/1/31/33d30433b67a0558e82d183b78e8ed6b.jpg","text":"TemporaryFile(/tmp/multipartBody3493029433545652976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333834727,"filename":"image_29012025_21_40_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/1/31/674ed27663b435827bc5c71ce8894bd8.jpg","text":"TemporaryFile(/tmp/multipartBody536136893574584792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333834727,"filename":"image_29012025_21_41_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/1/31/5a448283c53904eb57ef82f2d55027a1.jpg","text":"TemporaryFile(/tmp/multipartBody3257016720028565710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333834727,"filename":"image_29012025_21_40_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/1/31/85ad54e434e16cff2ac4055c4352795c.jpg","text":"TemporaryFile(/tmp/multipartBody134802145862257808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333834727,"filename":"image_29012025_21_40_45_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9352dc22e98c32700943d36d2bc17d59.jpg","text":"TemporaryFile(/tmp/multipartBody7301758738589859159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333834727,"filename":"image_29012025_21_41_16_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333348263","file1":"1333348260","file0":"1333348255","file4":"1333348287","file5":"1333348294","file3":"1333348271"},"map_files_photo_id_array":[{"photo_id":"1333348294","filename":"file5"},{"photo_id":"1333348263","filename":"file2"},{"photo_id":"1333348287","filename":"file4"},{"photo_id":"1333348260","filename":"file1"},{"photo_id":"1333348255","filename":"file0"},{"photo_id":"1333348271","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333348294":["hashtag1","hashtag2"]},{"1333348255":["hashtag1","hashtag2"]},{"1333348287":["hashtag1","hashtag2"]},{"1333348260":["hashtag1","hashtag2"]},{"1333348263":["hashtag1","hashtag2"]},{"1333348271":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333348294, 1333348255, 1333348287, 1333348260, 1333348263, 1333348271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.4669144153595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:30:32.452906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/41/image_29012025_21_42_06_9384.jpg', '/home/pi/Desktop/images/29012025/21/42/image_29012025_21_42_16_10442.jpg', '/home/pi/Desktop/images/29012025/21/42/image_29012025_21_42_56_9360.jpg', '/home/pi/Desktop/images/29012025/21/42/image_29012025_21_43_06_10353.jpg', '/home/pi/Desktop/images/29012025/21/43/image_29012025_21_43_16_10417.jpg', '/home/pi/Desktop/images/29012025/21/43/image_29012025_21_43_26_9427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/41/image_29012025_21_42_06_9384.jpg
/home/pi/Desktop/images/29012025/21/42/image_29012025_21_42_16_10442.jpg
/home/pi/Desktop/images/29012025/21/42/image_29012025_21_42_56_9360.jpg
/home/pi/Desktop/images/29012025/21/42/image_29012025_21_43_06_10353.jpg
/home/pi/Desktop/images/29012025/21/43/image_29012025_21_43_16_10417.jpg
/home/pi/Desktop/images/29012025/21/43/image_29012025_21_43_26_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":["1333348424","1333348381","1333348522","1333348459","1333348481","1333348484"],"photo_ids_order":["1333348381","1333348424","1333348459","1333348481","1333348484","1333348522"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/09341971aac09c3f01362505b98ea960.jpg","text":"TemporaryFile(/tmp/multipartBody8527276858908361371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333894871,"filename":"image_29012025_21_42_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/1/31/8986d78a6ae324292646750d2e4e2a5e.jpg","text":"TemporaryFile(/tmp/multipartBody3495823250751445733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333894871,"filename":"image_29012025_21_42_06_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ab195b17dc60a07cb36abfd2b8a181ea.jpg","text":"TemporaryFile(/tmp/multipartBody3773514102883991368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333894871,"filename":"image_29012025_21_43_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/1/31/0f6de93a9a699f028c5ebfe3f13e420e.jpg","text":"TemporaryFile(/tmp/multipartBody1637429497852627436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333894871,"filename":"image_29012025_21_42_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/1/31/d39589e8c843cc9fa468a7ddac6611ec.jpg","text":"TemporaryFile(/tmp/multipartBody4150920448768144915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333894871,"filename":"image_29012025_21_43_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/1/31/4694f6bf4ff375de881bc951f441f41d.jpg","text":"TemporaryFile(/tmp/multipartBody2171297730641683382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333894871,"filename":"image_29012025_21_43_16_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333348459","file1":"1333348424","file0":"1333348381","file4":"1333348484","file5":"1333348522","file3":"1333348481"},"map_files_photo_id_array":[{"photo_id":"1333348522","filename":"file5"},{"photo_id":"1333348459","filename":"file2"},{"photo_id":"1333348484","filename":"file4"},{"photo_id":"1333348424","filename":"file1"},{"photo_id":"1333348381","filename":"file0"},{"photo_id":"1333348481","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333348424":["hashtag1","hashtag2"]},{"1333348381":["hashtag1","hashtag2"]},{"1333348522":["hashtag1","hashtag2"]},{"1333348459":["hashtag1","hashtag2"]},{"1333348481":["hashtag1","hashtag2"]},{"1333348484":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333348424, 1333348381, 1333348522, 1333348459, 1333348481, 1333348484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.69869637489319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:31:32.779071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/43/image_29012025_21_43_36_10382.jpg', '/home/pi/Desktop/images/29012025/21/43/image_29012025_21_43_45_9355.jpg', '/home/pi/Desktop/images/29012025/21/43/image_29012025_21_43_56_10348.jpg', '/home/pi/Desktop/images/29012025/21/44/image_29012025_21_44_26_10436.jpg', '/home/pi/Desktop/images/29012025/21/44/image_29012025_21_44_36_10386.jpg', '/home/pi/Desktop/images/29012025/21/45/image_29012025_21_45_26_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/43/image_29012025_21_43_36_10382.jpg
/home/pi/Desktop/images/29012025/21/43/image_29012025_21_43_45_9355.jpg
/home/pi/Desktop/images/29012025/21/43/image_29012025_21_43_56_10348.jpg
/home/pi/Desktop/images/29012025/21/44/image_29012025_21_44_26_10436.jpg
/home/pi/Desktop/images/29012025/21/44/image_29012025_21_44_36_10386.jpg
/home/pi/Desktop/images/29012025/21/45/image_29012025_21_45_26_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":["1333348558","1333348548","1333348563","1333348542","1333348571","1333348553"],"photo_ids_order":["1333348542","1333348548","1333348553","1333348558","1333348563","1333348571"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0277d838b1be8ce068d9283cf4ba2f86.jpg","text":"TemporaryFile(/tmp/multipartBody7512912778534087091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333955182,"filename":"image_29012025_21_44_26_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f7a7e71598de56cc98fe72e8909c3d14.jpg","text":"TemporaryFile(/tmp/multipartBody7329423532786320101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333955182,"filename":"image_29012025_21_43_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/1/31/1477b9f953d18d27e032bec6f644a57f.jpg","text":"TemporaryFile(/tmp/multipartBody970456883197607213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333955182,"filename":"image_29012025_21_44_36_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d4f913786958666a808de5e964889327.jpg","text":"TemporaryFile(/tmp/multipartBody2431619062937283520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333955182,"filename":"image_29012025_21_43_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/1/31/5a6766f614a6217b80dacf93a6ae9eb0.jpg","text":"TemporaryFile(/tmp/multipartBody6852214988514660331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333955182,"filename":"image_29012025_21_45_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/1/31/1cc709d71723ad538c29bbb58b832793.jpg","text":"TemporaryFile(/tmp/multipartBody2990703696267728587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738333955182,"filename":"image_29012025_21_43_56_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333348553","file1":"1333348548","file0":"1333348542","file4":"1333348563","file5":"1333348571","file3":"1333348558"},"map_files_photo_id_array":[{"photo_id":"1333348571","filename":"file5"},{"photo_id":"1333348553","filename":"file2"},{"photo_id":"1333348563","filename":"file4"},{"photo_id":"1333348548","filename":"file1"},{"photo_id":"1333348542","filename":"file0"},{"photo_id":"1333348558","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333348558":["hashtag1","hashtag2"]},{"1333348548":["hashtag1","hashtag2"]},{"1333348563":["hashtag1","hashtag2"]},{"1333348542":["hashtag1","hashtag2"]},{"1333348571":["hashtag1","hashtag2"]},{"1333348553":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333348558, 1333348548, 1333348563, 1333348542, 1333348571, 1333348553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.239909648895264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:32:32.884722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/45/image_29012025_21_45_36_9344.jpg', '/home/pi/Desktop/images/29012025/21/45/image_29012025_21_45_46_10450.jpg', '/home/pi/Desktop/images/29012025/21/45/image_29012025_21_46_06_10353.jpg', '/home/pi/Desktop/images/29012025/21/46/image_29012025_21_46_56_9369.jpg', '/home/pi/Desktop/images/29012025/21/46/image_29012025_21_47_06_10444.jpg', '/home/pi/Desktop/images/29012025/21/47/image_29012025_21_47_26_10776.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/45/image_29012025_21_45_36_9344.jpg
/home/pi/Desktop/images/29012025/21/45/image_29012025_21_45_46_10450.jpg
/home/pi/Desktop/images/29012025/21/45/image_29012025_21_46_06_10353.jpg
/home/pi/Desktop/images/29012025/21/46/image_29012025_21_46_56_9369.jpg
/home/pi/Desktop/images/29012025/21/46/image_29012025_21_47_06_10444.jpg
/home/pi/Desktop/images/29012025/21/47/image_29012025_21_47_26_10776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333348808","1333348802","1333348595","1333348751","1333348826","1333348811"],"photo_ids_order":["1333348595","1333348751","1333348802","1333348808","1333348811","1333348826"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/59c84db3c1da9929486d026f041991c1.jpg","text":"TemporaryFile(/tmp/multipartBody5940638530348347115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334015312,"filename":"image_29012025_21_46_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/1/31/0d1b23b64c03c9a25d453cf29e0d3538.jpg","text":"TemporaryFile(/tmp/multipartBody5721358549533421808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334015312,"filename":"image_29012025_21_46_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/1/31/d83454f6916d8ff3ecdfbc34617b728d.jpg","text":"TemporaryFile(/tmp/multipartBody1629062176243292503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334015312,"filename":"image_29012025_21_45_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/1/31/f7696e49ca63a73fea09206111ddecdf.jpg","text":"TemporaryFile(/tmp/multipartBody6987620784049368637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334015312,"filename":"image_29012025_21_45_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/1/31/8cdf22aedda7a4e72ca8377d3d26d97e.jpg","text":"TemporaryFile(/tmp/multipartBody7120108192761819403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334015312,"filename":"image_29012025_21_47_26_10776.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6698a146c9780814c071df1f7d6cb511.jpg","text":"TemporaryFile(/tmp/multipartBody7756429854311979771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334015312,"filename":"image_29012025_21_47_06_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333348802","file1":"1333348751","file0":"1333348595","file4":"1333348811","file5":"1333348826","file3":"1333348808"},"map_files_photo_id_array":[{"photo_id":"1333348826","filename":"file5"},{"photo_id":"1333348802","filename":"file2"},{"photo_id":"1333348811","filename":"file4"},{"photo_id":"1333348751","filename":"file1"},{"photo_id":"1333348595","filename":"file0"},{"photo_id":"1333348808","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333348808":["hashtag1","hashtag2"]},{"1333348802":["hashtag1","hashtag2"]},{"1333348595":["hashtag1","hashtag2"]},{"1333348751":["hashtag1","hashtag2"]},{"1333348826":["hashtag1","hashtag2"]},{"1333348811":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333348808, 1333348802, 1333348595, 1333348751, 1333348826, 1333348811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.47908663749695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:33:33.059989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/47/image_29012025_21_47_46_10429.jpg', '/home/pi/Desktop/images/29012025/21/47/image_29012025_21_47_55_9348.jpg', '/home/pi/Desktop/images/29012025/21/48/image_29012025_21_48_25_9354.jpg', '/home/pi/Desktop/images/29012025/21/48/image_29012025_21_48_36_10434.jpg', '/home/pi/Desktop/images/29012025/21/48/image_29012025_21_48_46_10411.jpg', '/home/pi/Desktop/images/29012025/21/49/image_29012025_21_49_26_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/47/image_29012025_21_47_46_10429.jpg
/home/pi/Desktop/images/29012025/21/47/image_29012025_21_47_55_9348.jpg
/home/pi/Desktop/images/29012025/21/48/image_29012025_21_48_25_9354.jpg
/home/pi/Desktop/images/29012025/21/48/image_29012025_21_48_36_10434.jpg
/home/pi/Desktop/images/29012025/21/48/image_29012025_21_48_46_10411.jpg
/home/pi/Desktop/images/29012025/21/49/image_29012025_21_49_26_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":["1333348975","1333348963","1333348941","1333348944","1333348970","1333348973"],"photo_ids_order":["1333348941","1333348944","1333348963","1333348970","1333348973","1333348975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ae85c39ec247098cb5066a2961f2405c.jpg","text":"TemporaryFile(/tmp/multipartBody4583827193968203653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334075480,"filename":"image_29012025_21_49_26_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fad19170eb5cbf9c768709f34ec4d12e.jpg","text":"TemporaryFile(/tmp/multipartBody317808436915020114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334075480,"filename":"image_29012025_21_48_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/1/31/83668b17a5e8a89f2c0df338ce27dea9.jpg","text":"TemporaryFile(/tmp/multipartBody5942799544370954671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334075480,"filename":"image_29012025_21_47_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/1/31/008a57dab4117d81b5a301fd2739eb3b.jpg","text":"TemporaryFile(/tmp/multipartBody5086919004335378995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334075480,"filename":"image_29012025_21_47_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/1/31/5a35972c040ccb4a36921208857f4d28.jpg","text":"TemporaryFile(/tmp/multipartBody4933553216991992121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334075480,"filename":"image_29012025_21_48_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/1/31/87c911f1f17e004b366992f779d2cd94.jpg","text":"TemporaryFile(/tmp/multipartBody539022940472955481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334075480,"filename":"image_29012025_21_48_46_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333348963","file1":"1333348944","file0":"1333348941","file4":"1333348973","file5":"1333348975","file3":"1333348970"},"map_files_photo_id_array":[{"photo_id":"1333348975","filename":"file5"},{"photo_id":"1333348963","filename":"file2"},{"photo_id":"1333348973","filename":"file4"},{"photo_id":"1333348944","filename":"file1"},{"photo_id":"1333348941","filename":"file0"},{"photo_id":"1333348970","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333348975":["hashtag1","hashtag2"]},{"1333348963":["hashtag1","hashtag2"]},{"1333348941":["hashtag1","hashtag2"]},{"1333348944":["hashtag1","hashtag2"]},{"1333348970":["hashtag1","hashtag2"]},{"1333348973":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333348975, 1333348963, 1333348941, 1333348944, 1333348970, 1333348973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.87310171127319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:34:32.203499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/49/image_29012025_21_49_36_10360.jpg', '/home/pi/Desktop/images/29012025/21/49/image_29012025_21_49_46_9369.jpg', '/home/pi/Desktop/images/29012025/21/50/image_29012025_21_50_35_9356.jpg', '/home/pi/Desktop/images/29012025/21/50/image_29012025_21_50_46_10353.jpg', '/home/pi/Desktop/images/29012025/21/50/image_29012025_21_50_56_10371.jpg', '/home/pi/Desktop/images/29012025/21/50/image_29012025_21_51_06_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/49/image_29012025_21_49_36_10360.jpg
/home/pi/Desktop/images/29012025/21/49/image_29012025_21_49_46_9369.jpg
/home/pi/Desktop/images/29012025/21/50/image_29012025_21_50_35_9356.jpg
/home/pi/Desktop/images/29012025/21/50/image_29012025_21_50_46_10353.jpg
/home/pi/Desktop/images/29012025/21/50/image_29012025_21_50_56_10371.jpg
/home/pi/Desktop/images/29012025/21/50/image_29012025_21_51_06_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":["1333349164","1333349235","1333349238","1333349168","1333349156","1333349161"],"photo_ids_order":["1333349156","1333349161","1333349164","1333349168","1333349235","1333349238"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1ab7c51e5b4d192f879c8c0f97ba2881.jpg","text":"TemporaryFile(/tmp/multipartBody5650174381358330121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334134599,"filename":"image_29012025_21_50_35_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3ee7a0f0ebc6da62591611bca5caa007.jpg","text":"TemporaryFile(/tmp/multipartBody6146942538396782510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334134599,"filename":"image_29012025_21_50_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/1/31/774e7349c3fd632fefae7ff6231422d0.jpg","text":"TemporaryFile(/tmp/multipartBody4031938017140286117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334134599,"filename":"image_29012025_21_51_06_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d6582a99ba6d42e3283ad2f314f189c7.jpg","text":"TemporaryFile(/tmp/multipartBody7963589370824529620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334134599,"filename":"image_29012025_21_50_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/1/31/685a83f8bf1013c82be98c1fdd4f9dd7.jpg","text":"TemporaryFile(/tmp/multipartBody2489771024051897878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334134599,"filename":"image_29012025_21_49_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/1/31/02ef23883e1099a0bfce23348ba38a0a.jpg","text":"TemporaryFile(/tmp/multipartBody2175788203255214111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334134599,"filename":"image_29012025_21_49_46_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333349164","file1":"1333349161","file0":"1333349156","file4":"1333349235","file5":"1333349238","file3":"1333349168"},"map_files_photo_id_array":[{"photo_id":"1333349238","filename":"file5"},{"photo_id":"1333349164","filename":"file2"},{"photo_id":"1333349235","filename":"file4"},{"photo_id":"1333349161","filename":"file1"},{"photo_id":"1333349156","filename":"file0"},{"photo_id":"1333349168","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333349164":["hashtag1","hashtag2"]},{"1333349235":["hashtag1","hashtag2"]},{"1333349238":["hashtag1","hashtag2"]},{"1333349168":["hashtag1","hashtag2"]},{"1333349156":["hashtag1","hashtag2"]},{"1333349161":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333349164, 1333349235, 1333349238, 1333349168, 1333349156, 1333349161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.86457395553589 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:35:33.326633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/51/image_29012025_21_51_16_10332.jpg', '/home/pi/Desktop/images/29012025/21/51/image_29012025_21_51_26_10369.jpg', '/home/pi/Desktop/images/29012025/21/51/image_29012025_21_51_36_9346.jpg', '/home/pi/Desktop/images/29012025/21/51/image_29012025_21_51_46_10419.jpg', '/home/pi/Desktop/images/29012025/21/51/image_29012025_21_51_55_9363.jpg', '/home/pi/Desktop/images/29012025/21/51/image_29012025_21_52_06_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/51/image_29012025_21_51_16_10332.jpg
/home/pi/Desktop/images/29012025/21/51/image_29012025_21_51_26_10369.jpg
/home/pi/Desktop/images/29012025/21/51/image_29012025_21_51_36_9346.jpg
/home/pi/Desktop/images/29012025/21/51/image_29012025_21_51_46_10419.jpg
/home/pi/Desktop/images/29012025/21/51/image_29012025_21_51_55_9363.jpg
/home/pi/Desktop/images/29012025/21/51/image_29012025_21_52_06_10338.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.052370071411133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 15:35:43.308388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/51/image_29012025_21_51_16_10332.jpg', '/home/pi/Desktop/images/29012025/21/51/image_29012025_21_51_26_10369.jpg', '/home/pi/Desktop/images/29012025/21/51/image_29012025_21_51_36_9346.jpg', '/home/pi/Desktop/images/29012025/21/51/image_29012025_21_51_46_10419.jpg', '/home/pi/Desktop/images/29012025/21/51/image_29012025_21_51_55_9363.jpg', '/home/pi/Desktop/images/29012025/21/51/image_29012025_21_52_06_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/51/image_29012025_21_51_16_10332.jpg
/home/pi/Desktop/images/29012025/21/51/image_29012025_21_51_26_10369.jpg
/home/pi/Desktop/images/29012025/21/51/image_29012025_21_51_36_9346.jpg
/home/pi/Desktop/images/29012025/21/51/image_29012025_21_51_46_10419.jpg
/home/pi/Desktop/images/29012025/21/51/image_29012025_21_51_55_9363.jpg
/home/pi/Desktop/images/29012025/21/51/image_29012025_21_52_06_10338.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":["1333349263","1333349277","1333349282","1333349285","1333349273","1333349269"],"photo_ids_order":["1333349263","1333349269","1333349273","1333349277","1333349282","1333349285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/87f7c303ac81f366846793f20429ca37.jpg","text":"TemporaryFile(/tmp/multipartBody4823252097878920130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334204813,"filename":"image_29012025_21_51_16_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3aa7bde7d058971202cff83367208c2d.jpg","text":"TemporaryFile(/tmp/multipartBody6715803211266168291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334204813,"filename":"image_29012025_21_51_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/1/31/a29af92d8c90323ba21bdc86b1126e05.jpg","text":"TemporaryFile(/tmp/multipartBody7971070209644462101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334204813,"filename":"image_29012025_21_51_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/1/31/643a81a0a05c080665c1860c84750603.jpg","text":"TemporaryFile(/tmp/multipartBody3170387310824295935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334204813,"filename":"image_29012025_21_52_06_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3d2b20c700f8e360dbcff6fee8a419bf.jpg","text":"TemporaryFile(/tmp/multipartBody6816453289829054002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334204813,"filename":"image_29012025_21_51_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/1/31/0c41d1a6fa40bd60ccb76dda6a2d55ba.jpg","text":"TemporaryFile(/tmp/multipartBody8250650138317919205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334204813,"filename":"image_29012025_21_51_26_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333349273","file1":"1333349269","file0":"1333349263","file4":"1333349282","file5":"1333349285","file3":"1333349277"},"map_files_photo_id_array":[{"photo_id":"1333349285","filename":"file5"},{"photo_id":"1333349273","filename":"file2"},{"photo_id":"1333349282","filename":"file4"},{"photo_id":"1333349269","filename":"file1"},{"photo_id":"1333349263","filename":"file0"},{"photo_id":"1333349277","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333349263":["hashtag1","hashtag2"]},{"1333349277":["hashtag1","hashtag2"]},{"1333349282":["hashtag1","hashtag2"]},{"1333349285":["hashtag1","hashtag2"]},{"1333349273":["hashtag1","hashtag2"]},{"1333349269":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333349263, 1333349277, 1333349282, 1333349285, 1333349273, 1333349269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86474299430847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:36:32.468709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/52/image_29012025_21_52_16_10398.jpg', '/home/pi/Desktop/images/29012025/21/52/image_29012025_21_52_25_9362.jpg', '/home/pi/Desktop/images/29012025/21/52/image_29012025_21_52_36_10365.jpg', '/home/pi/Desktop/images/29012025/21/52/image_29012025_21_52_46_10363.jpg', '/home/pi/Desktop/images/29012025/21/52/image_29012025_21_52_56_9354.jpg', '/home/pi/Desktop/images/29012025/21/52/image_29012025_21_53_06_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/52/image_29012025_21_52_16_10398.jpg
/home/pi/Desktop/images/29012025/21/52/image_29012025_21_52_25_9362.jpg
/home/pi/Desktop/images/29012025/21/52/image_29012025_21_52_36_10365.jpg
/home/pi/Desktop/images/29012025/21/52/image_29012025_21_52_46_10363.jpg
/home/pi/Desktop/images/29012025/21/52/image_29012025_21_52_56_9354.jpg
/home/pi/Desktop/images/29012025/21/52/image_29012025_21_53_06_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":["1333349338","1333349301","1333349331","1333349310","1333349315","1333349296"],"photo_ids_order":["1333349296","1333349301","1333349310","1333349315","1333349331","1333349338"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e3c862a31cd2ba0fd082e2383ea8268b.jpg","text":"TemporaryFile(/tmp/multipartBody129232963338202849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334254900,"filename":"image_29012025_21_53_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/1/31/2b96f36c4f2de4446e2d6b01a0c0312f.jpg","text":"TemporaryFile(/tmp/multipartBody4561252086556030077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334254900,"filename":"image_29012025_21_52_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/1/31/67283351d572ce118f95bbcec27e8ac6.jpg","text":"TemporaryFile(/tmp/multipartBody4354829299313988241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334254900,"filename":"image_29012025_21_52_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/1/31/c4e426f0c970f1182838b50081935499.jpg","text":"TemporaryFile(/tmp/multipartBody4917119777182118123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334254900,"filename":"image_29012025_21_52_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/1/31/4adacff6fb2543e582623bb8a3918e83.jpg","text":"TemporaryFile(/tmp/multipartBody262880809066286038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334254900,"filename":"image_29012025_21_52_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/1/31/77728b059697a4ac697680a18b682a03.jpg","text":"TemporaryFile(/tmp/multipartBody6096932959521579148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334254900,"filename":"image_29012025_21_52_16_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333349310","file1":"1333349301","file0":"1333349296","file4":"1333349331","file5":"1333349338","file3":"1333349315"},"map_files_photo_id_array":[{"photo_id":"1333349338","filename":"file5"},{"photo_id":"1333349310","filename":"file2"},{"photo_id":"1333349331","filename":"file4"},{"photo_id":"1333349301","filename":"file1"},{"photo_id":"1333349296","filename":"file0"},{"photo_id":"1333349315","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333349338":["hashtag1","hashtag2"]},{"1333349301":["hashtag1","hashtag2"]},{"1333349331":["hashtag1","hashtag2"]},{"1333349310":["hashtag1","hashtag2"]},{"1333349315":["hashtag1","hashtag2"]},{"1333349296":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333349338, 1333349301, 1333349331, 1333349310, 1333349315, 1333349296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66197419166565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:37:32.718596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/53/image_29012025_21_53_16_10339.jpg', '/home/pi/Desktop/images/29012025/21/53/image_29012025_21_53_26_9346.jpg', '/home/pi/Desktop/images/29012025/21/53/image_29012025_21_53_36_10477.jpg', '/home/pi/Desktop/images/29012025/21/53/image_29012025_21_53_45_9354.jpg', '/home/pi/Desktop/images/29012025/21/53/image_29012025_21_53_56_10356.jpg', '/home/pi/Desktop/images/29012025/21/53/image_29012025_21_54_06_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/53/image_29012025_21_53_16_10339.jpg
/home/pi/Desktop/images/29012025/21/53/image_29012025_21_53_26_9346.jpg
/home/pi/Desktop/images/29012025/21/53/image_29012025_21_53_36_10477.jpg
/home/pi/Desktop/images/29012025/21/53/image_29012025_21_53_45_9354.jpg
/home/pi/Desktop/images/29012025/21/53/image_29012025_21_53_56_10356.jpg
/home/pi/Desktop/images/29012025/21/53/image_29012025_21_54_06_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":["1333349449","1333349440","1333349463","1333349457","1333349666","1333349467"],"photo_ids_order":["1333349440","1333349449","1333349457","1333349463","1333349467","1333349666"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/46e5e3e3699d000992fa7c7153cbb648.jpg","text":"TemporaryFile(/tmp/multipartBody1735167744239792029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334315139,"filename":"image_29012025_21_53_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/1/31/2598631f180b2c2821463090bfab9f60.jpg","text":"TemporaryFile(/tmp/multipartBody8524785272868413754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334315139,"filename":"image_29012025_21_53_16_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0f589324769c302397082ad88b6233dc.jpg","text":"TemporaryFile(/tmp/multipartBody6406662826955733140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334315139,"filename":"image_29012025_21_53_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/1/31/98951bb17af3562a963c0a5c638b1834.jpg","text":"TemporaryFile(/tmp/multipartBody2167021759001761797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334315139,"filename":"image_29012025_21_53_36_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/89c49cf2b5ee480f16f0b1347ee790f1.jpg","text":"TemporaryFile(/tmp/multipartBody2823132068894236905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334315139,"filename":"image_29012025_21_54_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/1/31/93ca15cdb4e093bbc82b9e8da6b5c74e.jpg","text":"TemporaryFile(/tmp/multipartBody2511998842219699846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334315139,"filename":"image_29012025_21_53_56_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333349457","file1":"1333349449","file0":"1333349440","file4":"1333349467","file5":"1333349666","file3":"1333349463"},"map_files_photo_id_array":[{"photo_id":"1333349666","filename":"file5"},{"photo_id":"1333349457","filename":"file2"},{"photo_id":"1333349467","filename":"file4"},{"photo_id":"1333349449","filename":"file1"},{"photo_id":"1333349440","filename":"file0"},{"photo_id":"1333349463","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333349449":["hashtag1","hashtag2"]},{"1333349440":["hashtag1","hashtag2"]},{"1333349463":["hashtag1","hashtag2"]},{"1333349457":["hashtag1","hashtag2"]},{"1333349666":["hashtag1","hashtag2"]},{"1333349467":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333349449, 1333349440, 1333349463, 1333349457, 1333349666, 1333349467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.26931667327881 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:38:33.112741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/54/image_29012025_21_54_16_9414.jpg', '/home/pi/Desktop/images/29012025/21/54/image_29012025_21_54_26_10359.jpg', '/home/pi/Desktop/images/29012025/21/54/image_29012025_21_54_36_10363.jpg', '/home/pi/Desktop/images/29012025/21/54/image_29012025_21_54_46_9332.jpg', '/home/pi/Desktop/images/29012025/21/54/image_29012025_21_54_56_10489.jpg', '/home/pi/Desktop/images/29012025/21/55/image_29012025_21_55_36_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/54/image_29012025_21_54_16_9414.jpg
/home/pi/Desktop/images/29012025/21/54/image_29012025_21_54_26_10359.jpg
/home/pi/Desktop/images/29012025/21/54/image_29012025_21_54_36_10363.jpg
/home/pi/Desktop/images/29012025/21/54/image_29012025_21_54_46_9332.jpg
/home/pi/Desktop/images/29012025/21/54/image_29012025_21_54_56_10489.jpg
/home/pi/Desktop/images/29012025/21/55/image_29012025_21_55_36_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":["1333350436","1333350465","1333350528","1333350441","1333350533","1333350458"],"photo_ids_order":["1333350436","1333350441","1333350458","1333350465","1333350528","1333350533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f648e67d67bca71e732400f0f8e00e69.jpg","text":"TemporaryFile(/tmp/multipartBody8355735064085154108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334375541,"filename":"image_29012025_21_54_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/1/31/40c5cf91fffeeb26eabb55f436c924cd.jpg","text":"TemporaryFile(/tmp/multipartBody1342499446982421552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334375541,"filename":"image_29012025_21_54_46_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/494084efaa061c17256da42c77c4210f.jpg","text":"TemporaryFile(/tmp/multipartBody6573463256542060826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334375541,"filename":"image_29012025_21_54_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/1/31/8038ba0f57a7075dd5d59a546c91414b.jpg","text":"TemporaryFile(/tmp/multipartBody3266016610052306334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334375541,"filename":"image_29012025_21_54_26_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c3ed8f01877abd1114137bfc3d71befc.jpg","text":"TemporaryFile(/tmp/multipartBody8014772113459145671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334375541,"filename":"image_29012025_21_55_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/1/31/a781ce44430de772ea5e20372e35c6b2.jpg","text":"TemporaryFile(/tmp/multipartBody248887558247623665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334375541,"filename":"image_29012025_21_54_36_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333350458","file1":"1333350441","file0":"1333350436","file4":"1333350528","file5":"1333350533","file3":"1333350465"},"map_files_photo_id_array":[{"photo_id":"1333350533","filename":"file5"},{"photo_id":"1333350458","filename":"file2"},{"photo_id":"1333350528","filename":"file4"},{"photo_id":"1333350441","filename":"file1"},{"photo_id":"1333350436","filename":"file0"},{"photo_id":"1333350465","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333350436":["hashtag1","hashtag2"]},{"1333350465":["hashtag1","hashtag2"]},{"1333350528":["hashtag1","hashtag2"]},{"1333350441":["hashtag1","hashtag2"]},{"1333350533":["hashtag1","hashtag2"]},{"1333350458":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333350436, 1333350465, 1333350528, 1333350441, 1333350533, 1333350458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79888033866882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:39:32.484771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/55/image_29012025_21_55_46_10533.jpg', '/home/pi/Desktop/images/29012025/21/55/image_29012025_21_55_55_9353.jpg', '/home/pi/Desktop/images/29012025/21/55/image_29012025_21_56_06_10363.jpg', '/home/pi/Desktop/images/29012025/21/56/image_29012025_21_56_16_9899.jpg', '/home/pi/Desktop/images/29012025/21/56/image_29012025_21_56_26_10378.jpg', '/home/pi/Desktop/images/29012025/21/56/image_29012025_21_56_35_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/55/image_29012025_21_55_46_10533.jpg
/home/pi/Desktop/images/29012025/21/55/image_29012025_21_55_55_9353.jpg
/home/pi/Desktop/images/29012025/21/55/image_29012025_21_56_06_10363.jpg
/home/pi/Desktop/images/29012025/21/56/image_29012025_21_56_16_9899.jpg
/home/pi/Desktop/images/29012025/21/56/image_29012025_21_56_26_10378.jpg
/home/pi/Desktop/images/29012025/21/56/image_29012025_21_56_35_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":["1333351222","1333351210","1333351311","1333351203","1333351214","1333351264"],"photo_ids_order":["1333351203","1333351210","1333351214","1333351222","1333351264","1333351311"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/458f7e432e000861a71702d2baf1ed7a.jpg","text":"TemporaryFile(/tmp/multipartBody8579615619473845390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334434934,"filename":"image_29012025_21_56_16_9899.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/00a4197023a764a3795a343c0c855f34.jpg","text":"TemporaryFile(/tmp/multipartBody686319038749908191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334434934,"filename":"image_29012025_21_55_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/1/31/3265ac0fe41fa82320e60f4522c234fb.jpg","text":"TemporaryFile(/tmp/multipartBody864879190592935126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334434934,"filename":"image_29012025_21_56_35_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a15f561c299221b3dedc6811096f5d97.jpg","text":"TemporaryFile(/tmp/multipartBody9011023931971656500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334434934,"filename":"image_29012025_21_55_46_10533.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e4bd4d48816717fef26ae02f86235149.jpg","text":"TemporaryFile(/tmp/multipartBody1383492828012015231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334434934,"filename":"image_29012025_21_56_06_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fc468aab0ba2ee895288e33af2305051.jpg","text":"TemporaryFile(/tmp/multipartBody2049899757585166272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334434934,"filename":"image_29012025_21_56_26_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333351214","file1":"1333351210","file0":"1333351203","file4":"1333351264","file5":"1333351311","file3":"1333351222"},"map_files_photo_id_array":[{"photo_id":"1333351311","filename":"file5"},{"photo_id":"1333351214","filename":"file2"},{"photo_id":"1333351264","filename":"file4"},{"photo_id":"1333351210","filename":"file1"},{"photo_id":"1333351203","filename":"file0"},{"photo_id":"1333351222","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333351222":["hashtag1","hashtag2"]},{"1333351210":["hashtag1","hashtag2"]},{"1333351311":["hashtag1","hashtag2"]},{"1333351203":["hashtag1","hashtag2"]},{"1333351214":["hashtag1","hashtag2"]},{"1333351264":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333351222, 1333351210, 1333351311, 1333351203, 1333351214, 1333351264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.949373722076416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:40:32.583712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/56/image_29012025_21_56_46_10382.jpg', '/home/pi/Desktop/images/29012025/21/56/image_29012025_21_56_56_10522.jpg', '/home/pi/Desktop/images/29012025/21/56/image_29012025_21_57_06_9331.jpg', '/home/pi/Desktop/images/29012025/21/57/image_29012025_21_57_16_10353.jpg', '/home/pi/Desktop/images/29012025/21/57/image_29012025_21_57_25_9343.jpg', '/home/pi/Desktop/images/29012025/21/57/image_29012025_21_57_36_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/56/image_29012025_21_56_46_10382.jpg
/home/pi/Desktop/images/29012025/21/56/image_29012025_21_56_56_10522.jpg
/home/pi/Desktop/images/29012025/21/56/image_29012025_21_57_06_9331.jpg
/home/pi/Desktop/images/29012025/21/57/image_29012025_21_57_16_10353.jpg
/home/pi/Desktop/images/29012025/21/57/image_29012025_21_57_25_9343.jpg
/home/pi/Desktop/images/29012025/21/57/image_29012025_21_57_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":["1333351570","1333351716","1333351638","1333351577","1333351562","1333351667"],"photo_ids_order":["1333351562","1333351570","1333351577","1333351638","1333351667","1333351716"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7f084e80785a314051a6c9e6a680a501.jpg","text":"TemporaryFile(/tmp/multipartBody4327837527970410902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334495032,"filename":"image_29012025_21_56_56_10522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/08c9fa77329c1b21e62b724fb9f68f28.jpg","text":"TemporaryFile(/tmp/multipartBody4343953714447137819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334495032,"filename":"image_29012025_21_57_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/1/31/db4a4f966b2ca748a0b13020e09b9f26.jpg","text":"TemporaryFile(/tmp/multipartBody1785014354291439891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334495032,"filename":"image_29012025_21_57_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/1/31/2b9511a49c0d9b43c06b8774f34ee5a4.jpg","text":"TemporaryFile(/tmp/multipartBody851554000397481530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334495032,"filename":"image_29012025_21_57_06_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a8afb3ec43e8b09534fa427fc1adff0e.jpg","text":"TemporaryFile(/tmp/multipartBody4128493952525754470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334495032,"filename":"image_29012025_21_56_46_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9af890eb8b1b496356f5891f726b15c1.jpg","text":"TemporaryFile(/tmp/multipartBody3753450981696474617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334495032,"filename":"image_29012025_21_57_25_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333351577","file1":"1333351570","file0":"1333351562","file4":"1333351667","file5":"1333351716","file3":"1333351638"},"map_files_photo_id_array":[{"photo_id":"1333351716","filename":"file5"},{"photo_id":"1333351577","filename":"file2"},{"photo_id":"1333351667","filename":"file4"},{"photo_id":"1333351570","filename":"file1"},{"photo_id":"1333351562","filename":"file0"},{"photo_id":"1333351638","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333351570":["hashtag1","hashtag2"]},{"1333351716":["hashtag1","hashtag2"]},{"1333351638":["hashtag1","hashtag2"]},{"1333351577":["hashtag1","hashtag2"]},{"1333351562":["hashtag1","hashtag2"]},{"1333351667":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333351570, 1333351716, 1333351638, 1333351577, 1333351562, 1333351667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.02996230125427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:41:32.857387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/57/image_29012025_21_57_46_10465.jpg', '/home/pi/Desktop/images/29012025/21/57/image_29012025_21_57_56_9359.jpg', '/home/pi/Desktop/images/29012025/21/57/image_29012025_21_58_06_10451.jpg', '/home/pi/Desktop/images/29012025/21/58/image_29012025_21_58_15_9340.jpg', '/home/pi/Desktop/images/29012025/21/58/image_29012025_21_58_26_10378.jpg', '/home/pi/Desktop/images/29012025/21/58/image_29012025_21_58_36_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/57/image_29012025_21_57_46_10465.jpg
/home/pi/Desktop/images/29012025/21/57/image_29012025_21_57_56_9359.jpg
/home/pi/Desktop/images/29012025/21/57/image_29012025_21_58_06_10451.jpg
/home/pi/Desktop/images/29012025/21/58/image_29012025_21_58_15_9340.jpg
/home/pi/Desktop/images/29012025/21/58/image_29012025_21_58_26_10378.jpg
/home/pi/Desktop/images/29012025/21/58/image_29012025_21_58_36_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":["1333352428","1333352492","1333352366","1333352488","1333352482","1333352362"],"photo_ids_order":["1333352362","1333352366","1333352428","1333352482","1333352488","1333352492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6b8c0eda0df0cef0446926b865a83903.jpg","text":"TemporaryFile(/tmp/multipartBody8996433013801626642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334555287,"filename":"image_29012025_21_58_06_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/caa3406349f43f5b76945992a156186c.jpg","text":"TemporaryFile(/tmp/multipartBody3104093933324767989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334555287,"filename":"image_29012025_21_58_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/1/31/c6ad28c5e1baf60bd365dc2da799d191.jpg","text":"TemporaryFile(/tmp/multipartBody6065938194074756812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334555287,"filename":"image_29012025_21_57_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/1/31/18463d1ae6835da4647b8286eea2c4c8.jpg","text":"TemporaryFile(/tmp/multipartBody4401023069644341686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334555287,"filename":"image_29012025_21_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/1/31/0e732791a827e58cafcef3dc5a0512b0.jpg","text":"TemporaryFile(/tmp/multipartBody181316760505428210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334555287,"filename":"image_29012025_21_58_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/1/31/1ec7918fa55db3101b7eecffa74c3082.jpg","text":"TemporaryFile(/tmp/multipartBody1818989126502178208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334555287,"filename":"image_29012025_21_57_46_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333352428","file1":"1333352366","file0":"1333352362","file4":"1333352488","file5":"1333352492","file3":"1333352482"},"map_files_photo_id_array":[{"photo_id":"1333352492","filename":"file5"},{"photo_id":"1333352428","filename":"file2"},{"photo_id":"1333352488","filename":"file4"},{"photo_id":"1333352366","filename":"file1"},{"photo_id":"1333352362","filename":"file0"},{"photo_id":"1333352482","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333352428":["hashtag1","hashtag2"]},{"1333352492":["hashtag1","hashtag2"]},{"1333352366":["hashtag1","hashtag2"]},{"1333352488":["hashtag1","hashtag2"]},{"1333352482":["hashtag1","hashtag2"]},{"1333352362":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333352428, 1333352492, 1333352366, 1333352488, 1333352482, 1333352362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.3218789100647 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:42:33.090425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/58/image_29012025_21_58_46_9365.jpg', '/home/pi/Desktop/images/29012025/21/58/image_29012025_21_58_56_10423.jpg', '/home/pi/Desktop/images/29012025/21/58/image_29012025_21_59_06_10333.jpg', '/home/pi/Desktop/images/29012025/21/59/image_29012025_21_59_16_9353.jpg', '/home/pi/Desktop/images/29012025/21/59/image_29012025_21_59_35_9356.jpg', '/home/pi/Desktop/images/29012025/21/59/image_29012025_21_59_46_10383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/58/image_29012025_21_58_46_9365.jpg
/home/pi/Desktop/images/29012025/21/58/image_29012025_21_58_56_10423.jpg
/home/pi/Desktop/images/29012025/21/58/image_29012025_21_59_06_10333.jpg
/home/pi/Desktop/images/29012025/21/59/image_29012025_21_59_16_9353.jpg
/home/pi/Desktop/images/29012025/21/59/image_29012025_21_59_35_9356.jpg
/home/pi/Desktop/images/29012025/21/59/image_29012025_21_59_46_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":["1333352556","1333352573","1333352564","1333352552","1333352575","1333352569"],"photo_ids_order":["1333352552","1333352556","1333352564","1333352569","1333352573","1333352575"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d6a99127bf6145ee88df5920a807a51d.jpg","text":"TemporaryFile(/tmp/multipartBody91476029876155918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334615494,"filename":"image_29012025_21_58_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/1/31/671fa4fcf898efd002fcc9ba2cca875c.jpg","text":"TemporaryFile(/tmp/multipartBody3478353556166157776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334615494,"filename":"image_29012025_21_59_35_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/befb30614ddc65f2fbb1bf9b4226b9b6.jpg","text":"TemporaryFile(/tmp/multipartBody6261561794046627385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334615494,"filename":"image_29012025_21_59_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/1/31/bf80d21a643bf70224e6cc2bc582aec4.jpg","text":"TemporaryFile(/tmp/multipartBody4274994331995592013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334615494,"filename":"image_29012025_21_58_46_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9453042a4e2f3c505e7af3297f374208.jpg","text":"TemporaryFile(/tmp/multipartBody4372880507100363032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334615494,"filename":"image_29012025_21_59_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/1/31/a85a990828ac9eab80ce5d83b501d05c.jpg","text":"TemporaryFile(/tmp/multipartBody7402099379074346805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334615494,"filename":"image_29012025_21_59_16_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333352564","file1":"1333352556","file0":"1333352552","file4":"1333352573","file5":"1333352575","file3":"1333352569"},"map_files_photo_id_array":[{"photo_id":"1333352575","filename":"file5"},{"photo_id":"1333352564","filename":"file2"},{"photo_id":"1333352573","filename":"file4"},{"photo_id":"1333352556","filename":"file1"},{"photo_id":"1333352552","filename":"file0"},{"photo_id":"1333352569","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333352556":["hashtag1","hashtag2"]},{"1333352573":["hashtag1","hashtag2"]},{"1333352564":["hashtag1","hashtag2"]},{"1333352552":["hashtag1","hashtag2"]},{"1333352575":["hashtag1","hashtag2"]},{"1333352569":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333352556, 1333352573, 1333352564, 1333352552, 1333352575, 1333352569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.338435888290405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:43:32.307857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/21/59/image_29012025_21_59_56_10424.jpg', '/home/pi/Desktop/images/29012025/22/01/image_29012025_22_01_25_10364.jpg', '/home/pi/Desktop/images/29012025/22/01/image_29012025_22_01_35_10480.jpg', '/home/pi/Desktop/images/29012025/22/01/image_29012025_22_01_45_9415.jpg', '/home/pi/Desktop/images/29012025/22/01/image_29012025_22_01_55_10337.jpg', '/home/pi/Desktop/images/29012025/22/01/image_29012025_22_02_04_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/21/59/image_29012025_21_59_56_10424.jpg
/home/pi/Desktop/images/29012025/22/01/image_29012025_22_01_25_10364.jpg
/home/pi/Desktop/images/29012025/22/01/image_29012025_22_01_35_10480.jpg
/home/pi/Desktop/images/29012025/22/01/image_29012025_22_01_45_9415.jpg
/home/pi/Desktop/images/29012025/22/01/image_29012025_22_01_55_10337.jpg
/home/pi/Desktop/images/29012025/22/01/image_29012025_22_02_04_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":["1333352704","1333352700","1333352693","1333352702","1333352698","1333352677"],"photo_ids_order":["1333352677","1333352693","1333352698","1333352700","1333352702","1333352704"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1de3555c7586454d5cec7c5ed72271e8.jpg","text":"TemporaryFile(/tmp/multipartBody6952609341820815736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334674715,"filename":"image_29012025_22_02_04_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/eef26d03d4d474a9256bb89c5b2e806e.jpg","text":"TemporaryFile(/tmp/multipartBody5442982528567157897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334674715,"filename":"image_29012025_22_01_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/1/31/5cf947389d1f68eabf8bbe3591974b36.jpg","text":"TemporaryFile(/tmp/multipartBody4218961085748966221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334674715,"filename":"image_29012025_22_01_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/1/31/95042a4f247898bb269fd4bd41f62d38.jpg","text":"TemporaryFile(/tmp/multipartBody5284681862283310405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334674715,"filename":"image_29012025_22_01_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/1/31/aaeabd2ba7c66be11a0a09796eaaea53.jpg","text":"TemporaryFile(/tmp/multipartBody1309924808835640419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334674715,"filename":"image_29012025_22_01_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/1/31/20c1d6b09e34485fea818001a4a9e526.jpg","text":"TemporaryFile(/tmp/multipartBody1499454111619835256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334674715,"filename":"image_29012025_21_59_56_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333352698","file1":"1333352693","file0":"1333352677","file4":"1333352702","file5":"1333352704","file3":"1333352700"},"map_files_photo_id_array":[{"photo_id":"1333352704","filename":"file5"},{"photo_id":"1333352698","filename":"file2"},{"photo_id":"1333352702","filename":"file4"},{"photo_id":"1333352693","filename":"file1"},{"photo_id":"1333352677","filename":"file0"},{"photo_id":"1333352700","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333352704":["hashtag1","hashtag2"]},{"1333352700":["hashtag1","hashtag2"]},{"1333352693":["hashtag1","hashtag2"]},{"1333352702":["hashtag1","hashtag2"]},{"1333352698":["hashtag1","hashtag2"]},{"1333352677":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333352704, 1333352700, 1333352693, 1333352702, 1333352698, 1333352677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17673206329346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:44:32.502959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/02/image_29012025_22_02_15_10339.jpg', '/home/pi/Desktop/images/29012025/22/02/image_29012025_22_02_25_10468.jpg', '/home/pi/Desktop/images/29012025/22/02/image_29012025_22_02_35_9342.jpg', '/home/pi/Desktop/images/29012025/22/02/image_29012025_22_02_45_10438.jpg', '/home/pi/Desktop/images/29012025/22/02/image_29012025_22_02_55_10359.jpg', '/home/pi/Desktop/images/29012025/22/02/image_29012025_22_03_05_9441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/02/image_29012025_22_02_15_10339.jpg
/home/pi/Desktop/images/29012025/22/02/image_29012025_22_02_25_10468.jpg
/home/pi/Desktop/images/29012025/22/02/image_29012025_22_02_35_9342.jpg
/home/pi/Desktop/images/29012025/22/02/image_29012025_22_02_45_10438.jpg
/home/pi/Desktop/images/29012025/22/02/image_29012025_22_02_55_10359.jpg
/home/pi/Desktop/images/29012025/22/02/image_29012025_22_03_05_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":["1333352775","1333352754","1333352748","1333352771","1333352762","1333352743"],"photo_ids_order":["1333352743","1333352748","1333352754","1333352762","1333352771","1333352775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d0fed19804eb8ea2e76a9813b9b12e26.jpg","text":"TemporaryFile(/tmp/multipartBody8430848272404294977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334734962,"filename":"image_29012025_22_03_05_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/20aff45086d0412e0b5d2ac964bb5a6e.jpg","text":"TemporaryFile(/tmp/multipartBody4836122224988653250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334734962,"filename":"image_29012025_22_02_35_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/970d4aa417c3694c9385c03f9a1abadf.jpg","text":"TemporaryFile(/tmp/multipartBody8932467053320648640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334734962,"filename":"image_29012025_22_02_25_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4b79ed9043c99a9f70bbe3edfa56025b.jpg","text":"TemporaryFile(/tmp/multipartBody3970221942285978311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334734962,"filename":"image_29012025_22_02_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/1/31/f25eb13346370154ba5b1e08ad2f95f7.jpg","text":"TemporaryFile(/tmp/multipartBody9057356205595761236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334734962,"filename":"image_29012025_22_02_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/1/31/c43cc62c4dec3a45dcce4becce1e77fc.jpg","text":"TemporaryFile(/tmp/multipartBody3535613876184308783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334734962,"filename":"image_29012025_22_02_15_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333352754","file1":"1333352748","file0":"1333352743","file4":"1333352771","file5":"1333352775","file3":"1333352762"},"map_files_photo_id_array":[{"photo_id":"1333352775","filename":"file5"},{"photo_id":"1333352754","filename":"file2"},{"photo_id":"1333352771","filename":"file4"},{"photo_id":"1333352748","filename":"file1"},{"photo_id":"1333352743","filename":"file0"},{"photo_id":"1333352762","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333352775":["hashtag1","hashtag2"]},{"1333352754":["hashtag1","hashtag2"]},{"1333352748":["hashtag1","hashtag2"]},{"1333352771":["hashtag1","hashtag2"]},{"1333352762":["hashtag1","hashtag2"]},{"1333352743":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333352775, 1333352754, 1333352748, 1333352771, 1333352762, 1333352743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.62930941581726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:45:32.851595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/03/image_29012025_22_03_15_10348.jpg', '/home/pi/Desktop/images/29012025/22/03/image_29012025_22_03_25_9418.jpg', '/home/pi/Desktop/images/29012025/22/03/image_29012025_22_03_35_10401.jpg', '/home/pi/Desktop/images/29012025/22/03/image_29012025_22_03_45_10360.jpg', '/home/pi/Desktop/images/29012025/22/03/image_29012025_22_03_55_9346.jpg', '/home/pi/Desktop/images/29012025/22/03/image_29012025_22_04_05_9960.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/03/image_29012025_22_03_15_10348.jpg
/home/pi/Desktop/images/29012025/22/03/image_29012025_22_03_25_9418.jpg
/home/pi/Desktop/images/29012025/22/03/image_29012025_22_03_35_10401.jpg
/home/pi/Desktop/images/29012025/22/03/image_29012025_22_03_45_10360.jpg
/home/pi/Desktop/images/29012025/22/03/image_29012025_22_03_55_9346.jpg
/home/pi/Desktop/images/29012025/22/03/image_29012025_22_04_05_9960.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333352844","1333352802","1333352834","1333352816","1333352842","1333352839"],"photo_ids_order":["1333352802","1333352816","1333352834","1333352839","1333352842","1333352844"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2f6162adfdc5b286d5517847a7f87e56.jpg","text":"TemporaryFile(/tmp/multipartBody2600888932232468157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334795251,"filename":"image_29012025_22_04_05_9960.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0df7a27c80af11d81a071fd5741cc64b.jpg","text":"TemporaryFile(/tmp/multipartBody935141242309065244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334795251,"filename":"image_29012025_22_03_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/1/31/5699263caa3bf65cc968e15de4f5440d.jpg","text":"TemporaryFile(/tmp/multipartBody1589432869091321887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334795251,"filename":"image_29012025_22_03_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/1/31/1175fb06b5ca7660c9aa229bc798be6a.jpg","text":"TemporaryFile(/tmp/multipartBody7017997891695875459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334795251,"filename":"image_29012025_22_03_25_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e5f1be7d8c32707cf7033df351248cd1.jpg","text":"TemporaryFile(/tmp/multipartBody5338891093885586812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334795251,"filename":"image_29012025_22_03_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/1/31/d054c669d1acc68204469f06d9c9c10a.jpg","text":"TemporaryFile(/tmp/multipartBody8873694588130330679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334795251,"filename":"image_29012025_22_03_45_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333352834","file1":"1333352816","file0":"1333352802","file4":"1333352842","file5":"1333352844","file3":"1333352839"},"map_files_photo_id_array":[{"photo_id":"1333352844","filename":"file5"},{"photo_id":"1333352834","filename":"file2"},{"photo_id":"1333352842","filename":"file4"},{"photo_id":"1333352816","filename":"file1"},{"photo_id":"1333352802","filename":"file0"},{"photo_id":"1333352839","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333352844":["hashtag1","hashtag2"]},{"1333352802":["hashtag1","hashtag2"]},{"1333352834":["hashtag1","hashtag2"]},{"1333352816":["hashtag1","hashtag2"]},{"1333352842":["hashtag1","hashtag2"]},{"1333352839":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333352844, 1333352802, 1333352834, 1333352816, 1333352842, 1333352839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.10874629020691 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:46:33.094176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/04/image_29012025_22_04_15_10466.jpg', '/home/pi/Desktop/images/29012025/22/04/image_29012025_22_04_24_9346.jpg', '/home/pi/Desktop/images/29012025/22/04/image_29012025_22_04_35_10352.jpg', '/home/pi/Desktop/images/29012025/22/04/image_29012025_22_04_45_10428.jpg', '/home/pi/Desktop/images/29012025/22/04/image_29012025_22_04_55_9344.jpg', '/home/pi/Desktop/images/29012025/22/04/image_29012025_22_05_05_10399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/04/image_29012025_22_04_15_10466.jpg
/home/pi/Desktop/images/29012025/22/04/image_29012025_22_04_24_9346.jpg
/home/pi/Desktop/images/29012025/22/04/image_29012025_22_04_35_10352.jpg
/home/pi/Desktop/images/29012025/22/04/image_29012025_22_04_45_10428.jpg
/home/pi/Desktop/images/29012025/22/04/image_29012025_22_04_55_9344.jpg
/home/pi/Desktop/images/29012025/22/04/image_29012025_22_05_05_10399.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.0209152698516846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 15:46:42.996078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/04/image_29012025_22_04_15_10466.jpg', '/home/pi/Desktop/images/29012025/22/04/image_29012025_22_04_24_9346.jpg', '/home/pi/Desktop/images/29012025/22/04/image_29012025_22_04_35_10352.jpg', '/home/pi/Desktop/images/29012025/22/04/image_29012025_22_04_45_10428.jpg', '/home/pi/Desktop/images/29012025/22/04/image_29012025_22_04_55_9344.jpg', '/home/pi/Desktop/images/29012025/22/04/image_29012025_22_05_05_10399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/04/image_29012025_22_04_15_10466.jpg
/home/pi/Desktop/images/29012025/22/04/image_29012025_22_04_24_9346.jpg
/home/pi/Desktop/images/29012025/22/04/image_29012025_22_04_35_10352.jpg
/home/pi/Desktop/images/29012025/22/04/image_29012025_22_04_45_10428.jpg
/home/pi/Desktop/images/29012025/22/04/image_29012025_22_04_55_9344.jpg
/home/pi/Desktop/images/29012025/22/04/image_29012025_22_05_05_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":["1333352949","1333352937","1333352931","1333352942","1333352953","1333352926"],"photo_ids_order":["1333352926","1333352931","1333352937","1333352942","1333352949","1333352953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/814b32e783c3f166b702a2c0bd58471e.jpg","text":"TemporaryFile(/tmp/multipartBody1731193134085738130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334864511,"filename":"image_29012025_22_04_55_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/54d54985aefc8b5d6f78434d5357d295.jpg","text":"TemporaryFile(/tmp/multipartBody6138803335967408219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334864511,"filename":"image_29012025_22_04_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/1/31/b50f64426f8539003cc7fa7b0a8883dc.jpg","text":"TemporaryFile(/tmp/multipartBody7814868331996649749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334864511,"filename":"image_29012025_22_04_24_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/11a00522e627f1545c19a331ffc30f70.jpg","text":"TemporaryFile(/tmp/multipartBody7842345094969204095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334864511,"filename":"image_29012025_22_04_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/1/31/6940fcecc5a3356429c5e51ff052efee.jpg","text":"TemporaryFile(/tmp/multipartBody2949600245533453227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334864511,"filename":"image_29012025_22_05_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/1/31/6164fb317e5da9c6ff3ee30b4e5c4a95.jpg","text":"TemporaryFile(/tmp/multipartBody5199428081761410585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334864511,"filename":"image_29012025_22_04_15_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333352937","file1":"1333352931","file0":"1333352926","file4":"1333352949","file5":"1333352953","file3":"1333352942"},"map_files_photo_id_array":[{"photo_id":"1333352953","filename":"file5"},{"photo_id":"1333352937","filename":"file2"},{"photo_id":"1333352949","filename":"file4"},{"photo_id":"1333352931","filename":"file1"},{"photo_id":"1333352926","filename":"file0"},{"photo_id":"1333352942","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333352949":["hashtag1","hashtag2"]},{"1333352937":["hashtag1","hashtag2"]},{"1333352931":["hashtag1","hashtag2"]},{"1333352942":["hashtag1","hashtag2"]},{"1333352953":["hashtag1","hashtag2"]},{"1333352926":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333352949, 1333352937, 1333352931, 1333352942, 1333352953, 1333352926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92126202583313 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:47:32.186124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/05/image_29012025_22_05_15_10350.jpg', '/home/pi/Desktop/images/29012025/22/05/image_29012025_22_05_25_9401.jpg', '/home/pi/Desktop/images/29012025/22/05/image_29012025_22_05_35_10392.jpg', '/home/pi/Desktop/images/29012025/22/05/image_29012025_22_05_45_9352.jpg', '/home/pi/Desktop/images/29012025/22/05/image_29012025_22_05_55_10352.jpg', '/home/pi/Desktop/images/29012025/22/05/image_29012025_22_06_05_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/05/image_29012025_22_05_15_10350.jpg
/home/pi/Desktop/images/29012025/22/05/image_29012025_22_05_25_9401.jpg
/home/pi/Desktop/images/29012025/22/05/image_29012025_22_05_35_10392.jpg
/home/pi/Desktop/images/29012025/22/05/image_29012025_22_05_45_9352.jpg
/home/pi/Desktop/images/29012025/22/05/image_29012025_22_05_55_10352.jpg
/home/pi/Desktop/images/29012025/22/05/image_29012025_22_06_05_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":["1333352985","1333352979","1333352982","1333352984","1333352974","1333352968"],"photo_ids_order":["1333352968","1333352974","1333352979","1333352982","1333352984","1333352985"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1e5ba5211600e892e38c8ea988052ed0.jpg","text":"TemporaryFile(/tmp/multipartBody2045603065328031586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334914619,"filename":"image_29012025_22_06_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/1/31/6914d43e88f2a3f4b0ae55391274d3d1.jpg","text":"TemporaryFile(/tmp/multipartBody590474569496714183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334914619,"filename":"image_29012025_22_05_35_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/47947fa74970c88856c88c5ff893ea5c.jpg","text":"TemporaryFile(/tmp/multipartBody2562115050542352918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334914619,"filename":"image_29012025_22_05_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/1/31/377a6567f86c07b8379164018321f6d3.jpg","text":"TemporaryFile(/tmp/multipartBody305603111311144712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334914619,"filename":"image_29012025_22_05_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/1/31/6ea7d91593291aa0475948de16f89bdc.jpg","text":"TemporaryFile(/tmp/multipartBody4743369806629682559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334914619,"filename":"image_29012025_22_05_25_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/975ae6b728beb3e4af28628506698b4d.jpg","text":"TemporaryFile(/tmp/multipartBody2104580018897631267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334914619,"filename":"image_29012025_22_05_15_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333352979","file1":"1333352974","file0":"1333352968","file4":"1333352984","file5":"1333352985","file3":"1333352982"},"map_files_photo_id_array":[{"photo_id":"1333352985","filename":"file5"},{"photo_id":"1333352979","filename":"file2"},{"photo_id":"1333352984","filename":"file4"},{"photo_id":"1333352974","filename":"file1"},{"photo_id":"1333352968","filename":"file0"},{"photo_id":"1333352982","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333352985":["hashtag1","hashtag2"]},{"1333352979":["hashtag1","hashtag2"]},{"1333352982":["hashtag1","hashtag2"]},{"1333352984":["hashtag1","hashtag2"]},{"1333352974":["hashtag1","hashtag2"]},{"1333352968":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333352985, 1333352979, 1333352982, 1333352984, 1333352974, 1333352968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.20644402503967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:48:32.478727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/06/image_29012025_22_06_15_9347.jpg', '/home/pi/Desktop/images/29012025/22/06/image_29012025_22_06_25_10426.jpg', '/home/pi/Desktop/images/29012025/22/06/image_29012025_22_06_35_10371.jpg', '/home/pi/Desktop/images/29012025/22/06/image_29012025_22_06_45_9329.jpg', '/home/pi/Desktop/images/29012025/22/06/image_29012025_22_06_55_10461.jpg', '/home/pi/Desktop/images/29012025/22/06/image_29012025_22_07_05_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/06/image_29012025_22_06_15_9347.jpg
/home/pi/Desktop/images/29012025/22/06/image_29012025_22_06_25_10426.jpg
/home/pi/Desktop/images/29012025/22/06/image_29012025_22_06_35_10371.jpg
/home/pi/Desktop/images/29012025/22/06/image_29012025_22_06_45_9329.jpg
/home/pi/Desktop/images/29012025/22/06/image_29012025_22_06_55_10461.jpg
/home/pi/Desktop/images/29012025/22/06/image_29012025_22_07_05_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":["1333353114","1333353015","1333353012","1333353094","1333353088","1333353010"],"photo_ids_order":["1333353010","1333353012","1333353015","1333353088","1333353094","1333353114"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/029786947572490db63e91e08d8508b1.jpg","text":"TemporaryFile(/tmp/multipartBody6110867987896273657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334974877,"filename":"image_29012025_22_07_05_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b17f861c7edce99cec428a2ccc2fb22f.jpg","text":"TemporaryFile(/tmp/multipartBody217150684078577767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334974877,"filename":"image_29012025_22_06_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/1/31/2ef72549cdd5024bce986d20200588f9.jpg","text":"TemporaryFile(/tmp/multipartBody3253717163341846430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334974877,"filename":"image_29012025_22_06_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/1/31/3450b67f4e792f944a1efc99cc61ad61.jpg","text":"TemporaryFile(/tmp/multipartBody3361400537498442362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334974877,"filename":"image_29012025_22_06_55_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4064eb1f90836bbee74b6030d96c360b.jpg","text":"TemporaryFile(/tmp/multipartBody353552601042798629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334974877,"filename":"image_29012025_22_06_45_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/084654a91bf8b30a3ddc235c817d4237.jpg","text":"TemporaryFile(/tmp/multipartBody794225659260871167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738334974877,"filename":"image_29012025_22_06_15_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333353015","file1":"1333353012","file0":"1333353010","file4":"1333353094","file5":"1333353114","file3":"1333353088"},"map_files_photo_id_array":[{"photo_id":"1333353114","filename":"file5"},{"photo_id":"1333353015","filename":"file2"},{"photo_id":"1333353094","filename":"file4"},{"photo_id":"1333353012","filename":"file1"},{"photo_id":"1333353010","filename":"file0"},{"photo_id":"1333353088","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333353114":["hashtag1","hashtag2"]},{"1333353015":["hashtag1","hashtag2"]},{"1333353012":["hashtag1","hashtag2"]},{"1333353094":["hashtag1","hashtag2"]},{"1333353088":["hashtag1","hashtag2"]},{"1333353010":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333353114, 1333353015, 1333353012, 1333353094, 1333353088, 1333353010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.98524522781372 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:49:32.678494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/07/image_29012025_22_07_15_10341.jpg', '/home/pi/Desktop/images/29012025/22/07/image_29012025_22_07_25_10441.jpg', '/home/pi/Desktop/images/29012025/22/07/image_29012025_22_07_35_9504.jpg', '/home/pi/Desktop/images/29012025/22/07/image_29012025_22_07_45_10433.jpg', '/home/pi/Desktop/images/29012025/22/07/image_29012025_22_07_55_9352.jpg', '/home/pi/Desktop/images/29012025/22/07/image_29012025_22_08_05_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/07/image_29012025_22_07_15_10341.jpg
/home/pi/Desktop/images/29012025/22/07/image_29012025_22_07_25_10441.jpg
/home/pi/Desktop/images/29012025/22/07/image_29012025_22_07_35_9504.jpg
/home/pi/Desktop/images/29012025/22/07/image_29012025_22_07_45_10433.jpg
/home/pi/Desktop/images/29012025/22/07/image_29012025_22_07_55_9352.jpg
/home/pi/Desktop/images/29012025/22/07/image_29012025_22_08_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":["1333353411","1333353365","1333353401","1333353427","1333353415","1333353523"],"photo_ids_order":["1333353365","1333353401","1333353411","1333353415","1333353427","1333353523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/553fc2d12c7a78661516c28a84c04c55.jpg","text":"TemporaryFile(/tmp/multipartBody6701783741221865703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335035167,"filename":"image_29012025_22_07_35_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dca8f006789c82f9cf13044776695580.jpg","text":"TemporaryFile(/tmp/multipartBody6426058264577809847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335035167,"filename":"image_29012025_22_07_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/1/31/5868f5025bae633eddeb53e4bdb7202f.jpg","text":"TemporaryFile(/tmp/multipartBody8781775473627238244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335035167,"filename":"image_29012025_22_07_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/1/31/b6874a3f1d0decaf1a4765c3db6a06cb.jpg","text":"TemporaryFile(/tmp/multipartBody6204032490952324694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335035167,"filename":"image_29012025_22_07_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/1/31/d99b019134e5a1b5adf05abb4a38a711.jpg","text":"TemporaryFile(/tmp/multipartBody1024461110862958459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335035167,"filename":"image_29012025_22_07_45_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8079ecabd5c4740590d4c71665fa511a.jpg","text":"TemporaryFile(/tmp/multipartBody8249085584377293195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335035167,"filename":"image_29012025_22_08_05_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333353411","file1":"1333353401","file0":"1333353365","file4":"1333353427","file5":"1333353523","file3":"1333353415"},"map_files_photo_id_array":[{"photo_id":"1333353523","filename":"file5"},{"photo_id":"1333353411","filename":"file2"},{"photo_id":"1333353427","filename":"file4"},{"photo_id":"1333353401","filename":"file1"},{"photo_id":"1333353365","filename":"file0"},{"photo_id":"1333353415","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333353411":["hashtag1","hashtag2"]},{"1333353365":["hashtag1","hashtag2"]},{"1333353401":["hashtag1","hashtag2"]},{"1333353427":["hashtag1","hashtag2"]},{"1333353415":["hashtag1","hashtag2"]},{"1333353523":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333353411, 1333353365, 1333353401, 1333353427, 1333353415, 1333353523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.59874081611633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:50:33.037453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/08/image_29012025_22_08_15_10353.jpg', '/home/pi/Desktop/images/29012025/22/08/image_29012025_22_08_25_9338.jpg', '/home/pi/Desktop/images/29012025/22/08/image_29012025_22_08_35_10360.jpg', '/home/pi/Desktop/images/29012025/22/08/image_29012025_22_08_45_9437.jpg', '/home/pi/Desktop/images/29012025/22/08/image_29012025_22_08_55_10351.jpg', '/home/pi/Desktop/images/29012025/22/08/image_29012025_22_09_05_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/08/image_29012025_22_08_15_10353.jpg
/home/pi/Desktop/images/29012025/22/08/image_29012025_22_08_25_9338.jpg
/home/pi/Desktop/images/29012025/22/08/image_29012025_22_08_35_10360.jpg
/home/pi/Desktop/images/29012025/22/08/image_29012025_22_08_45_9437.jpg
/home/pi/Desktop/images/29012025/22/08/image_29012025_22_08_55_10351.jpg
/home/pi/Desktop/images/29012025/22/08/image_29012025_22_09_05_10426.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.019169569015503 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 15:50:42.957521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/08/image_29012025_22_08_15_10353.jpg', '/home/pi/Desktop/images/29012025/22/08/image_29012025_22_08_25_9338.jpg', '/home/pi/Desktop/images/29012025/22/08/image_29012025_22_08_35_10360.jpg', '/home/pi/Desktop/images/29012025/22/08/image_29012025_22_08_45_9437.jpg', '/home/pi/Desktop/images/29012025/22/08/image_29012025_22_08_55_10351.jpg', '/home/pi/Desktop/images/29012025/22/08/image_29012025_22_09_05_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/08/image_29012025_22_08_15_10353.jpg
/home/pi/Desktop/images/29012025/22/08/image_29012025_22_08_25_9338.jpg
/home/pi/Desktop/images/29012025/22/08/image_29012025_22_08_35_10360.jpg
/home/pi/Desktop/images/29012025/22/08/image_29012025_22_08_45_9437.jpg
/home/pi/Desktop/images/29012025/22/08/image_29012025_22_08_55_10351.jpg
/home/pi/Desktop/images/29012025/22/08/image_29012025_22_09_05_10426.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":["1333354586","1333354502","1333354492","1333354576","1333354555","1333354581"],"photo_ids_order":["1333354492","1333354502","1333354555","1333354576","1333354581","1333354586"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9a2b852152db0dcc7b98740b8a7c86ad.jpg","text":"TemporaryFile(/tmp/multipartBody2523876587152205629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335104503,"filename":"image_29012025_22_09_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/1/31/bcd72496a8a4aea5c83ada6ce0d6d398.jpg","text":"TemporaryFile(/tmp/multipartBody3995204231026509426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335104503,"filename":"image_29012025_22_08_25_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/69e9f7ad90b6194678bdb94b0e80eae4.jpg","text":"TemporaryFile(/tmp/multipartBody4814517886443379262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335104503,"filename":"image_29012025_22_08_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/1/31/72646a6cc81acd7916f4ad597ee11dad.jpg","text":"TemporaryFile(/tmp/multipartBody4267848064289685749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335104503,"filename":"image_29012025_22_08_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/1/31/843cbf8ee4e6118bc34c999770f965d5.jpg","text":"TemporaryFile(/tmp/multipartBody983638468193502400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335104503,"filename":"image_29012025_22_08_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/1/31/6660f0a1a012d71bb304de529f54b3a6.jpg","text":"TemporaryFile(/tmp/multipartBody7229752261977722032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335104503,"filename":"image_29012025_22_08_55_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333354555","file1":"1333354502","file0":"1333354492","file4":"1333354581","file5":"1333354586","file3":"1333354576"},"map_files_photo_id_array":[{"photo_id":"1333354586","filename":"file5"},{"photo_id":"1333354555","filename":"file2"},{"photo_id":"1333354581","filename":"file4"},{"photo_id":"1333354502","filename":"file1"},{"photo_id":"1333354492","filename":"file0"},{"photo_id":"1333354576","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333354586":["hashtag1","hashtag2"]},{"1333354502":["hashtag1","hashtag2"]},{"1333354492":["hashtag1","hashtag2"]},{"1333354576":["hashtag1","hashtag2"]},{"1333354555":["hashtag1","hashtag2"]},{"1333354581":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333354586, 1333354502, 1333354492, 1333354576, 1333354555, 1333354581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.997002601623535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:51:32.228777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/09/image_29012025_22_09_15_9345.jpg', '/home/pi/Desktop/images/29012025/22/09/image_29012025_22_09_25_10400.jpg', '/home/pi/Desktop/images/29012025/22/09/image_29012025_22_09_35_10357.jpg', '/home/pi/Desktop/images/29012025/22/09/image_29012025_22_09_45_9348.jpg', '/home/pi/Desktop/images/29012025/22/09/image_29012025_22_09_55_10444.jpg', '/home/pi/Desktop/images/29012025/22/09/image_29012025_22_10_05_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/09/image_29012025_22_09_15_9345.jpg
/home/pi/Desktop/images/29012025/22/09/image_29012025_22_09_25_10400.jpg
/home/pi/Desktop/images/29012025/22/09/image_29012025_22_09_35_10357.jpg
/home/pi/Desktop/images/29012025/22/09/image_29012025_22_09_45_9348.jpg
/home/pi/Desktop/images/29012025/22/09/image_29012025_22_09_55_10444.jpg
/home/pi/Desktop/images/29012025/22/09/image_29012025_22_10_05_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":["1333356229","1333355764","1333356109","1333356461","1333355963","1333355604"],"photo_ids_order":["1333355604","1333355764","1333355963","1333356109","1333356229","1333356461"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5f3801df9c6dd51e6592aaf45e60a21a.jpg","text":"TemporaryFile(/tmp/multipartBody1296695021593968289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335154648,"filename":"image_29012025_22_09_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/1/31/bd582b195d731c69a5dde89d4efa5022.jpg","text":"TemporaryFile(/tmp/multipartBody4878594043354845531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335154648,"filename":"image_29012025_22_09_25_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/33a2d738f5786ec67771fba267538b3d.jpg","text":"TemporaryFile(/tmp/multipartBody2932188366736552711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335154648,"filename":"image_29012025_22_09_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/1/31/c7297643dc370c30ed445bc564f5d694.jpg","text":"TemporaryFile(/tmp/multipartBody1538572540663000392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335154648,"filename":"image_29012025_22_10_05_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/06ab720d0edcb51bfc6a45e596c936ad.jpg","text":"TemporaryFile(/tmp/multipartBody6448977594916098992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335154648,"filename":"image_29012025_22_09_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/1/31/a8f0231577ac2e524a2acb2ece84fb61.jpg","text":"TemporaryFile(/tmp/multipartBody421576292423949571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335154648,"filename":"image_29012025_22_09_15_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333355963","file1":"1333355764","file0":"1333355604","file4":"1333356229","file5":"1333356461","file3":"1333356109"},"map_files_photo_id_array":[{"photo_id":"1333356461","filename":"file5"},{"photo_id":"1333355963","filename":"file2"},{"photo_id":"1333356229","filename":"file4"},{"photo_id":"1333355764","filename":"file1"},{"photo_id":"1333355604","filename":"file0"},{"photo_id":"1333356109","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333356229":["hashtag1","hashtag2"]},{"1333355764":["hashtag1","hashtag2"]},{"1333356109":["hashtag1","hashtag2"]},{"1333356461":["hashtag1","hashtag2"]},{"1333355963":["hashtag1","hashtag2"]},{"1333355604":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333356229, 1333355764, 1333356109, 1333356461, 1333355963, 1333355604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.303380727767944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:52:32.386617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/10/image_29012025_22_10_15_10448.jpg', '/home/pi/Desktop/images/29012025/22/10/image_29012025_22_10_25_10371.jpg', '/home/pi/Desktop/images/29012025/22/10/image_29012025_22_10_35_9340.jpg', '/home/pi/Desktop/images/29012025/22/10/image_29012025_22_10_45_10360.jpg', '/home/pi/Desktop/images/29012025/22/10/image_29012025_22_11_05_9354.jpg', '/home/pi/Desktop/images/29012025/22/11/image_29012025_22_11_15_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/10/image_29012025_22_10_15_10448.jpg
/home/pi/Desktop/images/29012025/22/10/image_29012025_22_10_25_10371.jpg
/home/pi/Desktop/images/29012025/22/10/image_29012025_22_10_35_9340.jpg
/home/pi/Desktop/images/29012025/22/10/image_29012025_22_10_45_10360.jpg
/home/pi/Desktop/images/29012025/22/10/image_29012025_22_11_05_9354.jpg
/home/pi/Desktop/images/29012025/22/11/image_29012025_22_11_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":["1333356580","1333356591","1333356567","1333356590","1333356575","1333356586"],"photo_ids_order":["1333356567","1333356575","1333356580","1333356586","1333356590","1333356591"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2f4d19c2f59ac5de02df20ec6585fc17.jpg","text":"TemporaryFile(/tmp/multipartBody1661701331844783053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335214805,"filename":"image_29012025_22_10_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/1/31/8863cc176431e4bfc34afadc0f4afbbc.jpg","text":"TemporaryFile(/tmp/multipartBody9111497872949326202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335214805,"filename":"image_29012025_22_11_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/1/31/ef7e4f5e892dd559848b12e73f5ae043.jpg","text":"TemporaryFile(/tmp/multipartBody6706463075834442398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335214805,"filename":"image_29012025_22_10_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/1/31/6b2b53a71c73babc2d291bb17962e3ed.jpg","text":"TemporaryFile(/tmp/multipartBody4392900969563088809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335214805,"filename":"image_29012025_22_11_05_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e356ad623135246818f7f6107d62a59b.jpg","text":"TemporaryFile(/tmp/multipartBody2316002706270350628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335214805,"filename":"image_29012025_22_10_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/1/31/fc23d64b9433266ffd9dfe1c16ca2a65.jpg","text":"TemporaryFile(/tmp/multipartBody461841206372341369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335214805,"filename":"image_29012025_22_10_45_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333356580","file1":"1333356575","file0":"1333356567","file4":"1333356590","file5":"1333356591","file3":"1333356586"},"map_files_photo_id_array":[{"photo_id":"1333356591","filename":"file5"},{"photo_id":"1333356580","filename":"file2"},{"photo_id":"1333356590","filename":"file4"},{"photo_id":"1333356575","filename":"file1"},{"photo_id":"1333356567","filename":"file0"},{"photo_id":"1333356586","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333356580":["hashtag1","hashtag2"]},{"1333356591":["hashtag1","hashtag2"]},{"1333356567":["hashtag1","hashtag2"]},{"1333356590":["hashtag1","hashtag2"]},{"1333356575":["hashtag1","hashtag2"]},{"1333356586":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333356580, 1333356591, 1333356567, 1333356590, 1333356575, 1333356586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.182602643966675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:53:32.636027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/11/image_29012025_22_11_24_9351.jpg', '/home/pi/Desktop/images/29012025/22/11/image_29012025_22_11_35_10380.jpg', '/home/pi/Desktop/images/29012025/22/11/image_29012025_22_11_45_10403.jpg', '/home/pi/Desktop/images/29012025/22/11/image_29012025_22_11_55_9335.jpg', '/home/pi/Desktop/images/29012025/22/11/image_29012025_22_12_05_10404.jpg', '/home/pi/Desktop/images/29012025/22/12/image_29012025_22_12_15_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/11/image_29012025_22_11_24_9351.jpg
/home/pi/Desktop/images/29012025/22/11/image_29012025_22_11_35_10380.jpg
/home/pi/Desktop/images/29012025/22/11/image_29012025_22_11_45_10403.jpg
/home/pi/Desktop/images/29012025/22/11/image_29012025_22_11_55_9335.jpg
/home/pi/Desktop/images/29012025/22/11/image_29012025_22_12_05_10404.jpg
/home/pi/Desktop/images/29012025/22/12/image_29012025_22_12_15_10327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333357050","1333357002","1333357005","1333357061","1333357205","1333357096"],"photo_ids_order":["1333357002","1333357005","1333357050","1333357061","1333357096","1333357205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cdd83c1ec9cc47320f6c5d3967e8a111.jpg","text":"TemporaryFile(/tmp/multipartBody515525573008961547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335275065,"filename":"image_29012025_22_11_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/1/31/0c11e26c4f88ff01553bdb67f8f60c21.jpg","text":"TemporaryFile(/tmp/multipartBody8991546206369629934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335275065,"filename":"image_29012025_22_11_24_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3fc8774142e99ed6148d365ab34a9465.jpg","text":"TemporaryFile(/tmp/multipartBody3344282665547000351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335275065,"filename":"image_29012025_22_11_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/1/31/1985c0e9a73d4810fe065fcb50c37767.jpg","text":"TemporaryFile(/tmp/multipartBody633854658554128811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335275065,"filename":"image_29012025_22_11_55_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ef58c5755cb23883f10f2b272383cbb2.jpg","text":"TemporaryFile(/tmp/multipartBody3226480465731348189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335275065,"filename":"image_29012025_22_12_15_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0c097951e83aeb826534ddb03be0b45e.jpg","text":"TemporaryFile(/tmp/multipartBody3748778523291815074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335275065,"filename":"image_29012025_22_12_05_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333357050","file1":"1333357005","file0":"1333357002","file4":"1333357096","file5":"1333357205","file3":"1333357061"},"map_files_photo_id_array":[{"photo_id":"1333357205","filename":"file5"},{"photo_id":"1333357050","filename":"file2"},{"photo_id":"1333357096","filename":"file4"},{"photo_id":"1333357005","filename":"file1"},{"photo_id":"1333357002","filename":"file0"},{"photo_id":"1333357061","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333357050":["hashtag1","hashtag2"]},{"1333357002":["hashtag1","hashtag2"]},{"1333357005":["hashtag1","hashtag2"]},{"1333357061":["hashtag1","hashtag2"]},{"1333357205":["hashtag1","hashtag2"]},{"1333357096":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333357050, 1333357002, 1333357005, 1333357061, 1333357205, 1333357096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.632776737213135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:54:32.773430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/12/image_29012025_22_12_25_9363.jpg', '/home/pi/Desktop/images/29012025/22/12/image_29012025_22_12_35_10411.jpg', '/home/pi/Desktop/images/29012025/22/12/image_29012025_22_12_44_9350.jpg', '/home/pi/Desktop/images/29012025/22/12/image_29012025_22_12_55_10346.jpg', '/home/pi/Desktop/images/29012025/22/12/image_29012025_22_13_05_10445.jpg', '/home/pi/Desktop/images/29012025/22/13/image_29012025_22_13_15_9321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/12/image_29012025_22_12_25_9363.jpg
/home/pi/Desktop/images/29012025/22/12/image_29012025_22_12_35_10411.jpg
/home/pi/Desktop/images/29012025/22/12/image_29012025_22_12_44_9350.jpg
/home/pi/Desktop/images/29012025/22/12/image_29012025_22_12_55_10346.jpg
/home/pi/Desktop/images/29012025/22/12/image_29012025_22_13_05_10445.jpg
/home/pi/Desktop/images/29012025/22/13/image_29012025_22_13_15_9321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333357417","1333357408","1333357602","1333357484","1333357412","1333357696"],"photo_ids_order":["1333357408","1333357412","1333357417","1333357484","1333357602","1333357696"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/55319a267af0b76ceccc98dc74f4b43b.jpg","text":"TemporaryFile(/tmp/multipartBody4366757904674208028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335335191,"filename":"image_29012025_22_12_44_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4f5d16420a23dd497c8ec283300a09cd.jpg","text":"TemporaryFile(/tmp/multipartBody4656282994383786859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335335191,"filename":"image_29012025_22_12_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ce5401297c0752eeaf093eee9b4e251e.jpg","text":"TemporaryFile(/tmp/multipartBody3081075019796776248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335335191,"filename":"image_29012025_22_13_05_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/28de789ff2c18391f09c9706481fb1ef.jpg","text":"TemporaryFile(/tmp/multipartBody1935605479587692988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335335191,"filename":"image_29012025_22_12_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/1/31/f46fc1a6799d255c87dd239fa2d11e19.jpg","text":"TemporaryFile(/tmp/multipartBody2907349817206023402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335335191,"filename":"image_29012025_22_12_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/1/31/d49cbc22d9c2b460700d7dbc5a078fe9.jpg","text":"TemporaryFile(/tmp/multipartBody2784416754050336399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335335191,"filename":"image_29012025_22_13_15_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333357417","file1":"1333357412","file0":"1333357408","file4":"1333357602","file5":"1333357696","file3":"1333357484"},"map_files_photo_id_array":[{"photo_id":"1333357696","filename":"file5"},{"photo_id":"1333357417","filename":"file2"},{"photo_id":"1333357602","filename":"file4"},{"photo_id":"1333357412","filename":"file1"},{"photo_id":"1333357408","filename":"file0"},{"photo_id":"1333357484","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333357417":["hashtag1","hashtag2"]},{"1333357408":["hashtag1","hashtag2"]},{"1333357602":["hashtag1","hashtag2"]},{"1333357484":["hashtag1","hashtag2"]},{"1333357412":["hashtag1","hashtag2"]},{"1333357696":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333357417, 1333357408, 1333357602, 1333357484, 1333357412, 1333357696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.51060223579407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:55:33.087622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/13/image_29012025_22_13_25_10331.jpg', '/home/pi/Desktop/images/29012025/22/13/image_29012025_22_13_35_10392.jpg', '/home/pi/Desktop/images/29012025/22/13/image_29012025_22_13_45_9357.jpg', '/home/pi/Desktop/images/29012025/22/13/image_29012025_22_13_55_10506.jpg', '/home/pi/Desktop/images/29012025/22/13/image_29012025_22_14_04_9342.jpg', '/home/pi/Desktop/images/29012025/22/14/image_29012025_22_14_15_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/13/image_29012025_22_13_25_10331.jpg
/home/pi/Desktop/images/29012025/22/13/image_29012025_22_13_35_10392.jpg
/home/pi/Desktop/images/29012025/22/13/image_29012025_22_13_45_9357.jpg
/home/pi/Desktop/images/29012025/22/13/image_29012025_22_13_55_10506.jpg
/home/pi/Desktop/images/29012025/22/13/image_29012025_22_14_04_9342.jpg
/home/pi/Desktop/images/29012025/22/14/image_29012025_22_14_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":["1333357773","1333357740","1333357772","1333357763","1333357736","1333357768"],"photo_ids_order":["1333357736","1333357740","1333357763","1333357768","1333357772","1333357773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/236dc6418bd267d888be8fe12cf11a5d.jpg","text":"TemporaryFile(/tmp/multipartBody6327389298980786522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335395500,"filename":"image_29012025_22_14_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/1/31/11a37607599754284d53c9a2ad867b8f.jpg","text":"TemporaryFile(/tmp/multipartBody7702093281406084906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335395500,"filename":"image_29012025_22_13_35_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2b4230d96c737e539aff79449faddcfe.jpg","text":"TemporaryFile(/tmp/multipartBody3778240845480094459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335395500,"filename":"image_29012025_22_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/1/31/a8a9b5f28a808c863ebbb58f47ad5e4a.jpg","text":"TemporaryFile(/tmp/multipartBody2319376671545427066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335395500,"filename":"image_29012025_22_13_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/1/31/2321871eb9632f75a1e68603a89ecc17.jpg","text":"TemporaryFile(/tmp/multipartBody4065266546581121340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335395500,"filename":"image_29012025_22_13_25_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fddaaabf2088e666d2ebc3f52ada4606.jpg","text":"TemporaryFile(/tmp/multipartBody1267069487006555117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335395500,"filename":"image_29012025_22_13_55_10506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333357763","file1":"1333357740","file0":"1333357736","file4":"1333357772","file5":"1333357773","file3":"1333357768"},"map_files_photo_id_array":[{"photo_id":"1333357773","filename":"file5"},{"photo_id":"1333357763","filename":"file2"},{"photo_id":"1333357772","filename":"file4"},{"photo_id":"1333357740","filename":"file1"},{"photo_id":"1333357736","filename":"file0"},{"photo_id":"1333357768","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333357773":["hashtag1","hashtag2"]},{"1333357740":["hashtag1","hashtag2"]},{"1333357772":["hashtag1","hashtag2"]},{"1333357763":["hashtag1","hashtag2"]},{"1333357736":["hashtag1","hashtag2"]},{"1333357768":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333357773, 1333357740, 1333357772, 1333357763, 1333357736, 1333357768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.061864137649536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:56:32.153256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/14/image_29012025_22_14_35_9346.jpg', '/home/pi/Desktop/images/29012025/22/14/image_29012025_22_14_55_10352.jpg', '/home/pi/Desktop/images/29012025/22/14/image_29012025_22_15_05_9329.jpg', '/home/pi/Desktop/images/29012025/22/15/image_29012025_22_15_15_10344.jpg', '/home/pi/Desktop/images/29012025/22/15/image_29012025_22_15_25_10355.jpg', '/home/pi/Desktop/images/29012025/22/15/image_29012025_22_15_35_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/14/image_29012025_22_14_35_9346.jpg
/home/pi/Desktop/images/29012025/22/14/image_29012025_22_14_55_10352.jpg
/home/pi/Desktop/images/29012025/22/14/image_29012025_22_15_05_9329.jpg
/home/pi/Desktop/images/29012025/22/15/image_29012025_22_15_15_10344.jpg
/home/pi/Desktop/images/29012025/22/15/image_29012025_22_15_25_10355.jpg
/home/pi/Desktop/images/29012025/22/15/image_29012025_22_15_35_9332.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.0273935794830322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 15:56:42.172108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/14/image_29012025_22_14_35_9346.jpg', '/home/pi/Desktop/images/29012025/22/14/image_29012025_22_14_55_10352.jpg', '/home/pi/Desktop/images/29012025/22/14/image_29012025_22_15_05_9329.jpg', '/home/pi/Desktop/images/29012025/22/15/image_29012025_22_15_15_10344.jpg', '/home/pi/Desktop/images/29012025/22/15/image_29012025_22_15_25_10355.jpg', '/home/pi/Desktop/images/29012025/22/15/image_29012025_22_15_35_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/14/image_29012025_22_14_35_9346.jpg
/home/pi/Desktop/images/29012025/22/14/image_29012025_22_14_55_10352.jpg
/home/pi/Desktop/images/29012025/22/14/image_29012025_22_15_05_9329.jpg
/home/pi/Desktop/images/29012025/22/15/image_29012025_22_15_15_10344.jpg
/home/pi/Desktop/images/29012025/22/15/image_29012025_22_15_25_10355.jpg
/home/pi/Desktop/images/29012025/22/15/image_29012025_22_15_35_9332.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":["1333357839","1333357926","1333357952","1333357955","1333357835","1333357922"],"photo_ids_order":["1333357835","1333357839","1333357922","1333357926","1333357952","1333357955"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7dddef401c217bf4a6f7a3e7ee63382f.jpg","text":"TemporaryFile(/tmp/multipartBody6552066472046380242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335463682,"filename":"image_29012025_22_14_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/1/31/7542e11769ffb51bb3cb88b23bd3bace.jpg","text":"TemporaryFile(/tmp/multipartBody2575004796193449347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335463682,"filename":"image_29012025_22_15_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/1/31/ab716ec4df483c13bbbabea345c5f1fa.jpg","text":"TemporaryFile(/tmp/multipartBody8467127357443021640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335463682,"filename":"image_29012025_22_15_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/1/31/7faa6a82e973a0a646dd6f6f5f7c20a0.jpg","text":"TemporaryFile(/tmp/multipartBody4181205237437442069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335463682,"filename":"image_29012025_22_15_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/1/31/b65f3528e334b3c13ca75963cf789faf.jpg","text":"TemporaryFile(/tmp/multipartBody5235099416715007766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335463682,"filename":"image_29012025_22_14_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/1/31/b49d56516d1e70b146d672813e1d46e9.jpg","text":"TemporaryFile(/tmp/multipartBody4705892372495771854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335463682,"filename":"image_29012025_22_15_05_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333357922","file1":"1333357839","file0":"1333357835","file4":"1333357952","file5":"1333357955","file3":"1333357926"},"map_files_photo_id_array":[{"photo_id":"1333357955","filename":"file5"},{"photo_id":"1333357922","filename":"file2"},{"photo_id":"1333357952","filename":"file4"},{"photo_id":"1333357839","filename":"file1"},{"photo_id":"1333357835","filename":"file0"},{"photo_id":"1333357926","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333357839":["hashtag1","hashtag2"]},{"1333357926":["hashtag1","hashtag2"]},{"1333357952":["hashtag1","hashtag2"]},{"1333357955":["hashtag1","hashtag2"]},{"1333357835":["hashtag1","hashtag2"]},{"1333357922":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333357839, 1333357926, 1333357952, 1333357955, 1333357835, 1333357922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86692023277283 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:57:32.436430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/15/image_29012025_22_15_45_10464.jpg', '/home/pi/Desktop/images/29012025/22/15/image_29012025_22_16_05_10422.jpg', '/home/pi/Desktop/images/29012025/22/16/image_29012025_22_16_15_10350.jpg', '/home/pi/Desktop/images/29012025/22/16/image_29012025_22_16_25_9360.jpg', '/home/pi/Desktop/images/29012025/22/16/image_29012025_22_16_35_10444.jpg', '/home/pi/Desktop/images/29012025/22/16/image_29012025_22_16_44_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/15/image_29012025_22_15_45_10464.jpg
/home/pi/Desktop/images/29012025/22/15/image_29012025_22_16_05_10422.jpg
/home/pi/Desktop/images/29012025/22/16/image_29012025_22_16_15_10350.jpg
/home/pi/Desktop/images/29012025/22/16/image_29012025_22_16_25_9360.jpg
/home/pi/Desktop/images/29012025/22/16/image_29012025_22_16_35_10444.jpg
/home/pi/Desktop/images/29012025/22/16/image_29012025_22_16_44_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 www.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-01-31 15:59:03.656175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/15/image_29012025_22_15_45_10464.jpg', '/home/pi/Desktop/images/29012025/22/15/image_29012025_22_16_05_10422.jpg', '/home/pi/Desktop/images/29012025/22/16/image_29012025_22_16_15_10350.jpg', '/home/pi/Desktop/images/29012025/22/16/image_29012025_22_16_25_9360.jpg', '/home/pi/Desktop/images/29012025/22/16/image_29012025_22_16_35_10444.jpg', '/home/pi/Desktop/images/29012025/22/16/image_29012025_22_16_44_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/15/image_29012025_22_15_45_10464.jpg
/home/pi/Desktop/images/29012025/22/15/image_29012025_22_16_05_10422.jpg
/home/pi/Desktop/images/29012025/22/16/image_29012025_22_16_15_10350.jpg
/home/pi/Desktop/images/29012025/22/16/image_29012025_22_16_25_9360.jpg
/home/pi/Desktop/images/29012025/22/16/image_29012025_22_16_35_10444.jpg
/home/pi/Desktop/images/29012025/22/16/image_29012025_22_16_44_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":["1333358070","1333358049","1333358083","1333358077","1333358062","1333358056"],"photo_ids_order":["1333358049","1333358056","1333358062","1333358070","1333358077","1333358083"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/73adb30cab7db2b6c972552f0a404ed3.jpg","text":"TemporaryFile(/tmp/multipartBody5664350952130044164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335605275,"filename":"image_29012025_22_16_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/1/31/e802ecabde8fe2e49d84fdd144b7e6db.jpg","text":"TemporaryFile(/tmp/multipartBody6477244037488177315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335605275,"filename":"image_29012025_22_15_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/1/31/2e48a654422a17067ef85a94eedd0d80.jpg","text":"TemporaryFile(/tmp/multipartBody1335357599176601405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335605275,"filename":"image_29012025_22_16_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/1/31/17ec518eb32a4789bec820bd279a12f8.jpg","text":"TemporaryFile(/tmp/multipartBody8202805796889225391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335605275,"filename":"image_29012025_22_16_35_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d4a8b1d1894c52f82089e2283040ebd7.jpg","text":"TemporaryFile(/tmp/multipartBody4024140067888935737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335605275,"filename":"image_29012025_22_16_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/1/31/956d7085d39db6c1e2947dfe001281be.jpg","text":"TemporaryFile(/tmp/multipartBody8976538856071355399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335605275,"filename":"image_29012025_22_16_05_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333358062","file1":"1333358056","file0":"1333358049","file4":"1333358077","file5":"1333358083","file3":"1333358070"},"map_files_photo_id_array":[{"photo_id":"1333358083","filename":"file5"},{"photo_id":"1333358062","filename":"file2"},{"photo_id":"1333358077","filename":"file4"},{"photo_id":"1333358056","filename":"file1"},{"photo_id":"1333358049","filename":"file0"},{"photo_id":"1333358070","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333358070":["hashtag1","hashtag2"]},{"1333358049":["hashtag1","hashtag2"]},{"1333358083":["hashtag1","hashtag2"]},{"1333358077":["hashtag1","hashtag2"]},{"1333358062":["hashtag1","hashtag2"]},{"1333358056":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333358070, 1333358049, 1333358083, 1333358077, 1333358062, 1333358056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.529869079589844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 15:59:52.928886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/17/image_29012025_22_17_15_9326.jpg', '/home/pi/Desktop/images/29012025/22/17/image_29012025_22_17_25_10415.jpg', '/home/pi/Desktop/images/29012025/22/17/image_29012025_22_17_35_10389.jpg', '/home/pi/Desktop/images/29012025/22/17/image_29012025_22_17_45_9354.jpg', '/home/pi/Desktop/images/29012025/22/17/image_29012025_22_17_55_10457.jpg', '/home/pi/Desktop/images/29012025/22/17/image_29012025_22_18_05_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/17/image_29012025_22_17_15_9326.jpg
/home/pi/Desktop/images/29012025/22/17/image_29012025_22_17_25_10415.jpg
/home/pi/Desktop/images/29012025/22/17/image_29012025_22_17_35_10389.jpg
/home/pi/Desktop/images/29012025/22/17/image_29012025_22_17_45_9354.jpg
/home/pi/Desktop/images/29012025/22/17/image_29012025_22_17_55_10457.jpg
/home/pi/Desktop/images/29012025/22/17/image_29012025_22_18_05_9355.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":["1333358151","1333358154","1333358103","1333358138","1333358147","1333358107"],"photo_ids_order":["1333358103","1333358107","1333358138","1333358147","1333358151","1333358154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4b0b9d1a8f91270870e84de60b990735.jpg","text":"TemporaryFile(/tmp/multipartBody4090397452897198269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335655351,"filename":"image_29012025_22_17_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/1/31/18bd6a41c8259daa5f999480649fcd6b.jpg","text":"TemporaryFile(/tmp/multipartBody3699771481124603675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335655351,"filename":"image_29012025_22_18_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/1/31/d50345271fbf2d36a8271ba17bf65cbc.jpg","text":"TemporaryFile(/tmp/multipartBody6785765097511993986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335655351,"filename":"image_29012025_22_17_15_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b5b5de8bcc4dfaeac94ccb3b14ee831e.jpg","text":"TemporaryFile(/tmp/multipartBody6782113562693186919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335655351,"filename":"image_29012025_22_17_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/1/31/956f5577eb244d05ddf54fb69b2af135.jpg","text":"TemporaryFile(/tmp/multipartBody2605676470048460720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335655351,"filename":"image_29012025_22_17_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/1/31/2d993672ed51f144bdccb6a5ca553873.jpg","text":"TemporaryFile(/tmp/multipartBody8240932723967431876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335655351,"filename":"image_29012025_22_17_25_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333358138","file1":"1333358107","file0":"1333358103","file4":"1333358151","file5":"1333358154","file3":"1333358147"},"map_files_photo_id_array":[{"photo_id":"1333358154","filename":"file5"},{"photo_id":"1333358138","filename":"file2"},{"photo_id":"1333358151","filename":"file4"},{"photo_id":"1333358107","filename":"file1"},{"photo_id":"1333358103","filename":"file0"},{"photo_id":"1333358147","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333358151":["hashtag1","hashtag2"]},{"1333358154":["hashtag1","hashtag2"]},{"1333358103":["hashtag1","hashtag2"]},{"1333358138":["hashtag1","hashtag2"]},{"1333358147":["hashtag1","hashtag2"]},{"1333358107":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333358151, 1333358154, 1333358103, 1333358138, 1333358147, 1333358107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.341466188430786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 16:00:43.152115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/18/image_29012025_22_18_15_10490.jpg', '/home/pi/Desktop/images/29012025/22/18/image_29012025_22_18_24_9345.jpg', '/home/pi/Desktop/images/29012025/22/18/image_29012025_22_18_35_10345.jpg', '/home/pi/Desktop/images/29012025/22/18/image_29012025_22_18_45_10366.jpg', '/home/pi/Desktop/images/29012025/22/18/image_29012025_22_18_54_9328.jpg', '/home/pi/Desktop/images/29012025/22/18/image_29012025_22_19_05_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/18/image_29012025_22_18_15_10490.jpg
/home/pi/Desktop/images/29012025/22/18/image_29012025_22_18_24_9345.jpg
/home/pi/Desktop/images/29012025/22/18/image_29012025_22_18_35_10345.jpg
/home/pi/Desktop/images/29012025/22/18/image_29012025_22_18_45_10366.jpg
/home/pi/Desktop/images/29012025/22/18/image_29012025_22_18_54_9328.jpg
/home/pi/Desktop/images/29012025/22/18/image_29012025_22_19_05_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":["1333358209","1333358199","1333358216","1333358210","1333358212","1333358206"],"photo_ids_order":["1333358199","1333358206","1333358209","1333358210","1333358212","1333358216"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8f4bcb1c52b05e0eb70a8d53251dfd56.jpg","text":"TemporaryFile(/tmp/multipartBody7346684080332280295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335704780,"filename":"image_29012025_22_18_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/1/31/7a85c166cc8ca2b3416748c773d7cdcb.jpg","text":"TemporaryFile(/tmp/multipartBody293576690303352726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335704780,"filename":"image_29012025_22_18_15_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3b166303a5bdb09d6d7333832c9e3d1a.jpg","text":"TemporaryFile(/tmp/multipartBody1406662632849749730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335704780,"filename":"image_29012025_22_19_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/1/31/fc0fc8deb71e70fad967adc06f378529.jpg","text":"TemporaryFile(/tmp/multipartBody8877857403598525664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335704780,"filename":"image_29012025_22_18_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/1/31/5e526d60f251a483b7128bddd3b8fd7e.jpg","text":"TemporaryFile(/tmp/multipartBody6671265090032877605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335704780,"filename":"image_29012025_22_18_54_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c739f24a649e086fc17020934b4d2d34.jpg","text":"TemporaryFile(/tmp/multipartBody4258403832589143144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335704780,"filename":"image_29012025_22_18_24_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333358209","file1":"1333358206","file0":"1333358199","file4":"1333358212","file5":"1333358216","file3":"1333358210"},"map_files_photo_id_array":[{"photo_id":"1333358216","filename":"file5"},{"photo_id":"1333358209","filename":"file2"},{"photo_id":"1333358212","filename":"file4"},{"photo_id":"1333358206","filename":"file1"},{"photo_id":"1333358199","filename":"file0"},{"photo_id":"1333358210","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333358209":["hashtag1","hashtag2"]},{"1333358199":["hashtag1","hashtag2"]},{"1333358216":["hashtag1","hashtag2"]},{"1333358210":["hashtag1","hashtag2"]},{"1333358212":["hashtag1","hashtag2"]},{"1333358206":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333358209, 1333358199, 1333358216, 1333358210, 1333358212, 1333358206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12556838989258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:01:32.395352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/19/image_29012025_22_19_15_10319.jpg', '/home/pi/Desktop/images/29012025/22/19/image_29012025_22_19_25_9474.jpg', '/home/pi/Desktop/images/29012025/22/19/image_29012025_22_19_35_10479.jpg', '/home/pi/Desktop/images/29012025/22/19/image_29012025_22_19_44_9353.jpg', '/home/pi/Desktop/images/29012025/22/19/image_29012025_22_19_55_10342.jpg', '/home/pi/Desktop/images/29012025/22/19/image_29012025_22_20_05_10442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/19/image_29012025_22_19_15_10319.jpg
/home/pi/Desktop/images/29012025/22/19/image_29012025_22_19_25_9474.jpg
/home/pi/Desktop/images/29012025/22/19/image_29012025_22_19_35_10479.jpg
/home/pi/Desktop/images/29012025/22/19/image_29012025_22_19_44_9353.jpg
/home/pi/Desktop/images/29012025/22/19/image_29012025_22_19_55_10342.jpg
/home/pi/Desktop/images/29012025/22/19/image_29012025_22_20_05_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":["1333358262","1333358276","1333358267","1333358284","1333358272","1333358281"],"photo_ids_order":["1333358262","1333358267","1333358272","1333358276","1333358281","1333358284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/79fceb9f5f866d7013ac8d36bbb54194.jpg","text":"TemporaryFile(/tmp/multipartBody501804577386648202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335754878,"filename":"image_29012025_22_19_15_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1c0a0cb8ed1ac92069ad132f56ec1873.jpg","text":"TemporaryFile(/tmp/multipartBody5637147859221136872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335754878,"filename":"image_29012025_22_19_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/1/31/9db6a4101e41e98e20a477e6e093eb97.jpg","text":"TemporaryFile(/tmp/multipartBody203881571300860256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335754878,"filename":"image_29012025_22_19_25_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/02f5d12786c097807a9b064c2406f1f9.jpg","text":"TemporaryFile(/tmp/multipartBody6615363111705099547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335754878,"filename":"image_29012025_22_20_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/1/31/eef92de0c81921226bc87f9bb71f141a.jpg","text":"TemporaryFile(/tmp/multipartBody2888962200009569222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335754878,"filename":"image_29012025_22_19_35_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/985ced56f133b6477323a266eda9d743.jpg","text":"TemporaryFile(/tmp/multipartBody8026964915295239248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335754878,"filename":"image_29012025_22_19_55_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333358272","file1":"1333358267","file0":"1333358262","file4":"1333358281","file5":"1333358284","file3":"1333358276"},"map_files_photo_id_array":[{"photo_id":"1333358284","filename":"file5"},{"photo_id":"1333358272","filename":"file2"},{"photo_id":"1333358281","filename":"file4"},{"photo_id":"1333358267","filename":"file1"},{"photo_id":"1333358262","filename":"file0"},{"photo_id":"1333358276","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333358262":["hashtag1","hashtag2"]},{"1333358276":["hashtag1","hashtag2"]},{"1333358267":["hashtag1","hashtag2"]},{"1333358284":["hashtag1","hashtag2"]},{"1333358272":["hashtag1","hashtag2"]},{"1333358281":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333358262, 1333358276, 1333358267, 1333358284, 1333358272, 1333358281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.756208181381226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:02:32.680786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/20/image_29012025_22_20_15_9337.jpg', '/home/pi/Desktop/images/29012025/22/20/image_29012025_22_20_25_10369.jpg', '/home/pi/Desktop/images/29012025/22/20/image_29012025_22_20_35_10442.jpg', '/home/pi/Desktop/images/29012025/22/20/image_29012025_22_20_45_9362.jpg', '/home/pi/Desktop/images/29012025/22/20/image_29012025_22_20_55_10436.jpg', '/home/pi/Desktop/images/29012025/22/20/image_29012025_22_21_05_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/20/image_29012025_22_20_15_9337.jpg
/home/pi/Desktop/images/29012025/22/20/image_29012025_22_20_25_10369.jpg
/home/pi/Desktop/images/29012025/22/20/image_29012025_22_20_35_10442.jpg
/home/pi/Desktop/images/29012025/22/20/image_29012025_22_20_45_9362.jpg
/home/pi/Desktop/images/29012025/22/20/image_29012025_22_20_55_10436.jpg
/home/pi/Desktop/images/29012025/22/20/image_29012025_22_21_05_9357.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.031075954437256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 16:02:42.647358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/20/image_29012025_22_20_15_9337.jpg', '/home/pi/Desktop/images/29012025/22/20/image_29012025_22_20_25_10369.jpg', '/home/pi/Desktop/images/29012025/22/20/image_29012025_22_20_35_10442.jpg', '/home/pi/Desktop/images/29012025/22/20/image_29012025_22_20_45_9362.jpg', '/home/pi/Desktop/images/29012025/22/20/image_29012025_22_20_55_10436.jpg', '/home/pi/Desktop/images/29012025/22/20/image_29012025_22_21_05_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/20/image_29012025_22_20_15_9337.jpg
/home/pi/Desktop/images/29012025/22/20/image_29012025_22_20_25_10369.jpg
/home/pi/Desktop/images/29012025/22/20/image_29012025_22_20_35_10442.jpg
/home/pi/Desktop/images/29012025/22/20/image_29012025_22_20_45_9362.jpg
/home/pi/Desktop/images/29012025/22/20/image_29012025_22_20_55_10436.jpg
/home/pi/Desktop/images/29012025/22/20/image_29012025_22_21_05_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":["1333359575","1333359131","1333358801","1333359570","1333359573","1333359474"],"photo_ids_order":["1333358801","1333359131","1333359474","1333359570","1333359573","1333359575"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2352fb138936a3389610b9924cf6327a.jpg","text":"TemporaryFile(/tmp/multipartBody553701549172247363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335824167,"filename":"image_29012025_22_21_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/1/31/1d2d6edb76ce6b9a6dbd18b4d631ff64.jpg","text":"TemporaryFile(/tmp/multipartBody7764563180934964854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335824167,"filename":"image_29012025_22_20_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/1/31/1dde52668b41d1cde2f63f485b7209d6.jpg","text":"TemporaryFile(/tmp/multipartBody5280761675620694761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335824167,"filename":"image_29012025_22_20_15_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c74f5ca3a03d2903972dc6c4dcc3f3dc.jpg","text":"TemporaryFile(/tmp/multipartBody2707968995392522784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335824167,"filename":"image_29012025_22_20_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/1/31/afe7136004d401eec4c52ffbbaedb67f.jpg","text":"TemporaryFile(/tmp/multipartBody4813991832666255811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335824167,"filename":"image_29012025_22_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/1/31/5172c46cae081ec4f727263e00d6a1ef.jpg","text":"TemporaryFile(/tmp/multipartBody6427697490018462605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335824167,"filename":"image_29012025_22_20_35_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333359474","file1":"1333359131","file0":"1333358801","file4":"1333359573","file5":"1333359575","file3":"1333359570"},"map_files_photo_id_array":[{"photo_id":"1333359575","filename":"file5"},{"photo_id":"1333359474","filename":"file2"},{"photo_id":"1333359573","filename":"file4"},{"photo_id":"1333359131","filename":"file1"},{"photo_id":"1333358801","filename":"file0"},{"photo_id":"1333359570","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333359575":["hashtag1","hashtag2"]},{"1333359131":["hashtag1","hashtag2"]},{"1333358801":["hashtag1","hashtag2"]},{"1333359570":["hashtag1","hashtag2"]},{"1333359573":["hashtag1","hashtag2"]},{"1333359474":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333359575, 1333359131, 1333358801, 1333359570, 1333359573, 1333359474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.38986158370972 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:03:33.002918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/21/image_29012025_22_21_15_10357.jpg', '/home/pi/Desktop/images/29012025/22/21/image_29012025_22_21_25_10448.jpg', '/home/pi/Desktop/images/29012025/22/21/image_29012025_22_21_45_10451.jpg', '/home/pi/Desktop/images/29012025/22/21/image_29012025_22_21_54_9345.jpg', '/home/pi/Desktop/images/29012025/22/21/image_29012025_22_22_05_10351.jpg', '/home/pi/Desktop/images/29012025/22/22/image_29012025_22_22_15_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/21/image_29012025_22_21_15_10357.jpg
/home/pi/Desktop/images/29012025/22/21/image_29012025_22_21_25_10448.jpg
/home/pi/Desktop/images/29012025/22/21/image_29012025_22_21_45_10451.jpg
/home/pi/Desktop/images/29012025/22/21/image_29012025_22_21_54_9345.jpg
/home/pi/Desktop/images/29012025/22/21/image_29012025_22_22_05_10351.jpg
/home/pi/Desktop/images/29012025/22/22/image_29012025_22_22_15_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333359593","1333359602","1333359589","1333359610","1333359607","1333359597"],"photo_ids_order":["1333359589","1333359593","1333359597","1333359602","1333359607","1333359610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/394a65b2d7bfe80298a0a9572d1e2134.jpg","text":"TemporaryFile(/tmp/multipartBody3338160037877993744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335875430,"filename":"image_29012025_22_21_25_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/56ecf599bea2281b997120be17585b2b.jpg","text":"TemporaryFile(/tmp/multipartBody3020222835364957926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335875430,"filename":"image_29012025_22_21_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/1/31/0a3e74dcdb5ce9e1d16bc48aa4d34e39.jpg","text":"TemporaryFile(/tmp/multipartBody7913839820948907740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335875430,"filename":"image_29012025_22_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/1/31/eac4cbae551985f636b4f3479d2f33a1.jpg","text":"TemporaryFile(/tmp/multipartBody4760843191625347695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335875430,"filename":"image_29012025_22_22_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/1/31/a167e5e50589ab9509582ff43e9de0d3.jpg","text":"TemporaryFile(/tmp/multipartBody197577254591625974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335875430,"filename":"image_29012025_22_22_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/1/31/3b6f7d508474919b14d224fac079a774.jpg","text":"TemporaryFile(/tmp/multipartBody8230725883706999617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335875430,"filename":"image_29012025_22_21_45_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333359597","file1":"1333359593","file0":"1333359589","file4":"1333359607","file5":"1333359610","file3":"1333359602"},"map_files_photo_id_array":[{"photo_id":"1333359610","filename":"file5"},{"photo_id":"1333359597","filename":"file2"},{"photo_id":"1333359607","filename":"file4"},{"photo_id":"1333359593","filename":"file1"},{"photo_id":"1333359589","filename":"file0"},{"photo_id":"1333359602","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333359593":["hashtag1","hashtag2"]},{"1333359602":["hashtag1","hashtag2"]},{"1333359589":["hashtag1","hashtag2"]},{"1333359610":["hashtag1","hashtag2"]},{"1333359607":["hashtag1","hashtag2"]},{"1333359597":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333359593, 1333359602, 1333359589, 1333359610, 1333359607, 1333359597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.1025915145874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:04:32.281305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/22/image_29012025_22_22_25_9362.jpg', '/home/pi/Desktop/images/29012025/22/22/image_29012025_22_22_35_10421.jpg', '/home/pi/Desktop/images/29012025/22/22/image_29012025_22_22_45_10351.jpg', '/home/pi/Desktop/images/29012025/22/23/image_29012025_22_23_45_9360.jpg', '/home/pi/Desktop/images/29012025/22/23/image_29012025_22_23_55_10342.jpg', '/home/pi/Desktop/images/29012025/22/24/image_29012025_22_24_45_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/22/image_29012025_22_22_25_9362.jpg
/home/pi/Desktop/images/29012025/22/22/image_29012025_22_22_35_10421.jpg
/home/pi/Desktop/images/29012025/22/22/image_29012025_22_22_45_10351.jpg
/home/pi/Desktop/images/29012025/22/23/image_29012025_22_23_45_9360.jpg
/home/pi/Desktop/images/29012025/22/23/image_29012025_22_23_55_10342.jpg
/home/pi/Desktop/images/29012025/22/24/image_29012025_22_24_45_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":["1333360014","1333360085","1333360079","1333360004","1333360090","1333360021"],"photo_ids_order":["1333360004","1333360014","1333360021","1333360079","1333360085","1333360090"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ac0f0b0125745f9ebdb6dd410e458f14.jpg","text":"TemporaryFile(/tmp/multipartBody5710194403821923806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335934721,"filename":"image_29012025_22_22_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/1/31/07de735a8475890bd0bdfadd48c31713.jpg","text":"TemporaryFile(/tmp/multipartBody1065414392855612964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335934721,"filename":"image_29012025_22_23_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/47ceedac2b704556053bc003b1d3993b.jpg","text":"TemporaryFile(/tmp/multipartBody3499347292894960078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335934721,"filename":"image_29012025_22_23_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/1/31/affa789dd1a7f37b313e0b9c7b1a3034.jpg","text":"TemporaryFile(/tmp/multipartBody8529127085745793991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335934721,"filename":"image_29012025_22_22_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/1/31/d99569c876fd40069ee000cca69faa22.jpg","text":"TemporaryFile(/tmp/multipartBody7520680581506717786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335934721,"filename":"image_29012025_22_24_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/1/31/5c27733707c3de1bbb0333883948549b.jpg","text":"TemporaryFile(/tmp/multipartBody2810206049911982834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335934721,"filename":"image_29012025_22_22_45_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333360021","file1":"1333360014","file0":"1333360004","file4":"1333360085","file5":"1333360090","file3":"1333360079"},"map_files_photo_id_array":[{"photo_id":"1333360090","filename":"file5"},{"photo_id":"1333360021","filename":"file2"},{"photo_id":"1333360085","filename":"file4"},{"photo_id":"1333360014","filename":"file1"},{"photo_id":"1333360004","filename":"file0"},{"photo_id":"1333360079","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333360014":["hashtag1","hashtag2"]},{"1333360085":["hashtag1","hashtag2"]},{"1333360079":["hashtag1","hashtag2"]},{"1333360004":["hashtag1","hashtag2"]},{"1333360090":["hashtag1","hashtag2"]},{"1333360021":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333360014, 1333360085, 1333360079, 1333360004, 1333360090, 1333360021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.36251640319824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:05:32.613674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/24/image_29012025_22_24_55_10408.jpg', '/home/pi/Desktop/images/29012025/22/24/image_29012025_22_25_05_9400.jpg', '/home/pi/Desktop/images/29012025/22/25/image_29012025_22_25_15_10475.jpg', '/home/pi/Desktop/images/29012025/22/25/image_29012025_22_25_35_10491.jpg', '/home/pi/Desktop/images/29012025/22/25/image_29012025_22_25_45_10433.jpg', '/home/pi/Desktop/images/29012025/22/25/image_29012025_22_25_55_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/24/image_29012025_22_24_55_10408.jpg
/home/pi/Desktop/images/29012025/22/24/image_29012025_22_25_05_9400.jpg
/home/pi/Desktop/images/29012025/22/25/image_29012025_22_25_15_10475.jpg
/home/pi/Desktop/images/29012025/22/25/image_29012025_22_25_35_10491.jpg
/home/pi/Desktop/images/29012025/22/25/image_29012025_22_25_45_10433.jpg
/home/pi/Desktop/images/29012025/22/25/image_29012025_22_25_55_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":["1333360287","1333360347","1333360341","1333360200","1333360193","1333360336"],"photo_ids_order":["1333360193","1333360200","1333360287","1333360336","1333360341","1333360347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f73899422fa1debc82532444d60f517d.jpg","text":"TemporaryFile(/tmp/multipartBody7744436167524244726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335995070,"filename":"image_29012025_22_25_15_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/46cdb5b88717d8c78917c08b553267a9.jpg","text":"TemporaryFile(/tmp/multipartBody8393363011477665211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335995070,"filename":"image_29012025_22_25_55_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a16bb6e92d53d221f0d0ffdcd99464a0.jpg","text":"TemporaryFile(/tmp/multipartBody2497719752862805424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335995070,"filename":"image_29012025_22_25_45_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/25d12419e5d3b03d571e36c0ccd44c8f.jpg","text":"TemporaryFile(/tmp/multipartBody815450229474991412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335995070,"filename":"image_29012025_22_25_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/1/31/94c4fb8ba4b41a4094ec6ba1da88173a.jpg","text":"TemporaryFile(/tmp/multipartBody1511754194546809274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335995070,"filename":"image_29012025_22_24_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/1/31/d8f27e2852619544c35ea70a527980fc.jpg","text":"TemporaryFile(/tmp/multipartBody7378962071668251648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738335995070,"filename":"image_29012025_22_25_35_10491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333360287","file1":"1333360200","file0":"1333360193","file4":"1333360341","file5":"1333360347","file3":"1333360336"},"map_files_photo_id_array":[{"photo_id":"1333360347","filename":"file5"},{"photo_id":"1333360287","filename":"file2"},{"photo_id":"1333360341","filename":"file4"},{"photo_id":"1333360200","filename":"file1"},{"photo_id":"1333360193","filename":"file0"},{"photo_id":"1333360336","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333360287":["hashtag1","hashtag2"]},{"1333360347":["hashtag1","hashtag2"]},{"1333360341":["hashtag1","hashtag2"]},{"1333360200":["hashtag1","hashtag2"]},{"1333360193":["hashtag1","hashtag2"]},{"1333360336":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333360287, 1333360347, 1333360341, 1333360200, 1333360193, 1333360336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08575201034546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:06:32.942984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/25/image_29012025_22_26_05_10471.jpg', '/home/pi/Desktop/images/29012025/22/26/image_29012025_22_26_15_9377.jpg', '/home/pi/Desktop/images/29012025/22/26/image_29012025_22_26_25_10337.jpg', '/home/pi/Desktop/images/29012025/22/26/image_29012025_22_26_35_10387.jpg', '/home/pi/Desktop/images/29012025/22/26/image_29012025_22_26_45_9331.jpg', '/home/pi/Desktop/images/29012025/22/26/image_29012025_22_27_05_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/25/image_29012025_22_26_05_10471.jpg
/home/pi/Desktop/images/29012025/22/26/image_29012025_22_26_15_9377.jpg
/home/pi/Desktop/images/29012025/22/26/image_29012025_22_26_25_10337.jpg
/home/pi/Desktop/images/29012025/22/26/image_29012025_22_26_35_10387.jpg
/home/pi/Desktop/images/29012025/22/26/image_29012025_22_26_45_9331.jpg
/home/pi/Desktop/images/29012025/22/26/image_29012025_22_27_05_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333361510","1333361491","1333361500","1333361506","1333361484","1333361478"],"photo_ids_order":["1333361478","1333361484","1333361491","1333361500","1333361506","1333361510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f552a2f3b653eaf88570d072ae4c3c42.jpg","text":"TemporaryFile(/tmp/multipartBody3564872689406694416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336055369,"filename":"image_29012025_22_27_05_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/854d2aa4600e3c150ca5622e41caedfb.jpg","text":"TemporaryFile(/tmp/multipartBody6409867504070811430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336055369,"filename":"image_29012025_22_26_25_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/05d9d01bc9b9052fd2b9aeea36fada7e.jpg","text":"TemporaryFile(/tmp/multipartBody582372774985966535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336055369,"filename":"image_29012025_22_26_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/1/31/8494ba66301d908620750fabbaab44a7.jpg","text":"TemporaryFile(/tmp/multipartBody755398533783368791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336055369,"filename":"image_29012025_22_26_45_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dfedbc719fecaeb8a888445ad53f5214.jpg","text":"TemporaryFile(/tmp/multipartBody6508544714577536305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336055369,"filename":"image_29012025_22_26_15_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/201a5f68fb90deb70b7e1c67cb139f8a.jpg","text":"TemporaryFile(/tmp/multipartBody6780286964941948142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336055369,"filename":"image_29012025_22_26_05_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333361491","file1":"1333361484","file0":"1333361478","file4":"1333361506","file5":"1333361510","file3":"1333361500"},"map_files_photo_id_array":[{"photo_id":"1333361510","filename":"file5"},{"photo_id":"1333361491","filename":"file2"},{"photo_id":"1333361506","filename":"file4"},{"photo_id":"1333361484","filename":"file1"},{"photo_id":"1333361478","filename":"file0"},{"photo_id":"1333361500","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333361510":["hashtag1","hashtag2"]},{"1333361491":["hashtag1","hashtag2"]},{"1333361500":["hashtag1","hashtag2"]},{"1333361506":["hashtag1","hashtag2"]},{"1333361484":["hashtag1","hashtag2"]},{"1333361478":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333361510, 1333361491, 1333361500, 1333361506, 1333361484, 1333361478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.52004075050354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:07:33.097312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/27/image_29012025_22_27_15_9426.jpg', '/home/pi/Desktop/images/29012025/22/27/image_29012025_22_27_25_10440.jpg', '/home/pi/Desktop/images/29012025/22/27/image_29012025_22_27_35_9341.jpg', '/home/pi/Desktop/images/29012025/22/27/image_29012025_22_27_45_10439.jpg', '/home/pi/Desktop/images/29012025/22/27/image_29012025_22_27_55_10360.jpg', '/home/pi/Desktop/images/29012025/22/27/image_29012025_22_28_05_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/27/image_29012025_22_27_15_9426.jpg
/home/pi/Desktop/images/29012025/22/27/image_29012025_22_27_25_10440.jpg
/home/pi/Desktop/images/29012025/22/27/image_29012025_22_27_35_9341.jpg
/home/pi/Desktop/images/29012025/22/27/image_29012025_22_27_45_10439.jpg
/home/pi/Desktop/images/29012025/22/27/image_29012025_22_27_55_10360.jpg
/home/pi/Desktop/images/29012025/22/27/image_29012025_22_28_05_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":["1333361990","1333362049","1333361941","1333361944","1333361833","1333362051"],"photo_ids_order":["1333361833","1333361941","1333361944","1333361990","1333362049","1333362051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d4be87760e350d66956f9e93c5fb16e0.jpg","text":"TemporaryFile(/tmp/multipartBody1239364990181323100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336115515,"filename":"image_29012025_22_27_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/1/31/535503cdd5a5504c95ec0075b7b41bb1.jpg","text":"TemporaryFile(/tmp/multipartBody1530867927878640699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336115515,"filename":"image_29012025_22_27_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/1/31/c250e0a68f8a159b13e50f18fd21436f.jpg","text":"TemporaryFile(/tmp/multipartBody37159927013060029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336115515,"filename":"image_29012025_22_27_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/1/31/7033e20c761c700899339f04b5a87e1b.jpg","text":"TemporaryFile(/tmp/multipartBody4857205161369523735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336115515,"filename":"image_29012025_22_27_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/1/31/e2de9e9ec0c6efb29cebd541e3060a24.jpg","text":"TemporaryFile(/tmp/multipartBody3038957438625275162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336115515,"filename":"image_29012025_22_27_15_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a6f2ca4d824c9788ddcf803e55e25a70.jpg","text":"TemporaryFile(/tmp/multipartBody3771028105846393280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336115515,"filename":"image_29012025_22_28_05_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333361944","file1":"1333361941","file0":"1333361833","file4":"1333362049","file5":"1333362051","file3":"1333361990"},"map_files_photo_id_array":[{"photo_id":"1333362051","filename":"file5"},{"photo_id":"1333361944","filename":"file2"},{"photo_id":"1333362049","filename":"file4"},{"photo_id":"1333361941","filename":"file1"},{"photo_id":"1333361833","filename":"file0"},{"photo_id":"1333361990","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333361990":["hashtag1","hashtag2"]},{"1333362049":["hashtag1","hashtag2"]},{"1333361941":["hashtag1","hashtag2"]},{"1333361944":["hashtag1","hashtag2"]},{"1333361833":["hashtag1","hashtag2"]},{"1333362051":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333361990, 1333362049, 1333361941, 1333361944, 1333361833, 1333362051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98487591743469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:08:32.246514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/28/image_29012025_22_28_15_10345.jpg', '/home/pi/Desktop/images/29012025/22/28/image_29012025_22_28_25_10340.jpg', '/home/pi/Desktop/images/29012025/22/28/image_29012025_22_28_35_9363.jpg', '/home/pi/Desktop/images/29012025/22/28/image_29012025_22_29_05_10355.jpg', '/home/pi/Desktop/images/29012025/22/29/image_29012025_22_29_15_10402.jpg', '/home/pi/Desktop/images/29012025/22/29/image_29012025_22_29_25_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/28/image_29012025_22_28_15_10345.jpg
/home/pi/Desktop/images/29012025/22/28/image_29012025_22_28_25_10340.jpg
/home/pi/Desktop/images/29012025/22/28/image_29012025_22_28_35_9363.jpg
/home/pi/Desktop/images/29012025/22/28/image_29012025_22_29_05_10355.jpg
/home/pi/Desktop/images/29012025/22/29/image_29012025_22_29_15_10402.jpg
/home/pi/Desktop/images/29012025/22/29/image_29012025_22_29_25_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":["1333362158","1333362166","1333362151","1333362340","1333362328","1333362208"],"photo_ids_order":["1333362151","1333362158","1333362166","1333362208","1333362328","1333362340"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7cb5cf0d0f463d87c1db6430fe90f80a.jpg","text":"TemporaryFile(/tmp/multipartBody8049282505669929092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336174669,"filename":"image_29012025_22_28_25_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d7c01985b485e21dc59f335df7eb683d.jpg","text":"TemporaryFile(/tmp/multipartBody8154465648834104462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336174669,"filename":"image_29012025_22_28_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/1/31/05dc6230a0f1a1f617b4e919e77f4aec.jpg","text":"TemporaryFile(/tmp/multipartBody6531653805247623142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336174669,"filename":"image_29012025_22_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/1/31/62da4661ad601959c3d37d38ef36c665.jpg","text":"TemporaryFile(/tmp/multipartBody5154454508186315688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336174669,"filename":"image_29012025_22_29_25_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a63091e8445c312cf29332b5932aab72.jpg","text":"TemporaryFile(/tmp/multipartBody7049242731418068135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336174669,"filename":"image_29012025_22_29_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/1/31/4ebe96ffc93c744e35f7812985bc27dc.jpg","text":"TemporaryFile(/tmp/multipartBody5509240611212905729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336174669,"filename":"image_29012025_22_29_05_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333362166","file1":"1333362158","file0":"1333362151","file4":"1333362328","file5":"1333362340","file3":"1333362208"},"map_files_photo_id_array":[{"photo_id":"1333362340","filename":"file5"},{"photo_id":"1333362166","filename":"file2"},{"photo_id":"1333362328","filename":"file4"},{"photo_id":"1333362158","filename":"file1"},{"photo_id":"1333362151","filename":"file0"},{"photo_id":"1333362208","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333362158":["hashtag1","hashtag2"]},{"1333362166":["hashtag1","hashtag2"]},{"1333362151":["hashtag1","hashtag2"]},{"1333362340":["hashtag1","hashtag2"]},{"1333362328":["hashtag1","hashtag2"]},{"1333362208":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333362158, 1333362166, 1333362151, 1333362340, 1333362328, 1333362208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.544960021972656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:09:32.565189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/29/image_29012025_22_29_35_10406.jpg', '/home/pi/Desktop/images/29012025/22/29/image_29012025_22_29_45_10375.jpg', '/home/pi/Desktop/images/29012025/22/29/image_29012025_22_29_55_9329.jpg', '/home/pi/Desktop/images/29012025/22/29/image_29012025_22_30_05_10363.jpg', '/home/pi/Desktop/images/29012025/22/30/image_29012025_22_30_14_9348.jpg', '/home/pi/Desktop/images/29012025/22/30/image_29012025_22_30_35_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/29/image_29012025_22_29_35_10406.jpg
/home/pi/Desktop/images/29012025/22/29/image_29012025_22_29_45_10375.jpg
/home/pi/Desktop/images/29012025/22/29/image_29012025_22_29_55_9329.jpg
/home/pi/Desktop/images/29012025/22/29/image_29012025_22_30_05_10363.jpg
/home/pi/Desktop/images/29012025/22/30/image_29012025_22_30_14_9348.jpg
/home/pi/Desktop/images/29012025/22/30/image_29012025_22_30_35_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":["1333362461","1333362475","1333362451","1333362456","1333362465","1333362417"],"photo_ids_order":["1333362417","1333362451","1333362456","1333362461","1333362465","1333362475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f9dd6a3409e40285687a84cd8817c8fd.jpg","text":"TemporaryFile(/tmp/multipartBody2248676204265294228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336234998,"filename":"image_29012025_22_30_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/1/31/c3bd606bf82ae9c49a4d145201a4fc94.jpg","text":"TemporaryFile(/tmp/multipartBody8575425017155083933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336234998,"filename":"image_29012025_22_30_35_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/abde3b06d169851f9fbf866156815799.jpg","text":"TemporaryFile(/tmp/multipartBody4114439331218800587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336234998,"filename":"image_29012025_22_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/1/31/a956b3b71108245b951dceaf87d16ee7.jpg","text":"TemporaryFile(/tmp/multipartBody7480818547926348302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336234998,"filename":"image_29012025_22_29_55_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d6ae0b3495e914f9eb7b5def48dbf587.jpg","text":"TemporaryFile(/tmp/multipartBody8472394708811889590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336234998,"filename":"image_29012025_22_30_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/1/31/d82e3781054029bbc6746ded02404e0b.jpg","text":"TemporaryFile(/tmp/multipartBody3610666850938242498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336234998,"filename":"image_29012025_22_29_35_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333362456","file1":"1333362451","file0":"1333362417","file4":"1333362465","file5":"1333362475","file3":"1333362461"},"map_files_photo_id_array":[{"photo_id":"1333362475","filename":"file5"},{"photo_id":"1333362456","filename":"file2"},{"photo_id":"1333362465","filename":"file4"},{"photo_id":"1333362451","filename":"file1"},{"photo_id":"1333362417","filename":"file0"},{"photo_id":"1333362461","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333362461":["hashtag1","hashtag2"]},{"1333362475":["hashtag1","hashtag2"]},{"1333362451":["hashtag1","hashtag2"]},{"1333362456":["hashtag1","hashtag2"]},{"1333362465":["hashtag1","hashtag2"]},{"1333362417":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333362461, 1333362475, 1333362451, 1333362456, 1333362465, 1333362417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.648197889328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:10:32.721323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/30/image_29012025_22_30_44_9332.jpg', '/home/pi/Desktop/images/29012025/22/30/image_29012025_22_30_55_10356.jpg', '/home/pi/Desktop/images/29012025/22/30/image_29012025_22_31_05_10428.jpg', '/home/pi/Desktop/images/29012025/22/31/image_29012025_22_31_25_10350.jpg', '/home/pi/Desktop/images/29012025/22/31/image_29012025_22_31_35_10374.jpg', '/home/pi/Desktop/images/29012025/22/31/image_29012025_22_31_55_10468.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/30/image_29012025_22_30_44_9332.jpg
/home/pi/Desktop/images/29012025/22/30/image_29012025_22_30_55_10356.jpg
/home/pi/Desktop/images/29012025/22/30/image_29012025_22_31_05_10428.jpg
/home/pi/Desktop/images/29012025/22/31/image_29012025_22_31_25_10350.jpg
/home/pi/Desktop/images/29012025/22/31/image_29012025_22_31_35_10374.jpg
/home/pi/Desktop/images/29012025/22/31/image_29012025_22_31_55_10468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333362623","1333362583","1333362607","1333362549","1333362540","1333362534"],"photo_ids_order":["1333362534","1333362540","1333362549","1333362583","1333362607","1333362623"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/12dcfffa5f572d06e16de68dcf752c62.jpg","text":"TemporaryFile(/tmp/multipartBody6815164920678148891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336295145,"filename":"image_29012025_22_31_55_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7e1c1f5b5cf4967d3cf255f97ab47839.jpg","text":"TemporaryFile(/tmp/multipartBody1878084311229248701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336295145,"filename":"image_29012025_22_31_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/1/31/02729fafe98f5e4ff06e243558950500.jpg","text":"TemporaryFile(/tmp/multipartBody6740839691863005954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336295145,"filename":"image_29012025_22_31_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/1/31/ca51857ddb1aedb3c7b68e7dcb234fdb.jpg","text":"TemporaryFile(/tmp/multipartBody418267484254944365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336295145,"filename":"image_29012025_22_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/1/31/b796796db2a050a518fc98d7c27d5f44.jpg","text":"TemporaryFile(/tmp/multipartBody4440457264551630061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336295145,"filename":"image_29012025_22_30_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/1/31/108bb332c89a5c1c9ad7e5d67a9953dd.jpg","text":"TemporaryFile(/tmp/multipartBody1899959073457253450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336295145,"filename":"image_29012025_22_30_44_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333362549","file1":"1333362540","file0":"1333362534","file4":"1333362607","file5":"1333362623","file3":"1333362583"},"map_files_photo_id_array":[{"photo_id":"1333362623","filename":"file5"},{"photo_id":"1333362549","filename":"file2"},{"photo_id":"1333362607","filename":"file4"},{"photo_id":"1333362540","filename":"file1"},{"photo_id":"1333362534","filename":"file0"},{"photo_id":"1333362583","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333362623":["hashtag1","hashtag2"]},{"1333362583":["hashtag1","hashtag2"]},{"1333362607":["hashtag1","hashtag2"]},{"1333362549":["hashtag1","hashtag2"]},{"1333362540":["hashtag1","hashtag2"]},{"1333362534":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333362623, 1333362583, 1333362607, 1333362549, 1333362540, 1333362534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5067355632782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:11:32.936469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/31/image_29012025_22_32_04_9329.jpg', '/home/pi/Desktop/images/29012025/22/32/image_29012025_22_32_25_10353.jpg', '/home/pi/Desktop/images/29012025/22/32/image_29012025_22_32_45_10429.jpg', '/home/pi/Desktop/images/29012025/22/32/image_29012025_22_32_55_10360.jpg', '/home/pi/Desktop/images/29012025/22/32/image_29012025_22_33_05_9356.jpg', '/home/pi/Desktop/images/29012025/22/33/image_29012025_22_33_15_10325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/31/image_29012025_22_32_04_9329.jpg
/home/pi/Desktop/images/29012025/22/32/image_29012025_22_32_25_10353.jpg
/home/pi/Desktop/images/29012025/22/32/image_29012025_22_32_45_10429.jpg
/home/pi/Desktop/images/29012025/22/32/image_29012025_22_32_55_10360.jpg
/home/pi/Desktop/images/29012025/22/32/image_29012025_22_33_05_9356.jpg
/home/pi/Desktop/images/29012025/22/33/image_29012025_22_33_15_10325.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.0325400829315186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 16:11:42.890413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/31/image_29012025_22_32_04_9329.jpg', '/home/pi/Desktop/images/29012025/22/32/image_29012025_22_32_25_10353.jpg', '/home/pi/Desktop/images/29012025/22/32/image_29012025_22_32_45_10429.jpg', '/home/pi/Desktop/images/29012025/22/32/image_29012025_22_32_55_10360.jpg', '/home/pi/Desktop/images/29012025/22/32/image_29012025_22_33_05_9356.jpg', '/home/pi/Desktop/images/29012025/22/33/image_29012025_22_33_15_10325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/31/image_29012025_22_32_04_9329.jpg
/home/pi/Desktop/images/29012025/22/32/image_29012025_22_32_25_10353.jpg
/home/pi/Desktop/images/29012025/22/32/image_29012025_22_32_45_10429.jpg
/home/pi/Desktop/images/29012025/22/32/image_29012025_22_32_55_10360.jpg
/home/pi/Desktop/images/29012025/22/32/image_29012025_22_33_05_9356.jpg
/home/pi/Desktop/images/29012025/22/33/image_29012025_22_33_15_10325.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":["1333362797","1333362824","1333362809","1333362814","1333362819","1333362804"],"photo_ids_order":["1333362797","1333362804","1333362809","1333362814","1333362819","1333362824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cee363adf1137cc98a95a8465b5df5fe.jpg","text":"TemporaryFile(/tmp/multipartBody8940592172944512053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336364426,"filename":"image_29012025_22_32_04_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/93e01348b73a7cb84f0553b592d7f31c.jpg","text":"TemporaryFile(/tmp/multipartBody7221896225374335448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336364426,"filename":"image_29012025_22_33_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/1/31/435ffe9dc72e0b51042bd5740cabb70c.jpg","text":"TemporaryFile(/tmp/multipartBody1958502140899995576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336364426,"filename":"image_29012025_22_32_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/1/31/2d822893107abc55e1f5de91e44c4efa.jpg","text":"TemporaryFile(/tmp/multipartBody6218335366874732983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336364426,"filename":"image_29012025_22_32_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/1/31/4a60944a45375964b43e68457099ba94.jpg","text":"TemporaryFile(/tmp/multipartBody6728029908970626344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336364426,"filename":"image_29012025_22_33_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/1/31/0eac3d86f7e461cb4228553cb9fb4ad2.jpg","text":"TemporaryFile(/tmp/multipartBody5079425764251942177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336364426,"filename":"image_29012025_22_32_25_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333362809","file1":"1333362804","file0":"1333362797","file4":"1333362819","file5":"1333362824","file3":"1333362814"},"map_files_photo_id_array":[{"photo_id":"1333362824","filename":"file5"},{"photo_id":"1333362809","filename":"file2"},{"photo_id":"1333362819","filename":"file4"},{"photo_id":"1333362804","filename":"file1"},{"photo_id":"1333362797","filename":"file0"},{"photo_id":"1333362814","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333362797":["hashtag1","hashtag2"]},{"1333362824":["hashtag1","hashtag2"]},{"1333362809":["hashtag1","hashtag2"]},{"1333362814":["hashtag1","hashtag2"]},{"1333362819":["hashtag1","hashtag2"]},{"1333362804":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333362797, 1333362824, 1333362809, 1333362814, 1333362819, 1333362804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06883358955383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:12:33.091302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/33/image_29012025_22_33_24_9358.jpg', '/home/pi/Desktop/images/29012025/22/33/image_29012025_22_33_35_10346.jpg', '/home/pi/Desktop/images/29012025/22/33/image_29012025_22_33_45_10436.jpg', '/home/pi/Desktop/images/29012025/22/33/image_29012025_22_33_55_9346.jpg', '/home/pi/Desktop/images/29012025/22/33/image_29012025_22_34_05_10355.jpg', '/home/pi/Desktop/images/29012025/22/34/image_29012025_22_34_25_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/33/image_29012025_22_33_24_9358.jpg
/home/pi/Desktop/images/29012025/22/33/image_29012025_22_33_35_10346.jpg
/home/pi/Desktop/images/29012025/22/33/image_29012025_22_33_45_10436.jpg
/home/pi/Desktop/images/29012025/22/33/image_29012025_22_33_55_9346.jpg
/home/pi/Desktop/images/29012025/22/33/image_29012025_22_34_05_10355.jpg
/home/pi/Desktop/images/29012025/22/34/image_29012025_22_34_25_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":["1333363045","1333362997","1333362982","1333363048","1333363027","1333363014"],"photo_ids_order":["1333362982","1333362997","1333363014","1333363027","1333363045","1333363048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d4f394953ee42f335034830fc5d0c106.jpg","text":"TemporaryFile(/tmp/multipartBody7831166519686649182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336415548,"filename":"image_29012025_22_34_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/1/31/96053985bc5516ebbbc0100d536ce780.jpg","text":"TemporaryFile(/tmp/multipartBody5794608324545466463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336415548,"filename":"image_29012025_22_33_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/1/31/49f8129bcd0d5ea8b7048c7bf99f77fa.jpg","text":"TemporaryFile(/tmp/multipartBody7541181537292004507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336415548,"filename":"image_29012025_22_33_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/1/31/21a2971dece8f1dea5bf08385243315f.jpg","text":"TemporaryFile(/tmp/multipartBody8782761201759928315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336415548,"filename":"image_29012025_22_34_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/1/31/2b7cf54de9ad8d69349f96a97ff5f253.jpg","text":"TemporaryFile(/tmp/multipartBody5703183603687963301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336415548,"filename":"image_29012025_22_33_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/1/31/4ed8521739d1913695da1f347ab86fa9.jpg","text":"TemporaryFile(/tmp/multipartBody6921120602500429685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336415548,"filename":"image_29012025_22_33_45_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333363014","file1":"1333362997","file0":"1333362982","file4":"1333363045","file5":"1333363048","file3":"1333363027"},"map_files_photo_id_array":[{"photo_id":"1333363048","filename":"file5"},{"photo_id":"1333363014","filename":"file2"},{"photo_id":"1333363045","filename":"file4"},{"photo_id":"1333362997","filename":"file1"},{"photo_id":"1333362982","filename":"file0"},{"photo_id":"1333363027","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333363045":["hashtag1","hashtag2"]},{"1333362997":["hashtag1","hashtag2"]},{"1333362982":["hashtag1","hashtag2"]},{"1333363048":["hashtag1","hashtag2"]},{"1333363027":["hashtag1","hashtag2"]},{"1333363014":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333363045, 1333362997, 1333362982, 1333363048, 1333363027, 1333363014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.501781940460205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:13:32.307601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/34/image_29012025_22_34_35_10402.jpg', '/home/pi/Desktop/images/29012025/22/34/image_29012025_22_34_45_10342.jpg', '/home/pi/Desktop/images/29012025/22/34/image_29012025_22_34_55_9363.jpg', '/home/pi/Desktop/images/29012025/22/34/image_29012025_22_35_05_10439.jpg', '/home/pi/Desktop/images/29012025/22/35/image_29012025_22_35_15_9315.jpg', '/home/pi/Desktop/images/29012025/22/35/image_29012025_22_35_35_10422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/34/image_29012025_22_34_35_10402.jpg
/home/pi/Desktop/images/29012025/22/34/image_29012025_22_34_45_10342.jpg
/home/pi/Desktop/images/29012025/22/34/image_29012025_22_34_55_9363.jpg
/home/pi/Desktop/images/29012025/22/34/image_29012025_22_35_05_10439.jpg
/home/pi/Desktop/images/29012025/22/35/image_29012025_22_35_15_9315.jpg
/home/pi/Desktop/images/29012025/22/35/image_29012025_22_35_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":["1333363223","1333363258","1333363263","1333363242","1333363250","1333363268"],"photo_ids_order":["1333363223","1333363242","1333363250","1333363258","1333363263","1333363268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/00363ca0afa9f7f60537dbd4f82f94d4.jpg","text":"TemporaryFile(/tmp/multipartBody136748798500855536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336474753,"filename":"image_29012025_22_34_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/1/31/d855fa6658553fc81b11c225e18cc52f.jpg","text":"TemporaryFile(/tmp/multipartBody4522700979757822767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336474753,"filename":"image_29012025_22_35_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/1/31/b7b87d29ebbb9a35e513c03f6fd44603.jpg","text":"TemporaryFile(/tmp/multipartBody1818505513844770347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336474753,"filename":"image_29012025_22_35_15_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9fddcc8020917a487bfdbd4e24150d64.jpg","text":"TemporaryFile(/tmp/multipartBody8422577247279597794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336474753,"filename":"image_29012025_22_34_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/1/31/0231f64c3a6edceb1d6057528adbdb53.jpg","text":"TemporaryFile(/tmp/multipartBody6526708700062142957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336474753,"filename":"image_29012025_22_34_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/1/31/7511c1e7187956e60e5991fcc86f0a5b.jpg","text":"TemporaryFile(/tmp/multipartBody8590379200650180544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336474753,"filename":"image_29012025_22_35_35_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333363250","file1":"1333363242","file0":"1333363223","file4":"1333363263","file5":"1333363268","file3":"1333363258"},"map_files_photo_id_array":[{"photo_id":"1333363268","filename":"file5"},{"photo_id":"1333363250","filename":"file2"},{"photo_id":"1333363263","filename":"file4"},{"photo_id":"1333363242","filename":"file1"},{"photo_id":"1333363223","filename":"file0"},{"photo_id":"1333363258","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333363223":["hashtag1","hashtag2"]},{"1333363258":["hashtag1","hashtag2"]},{"1333363263":["hashtag1","hashtag2"]},{"1333363242":["hashtag1","hashtag2"]},{"1333363250":["hashtag1","hashtag2"]},{"1333363268":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333363223, 1333363258, 1333363263, 1333363242, 1333363250, 1333363268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42012357711792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:14:32.572205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/35/image_29012025_22_35_45_9416.jpg', '/home/pi/Desktop/images/29012025/22/35/image_29012025_22_35_55_10348.jpg', '/home/pi/Desktop/images/29012025/22/35/image_29012025_22_36_05_10347.jpg', '/home/pi/Desktop/images/29012025/22/36/image_29012025_22_36_15_9340.jpg', '/home/pi/Desktop/images/29012025/22/36/image_29012025_22_36_25_10337.jpg', '/home/pi/Desktop/images/29012025/22/36/image_29012025_22_36_34_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/35/image_29012025_22_35_45_9416.jpg
/home/pi/Desktop/images/29012025/22/35/image_29012025_22_35_55_10348.jpg
/home/pi/Desktop/images/29012025/22/35/image_29012025_22_36_05_10347.jpg
/home/pi/Desktop/images/29012025/22/36/image_29012025_22_36_15_9340.jpg
/home/pi/Desktop/images/29012025/22/36/image_29012025_22_36_25_10337.jpg
/home/pi/Desktop/images/29012025/22/36/image_29012025_22_36_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":["1333363294","1333363288","1333363282","1333363309","1333363300","1333363305"],"photo_ids_order":["1333363282","1333363288","1333363294","1333363300","1333363305","1333363309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9d7dce4abc4b5c1cc86fdd2e7be39c03.jpg","text":"TemporaryFile(/tmp/multipartBody618509009469864954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336535001,"filename":"image_29012025_22_36_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/1/31/0ae9b589398f5315be98d3bf5b3cb153.jpg","text":"TemporaryFile(/tmp/multipartBody5151058165648627549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336535001,"filename":"image_29012025_22_35_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/1/31/ccc5fcf06f4405a8514dc78c721fa482.jpg","text":"TemporaryFile(/tmp/multipartBody3249251524897363397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336535001,"filename":"image_29012025_22_35_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/1/31/bc099b5504e2405f239b5320747ce1d1.jpg","text":"TemporaryFile(/tmp/multipartBody6399661283897297673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336535001,"filename":"image_29012025_22_36_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/1/31/053cb3e17b4fc1248308813aec04c309.jpg","text":"TemporaryFile(/tmp/multipartBody236053553541491211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336535001,"filename":"image_29012025_22_36_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/1/31/4d549e50adc06976e58fa27b6bf7f9cf.jpg","text":"TemporaryFile(/tmp/multipartBody6600145585791570817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336535001,"filename":"image_29012025_22_36_25_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333363294","file1":"1333363288","file0":"1333363282","file4":"1333363305","file5":"1333363309","file3":"1333363300"},"map_files_photo_id_array":[{"photo_id":"1333363309","filename":"file5"},{"photo_id":"1333363294","filename":"file2"},{"photo_id":"1333363305","filename":"file4"},{"photo_id":"1333363288","filename":"file1"},{"photo_id":"1333363282","filename":"file0"},{"photo_id":"1333363300","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333363294":["hashtag1","hashtag2"]},{"1333363288":["hashtag1","hashtag2"]},{"1333363282":["hashtag1","hashtag2"]},{"1333363309":["hashtag1","hashtag2"]},{"1333363300":["hashtag1","hashtag2"]},{"1333363305":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333363294, 1333363288, 1333363282, 1333363309, 1333363300, 1333363305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.536436796188354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:15:32.910518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/36/image_29012025_22_36_45_10428.jpg', '/home/pi/Desktop/images/29012025/22/36/image_29012025_22_36_55_9822.jpg', '/home/pi/Desktop/images/29012025/22/36/image_29012025_22_37_05_10416.jpg', '/home/pi/Desktop/images/29012025/22/37/image_29012025_22_37_14_9326.jpg', '/home/pi/Desktop/images/29012025/22/37/image_29012025_22_37_25_10399.jpg', '/home/pi/Desktop/images/29012025/22/37/image_29012025_22_37_35_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/36/image_29012025_22_36_45_10428.jpg
/home/pi/Desktop/images/29012025/22/36/image_29012025_22_36_55_9822.jpg
/home/pi/Desktop/images/29012025/22/36/image_29012025_22_37_05_10416.jpg
/home/pi/Desktop/images/29012025/22/37/image_29012025_22_37_14_9326.jpg
/home/pi/Desktop/images/29012025/22/37/image_29012025_22_37_25_10399.jpg
/home/pi/Desktop/images/29012025/22/37/image_29012025_22_37_35_10432.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.045349597930908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 16:15:42.822995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/36/image_29012025_22_36_45_10428.jpg', '/home/pi/Desktop/images/29012025/22/36/image_29012025_22_36_55_9822.jpg', '/home/pi/Desktop/images/29012025/22/36/image_29012025_22_37_05_10416.jpg', '/home/pi/Desktop/images/29012025/22/37/image_29012025_22_37_14_9326.jpg', '/home/pi/Desktop/images/29012025/22/37/image_29012025_22_37_25_10399.jpg', '/home/pi/Desktop/images/29012025/22/37/image_29012025_22_37_35_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/36/image_29012025_22_36_45_10428.jpg
/home/pi/Desktop/images/29012025/22/36/image_29012025_22_36_55_9822.jpg
/home/pi/Desktop/images/29012025/22/36/image_29012025_22_37_05_10416.jpg
/home/pi/Desktop/images/29012025/22/37/image_29012025_22_37_14_9326.jpg
/home/pi/Desktop/images/29012025/22/37/image_29012025_22_37_25_10399.jpg
/home/pi/Desktop/images/29012025/22/37/image_29012025_22_37_35_10432.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":["1333363505","1333363498","1333363483","1333363477","1333363440","1333363509"],"photo_ids_order":["1333363440","1333363477","1333363483","1333363498","1333363505","1333363509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1550125db51f83c3d9374fcb360c7634.jpg","text":"TemporaryFile(/tmp/multipartBody936050108464728818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336604362,"filename":"image_29012025_22_37_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/1/31/f841f7d63ce3cdf09e19b135b0d93cc9.jpg","text":"TemporaryFile(/tmp/multipartBody1406764549209876540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336604362,"filename":"image_29012025_22_37_14_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/38c552b26953cf64bf7c24ba8a8103b9.jpg","text":"TemporaryFile(/tmp/multipartBody6268891251263231915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336604362,"filename":"image_29012025_22_37_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/1/31/be84da776dc5cb33a40b76e5e63bd258.jpg","text":"TemporaryFile(/tmp/multipartBody2896983875508201995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336604362,"filename":"image_29012025_22_36_55_9822.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cef2f27692efccdb24800e5a90e5a4d2.jpg","text":"TemporaryFile(/tmp/multipartBody7399022811737622792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336604362,"filename":"image_29012025_22_36_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/1/31/5877dd37762c5f82826a675ce14bbca2.jpg","text":"TemporaryFile(/tmp/multipartBody5806429160828716745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336604362,"filename":"image_29012025_22_37_35_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333363483","file1":"1333363477","file0":"1333363440","file4":"1333363505","file5":"1333363509","file3":"1333363498"},"map_files_photo_id_array":[{"photo_id":"1333363509","filename":"file5"},{"photo_id":"1333363483","filename":"file2"},{"photo_id":"1333363505","filename":"file4"},{"photo_id":"1333363477","filename":"file1"},{"photo_id":"1333363440","filename":"file0"},{"photo_id":"1333363498","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333363505":["hashtag1","hashtag2"]},{"1333363498":["hashtag1","hashtag2"]},{"1333363483":["hashtag1","hashtag2"]},{"1333363477":["hashtag1","hashtag2"]},{"1333363440":["hashtag1","hashtag2"]},{"1333363509":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333363505, 1333363498, 1333363483, 1333363477, 1333363440, 1333363509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56576371192932 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:16:33.187989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/37/image_29012025_22_37_45_9369.jpg', '/home/pi/Desktop/images/29012025/22/37/image_29012025_22_37_55_10421.jpg', '/home/pi/Desktop/images/29012025/22/37/image_29012025_22_38_05_10331.jpg', '/home/pi/Desktop/images/29012025/22/38/image_29012025_22_38_15_9313.jpg', '/home/pi/Desktop/images/29012025/22/38/image_29012025_22_38_25_10455.jpg', '/home/pi/Desktop/images/29012025/22/38/image_29012025_22_38_34_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/37/image_29012025_22_37_45_9369.jpg
/home/pi/Desktop/images/29012025/22/37/image_29012025_22_37_55_10421.jpg
/home/pi/Desktop/images/29012025/22/37/image_29012025_22_38_05_10331.jpg
/home/pi/Desktop/images/29012025/22/38/image_29012025_22_38_15_9313.jpg
/home/pi/Desktop/images/29012025/22/38/image_29012025_22_38_25_10455.jpg
/home/pi/Desktop/images/29012025/22/38/image_29012025_22_38_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":["1333363625","1333363603","1333363686","1333363611","1333363620","1333363682"],"photo_ids_order":["1333363603","1333363611","1333363620","1333363625","1333363682","1333363686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b9c79fe593018f39b253099b903ebd6b.jpg","text":"TemporaryFile(/tmp/multipartBody1242809575803649332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336655649,"filename":"image_29012025_22_38_15_9313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/36717211869b9953a6f476fe350eb99f.jpg","text":"TemporaryFile(/tmp/multipartBody4705903550558043704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336655649,"filename":"image_29012025_22_37_45_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d24ec4af313de427e9e0682c6744ec0e.jpg","text":"TemporaryFile(/tmp/multipartBody5715008629803473229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336655649,"filename":"image_29012025_22_38_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/1/31/5890338fa6c6b23e566d21caafb90a9e.jpg","text":"TemporaryFile(/tmp/multipartBody393778149978259692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336655649,"filename":"image_29012025_22_37_55_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dcf5630d753fc50370a1f5265bd0e989.jpg","text":"TemporaryFile(/tmp/multipartBody4528917688117271036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336655649,"filename":"image_29012025_22_38_05_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3f209b7c9a8150f4c224768943509860.jpg","text":"TemporaryFile(/tmp/multipartBody7408055822648218502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336655649,"filename":"image_29012025_22_38_25_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333363620","file1":"1333363611","file0":"1333363603","file4":"1333363682","file5":"1333363686","file3":"1333363625"},"map_files_photo_id_array":[{"photo_id":"1333363686","filename":"file5"},{"photo_id":"1333363620","filename":"file2"},{"photo_id":"1333363682","filename":"file4"},{"photo_id":"1333363611","filename":"file1"},{"photo_id":"1333363603","filename":"file0"},{"photo_id":"1333363625","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333363625":["hashtag1","hashtag2"]},{"1333363603":["hashtag1","hashtag2"]},{"1333363686":["hashtag1","hashtag2"]},{"1333363611":["hashtag1","hashtag2"]},{"1333363620":["hashtag1","hashtag2"]},{"1333363682":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333363625, 1333363603, 1333363686, 1333363611, 1333363620, 1333363682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.00828242301941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:17:32.273229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/38/image_29012025_22_38_45_10370.jpg', '/home/pi/Desktop/images/29012025/22/38/image_29012025_22_38_55_10344.jpg', '/home/pi/Desktop/images/29012025/22/38/image_29012025_22_39_05_9330.jpg', '/home/pi/Desktop/images/29012025/22/39/image_29012025_22_39_15_10349.jpg', '/home/pi/Desktop/images/29012025/22/39/image_29012025_22_39_25_10401.jpg', '/home/pi/Desktop/images/29012025/22/39/image_29012025_22_39_35_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/38/image_29012025_22_38_45_10370.jpg
/home/pi/Desktop/images/29012025/22/38/image_29012025_22_38_55_10344.jpg
/home/pi/Desktop/images/29012025/22/38/image_29012025_22_39_05_9330.jpg
/home/pi/Desktop/images/29012025/22/39/image_29012025_22_39_15_10349.jpg
/home/pi/Desktop/images/29012025/22/39/image_29012025_22_39_25_10401.jpg
/home/pi/Desktop/images/29012025/22/39/image_29012025_22_39_35_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":["1333363726","1333363720","1333363738","1333363713","1333363733","1333363742"],"photo_ids_order":["1333363713","1333363720","1333363726","1333363733","1333363738","1333363742"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/91475da16688d388a28d19eb7a0f1f84.jpg","text":"TemporaryFile(/tmp/multipartBody8007182962397293775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336714706,"filename":"image_29012025_22_39_05_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c0e63477fcd477fe27471d91419a7103.jpg","text":"TemporaryFile(/tmp/multipartBody8227333832643109861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336714706,"filename":"image_29012025_22_38_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a14ae811c06eb2dcfc8d28cca2fcd047.jpg","text":"TemporaryFile(/tmp/multipartBody8323727745144394593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336714706,"filename":"image_29012025_22_39_25_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2e3db4da927b6531b0c6f2922bb2544e.jpg","text":"TemporaryFile(/tmp/multipartBody724626719219103750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336714706,"filename":"image_29012025_22_38_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/1/31/00bfdf29b120524f2f4e10f5ee047117.jpg","text":"TemporaryFile(/tmp/multipartBody9149811154550023242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336714706,"filename":"image_29012025_22_39_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/1/31/2832fe51d442a44c7c88a66595d7e87b.jpg","text":"TemporaryFile(/tmp/multipartBody7886659470773625010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336714706,"filename":"image_29012025_22_39_35_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333363726","file1":"1333363720","file0":"1333363713","file4":"1333363738","file5":"1333363742","file3":"1333363733"},"map_files_photo_id_array":[{"photo_id":"1333363742","filename":"file5"},{"photo_id":"1333363726","filename":"file2"},{"photo_id":"1333363738","filename":"file4"},{"photo_id":"1333363720","filename":"file1"},{"photo_id":"1333363713","filename":"file0"},{"photo_id":"1333363733","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333363726":["hashtag1","hashtag2"]},{"1333363720":["hashtag1","hashtag2"]},{"1333363738":["hashtag1","hashtag2"]},{"1333363713":["hashtag1","hashtag2"]},{"1333363733":["hashtag1","hashtag2"]},{"1333363742":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333363726, 1333363720, 1333363738, 1333363713, 1333363733, 1333363742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.72815656661987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:18:32.514740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/39/image_29012025_22_39_45_10410.jpg', '/home/pi/Desktop/images/29012025/22/39/image_29012025_22_39_55_10357.jpg', '/home/pi/Desktop/images/29012025/22/40/image_29012025_22_40_15_10456.jpg', '/home/pi/Desktop/images/29012025/22/40/image_29012025_22_40_25_9348.jpg', '/home/pi/Desktop/images/29012025/22/40/image_29012025_22_40_35_10465.jpg', '/home/pi/Desktop/images/29012025/22/40/image_29012025_22_40_45_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/39/image_29012025_22_39_45_10410.jpg
/home/pi/Desktop/images/29012025/22/39/image_29012025_22_39_55_10357.jpg
/home/pi/Desktop/images/29012025/22/40/image_29012025_22_40_15_10456.jpg
/home/pi/Desktop/images/29012025/22/40/image_29012025_22_40_25_9348.jpg
/home/pi/Desktop/images/29012025/22/40/image_29012025_22_40_35_10465.jpg
/home/pi/Desktop/images/29012025/22/40/image_29012025_22_40_45_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":["1333363756","1333363791","1333363797","1333363761","1333363767","1333363775"],"photo_ids_order":["1333363756","1333363761","1333363767","1333363775","1333363791","1333363797"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5cba3edf016bc9db756eb000db6d20e2.jpg","text":"TemporaryFile(/tmp/multipartBody36951551207719254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336774951,"filename":"image_29012025_22_39_45_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1615d491fc9e590fcbde798a247abb49.jpg","text":"TemporaryFile(/tmp/multipartBody6960382172840389201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336774951,"filename":"image_29012025_22_40_35_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5e160f8273a0336a2c4ab63336744f46.jpg","text":"TemporaryFile(/tmp/multipartBody5848909536021943827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336774951,"filename":"image_29012025_22_40_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/1/31/add40923566c3b421bd07e7a0fdd41a0.jpg","text":"TemporaryFile(/tmp/multipartBody4295027901129355220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336774951,"filename":"image_29012025_22_39_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/1/31/cdd1044ffe228faa29b5cd83a8b67fc3.jpg","text":"TemporaryFile(/tmp/multipartBody3212937602456216076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336774951,"filename":"image_29012025_22_40_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/1/31/5bcc84066b1a7d00cce31aa71f68e1f8.jpg","text":"TemporaryFile(/tmp/multipartBody7229672675984157645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336774951,"filename":"image_29012025_22_40_25_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333363767","file1":"1333363761","file0":"1333363756","file4":"1333363791","file5":"1333363797","file3":"1333363775"},"map_files_photo_id_array":[{"photo_id":"1333363797","filename":"file5"},{"photo_id":"1333363767","filename":"file2"},{"photo_id":"1333363791","filename":"file4"},{"photo_id":"1333363761","filename":"file1"},{"photo_id":"1333363756","filename":"file0"},{"photo_id":"1333363775","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333363756":["hashtag1","hashtag2"]},{"1333363791":["hashtag1","hashtag2"]},{"1333363797":["hashtag1","hashtag2"]},{"1333363761":["hashtag1","hashtag2"]},{"1333363767":["hashtag1","hashtag2"]},{"1333363775":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333363756, 1333363791, 1333363797, 1333363761, 1333363767, 1333363775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.1063551902771 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:19:32.704963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/40/image_29012025_22_40_55_9346.jpg', '/home/pi/Desktop/images/29012025/22/40/image_29012025_22_41_05_10441.jpg', '/home/pi/Desktop/images/29012025/22/41/image_29012025_22_41_15_9349.jpg', '/home/pi/Desktop/images/29012025/22/41/image_29012025_22_41_25_10343.jpg', '/home/pi/Desktop/images/29012025/22/41/image_29012025_22_41_45_9393.jpg', '/home/pi/Desktop/images/29012025/22/41/image_29012025_22_41_55_10389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/40/image_29012025_22_40_55_9346.jpg
/home/pi/Desktop/images/29012025/22/40/image_29012025_22_41_05_10441.jpg
/home/pi/Desktop/images/29012025/22/41/image_29012025_22_41_15_9349.jpg
/home/pi/Desktop/images/29012025/22/41/image_29012025_22_41_25_10343.jpg
/home/pi/Desktop/images/29012025/22/41/image_29012025_22_41_45_9393.jpg
/home/pi/Desktop/images/29012025/22/41/image_29012025_22_41_55_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":["1333363861","1333363828","1333363822","1333363836","1333363815","1333363832"],"photo_ids_order":["1333363815","1333363822","1333363828","1333363832","1333363836","1333363861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/43dc49414d07e19238ed8221e57206e4.jpg","text":"TemporaryFile(/tmp/multipartBody4258398970162172278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336835154,"filename":"image_29012025_22_41_55_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ce41eb9d35c9a227fb83a4260a80c394.jpg","text":"TemporaryFile(/tmp/multipartBody5280470117580116141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336835154,"filename":"image_29012025_22_41_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/1/31/80160130f048bc93bc15a2fac2400f7e.jpg","text":"TemporaryFile(/tmp/multipartBody5538117643067031937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336835154,"filename":"image_29012025_22_41_05_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/172518f4a06d77a9bddd09d35be2c816.jpg","text":"TemporaryFile(/tmp/multipartBody8794598553775762910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336835154,"filename":"image_29012025_22_41_45_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4066cf0906d49b018cee55d072135ce1.jpg","text":"TemporaryFile(/tmp/multipartBody5694282954925851118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336835154,"filename":"image_29012025_22_40_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/1/31/f59630405dc6bbbed79180e0e1dda24e.jpg","text":"TemporaryFile(/tmp/multipartBody4138454390272116375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336835154,"filename":"image_29012025_22_41_25_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333363828","file1":"1333363822","file0":"1333363815","file4":"1333363836","file5":"1333363861","file3":"1333363832"},"map_files_photo_id_array":[{"photo_id":"1333363861","filename":"file5"},{"photo_id":"1333363828","filename":"file2"},{"photo_id":"1333363836","filename":"file4"},{"photo_id":"1333363822","filename":"file1"},{"photo_id":"1333363815","filename":"file0"},{"photo_id":"1333363832","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333363861":["hashtag1","hashtag2"]},{"1333363828":["hashtag1","hashtag2"]},{"1333363822":["hashtag1","hashtag2"]},{"1333363836":["hashtag1","hashtag2"]},{"1333363815":["hashtag1","hashtag2"]},{"1333363832":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333363861, 1333363828, 1333363822, 1333363836, 1333363815, 1333363832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16616702079773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:20:33.024192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/41/image_29012025_22_42_04_9343.jpg', '/home/pi/Desktop/images/29012025/22/42/image_29012025_22_42_35_10083.jpg', '/home/pi/Desktop/images/29012025/22/42/image_29012025_22_42_45_9641.jpg', '/home/pi/Desktop/images/29012025/22/42/image_29012025_22_43_04_9325.jpg', '/home/pi/Desktop/images/29012025/22/43/image_29012025_22_43_25_10456.jpg', '/home/pi/Desktop/images/29012025/22/43/image_29012025_22_44_05_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/41/image_29012025_22_42_04_9343.jpg
/home/pi/Desktop/images/29012025/22/42/image_29012025_22_42_35_10083.jpg
/home/pi/Desktop/images/29012025/22/42/image_29012025_22_42_45_9641.jpg
/home/pi/Desktop/images/29012025/22/42/image_29012025_22_43_04_9325.jpg
/home/pi/Desktop/images/29012025/22/43/image_29012025_22_43_25_10456.jpg
/home/pi/Desktop/images/29012025/22/43/image_29012025_22_44_05_10360.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.0309059619903564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 16:20:43.001151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/41/image_29012025_22_42_04_9343.jpg', '/home/pi/Desktop/images/29012025/22/42/image_29012025_22_42_35_10083.jpg', '/home/pi/Desktop/images/29012025/22/42/image_29012025_22_42_45_9641.jpg', '/home/pi/Desktop/images/29012025/22/42/image_29012025_22_43_04_9325.jpg', '/home/pi/Desktop/images/29012025/22/43/image_29012025_22_43_25_10456.jpg', '/home/pi/Desktop/images/29012025/22/43/image_29012025_22_44_05_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/41/image_29012025_22_42_04_9343.jpg
/home/pi/Desktop/images/29012025/22/42/image_29012025_22_42_35_10083.jpg
/home/pi/Desktop/images/29012025/22/42/image_29012025_22_42_45_9641.jpg
/home/pi/Desktop/images/29012025/22/42/image_29012025_22_43_04_9325.jpg
/home/pi/Desktop/images/29012025/22/43/image_29012025_22_43_25_10456.jpg
/home/pi/Desktop/images/29012025/22/43/image_29012025_22_44_05_10360.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":["1333364014","1333364085","1333364160","1333363982","1333364123","1333364117"],"photo_ids_order":["1333363982","1333364014","1333364085","1333364117","1333364123","1333364160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f1596dad25152a8e0ab875cb72a39c70.jpg","text":"TemporaryFile(/tmp/multipartBody8990489062768812247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336904523,"filename":"image_29012025_22_42_35_10083.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7c55d0fc148eec3f104647370242211a.jpg","text":"TemporaryFile(/tmp/multipartBody6629109716582679428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336904523,"filename":"image_29012025_22_42_45_9641.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6c9b14adaf8305feae6fa502f93ab11f.jpg","text":"TemporaryFile(/tmp/multipartBody9154399478953527943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336904523,"filename":"image_29012025_22_44_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/1/31/4215883ddca8ad04e70900aea2de9bdb.jpg","text":"TemporaryFile(/tmp/multipartBody9134348742716479023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336904523,"filename":"image_29012025_22_42_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/1/31/d1db1a4504824570965a035728d556a3.jpg","text":"TemporaryFile(/tmp/multipartBody742260345435276302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336904523,"filename":"image_29012025_22_43_25_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9af1574540881ed54d3ada8e264aa70e.jpg","text":"TemporaryFile(/tmp/multipartBody7013796935201120030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336904523,"filename":"image_29012025_22_43_04_9325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333364085","file1":"1333364014","file0":"1333363982","file4":"1333364123","file5":"1333364160","file3":"1333364117"},"map_files_photo_id_array":[{"photo_id":"1333364160","filename":"file5"},{"photo_id":"1333364085","filename":"file2"},{"photo_id":"1333364123","filename":"file4"},{"photo_id":"1333364014","filename":"file1"},{"photo_id":"1333363982","filename":"file0"},{"photo_id":"1333364117","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333364014":["hashtag1","hashtag2"]},{"1333364085":["hashtag1","hashtag2"]},{"1333364160":["hashtag1","hashtag2"]},{"1333363982":["hashtag1","hashtag2"]},{"1333364123":["hashtag1","hashtag2"]},{"1333364117":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333364014, 1333364085, 1333364160, 1333363982, 1333364123, 1333364117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.450597524642944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:21:33.167289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/44/image_29012025_22_44_25_9356.jpg', '/home/pi/Desktop/images/29012025/22/44/image_29012025_22_45_05_10472.jpg', '/home/pi/Desktop/images/29012025/22/45/image_29012025_22_45_15_9327.jpg', '/home/pi/Desktop/images/29012025/22/45/image_29012025_22_45_25_10480.jpg', '/home/pi/Desktop/images/29012025/22/45/image_29012025_22_45_34_9329.jpg', '/home/pi/Desktop/images/29012025/22/45/image_29012025_22_45_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/44/image_29012025_22_44_25_9356.jpg
/home/pi/Desktop/images/29012025/22/44/image_29012025_22_45_05_10472.jpg
/home/pi/Desktop/images/29012025/22/45/image_29012025_22_45_15_9327.jpg
/home/pi/Desktop/images/29012025/22/45/image_29012025_22_45_25_10480.jpg
/home/pi/Desktop/images/29012025/22/45/image_29012025_22_45_34_9329.jpg
/home/pi/Desktop/images/29012025/22/45/image_29012025_22_45_45_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":["1333364209","1333364217","1333364202","1333364189","1333364213","1333364222"],"photo_ids_order":["1333364189","1333364202","1333364209","1333364213","1333364217","1333364222"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/db2775d16df6bb791efbc09afe92a61c.jpg","text":"TemporaryFile(/tmp/multipartBody5328420473364634525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336955582,"filename":"image_29012025_22_45_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/1/31/39026fe86469a4454335a52d4e866d22.jpg","text":"TemporaryFile(/tmp/multipartBody5731663554825322725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336955582,"filename":"image_29012025_22_45_34_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1ba335205e07c8766dec679e42a3aa23.jpg","text":"TemporaryFile(/tmp/multipartBody5863454490062672246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336955582,"filename":"image_29012025_22_45_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/1/31/3741dde591fd60e7500f40cf22a7bd4c.jpg","text":"TemporaryFile(/tmp/multipartBody1690903464176893147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336955582,"filename":"image_29012025_22_44_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/1/31/b9f44f486579439eb9170c5555c7e594.jpg","text":"TemporaryFile(/tmp/multipartBody5723165090426627435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336955582,"filename":"image_29012025_22_45_25_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/14e5a3dfe11d2dcd0a987937f8c295e4.jpg","text":"TemporaryFile(/tmp/multipartBody5759482334627726133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738336955582,"filename":"image_29012025_22_45_45_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333364209","file1":"1333364202","file0":"1333364189","file4":"1333364217","file5":"1333364222","file3":"1333364213"},"map_files_photo_id_array":[{"photo_id":"1333364222","filename":"file5"},{"photo_id":"1333364209","filename":"file2"},{"photo_id":"1333364217","filename":"file4"},{"photo_id":"1333364202","filename":"file1"},{"photo_id":"1333364189","filename":"file0"},{"photo_id":"1333364213","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333364209":["hashtag1","hashtag2"]},{"1333364217":["hashtag1","hashtag2"]},{"1333364202":["hashtag1","hashtag2"]},{"1333364189":["hashtag1","hashtag2"]},{"1333364213":["hashtag1","hashtag2"]},{"1333364222":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333364209, 1333364217, 1333364202, 1333364189, 1333364213, 1333364222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.05644750595093 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:22:32.400333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/45/image_29012025_22_45_55_10366.jpg', '/home/pi/Desktop/images/29012025/22/45/image_29012025_22_46_05_9432.jpg', '/home/pi/Desktop/images/29012025/22/46/image_29012025_22_46_15_10397.jpg', '/home/pi/Desktop/images/29012025/22/46/image_29012025_22_46_24_9440.jpg', '/home/pi/Desktop/images/29012025/22/46/image_29012025_22_46_35_10359.jpg', '/home/pi/Desktop/images/29012025/22/46/image_29012025_22_46_45_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/45/image_29012025_22_45_55_10366.jpg
/home/pi/Desktop/images/29012025/22/45/image_29012025_22_46_05_9432.jpg
/home/pi/Desktop/images/29012025/22/46/image_29012025_22_46_15_10397.jpg
/home/pi/Desktop/images/29012025/22/46/image_29012025_22_46_24_9440.jpg
/home/pi/Desktop/images/29012025/22/46/image_29012025_22_46_35_10359.jpg
/home/pi/Desktop/images/29012025/22/46/image_29012025_22_46_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":["1333364260","1333364254","1333364265","1333364268","1333364247","1333364241"],"photo_ids_order":["1333364241","1333364247","1333364254","1333364260","1333364265","1333364268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ce3c3d5aed70a53dcf5af5d1bb9f792e.jpg","text":"TemporaryFile(/tmp/multipartBody8115313663105526820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337014830,"filename":"image_29012025_22_46_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/1/31/6848b3bfef7172e7b0581d731643bb85.jpg","text":"TemporaryFile(/tmp/multipartBody18865548824229218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337014830,"filename":"image_29012025_22_46_15_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1340b24807b85823776e0ae8892a2a41.jpg","text":"TemporaryFile(/tmp/multipartBody3225871371683006567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337014830,"filename":"image_29012025_22_46_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/1/31/08f26a6b9d2c678a472746f7c0a14461.jpg","text":"TemporaryFile(/tmp/multipartBody2965090191172693920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337014830,"filename":"image_29012025_22_46_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/1/31/4a3235e551c57ba70a70e372ab66baed.jpg","text":"TemporaryFile(/tmp/multipartBody1864151144431395817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337014830,"filename":"image_29012025_22_46_05_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e20e1789d19c4c2260e582b811314222.jpg","text":"TemporaryFile(/tmp/multipartBody7243352707968246625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337014830,"filename":"image_29012025_22_45_55_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333364254","file1":"1333364247","file0":"1333364241","file4":"1333364265","file5":"1333364268","file3":"1333364260"},"map_files_photo_id_array":[{"photo_id":"1333364268","filename":"file5"},{"photo_id":"1333364254","filename":"file2"},{"photo_id":"1333364265","filename":"file4"},{"photo_id":"1333364247","filename":"file1"},{"photo_id":"1333364241","filename":"file0"},{"photo_id":"1333364260","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333364260":["hashtag1","hashtag2"]},{"1333364254":["hashtag1","hashtag2"]},{"1333364265":["hashtag1","hashtag2"]},{"1333364268":["hashtag1","hashtag2"]},{"1333364247":["hashtag1","hashtag2"]},{"1333364241":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333364260, 1333364254, 1333364265, 1333364268, 1333364247, 1333364241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.05330467224121 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:23:32.677729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/46/image_29012025_22_46_54_9342.jpg', '/home/pi/Desktop/images/29012025/22/46/image_29012025_22_47_05_10495.jpg', '/home/pi/Desktop/images/29012025/22/47/image_29012025_22_47_15_10422.jpg', '/home/pi/Desktop/images/29012025/22/47/image_29012025_22_47_25_9368.jpg', '/home/pi/Desktop/images/29012025/22/47/image_29012025_22_47_35_10354.jpg', '/home/pi/Desktop/images/29012025/22/47/image_29012025_22_47_55_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/46/image_29012025_22_46_54_9342.jpg
/home/pi/Desktop/images/29012025/22/46/image_29012025_22_47_05_10495.jpg
/home/pi/Desktop/images/29012025/22/47/image_29012025_22_47_15_10422.jpg
/home/pi/Desktop/images/29012025/22/47/image_29012025_22_47_25_9368.jpg
/home/pi/Desktop/images/29012025/22/47/image_29012025_22_47_35_10354.jpg
/home/pi/Desktop/images/29012025/22/47/image_29012025_22_47_55_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":["1333364314","1333364323","1333364364","1333364307","1333364319","1333364360"],"photo_ids_order":["1333364307","1333364314","1333364319","1333364323","1333364360","1333364364"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/79b0cd3ccff97c345a69b737cfc39d32.jpg","text":"TemporaryFile(/tmp/multipartBody5950187524828177271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337076404,"filename":"image_29012025_22_47_05_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/444310c8b6a96d1e793278d9ec147b50.jpg","text":"TemporaryFile(/tmp/multipartBody6289029413974707483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337076404,"filename":"image_29012025_22_47_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/1/31/fc1bc5619d5cd160cf2335bb98f7701b.jpg","text":"TemporaryFile(/tmp/multipartBody6076179041933843046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337076404,"filename":"image_29012025_22_47_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/1/31/045034dcf425c570c206c66145d6711b.jpg","text":"TemporaryFile(/tmp/multipartBody6007875898838244989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337076404,"filename":"image_29012025_22_46_54_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fd6d2c9001e831657305e91e2a3dea58.jpg","text":"TemporaryFile(/tmp/multipartBody6384767958908769746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337076404,"filename":"image_29012025_22_47_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/1/31/f04106fa59ee611c0e0a7d5d00b34c89.jpg","text":"TemporaryFile(/tmp/multipartBody4792298888207467907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337076404,"filename":"image_29012025_22_47_35_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333364319","file1":"1333364314","file0":"1333364307","file4":"1333364360","file5":"1333364364","file3":"1333364323"},"map_files_photo_id_array":[{"photo_id":"1333364364","filename":"file5"},{"photo_id":"1333364319","filename":"file2"},{"photo_id":"1333364360","filename":"file4"},{"photo_id":"1333364314","filename":"file1"},{"photo_id":"1333364307","filename":"file0"},{"photo_id":"1333364323","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333364314":["hashtag1","hashtag2"]},{"1333364323":["hashtag1","hashtag2"]},{"1333364364":["hashtag1","hashtag2"]},{"1333364307":["hashtag1","hashtag2"]},{"1333364319":["hashtag1","hashtag2"]},{"1333364360":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333364314, 1333364323, 1333364364, 1333364307, 1333364319, 1333364360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.028616189956665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:24:32.892887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/47/image_29012025_22_48_05_10411.jpg', '/home/pi/Desktop/images/29012025/22/48/image_29012025_22_48_15_9332.jpg', '/home/pi/Desktop/images/29012025/22/48/image_29012025_22_48_25_10468.jpg', '/home/pi/Desktop/images/29012025/22/48/image_29012025_22_48_34_9378.jpg', '/home/pi/Desktop/images/29012025/22/48/image_29012025_22_48_45_10362.jpg', '/home/pi/Desktop/images/29012025/22/48/image_29012025_22_48_55_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/47/image_29012025_22_48_05_10411.jpg
/home/pi/Desktop/images/29012025/22/48/image_29012025_22_48_15_9332.jpg
/home/pi/Desktop/images/29012025/22/48/image_29012025_22_48_25_10468.jpg
/home/pi/Desktop/images/29012025/22/48/image_29012025_22_48_34_9378.jpg
/home/pi/Desktop/images/29012025/22/48/image_29012025_22_48_45_10362.jpg
/home/pi/Desktop/images/29012025/22/48/image_29012025_22_48_55_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":["1333364425","1333364469","1333364484","1333364486","1333364480","1333364474"],"photo_ids_order":["1333364425","1333364469","1333364474","1333364480","1333364484","1333364486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/08922f3105388e4afeff32048bc38da9.jpg","text":"TemporaryFile(/tmp/multipartBody5935812449435615862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337135375,"filename":"image_29012025_22_48_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/1/31/35c57a55e65c1649ab9c0f5c8040d927.jpg","text":"TemporaryFile(/tmp/multipartBody1346960067218876459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337135375,"filename":"image_29012025_22_48_15_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e72fa7b62dccdf182adf9460d6421808.jpg","text":"TemporaryFile(/tmp/multipartBody6932406661463398220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337135375,"filename":"image_29012025_22_48_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/1/31/bcf19963b314aa5f2f7e06675bf6a8ce.jpg","text":"TemporaryFile(/tmp/multipartBody6637638913696239039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337135375,"filename":"image_29012025_22_48_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/1/31/d7cf52e8b61d5330df0fd0096eb8e932.jpg","text":"TemporaryFile(/tmp/multipartBody6318469717810753890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337135375,"filename":"image_29012025_22_48_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/1/31/ca8cfca445ee832937051d6c3dc710df.jpg","text":"TemporaryFile(/tmp/multipartBody7380629302791705613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337135375,"filename":"image_29012025_22_48_25_10468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333364474","file1":"1333364469","file0":"1333364425","file4":"1333364484","file5":"1333364486","file3":"1333364480"},"map_files_photo_id_array":[{"photo_id":"1333364486","filename":"file5"},{"photo_id":"1333364474","filename":"file2"},{"photo_id":"1333364484","filename":"file4"},{"photo_id":"1333364469","filename":"file1"},{"photo_id":"1333364425","filename":"file0"},{"photo_id":"1333364480","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333364425":["hashtag1","hashtag2"]},{"1333364469":["hashtag1","hashtag2"]},{"1333364484":["hashtag1","hashtag2"]},{"1333364486":["hashtag1","hashtag2"]},{"1333364480":["hashtag1","hashtag2"]},{"1333364474":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333364425, 1333364469, 1333364484, 1333364486, 1333364480, 1333364474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98735785484314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:25:33.268625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/48/image_29012025_22_49_05_9344.jpg', '/home/pi/Desktop/images/29012025/22/49/image_29012025_22_49_15_10385.jpg', '/home/pi/Desktop/images/29012025/22/49/image_29012025_22_49_25_9627.jpg', '/home/pi/Desktop/images/29012025/22/49/image_29012025_22_49_35_10414.jpg', '/home/pi/Desktop/images/29012025/22/49/image_29012025_22_49_44_9423.jpg', '/home/pi/Desktop/images/29012025/22/49/image_29012025_22_49_55_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/48/image_29012025_22_49_05_9344.jpg
/home/pi/Desktop/images/29012025/22/49/image_29012025_22_49_15_10385.jpg
/home/pi/Desktop/images/29012025/22/49/image_29012025_22_49_25_9627.jpg
/home/pi/Desktop/images/29012025/22/49/image_29012025_22_49_35_10414.jpg
/home/pi/Desktop/images/29012025/22/49/image_29012025_22_49_44_9423.jpg
/home/pi/Desktop/images/29012025/22/49/image_29012025_22_49_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":["1333364521","1333364529","1333364534","1333364516","1333364525","1333364510"],"photo_ids_order":["1333364510","1333364516","1333364521","1333364525","1333364529","1333364534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ac9e78457cd15a6ed6d5dd3ea75213b9.jpg","text":"TemporaryFile(/tmp/multipartBody7152865708152376537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337195703,"filename":"image_29012025_22_49_25_9627.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/363f93bd1a5ef4b72212b20261546278.jpg","text":"TemporaryFile(/tmp/multipartBody7284499107850663620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337195703,"filename":"image_29012025_22_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/1/31/b2c408958909d128d002e010c455e3ff.jpg","text":"TemporaryFile(/tmp/multipartBody2532304968182879889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337195703,"filename":"image_29012025_22_49_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/1/31/21138619d568b494ccc733aee624bc2d.jpg","text":"TemporaryFile(/tmp/multipartBody1460400831815492459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337195703,"filename":"image_29012025_22_49_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/1/31/1c83b2231a9eaa61aea42dd877450a5e.jpg","text":"TemporaryFile(/tmp/multipartBody3025809386922161373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337195703,"filename":"image_29012025_22_49_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/1/31/14a69bc4b73ec4ac6b499e21586bd8d0.jpg","text":"TemporaryFile(/tmp/multipartBody6703086355966752949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337195703,"filename":"image_29012025_22_49_05_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333364521","file1":"1333364516","file0":"1333364510","file4":"1333364529","file5":"1333364534","file3":"1333364525"},"map_files_photo_id_array":[{"photo_id":"1333364534","filename":"file5"},{"photo_id":"1333364521","filename":"file2"},{"photo_id":"1333364529","filename":"file4"},{"photo_id":"1333364516","filename":"file1"},{"photo_id":"1333364510","filename":"file0"},{"photo_id":"1333364525","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333364521":["hashtag1","hashtag2"]},{"1333364529":["hashtag1","hashtag2"]},{"1333364534":["hashtag1","hashtag2"]},{"1333364516":["hashtag1","hashtag2"]},{"1333364525":["hashtag1","hashtag2"]},{"1333364510":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333364521, 1333364529, 1333364534, 1333364516, 1333364525, 1333364510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.13987445831299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:26:32.209576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/49/image_29012025_22_50_05_10401.jpg', '/home/pi/Desktop/images/29012025/22/50/image_29012025_22_50_15_9356.jpg', '/home/pi/Desktop/images/29012025/22/50/image_29012025_22_50_25_10404.jpg', '/home/pi/Desktop/images/29012025/22/50/image_29012025_22_50_35_10375.jpg', '/home/pi/Desktop/images/29012025/22/50/image_29012025_22_50_45_9342.jpg', '/home/pi/Desktop/images/29012025/22/50/image_29012025_22_51_04_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/49/image_29012025_22_50_05_10401.jpg
/home/pi/Desktop/images/29012025/22/50/image_29012025_22_50_15_9356.jpg
/home/pi/Desktop/images/29012025/22/50/image_29012025_22_50_25_10404.jpg
/home/pi/Desktop/images/29012025/22/50/image_29012025_22_50_35_10375.jpg
/home/pi/Desktop/images/29012025/22/50/image_29012025_22_50_45_9342.jpg
/home/pi/Desktop/images/29012025/22/50/image_29012025_22_51_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":["1333364920","1333365360","1333365376","1333365373","1333365367","1333365274"],"photo_ids_order":["1333364920","1333365274","1333365360","1333365367","1333365373","1333365376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1fd03232de69a4ab4ec6d88cdd426866.jpg","text":"TemporaryFile(/tmp/multipartBody2682090606519701693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337254644,"filename":"image_29012025_22_50_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/1/31/468e2b21641f6ecb7f3ef858824e5eae.jpg","text":"TemporaryFile(/tmp/multipartBody6824690264035675412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337254644,"filename":"image_29012025_22_50_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/1/31/fcde7105131e69bbc1e5284659e4ce38.jpg","text":"TemporaryFile(/tmp/multipartBody2712740975181731873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337254644,"filename":"image_29012025_22_51_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/1/31/1b9fca36a85947a4e00bb85194643e04.jpg","text":"TemporaryFile(/tmp/multipartBody3395041555477688431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337254644,"filename":"image_29012025_22_50_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/1/31/ee6247117c80fba0c3687cbcc2defaa5.jpg","text":"TemporaryFile(/tmp/multipartBody5903542654745606210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337254644,"filename":"image_29012025_22_50_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/1/31/739e35f141a55d6a4fa29ae57590567e.jpg","text":"TemporaryFile(/tmp/multipartBody2080022827132665516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337254644,"filename":"image_29012025_22_50_15_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333365360","file1":"1333365274","file0":"1333364920","file4":"1333365373","file5":"1333365376","file3":"1333365367"},"map_files_photo_id_array":[{"photo_id":"1333365376","filename":"file5"},{"photo_id":"1333365360","filename":"file2"},{"photo_id":"1333365373","filename":"file4"},{"photo_id":"1333365274","filename":"file1"},{"photo_id":"1333364920","filename":"file0"},{"photo_id":"1333365367","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333364920":["hashtag1","hashtag2"]},{"1333365360":["hashtag1","hashtag2"]},{"1333365376":["hashtag1","hashtag2"]},{"1333365373":["hashtag1","hashtag2"]},{"1333365367":["hashtag1","hashtag2"]},{"1333365274":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333364920, 1333365360, 1333365376, 1333365373, 1333365367, 1333365274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.39281463623047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:27:32.408296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/51/image_29012025_22_51_15_10357.jpg', '/home/pi/Desktop/images/29012025/22/51/image_29012025_22_51_35_9350.jpg', '/home/pi/Desktop/images/29012025/22/51/image_29012025_22_51_45_10425.jpg', '/home/pi/Desktop/images/29012025/22/51/image_29012025_22_51_55_10358.jpg', '/home/pi/Desktop/images/29012025/22/51/image_29012025_22_52_05_9461.jpg', '/home/pi/Desktop/images/29012025/22/52/image_29012025_22_52_15_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/51/image_29012025_22_51_15_10357.jpg
/home/pi/Desktop/images/29012025/22/51/image_29012025_22_51_35_9350.jpg
/home/pi/Desktop/images/29012025/22/51/image_29012025_22_51_45_10425.jpg
/home/pi/Desktop/images/29012025/22/51/image_29012025_22_51_55_10358.jpg
/home/pi/Desktop/images/29012025/22/51/image_29012025_22_52_05_9461.jpg
/home/pi/Desktop/images/29012025/22/52/image_29012025_22_52_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":["1333365435","1333365423","1333365417","1333365432","1333365428","1333365437"],"photo_ids_order":["1333365417","1333365423","1333365428","1333365432","1333365435","1333365437"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4d921c1d9bc69074c96ef7ab65321e4d.jpg","text":"TemporaryFile(/tmp/multipartBody8529648430538505207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337314812,"filename":"image_29012025_22_52_05_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aee2fb4dc6165520f146b29614fe0e76.jpg","text":"TemporaryFile(/tmp/multipartBody6185954739363212819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337314812,"filename":"image_29012025_22_51_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/1/31/c6c1f0d68f7a6f69750dd35aa7580992.jpg","text":"TemporaryFile(/tmp/multipartBody2510521788593201288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337314812,"filename":"image_29012025_22_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/1/31/42ac622fa65a7841b5bc5ca1e976cc9b.jpg","text":"TemporaryFile(/tmp/multipartBody593160064649786353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337314812,"filename":"image_29012025_22_51_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/1/31/9853d0cc45b48fa214326de2b449f5ab.jpg","text":"TemporaryFile(/tmp/multipartBody4393054732572731338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337314812,"filename":"image_29012025_22_51_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/1/31/5f05fa4656d86dfe6f6e291bfa3af26f.jpg","text":"TemporaryFile(/tmp/multipartBody8179665188958392166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337314812,"filename":"image_29012025_22_52_15_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333365428","file1":"1333365423","file0":"1333365417","file4":"1333365435","file5":"1333365437","file3":"1333365432"},"map_files_photo_id_array":[{"photo_id":"1333365437","filename":"file5"},{"photo_id":"1333365428","filename":"file2"},{"photo_id":"1333365435","filename":"file4"},{"photo_id":"1333365423","filename":"file1"},{"photo_id":"1333365417","filename":"file0"},{"photo_id":"1333365432","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333365435":["hashtag1","hashtag2"]},{"1333365423":["hashtag1","hashtag2"]},{"1333365417":["hashtag1","hashtag2"]},{"1333365432":["hashtag1","hashtag2"]},{"1333365428":["hashtag1","hashtag2"]},{"1333365437":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333365435, 1333365423, 1333365417, 1333365432, 1333365428, 1333365437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84689497947693 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:28:32.604957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/52/image_29012025_22_52_25_9360.jpg', '/home/pi/Desktop/images/29012025/22/52/image_29012025_22_52_35_10365.jpg', '/home/pi/Desktop/images/29012025/22/52/image_29012025_22_52_45_10472.jpg', '/home/pi/Desktop/images/29012025/22/52/image_29012025_22_52_55_9333.jpg', '/home/pi/Desktop/images/29012025/22/52/image_29012025_22_53_05_10399.jpg', '/home/pi/Desktop/images/29012025/22/53/image_29012025_22_53_15_9454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/52/image_29012025_22_52_25_9360.jpg
/home/pi/Desktop/images/29012025/22/52/image_29012025_22_52_35_10365.jpg
/home/pi/Desktop/images/29012025/22/52/image_29012025_22_52_45_10472.jpg
/home/pi/Desktop/images/29012025/22/52/image_29012025_22_52_55_9333.jpg
/home/pi/Desktop/images/29012025/22/52/image_29012025_22_53_05_10399.jpg
/home/pi/Desktop/images/29012025/22/53/image_29012025_22_53_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":["1333367069","1333366731","1333367183","1333367464","1333366505","1333366954"],"photo_ids_order":["1333366505","1333366731","1333366954","1333367069","1333367183","1333367464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6005980fee8ab10916d097dc358d672d.jpg","text":"TemporaryFile(/tmp/multipartBody791027304514489035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337375041,"filename":"image_29012025_22_52_55_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2d2bc0482b934406f76686ac8618489c.jpg","text":"TemporaryFile(/tmp/multipartBody2925886408502327821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337375041,"filename":"image_29012025_22_52_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/1/31/ba10d3433f864369c9ba2187e901b9c4.jpg","text":"TemporaryFile(/tmp/multipartBody3306342249212686554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337375041,"filename":"image_29012025_22_53_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/1/31/bdb5c3ab4e0fa37639c328dbaa1c5dbc.jpg","text":"TemporaryFile(/tmp/multipartBody2969409204079225435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337375041,"filename":"image_29012025_22_53_15_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/05344913120c9ecfcc6aa5efe8360dbc.jpg","text":"TemporaryFile(/tmp/multipartBody6662175100517263916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337375041,"filename":"image_29012025_22_52_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/1/31/4238714765dde6c2feb2c35907de7343.jpg","text":"TemporaryFile(/tmp/multipartBody683623692959968449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337375041,"filename":"image_29012025_22_52_45_10472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333366954","file1":"1333366731","file0":"1333366505","file4":"1333367183","file5":"1333367464","file3":"1333367069"},"map_files_photo_id_array":[{"photo_id":"1333367464","filename":"file5"},{"photo_id":"1333366954","filename":"file2"},{"photo_id":"1333367183","filename":"file4"},{"photo_id":"1333366731","filename":"file1"},{"photo_id":"1333366505","filename":"file0"},{"photo_id":"1333367069","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333367069":["hashtag1","hashtag2"]},{"1333366731":["hashtag1","hashtag2"]},{"1333367183":["hashtag1","hashtag2"]},{"1333367464":["hashtag1","hashtag2"]},{"1333366505":["hashtag1","hashtag2"]},{"1333366954":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333367069, 1333366731, 1333367183, 1333367464, 1333366505, 1333366954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09339642524719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:29:32.773354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/53/image_29012025_22_53_25_10345.jpg', '/home/pi/Desktop/images/29012025/22/53/image_29012025_22_53_35_10360.jpg', '/home/pi/Desktop/images/29012025/22/53/image_29012025_22_53_44_9145.jpg', '/home/pi/Desktop/images/29012025/22/53/image_29012025_22_53_55_10345.jpg', '/home/pi/Desktop/images/29012025/22/53/image_29012025_22_54_05_10334.jpg', '/home/pi/Desktop/images/29012025/22/54/image_29012025_22_54_14_9318.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/53/image_29012025_22_53_25_10345.jpg
/home/pi/Desktop/images/29012025/22/53/image_29012025_22_53_35_10360.jpg
/home/pi/Desktop/images/29012025/22/53/image_29012025_22_53_44_9145.jpg
/home/pi/Desktop/images/29012025/22/53/image_29012025_22_53_55_10345.jpg
/home/pi/Desktop/images/29012025/22/53/image_29012025_22_54_05_10334.jpg
/home/pi/Desktop/images/29012025/22/54/image_29012025_22_54_14_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":["1333368863","1333369306","1333368733","1333369170","1333368987","1333368596"],"photo_ids_order":["1333368596","1333368733","1333368863","1333368987","1333369170","1333369306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/088aaa1bc85f06d94521dfdb81a11412.jpg","text":"TemporaryFile(/tmp/multipartBody7174065889653071370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337435180,"filename":"image_29012025_22_53_44_9145.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b3f121c16651802cd1256d41eba4a51e.jpg","text":"TemporaryFile(/tmp/multipartBody9128339791653704050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337435180,"filename":"image_29012025_22_54_14_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ac6a18c05aeabdf088087fce8fbcd934.jpg","text":"TemporaryFile(/tmp/multipartBody8833225269775271815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337435180,"filename":"image_29012025_22_53_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/1/31/6b322eeb44a432f5b4e83293d97a4392.jpg","text":"TemporaryFile(/tmp/multipartBody4866558533212865552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337435180,"filename":"image_29012025_22_54_05_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fe2ab1705a92e68a6bdaddfd8c118dc2.jpg","text":"TemporaryFile(/tmp/multipartBody7478576082791136985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337435180,"filename":"image_29012025_22_53_55_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d28ce4d4e9c5752196fc7fcbf8e2225e.jpg","text":"TemporaryFile(/tmp/multipartBody7139029214538332921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337435180,"filename":"image_29012025_22_53_25_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333368863","file1":"1333368733","file0":"1333368596","file4":"1333369170","file5":"1333369306","file3":"1333368987"},"map_files_photo_id_array":[{"photo_id":"1333369306","filename":"file5"},{"photo_id":"1333368863","filename":"file2"},{"photo_id":"1333369170","filename":"file4"},{"photo_id":"1333368733","filename":"file1"},{"photo_id":"1333368596","filename":"file0"},{"photo_id":"1333368987","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333368863":["hashtag1","hashtag2"]},{"1333369306":["hashtag1","hashtag2"]},{"1333368733":["hashtag1","hashtag2"]},{"1333369170":["hashtag1","hashtag2"]},{"1333368987":["hashtag1","hashtag2"]},{"1333368596":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333368863, 1333369306, 1333368733, 1333369170, 1333368987, 1333368596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.272099018096924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:30:33.113514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/54/image_29012025_22_54_25_10332.jpg', '/home/pi/Desktop/images/29012025/22/54/image_29012025_22_54_35_10365.jpg', '/home/pi/Desktop/images/29012025/22/54/image_29012025_22_54_44_9360.jpg', '/home/pi/Desktop/images/29012025/22/54/image_29012025_22_54_55_10350.jpg', '/home/pi/Desktop/images/29012025/22/54/image_29012025_22_55_05_10359.jpg', '/home/pi/Desktop/images/29012025/22/55/image_29012025_22_55_15_9327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/54/image_29012025_22_54_25_10332.jpg
/home/pi/Desktop/images/29012025/22/54/image_29012025_22_54_35_10365.jpg
/home/pi/Desktop/images/29012025/22/54/image_29012025_22_54_44_9360.jpg
/home/pi/Desktop/images/29012025/22/54/image_29012025_22_54_55_10350.jpg
/home/pi/Desktop/images/29012025/22/54/image_29012025_22_55_05_10359.jpg
/home/pi/Desktop/images/29012025/22/55/image_29012025_22_55_15_9327.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.0434162616729736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 16:30:43.063404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/54/image_29012025_22_54_25_10332.jpg', '/home/pi/Desktop/images/29012025/22/54/image_29012025_22_54_35_10365.jpg', '/home/pi/Desktop/images/29012025/22/54/image_29012025_22_54_44_9360.jpg', '/home/pi/Desktop/images/29012025/22/54/image_29012025_22_54_55_10350.jpg', '/home/pi/Desktop/images/29012025/22/54/image_29012025_22_55_05_10359.jpg', '/home/pi/Desktop/images/29012025/22/55/image_29012025_22_55_15_9327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/54/image_29012025_22_54_25_10332.jpg
/home/pi/Desktop/images/29012025/22/54/image_29012025_22_54_35_10365.jpg
/home/pi/Desktop/images/29012025/22/54/image_29012025_22_54_44_9360.jpg
/home/pi/Desktop/images/29012025/22/54/image_29012025_22_54_55_10350.jpg
/home/pi/Desktop/images/29012025/22/54/image_29012025_22_55_05_10359.jpg
/home/pi/Desktop/images/29012025/22/55/image_29012025_22_55_15_9327.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":["1333370444","1333370504","1333370612","1333370737","1333370332","1333370856"],"photo_ids_order":["1333370332","1333370444","1333370504","1333370612","1333370737","1333370856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/086d35947c16c895c371b7e4bbf9cd4f.jpg","text":"TemporaryFile(/tmp/multipartBody820278225357467471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337504609,"filename":"image_29012025_22_54_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/1/31/ea007f896c41ec260b1a84a11df847a4.jpg","text":"TemporaryFile(/tmp/multipartBody2001978331254364831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337504609,"filename":"image_29012025_22_54_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/1/31/fc2cc1d41960b85e2df07a29acc1bab0.jpg","text":"TemporaryFile(/tmp/multipartBody1723686518052899885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337504609,"filename":"image_29012025_22_54_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/1/31/838334eb53bc5a0dcb48fb3c97789859.jpg","text":"TemporaryFile(/tmp/multipartBody2843229471555104596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337504609,"filename":"image_29012025_22_55_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/1/31/29ec48316a0a227353c92e93947c9226.jpg","text":"TemporaryFile(/tmp/multipartBody457611647866081099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337504609,"filename":"image_29012025_22_54_25_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fd0e11314b44aa226890ffc17c0f645b.jpg","text":"TemporaryFile(/tmp/multipartBody1345720628427323949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337504609,"filename":"image_29012025_22_55_15_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333370504","file1":"1333370444","file0":"1333370332","file4":"1333370737","file5":"1333370856","file3":"1333370612"},"map_files_photo_id_array":[{"photo_id":"1333370856","filename":"file5"},{"photo_id":"1333370504","filename":"file2"},{"photo_id":"1333370737","filename":"file4"},{"photo_id":"1333370444","filename":"file1"},{"photo_id":"1333370332","filename":"file0"},{"photo_id":"1333370612","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333370444":["hashtag1","hashtag2"]},{"1333370504":["hashtag1","hashtag2"]},{"1333370612":["hashtag1","hashtag2"]},{"1333370737":["hashtag1","hashtag2"]},{"1333370332":["hashtag1","hashtag2"]},{"1333370856":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333370444, 1333370504, 1333370612, 1333370737, 1333370332, 1333370856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.21074342727661 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:31:32.220538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/55/image_29012025_22_55_25_10355.jpg', '/home/pi/Desktop/images/29012025/22/55/image_29012025_22_55_35_10479.jpg', '/home/pi/Desktop/images/29012025/22/55/image_29012025_22_55_45_9355.jpg', '/home/pi/Desktop/images/29012025/22/55/image_29012025_22_55_55_10356.jpg', '/home/pi/Desktop/images/29012025/22/55/image_29012025_22_56_04_9364.jpg', '/home/pi/Desktop/images/29012025/22/56/image_29012025_22_56_15_10325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/55/image_29012025_22_55_25_10355.jpg
/home/pi/Desktop/images/29012025/22/55/image_29012025_22_55_35_10479.jpg
/home/pi/Desktop/images/29012025/22/55/image_29012025_22_55_45_9355.jpg
/home/pi/Desktop/images/29012025/22/55/image_29012025_22_55_55_10356.jpg
/home/pi/Desktop/images/29012025/22/55/image_29012025_22_56_04_9364.jpg
/home/pi/Desktop/images/29012025/22/56/image_29012025_22_56_15_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":["1333371115","1333371109","1333371192","1333371103","1333371095","1333371215"],"photo_ids_order":["1333371095","1333371103","1333371109","1333371115","1333371192","1333371215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e85cdad3fb4a30ff3545be7d6354701a.jpg","text":"TemporaryFile(/tmp/multipartBody7308174119465940947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337554676,"filename":"image_29012025_22_55_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/1/31/6e4bb2dacc9718fddb5918f55cea17e1.jpg","text":"TemporaryFile(/tmp/multipartBody2439024608551446947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337554676,"filename":"image_29012025_22_55_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/1/31/807c4d1aa357079d2030c8a0742201cb.jpg","text":"TemporaryFile(/tmp/multipartBody9077964428425050821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337554676,"filename":"image_29012025_22_56_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/1/31/df846917db462db28d34f083e1115e6f.jpg","text":"TemporaryFile(/tmp/multipartBody4040634301675238403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337554676,"filename":"image_29012025_22_55_35_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/74380571ac28dcd09c6019dd93b37dc1.jpg","text":"TemporaryFile(/tmp/multipartBody811581976707356148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337554676,"filename":"image_29012025_22_55_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/1/31/3ac9639d188c82ab93b1baf80d6b7f86.jpg","text":"TemporaryFile(/tmp/multipartBody3680934494727365581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337554676,"filename":"image_29012025_22_56_15_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333371109","file1":"1333371103","file0":"1333371095","file4":"1333371192","file5":"1333371215","file3":"1333371115"},"map_files_photo_id_array":[{"photo_id":"1333371215","filename":"file5"},{"photo_id":"1333371109","filename":"file2"},{"photo_id":"1333371192","filename":"file4"},{"photo_id":"1333371103","filename":"file1"},{"photo_id":"1333371095","filename":"file0"},{"photo_id":"1333371115","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333371115":["hashtag1","hashtag2"]},{"1333371109":["hashtag1","hashtag2"]},{"1333371192":["hashtag1","hashtag2"]},{"1333371103":["hashtag1","hashtag2"]},{"1333371095":["hashtag1","hashtag2"]},{"1333371215":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333371115, 1333371109, 1333371192, 1333371103, 1333371095, 1333371215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.409488677978516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:32:32.554441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/56/image_29012025_22_56_25_10447.jpg', '/home/pi/Desktop/images/29012025/22/56/image_29012025_22_56_35_9387.jpg', '/home/pi/Desktop/images/29012025/22/56/image_29012025_22_56_45_10445.jpg', '/home/pi/Desktop/images/29012025/22/56/image_29012025_22_57_05_10358.jpg', '/home/pi/Desktop/images/29012025/22/57/image_29012025_22_57_15_10353.jpg', '/home/pi/Desktop/images/29012025/22/57/image_29012025_22_57_25_9373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/56/image_29012025_22_56_25_10447.jpg
/home/pi/Desktop/images/29012025/22/56/image_29012025_22_56_35_9387.jpg
/home/pi/Desktop/images/29012025/22/56/image_29012025_22_56_45_10445.jpg
/home/pi/Desktop/images/29012025/22/56/image_29012025_22_57_05_10358.jpg
/home/pi/Desktop/images/29012025/22/57/image_29012025_22_57_15_10353.jpg
/home/pi/Desktop/images/29012025/22/57/image_29012025_22_57_25_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":["1333371289","1333371316","1333371301","1333371294","1333371321","1333371308"],"photo_ids_order":["1333371289","1333371294","1333371301","1333371308","1333371316","1333371321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3aac43fcdc4ed92a4fd5066bc60dee1e.jpg","text":"TemporaryFile(/tmp/multipartBody7425965053214486047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337614992,"filename":"image_29012025_22_56_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/1/31/90b38a84328129eb44dde110ecde68d8.jpg","text":"TemporaryFile(/tmp/multipartBody7435411900264710143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337614992,"filename":"image_29012025_22_57_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/1/31/a96d5ca9b9c082712f8c1f7bce70f705.jpg","text":"TemporaryFile(/tmp/multipartBody7590170256109606609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337614992,"filename":"image_29012025_22_56_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/1/31/5ba428b45164cbf242a66b7171b2dbbe.jpg","text":"TemporaryFile(/tmp/multipartBody626241428220169251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337614992,"filename":"image_29012025_22_56_35_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/72d1afa5235819ffdd097094b5799d96.jpg","text":"TemporaryFile(/tmp/multipartBody3916341113200906829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337614992,"filename":"image_29012025_22_57_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/1/31/0290f56d2703f753c48ac4cab342d6ae.jpg","text":"TemporaryFile(/tmp/multipartBody6498465938714420648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337614992,"filename":"image_29012025_22_57_05_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333371301","file1":"1333371294","file0":"1333371289","file4":"1333371316","file5":"1333371321","file3":"1333371308"},"map_files_photo_id_array":[{"photo_id":"1333371321","filename":"file5"},{"photo_id":"1333371301","filename":"file2"},{"photo_id":"1333371316","filename":"file4"},{"photo_id":"1333371294","filename":"file1"},{"photo_id":"1333371289","filename":"file0"},{"photo_id":"1333371308","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333371289":["hashtag1","hashtag2"]},{"1333371316":["hashtag1","hashtag2"]},{"1333371301":["hashtag1","hashtag2"]},{"1333371294":["hashtag1","hashtag2"]},{"1333371321":["hashtag1","hashtag2"]},{"1333371308":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333371289, 1333371316, 1333371301, 1333371294, 1333371321, 1333371308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.1908905506134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:33:32.836578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/57/image_29012025_22_57_55_9330.jpg', '/home/pi/Desktop/images/29012025/22/57/image_29012025_22_58_05_10450.jpg', '/home/pi/Desktop/images/29012025/22/58/image_29012025_22_58_14_9341.jpg', '/home/pi/Desktop/images/29012025/22/58/image_29012025_22_58_25_10334.jpg', '/home/pi/Desktop/images/29012025/22/58/image_29012025_22_58_35_10428.jpg', '/home/pi/Desktop/images/29012025/22/58/image_29012025_22_58_45_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/57/image_29012025_22_57_55_9330.jpg
/home/pi/Desktop/images/29012025/22/57/image_29012025_22_58_05_10450.jpg
/home/pi/Desktop/images/29012025/22/58/image_29012025_22_58_14_9341.jpg
/home/pi/Desktop/images/29012025/22/58/image_29012025_22_58_25_10334.jpg
/home/pi/Desktop/images/29012025/22/58/image_29012025_22_58_35_10428.jpg
/home/pi/Desktop/images/29012025/22/58/image_29012025_22_58_45_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":["1333372009","1333371999","1333371792","1333371963","1333371912","1333371953"],"photo_ids_order":["1333371792","1333371912","1333371953","1333371963","1333371999","1333372009"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cd066d04d65e8df7a06894a9f132420d.jpg","text":"TemporaryFile(/tmp/multipartBody1081663162373721935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337675277,"filename":"image_29012025_22_58_45_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/71f540b23e9c4dbffb56024505ee6e04.jpg","text":"TemporaryFile(/tmp/multipartBody2118979432962232744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337675277,"filename":"image_29012025_22_58_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/1/31/90776d6e100c9ff046e244663496e8dc.jpg","text":"TemporaryFile(/tmp/multipartBody453397530967642655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337675277,"filename":"image_29012025_22_57_55_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/275a74dfa87926daa96e5c6328629b15.jpg","text":"TemporaryFile(/tmp/multipartBody5362000586312833199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337675277,"filename":"image_29012025_22_58_25_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ced4cc9d0b25b993fdc2c9629cae80ae.jpg","text":"TemporaryFile(/tmp/multipartBody235286085440969693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337675277,"filename":"image_29012025_22_58_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/1/31/793bc8703401afb8aedaf21182f9713a.jpg","text":"TemporaryFile(/tmp/multipartBody6614204437473578920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337675277,"filename":"image_29012025_22_58_14_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333371953","file1":"1333371912","file0":"1333371792","file4":"1333371999","file5":"1333372009","file3":"1333371963"},"map_files_photo_id_array":[{"photo_id":"1333372009","filename":"file5"},{"photo_id":"1333371953","filename":"file2"},{"photo_id":"1333371999","filename":"file4"},{"photo_id":"1333371912","filename":"file1"},{"photo_id":"1333371792","filename":"file0"},{"photo_id":"1333371963","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333372009":["hashtag1","hashtag2"]},{"1333371999":["hashtag1","hashtag2"]},{"1333371792":["hashtag1","hashtag2"]},{"1333371963":["hashtag1","hashtag2"]},{"1333371912":["hashtag1","hashtag2"]},{"1333371953":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333372009, 1333371999, 1333371792, 1333371963, 1333371912, 1333371953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.355027198791504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:34:33.045064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/58/image_29012025_22_58_55_10342.jpg', '/home/pi/Desktop/images/29012025/22/58/image_29012025_22_59_05_10390.jpg', '/home/pi/Desktop/images/29012025/22/59/image_29012025_22_59_25_10412.jpg', '/home/pi/Desktop/images/29012025/22/59/image_29012025_22_59_35_10362.jpg', '/home/pi/Desktop/images/29012025/22/59/image_29012025_22_59_45_9346.jpg', '/home/pi/Desktop/images/29012025/22/59/image_29012025_22_59_55_10387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/58/image_29012025_22_58_55_10342.jpg
/home/pi/Desktop/images/29012025/22/58/image_29012025_22_59_05_10390.jpg
/home/pi/Desktop/images/29012025/22/59/image_29012025_22_59_25_10412.jpg
/home/pi/Desktop/images/29012025/22/59/image_29012025_22_59_35_10362.jpg
/home/pi/Desktop/images/29012025/22/59/image_29012025_22_59_45_9346.jpg
/home/pi/Desktop/images/29012025/22/59/image_29012025_22_59_55_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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.0251967906951904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 16:34:43.069276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/22/58/image_29012025_22_58_55_10342.jpg', '/home/pi/Desktop/images/29012025/22/58/image_29012025_22_59_05_10390.jpg', '/home/pi/Desktop/images/29012025/22/59/image_29012025_22_59_25_10412.jpg', '/home/pi/Desktop/images/29012025/22/59/image_29012025_22_59_35_10362.jpg', '/home/pi/Desktop/images/29012025/22/59/image_29012025_22_59_45_9346.jpg', '/home/pi/Desktop/images/29012025/22/59/image_29012025_22_59_55_10387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/22/58/image_29012025_22_58_55_10342.jpg
/home/pi/Desktop/images/29012025/22/58/image_29012025_22_59_05_10390.jpg
/home/pi/Desktop/images/29012025/22/59/image_29012025_22_59_25_10412.jpg
/home/pi/Desktop/images/29012025/22/59/image_29012025_22_59_35_10362.jpg
/home/pi/Desktop/images/29012025/22/59/image_29012025_22_59_45_9346.jpg
/home/pi/Desktop/images/29012025/22/59/image_29012025_22_59_55_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":["1333372822","1333372950","1333372935","1333373051","1333372943","1333372954"],"photo_ids_order":["1333372822","1333372935","1333372943","1333372950","1333372954","1333373051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b027875383694d6c3d9ddefe8cae129d.jpg","text":"TemporaryFile(/tmp/multipartBody32050808235330675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337744612,"filename":"image_29012025_22_58_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ebc114e252356c61ee827bf5db5af5a5.jpg","text":"TemporaryFile(/tmp/multipartBody4709230988018855966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337744612,"filename":"image_29012025_22_59_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/1/31/9e0801c3bee4e640a41a705ed7a4767b.jpg","text":"TemporaryFile(/tmp/multipartBody4753117350938160097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337744612,"filename":"image_29012025_22_59_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/1/31/7bf1540d545e7d69bfe0002acaba6cf2.jpg","text":"TemporaryFile(/tmp/multipartBody1898776492124552575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337744612,"filename":"image_29012025_22_59_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/1/31/18827dfd422fa5637b5c9d9d93347f90.jpg","text":"TemporaryFile(/tmp/multipartBody2287571037885765000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337744612,"filename":"image_29012025_22_59_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/1/31/3ab3fa3fe1be73161bc93bde148f3aca.jpg","text":"TemporaryFile(/tmp/multipartBody4099736464578028095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337744612,"filename":"image_29012025_22_59_45_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333372943","file1":"1333372935","file0":"1333372822","file4":"1333372954","file5":"1333373051","file3":"1333372950"},"map_files_photo_id_array":[{"photo_id":"1333373051","filename":"file5"},{"photo_id":"1333372943","filename":"file2"},{"photo_id":"1333372954","filename":"file4"},{"photo_id":"1333372935","filename":"file1"},{"photo_id":"1333372822","filename":"file0"},{"photo_id":"1333372950","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333372822":["hashtag1","hashtag2"]},{"1333372950":["hashtag1","hashtag2"]},{"1333372935":["hashtag1","hashtag2"]},{"1333373051":["hashtag1","hashtag2"]},{"1333372943":["hashtag1","hashtag2"]},{"1333372954":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333372822, 1333372950, 1333372935, 1333373051, 1333372943, 1333372954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.787299394607544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:35:32.247617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/23/00/image_29012025_23_00_15_10079.jpg', '/home/pi/Desktop/images/29012025/23/00/image_29012025_23_00_36_10361.jpg', '/home/pi/Desktop/images/29012025/23/00/image_29012025_23_00_45_9329.jpg', '/home/pi/Desktop/images/29012025/23/00/image_29012025_23_00_56_10420.jpg', '/home/pi/Desktop/images/29012025/23/00/image_29012025_23_01_06_10363.jpg', '/home/pi/Desktop/images/29012025/23/01/image_29012025_23_01_16_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/23/00/image_29012025_23_00_15_10079.jpg
/home/pi/Desktop/images/29012025/23/00/image_29012025_23_00_36_10361.jpg
/home/pi/Desktop/images/29012025/23/00/image_29012025_23_00_45_9329.jpg
/home/pi/Desktop/images/29012025/23/00/image_29012025_23_00_56_10420.jpg
/home/pi/Desktop/images/29012025/23/00/image_29012025_23_01_06_10363.jpg
/home/pi/Desktop/images/29012025/23/01/image_29012025_23_01_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":["1333373328","1333373330","1333373324","1333373296","1333373281","1333373257"],"photo_ids_order":["1333373257","1333373281","1333373296","1333373324","1333373328","1333373330"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5d4210e2ebb078c5698002284e36cdc4.jpg","text":"TemporaryFile(/tmp/multipartBody3584471664807544853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337794727,"filename":"image_29012025_23_01_06_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bc26558ba71d6cc10fe0d6354155cf51.jpg","text":"TemporaryFile(/tmp/multipartBody57868889727621136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337794727,"filename":"image_29012025_23_01_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/1/31/db5bdd4ee3a580cf3b8c623694f97a64.jpg","text":"TemporaryFile(/tmp/multipartBody1258137250400348910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337794727,"filename":"image_29012025_23_00_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/1/31/45ab55fcbb8fba01e8c6eaec6c38e177.jpg","text":"TemporaryFile(/tmp/multipartBody5601748848725660170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337794727,"filename":"image_29012025_23_00_45_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/60f00e2d61e25d25c5e224cc578ffc40.jpg","text":"TemporaryFile(/tmp/multipartBody8131847985502697068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337794727,"filename":"image_29012025_23_00_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/1/31/949217047a084ada50ac4d199a2ff3de.jpg","text":"TemporaryFile(/tmp/multipartBody4544273913346362446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337794727,"filename":"image_29012025_23_00_15_10079.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333373296","file1":"1333373281","file0":"1333373257","file4":"1333373328","file5":"1333373330","file3":"1333373324"},"map_files_photo_id_array":[{"photo_id":"1333373330","filename":"file5"},{"photo_id":"1333373296","filename":"file2"},{"photo_id":"1333373328","filename":"file4"},{"photo_id":"1333373281","filename":"file1"},{"photo_id":"1333373257","filename":"file0"},{"photo_id":"1333373324","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333373328":["hashtag1","hashtag2"]},{"1333373330":["hashtag1","hashtag2"]},{"1333373324":["hashtag1","hashtag2"]},{"1333373296":["hashtag1","hashtag2"]},{"1333373281":["hashtag1","hashtag2"]},{"1333373257":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333373328, 1333373330, 1333373324, 1333373296, 1333373281, 1333373257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.64789032936096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:36:32.581488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/23/01/image_29012025_23_01_26_10376.jpg', '/home/pi/Desktop/images/29012025/23/01/image_29012025_23_01_35_9394.jpg', '/home/pi/Desktop/images/29012025/23/01/image_29012025_23_01_46_10457.jpg', '/home/pi/Desktop/images/29012025/23/01/image_29012025_23_01_56_10380.jpg', '/home/pi/Desktop/images/29012025/23/01/image_29012025_23_02_05_9347.jpg', '/home/pi/Desktop/images/29012025/23/02/image_29012025_23_02_16_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/23/01/image_29012025_23_01_26_10376.jpg
/home/pi/Desktop/images/29012025/23/01/image_29012025_23_01_35_9394.jpg
/home/pi/Desktop/images/29012025/23/01/image_29012025_23_01_46_10457.jpg
/home/pi/Desktop/images/29012025/23/01/image_29012025_23_01_56_10380.jpg
/home/pi/Desktop/images/29012025/23/01/image_29012025_23_02_05_9347.jpg
/home/pi/Desktop/images/29012025/23/02/image_29012025_23_02_16_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":["1333373499","1333373580","1333373517","1333373511","1333373504","1333373584"],"photo_ids_order":["1333373499","1333373504","1333373511","1333373517","1333373580","1333373584"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ffbb8183bb60951cf128f6dffadafaa8.jpg","text":"TemporaryFile(/tmp/multipartBody5619631272471848231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337854993,"filename":"image_29012025_23_01_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/1/31/0973f0fd5d64fceb9b7acbbd5c3213fc.jpg","text":"TemporaryFile(/tmp/multipartBody797154341092181654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337854993,"filename":"image_29012025_23_02_05_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e7cd6581d30bdbe82f04da0a7f97c1da.jpg","text":"TemporaryFile(/tmp/multipartBody7849334908937171872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337854993,"filename":"image_29012025_23_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/1/31/597b6a8464f9ea31e6a2fb6c47679d90.jpg","text":"TemporaryFile(/tmp/multipartBody6530244109745940552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337854993,"filename":"image_29012025_23_01_46_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ce34a57f14abc8ec4a4bef6d57a28400.jpg","text":"TemporaryFile(/tmp/multipartBody4996032040835756391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337854993,"filename":"image_29012025_23_01_35_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ee764f659a846182756c6e39d6df1bcb.jpg","text":"TemporaryFile(/tmp/multipartBody2816149534971333015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337854993,"filename":"image_29012025_23_02_16_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333373511","file1":"1333373504","file0":"1333373499","file4":"1333373580","file5":"1333373584","file3":"1333373517"},"map_files_photo_id_array":[{"photo_id":"1333373584","filename":"file5"},{"photo_id":"1333373511","filename":"file2"},{"photo_id":"1333373580","filename":"file4"},{"photo_id":"1333373504","filename":"file1"},{"photo_id":"1333373499","filename":"file0"},{"photo_id":"1333373517","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333373499":["hashtag1","hashtag2"]},{"1333373580":["hashtag1","hashtag2"]},{"1333373517":["hashtag1","hashtag2"]},{"1333373511":["hashtag1","hashtag2"]},{"1333373504":["hashtag1","hashtag2"]},{"1333373584":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333373499, 1333373580, 1333373517, 1333373511, 1333373504, 1333373584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89388871192932 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:37:32.823794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/23/02/image_29012025_23_02_26_10414.jpg', '/home/pi/Desktop/images/29012025/23/02/image_29012025_23_02_36_9341.jpg', '/home/pi/Desktop/images/29012025/23/02/image_29012025_23_02_46_10472.jpg', '/home/pi/Desktop/images/29012025/23/02/image_29012025_23_02_55_9345.jpg', '/home/pi/Desktop/images/29012025/23/02/image_29012025_23_03_06_10353.jpg', '/home/pi/Desktop/images/29012025/23/03/image_29012025_23_03_16_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/23/02/image_29012025_23_02_26_10414.jpg
/home/pi/Desktop/images/29012025/23/02/image_29012025_23_02_36_9341.jpg
/home/pi/Desktop/images/29012025/23/02/image_29012025_23_02_46_10472.jpg
/home/pi/Desktop/images/29012025/23/02/image_29012025_23_02_55_9345.jpg
/home/pi/Desktop/images/29012025/23/02/image_29012025_23_03_06_10353.jpg
/home/pi/Desktop/images/29012025/23/03/image_29012025_23_03_16_10394.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.036435127258301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 16:37:42.683835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/23/02/image_29012025_23_02_26_10414.jpg', '/home/pi/Desktop/images/29012025/23/02/image_29012025_23_02_36_9341.jpg', '/home/pi/Desktop/images/29012025/23/02/image_29012025_23_02_46_10472.jpg', '/home/pi/Desktop/images/29012025/23/02/image_29012025_23_02_55_9345.jpg', '/home/pi/Desktop/images/29012025/23/02/image_29012025_23_03_06_10353.jpg', '/home/pi/Desktop/images/29012025/23/03/image_29012025_23_03_16_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/23/02/image_29012025_23_02_26_10414.jpg
/home/pi/Desktop/images/29012025/23/02/image_29012025_23_02_36_9341.jpg
/home/pi/Desktop/images/29012025/23/02/image_29012025_23_02_46_10472.jpg
/home/pi/Desktop/images/29012025/23/02/image_29012025_23_02_55_9345.jpg
/home/pi/Desktop/images/29012025/23/02/image_29012025_23_03_06_10353.jpg
/home/pi/Desktop/images/29012025/23/03/image_29012025_23_03_16_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":["1333373652","1333373675","1333373669","1333373662","1333373665","1333373659"],"photo_ids_order":["1333373652","1333373659","1333373662","1333373665","1333373669","1333373675"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/18558b83e46a619723be9ea28596a339.jpg","text":"TemporaryFile(/tmp/multipartBody4796752533160762193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337924212,"filename":"image_29012025_23_02_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/1/31/6efcd230cb2bd846799dc36cf20ee736.jpg","text":"TemporaryFile(/tmp/multipartBody7949873415291387872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337924212,"filename":"image_29012025_23_03_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/1/31/0069d745b280c78636813c5a38865fcd.jpg","text":"TemporaryFile(/tmp/multipartBody6686824466035923488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337924212,"filename":"image_29012025_23_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/1/31/8d3ba4c0a647de7066b1efde54720b15.jpg","text":"TemporaryFile(/tmp/multipartBody2981311086822821371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337924212,"filename":"image_29012025_23_02_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/1/31/c6953a3a9f7958846691cb6600fb8b48.jpg","text":"TemporaryFile(/tmp/multipartBody1973345479938031280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337924212,"filename":"image_29012025_23_02_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/1/31/721b20a3cbaa7368a3741fd6e31cbf9d.jpg","text":"TemporaryFile(/tmp/multipartBody1429765961267458669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337924212,"filename":"image_29012025_23_02_36_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333373662","file1":"1333373659","file0":"1333373652","file4":"1333373669","file5":"1333373675","file3":"1333373665"},"map_files_photo_id_array":[{"photo_id":"1333373675","filename":"file5"},{"photo_id":"1333373662","filename":"file2"},{"photo_id":"1333373669","filename":"file4"},{"photo_id":"1333373659","filename":"file1"},{"photo_id":"1333373652","filename":"file0"},{"photo_id":"1333373665","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333373652":["hashtag1","hashtag2"]},{"1333373675":["hashtag1","hashtag2"]},{"1333373669":["hashtag1","hashtag2"]},{"1333373662":["hashtag1","hashtag2"]},{"1333373665":["hashtag1","hashtag2"]},{"1333373659":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333373652, 1333373675, 1333373669, 1333373662, 1333373665, 1333373659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86484885215759 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:38:32.996408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/23/03/image_29012025_23_03_26_9359.jpg', '/home/pi/Desktop/images/29012025/23/03/image_29012025_23_03_36_10361.jpg', '/home/pi/Desktop/images/29012025/23/03/image_29012025_23_03_45_9385.jpg', '/home/pi/Desktop/images/29012025/23/03/image_29012025_23_03_56_10368.jpg', '/home/pi/Desktop/images/29012025/23/03/image_29012025_23_04_06_10399.jpg', '/home/pi/Desktop/images/29012025/23/04/image_29012025_23_04_15_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/23/03/image_29012025_23_03_26_9359.jpg
/home/pi/Desktop/images/29012025/23/03/image_29012025_23_03_36_10361.jpg
/home/pi/Desktop/images/29012025/23/03/image_29012025_23_03_45_9385.jpg
/home/pi/Desktop/images/29012025/23/03/image_29012025_23_03_56_10368.jpg
/home/pi/Desktop/images/29012025/23/03/image_29012025_23_04_06_10399.jpg
/home/pi/Desktop/images/29012025/23/04/image_29012025_23_04_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":["1333374156","1333374452","1333374161","1333374149","1333374044","1333374142"],"photo_ids_order":["1333374044","1333374142","1333374149","1333374156","1333374161","1333374452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8060fc219b7a0d1c37b33ad244d37a71.jpg","text":"TemporaryFile(/tmp/multipartBody6584094405003660146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337975432,"filename":"image_29012025_23_03_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/1/31/a43f6e963b5bde3c0bceae00d781f891.jpg","text":"TemporaryFile(/tmp/multipartBody1842502659464220017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337975432,"filename":"image_29012025_23_04_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/1/31/555b57abef945c53a76bf39c57b47091.jpg","text":"TemporaryFile(/tmp/multipartBody6507765774136423454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337975432,"filename":"image_29012025_23_04_06_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c0d98aa3c5f70dd4e0080b1cb7512a20.jpg","text":"TemporaryFile(/tmp/multipartBody1326575817321622442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337975432,"filename":"image_29012025_23_03_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/1/31/ea44e4ba60063aec7e9b8eec7d04d08b.jpg","text":"TemporaryFile(/tmp/multipartBody7976241461669025851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337975432,"filename":"image_29012025_23_03_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/1/31/7e4a2a911e7d23ed574017b66c18726b.jpg","text":"TemporaryFile(/tmp/multipartBody6833485555036200473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738337975432,"filename":"image_29012025_23_03_36_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333374149","file1":"1333374142","file0":"1333374044","file4":"1333374161","file5":"1333374452","file3":"1333374156"},"map_files_photo_id_array":[{"photo_id":"1333374452","filename":"file5"},{"photo_id":"1333374149","filename":"file2"},{"photo_id":"1333374161","filename":"file4"},{"photo_id":"1333374142","filename":"file1"},{"photo_id":"1333374044","filename":"file0"},{"photo_id":"1333374156","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333374156":["hashtag1","hashtag2"]},{"1333374452":["hashtag1","hashtag2"]},{"1333374161":["hashtag1","hashtag2"]},{"1333374149":["hashtag1","hashtag2"]},{"1333374044":["hashtag1","hashtag2"]},{"1333374142":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333374156, 1333374452, 1333374161, 1333374149, 1333374044, 1333374142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73509645462036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:39:33.151272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/23/04/image_29012025_23_04_26_10370.jpg', '/home/pi/Desktop/images/29012025/23/04/image_29012025_23_04_46_9343.jpg', '/home/pi/Desktop/images/29012025/23/04/image_29012025_23_05_05_9354.jpg', '/home/pi/Desktop/images/29012025/23/05/image_29012025_23_05_16_10353.jpg', '/home/pi/Desktop/images/29012025/23/05/image_29012025_23_05_26_10358.jpg', '/home/pi/Desktop/images/29012025/23/05/image_29012025_23_05_35_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/23/04/image_29012025_23_04_26_10370.jpg
/home/pi/Desktop/images/29012025/23/04/image_29012025_23_04_46_9343.jpg
/home/pi/Desktop/images/29012025/23/04/image_29012025_23_05_05_9354.jpg
/home/pi/Desktop/images/29012025/23/05/image_29012025_23_05_16_10353.jpg
/home/pi/Desktop/images/29012025/23/05/image_29012025_23_05_26_10358.jpg
/home/pi/Desktop/images/29012025/23/05/image_29012025_23_05_35_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":["1333375707","1333375421","1333375307","1333375229","1333375783","1333375567"],"photo_ids_order":["1333375229","1333375307","1333375421","1333375567","1333375707","1333375783"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2a5b1805ab60acc76234ba0c8b1692a9.jpg","text":"TemporaryFile(/tmp/multipartBody2135611718002060828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738338035580,"filename":"image_29012025_23_05_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/1/31/5c99740dd694fa112d4f9294fd4d619b.jpg","text":"TemporaryFile(/tmp/multipartBody8087889067053515953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738338035580,"filename":"image_29012025_23_05_05_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1e33da5c18c48803ccfc3b3bcadb92e5.jpg","text":"TemporaryFile(/tmp/multipartBody3255646985622095063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738338035580,"filename":"image_29012025_23_04_46_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/141bb0eff1b08fd1d6f8284472ff10e7.jpg","text":"TemporaryFile(/tmp/multipartBody1668826135285623007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738338035580,"filename":"image_29012025_23_04_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/1/31/357caa747191de470140a966ad6534c3.jpg","text":"TemporaryFile(/tmp/multipartBody1276683088009524487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738338035580,"filename":"image_29012025_23_05_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/1/31/71704e3586d103f13d64b50880ee9e8d.jpg","text":"TemporaryFile(/tmp/multipartBody5406024655251269623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738338035580,"filename":"image_29012025_23_05_16_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333375421","file1":"1333375307","file0":"1333375229","file4":"1333375707","file5":"1333375783","file3":"1333375567"},"map_files_photo_id_array":[{"photo_id":"1333375783","filename":"file5"},{"photo_id":"1333375421","filename":"file2"},{"photo_id":"1333375707","filename":"file4"},{"photo_id":"1333375307","filename":"file1"},{"photo_id":"1333375229","filename":"file0"},{"photo_id":"1333375567","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333375707":["hashtag1","hashtag2"]},{"1333375421":["hashtag1","hashtag2"]},{"1333375307":["hashtag1","hashtag2"]},{"1333375229":["hashtag1","hashtag2"]},{"1333375783":["hashtag1","hashtag2"]},{"1333375567":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333375707, 1333375421, 1333375307, 1333375229, 1333375783, 1333375567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.526599168777466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:40:32.519142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/23/05/image_29012025_23_05_46_10372.jpg', '/home/pi/Desktop/images/29012025/23/05/image_29012025_23_05_56_10442.jpg', '/home/pi/Desktop/images/29012025/23/05/image_29012025_23_06_06_9348.jpg', '/home/pi/Desktop/images/29012025/23/06/image_29012025_23_06_16_10401.jpg', '/home/pi/Desktop/images/29012025/23/06/image_29012025_23_06_25_9360.jpg', '/home/pi/Desktop/images/29012025/23/06/image_29012025_23_06_36_10437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/23/05/image_29012025_23_05_46_10372.jpg
/home/pi/Desktop/images/29012025/23/05/image_29012025_23_05_56_10442.jpg
/home/pi/Desktop/images/29012025/23/05/image_29012025_23_06_06_9348.jpg
/home/pi/Desktop/images/29012025/23/06/image_29012025_23_06_16_10401.jpg
/home/pi/Desktop/images/29012025/23/06/image_29012025_23_06_25_9360.jpg
/home/pi/Desktop/images/29012025/23/06/image_29012025_23_06_36_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":["1333375958","1333376083","1333375903","1333375909","1333376109","1333376174"],"photo_ids_order":["1333375903","1333375909","1333375958","1333376083","1333376109","1333376174"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5d754086c0683131e5b22e724dbaf117.jpg","text":"TemporaryFile(/tmp/multipartBody6025990815231324938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738338094952,"filename":"image_29012025_23_06_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/1/31/3820cbd6e58cb8e99944fb5daae75d34.jpg","text":"TemporaryFile(/tmp/multipartBody2934894894596282451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738338094952,"filename":"image_29012025_23_06_16_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5706fa5efb9b369ae0def57baeea106a.jpg","text":"TemporaryFile(/tmp/multipartBody7623329592888609524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738338094952,"filename":"image_29012025_23_05_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/1/31/fac5567409c5505393523cd690e33744.jpg","text":"TemporaryFile(/tmp/multipartBody2831072621935944656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738338094952,"filename":"image_29012025_23_05_56_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5e55c92e84a3722525236f224948c2e4.jpg","text":"TemporaryFile(/tmp/multipartBody1719322693309206337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738338094952,"filename":"image_29012025_23_06_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/1/31/89a9aa8e366036c3c8ae238ea016eaff.jpg","text":"TemporaryFile(/tmp/multipartBody3533932745856617658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738338094952,"filename":"image_29012025_23_06_36_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333375958","file1":"1333375909","file0":"1333375903","file4":"1333376109","file5":"1333376174","file3":"1333376083"},"map_files_photo_id_array":[{"photo_id":"1333376174","filename":"file5"},{"photo_id":"1333375958","filename":"file2"},{"photo_id":"1333376109","filename":"file4"},{"photo_id":"1333375909","filename":"file1"},{"photo_id":"1333375903","filename":"file0"},{"photo_id":"1333376083","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333375958":["hashtag1","hashtag2"]},{"1333376083":["hashtag1","hashtag2"]},{"1333375903":["hashtag1","hashtag2"]},{"1333375909":["hashtag1","hashtag2"]},{"1333376109":["hashtag1","hashtag2"]},{"1333376174":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333375958, 1333376083, 1333375903, 1333375909, 1333376109, 1333376174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.93975520133972 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:41:32.642555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/23/06/image_29012025_23_06_56_9362.jpg', '/home/pi/Desktop/images/29012025/23/06/image_29012025_23_07_06_10410.jpg', '/home/pi/Desktop/images/29012025/23/07/image_29012025_23_07_45_9344.jpg', '/home/pi/Desktop/images/29012025/23/07/image_29012025_23_07_56_10388.jpg', '/home/pi/Desktop/images/29012025/23/07/image_29012025_23_08_06_10355.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_16_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/23/06/image_29012025_23_06_56_9362.jpg
/home/pi/Desktop/images/29012025/23/06/image_29012025_23_07_06_10410.jpg
/home/pi/Desktop/images/29012025/23/07/image_29012025_23_07_45_9344.jpg
/home/pi/Desktop/images/29012025/23/07/image_29012025_23_07_56_10388.jpg
/home/pi/Desktop/images/29012025/23/07/image_29012025_23_08_06_10355.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_16_9328.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 www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.0507776737213135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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-01-31 16:41:42.651664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/23/06/image_29012025_23_06_56_9362.jpg', '/home/pi/Desktop/images/29012025/23/06/image_29012025_23_07_06_10410.jpg', '/home/pi/Desktop/images/29012025/23/07/image_29012025_23_07_45_9344.jpg', '/home/pi/Desktop/images/29012025/23/07/image_29012025_23_07_56_10388.jpg', '/home/pi/Desktop/images/29012025/23/07/image_29012025_23_08_06_10355.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_16_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/23/06/image_29012025_23_06_56_9362.jpg
/home/pi/Desktop/images/29012025/23/06/image_29012025_23_07_06_10410.jpg
/home/pi/Desktop/images/29012025/23/07/image_29012025_23_07_45_9344.jpg
/home/pi/Desktop/images/29012025/23/07/image_29012025_23_07_56_10388.jpg
/home/pi/Desktop/images/29012025/23/07/image_29012025_23_08_06_10355.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_16_9328.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":["1333376583","1333376730","1333376568","1333377047","1333376625","1333376576"],"photo_ids_order":["1333376568","1333376576","1333376583","1333376625","1333376730","1333377047"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cad073fe2c6cf2bb4686d1645d342a25.jpg","text":"TemporaryFile(/tmp/multipartBody1140406262607113456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738338164199,"filename":"image_29012025_23_07_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/1/31/e31bc47bd40005842119168cb88a27cc.jpg","text":"TemporaryFile(/tmp/multipartBody803212777856938326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738338164199,"filename":"image_29012025_23_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/1/31/b9a62ba505265d19fd9e226b58c0ae89.jpg","text":"TemporaryFile(/tmp/multipartBody830516429451245153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738338164199,"filename":"image_29012025_23_06_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/1/31/055d5b27905261665923bb7b81a80143.jpg","text":"TemporaryFile(/tmp/multipartBody4151386468064459201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738338164199,"filename":"image_29012025_23_08_16_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5aed815fbdd625b2a0bb8b7f08111352.jpg","text":"TemporaryFile(/tmp/multipartBody4887135426105472264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738338164199,"filename":"image_29012025_23_07_56_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1e1d4a04f1eb14bbc1a1972789a85f07.jpg","text":"TemporaryFile(/tmp/multipartBody6619136731978924312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738338164199,"filename":"image_29012025_23_07_06_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333376583","file1":"1333376576","file0":"1333376568","file4":"1333376730","file5":"1333377047","file3":"1333376625"},"map_files_photo_id_array":[{"photo_id":"1333377047","filename":"file5"},{"photo_id":"1333376583","filename":"file2"},{"photo_id":"1333376730","filename":"file4"},{"photo_id":"1333376576","filename":"file1"},{"photo_id":"1333376568","filename":"file0"},{"photo_id":"1333376625","filename":"file3"}],"portfolio_id":20031199,"hashtag_by_photo_ids":[{"1333376583":["hashtag1","hashtag2"]},{"1333376730":["hashtag1","hashtag2"]},{"1333376568":["hashtag1","hashtag2"]},{"1333377047":["hashtag1","hashtag2"]},{"1333376625":["hashtag1","hashtag2"]},{"1333376576":["hashtag1","hashtag2"]}],"comms":"Portfolio 20031199 used, photo_id : ArrayBuffer(1333376583, 1333376730, 1333376568, 1333377047, 1333376625, 1333376576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.201698303222656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 16:42:32.904767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_26_10364.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_36_10371.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_46_9357.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_56_10403.jpg', '/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_16_10340.jpg', '/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_35_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_26_10364.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_36_10371.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_46_9357.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_56_10403.jpg
/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_16_10340.jpg
/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_35_9355.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! 
 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! 
 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! 
 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! 
 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! 
 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! 
 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! 
 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! 
 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! 
 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! 
 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! 
 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! 
 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 www.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-01-31 16:59:03.702791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_26_10364.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_36_10371.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_46_9357.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_56_10403.jpg', '/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_16_10340.jpg', '/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_35_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_26_10364.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_36_10371.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_46_9357.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_56_10403.jpg
/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_16_10340.jpg
/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_35_9355.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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f7f90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 130.2668604850769 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:01:32.301777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_26_10364.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_36_10371.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_46_9357.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_56_10403.jpg', '/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_16_10340.jpg', '/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_35_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_26_10364.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_36_10371.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_46_9357.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_56_10403.jpg
/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_16_10340.jpg
/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_35_9355.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! 
 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
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754940b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.26693081855774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:03:52.648193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_26_10364.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_36_10371.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_46_9357.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_56_10403.jpg', '/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_16_10340.jpg', '/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_35_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_26_10364.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_36_10371.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_46_9357.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_56_10403.jpg
/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_16_10340.jpg
/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_35_9355.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! 
 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
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75dad990>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.161390542984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:06:32.435625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_26_10364.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_36_10371.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_46_9357.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_56_10403.jpg', '/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_16_10340.jpg', '/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_35_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_26_10364.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_36_10371.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_46_9357.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_56_10403.jpg
/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_16_10340.jpg
/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_35_9355.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! 
 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
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75565250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.09388780593872 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:08:52.932438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_26_10364.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_36_10371.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_46_9357.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_56_10403.jpg', '/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_16_10340.jpg', '/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_35_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_26_10364.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_36_10371.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_46_9357.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_56_10403.jpg
/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_16_10340.jpg
/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_35_9355.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! 
 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
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755911d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.95712614059448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:11:32.559285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_26_10364.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_36_10371.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_46_9357.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_56_10403.jpg', '/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_16_10340.jpg', '/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_35_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_26_10364.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_36_10371.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_46_9357.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_56_10403.jpg
/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_16_10340.jpg
/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_35_9355.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! 
 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
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75515230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.05020380020142 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:13:53.134347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250125 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250127 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250128 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250129 ORDER BY id_local ASC LIMIT 6;
  port_id : 20031199
  datou_current_id : 2524420
in upload_from_sqlite, uploading in 20031199
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_26_10364.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_36_10371.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_46_9357.jpg', '/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_56_10403.jpg', '/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_16_10340.jpg', '/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_35_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_26_10364.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_36_10371.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_46_9357.jpg
/home/pi/Desktop/images/29012025/23/08/image_29012025_23_08_56_10403.jpg
/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_16_10340.jpg
/home/pi/Desktop/images/29012025/23/09/image_29012025_23_09_35_9355.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! 
 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
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2524420&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x755201b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.71439409255981 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:16:32.972634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/34/image_31012025_11_34_57_10410.jpg', '/home/pi/Desktop/images/31012025/11/34/image_31012025_11_35_07_10360.jpg', '/home/pi/Desktop/images/31012025/11/35/image_31012025_11_35_17_9416.jpg', '/home/pi/Desktop/images/31012025/11/35/image_31012025_11_35_27_10343.jpg', '/home/pi/Desktop/images/31012025/11/35/image_31012025_11_35_36_9352.jpg', '/home/pi/Desktop/images/31012025/11/35/image_31012025_11_35_47_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/34/image_31012025_11_34_57_10410.jpg
/home/pi/Desktop/images/31012025/11/34/image_31012025_11_35_07_10360.jpg
/home/pi/Desktop/images/31012025/11/35/image_31012025_11_35_17_9416.jpg
/home/pi/Desktop/images/31012025/11/35/image_31012025_11_35_27_10343.jpg
/home/pi/Desktop/images/31012025/11/35/image_31012025_11_35_36_9352.jpg
/home/pi/Desktop/images/31012025/11/35/image_31012025_11_35_47_10359.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! 
 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
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754aed30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 130.5969123840332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:18:52.410667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/34/image_31012025_11_34_57_10410.jpg', '/home/pi/Desktop/images/31012025/11/34/image_31012025_11_35_07_10360.jpg', '/home/pi/Desktop/images/31012025/11/35/image_31012025_11_35_17_9416.jpg', '/home/pi/Desktop/images/31012025/11/35/image_31012025_11_35_27_10343.jpg', '/home/pi/Desktop/images/31012025/11/35/image_31012025_11_35_36_9352.jpg', '/home/pi/Desktop/images/31012025/11/35/image_31012025_11_35_47_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/34/image_31012025_11_34_57_10410.jpg
/home/pi/Desktop/images/31012025/11/34/image_31012025_11_35_07_10360.jpg
/home/pi/Desktop/images/31012025/11/35/image_31012025_11_35_17_9416.jpg
/home/pi/Desktop/images/31012025/11/35/image_31012025_11_35_27_10343.jpg
/home/pi/Desktop/images/31012025/11/35/image_31012025_11_35_36_9352.jpg
/home/pi/Desktop/images/31012025/11/35/image_31012025_11_35_47_10359.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333389157","1333389406","1333389264","1333389051","1333389222","1333389102"],"photo_ids_order":["1333389051","1333389102","1333389157","1333389222","1333389264","1333389406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f2dfc8e155f7c509987a045d0a76bc0b.jpg","text":"TemporaryFile(/tmp/multipartBody381697578107735832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340392870,"filename":"image_31012025_11_35_17_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3dbb2cc990e93c7591876bfe4c80f44a.jpg","text":"TemporaryFile(/tmp/multipartBody4442968548685053275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340392870,"filename":"image_31012025_11_35_47_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/685016907e19fc377329c07a351558ec.jpg","text":"TemporaryFile(/tmp/multipartBody5233877502755717076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340392870,"filename":"image_31012025_11_35_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/1/31/c75d0d34c08cb369b52acddb221fdc91.jpg","text":"TemporaryFile(/tmp/multipartBody2582332389606428643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340392870,"filename":"image_31012025_11_34_57_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3519f22011171fb56a1ad2906cdbaac9.jpg","text":"TemporaryFile(/tmp/multipartBody2341479949743587296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340392870,"filename":"image_31012025_11_35_27_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/62914985a1adc0199ed638376a12d5e6.jpg","text":"TemporaryFile(/tmp/multipartBody4892784884802537834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340392870,"filename":"image_31012025_11_35_07_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333389157","file1":"1333389102","file0":"1333389051","file4":"1333389264","file5":"1333389406","file3":"1333389222"},"map_files_photo_id_array":[{"photo_id":"1333389406","filename":"file5"},{"photo_id":"1333389157","filename":"file2"},{"photo_id":"1333389264","filename":"file4"},{"photo_id":"1333389102","filename":"file1"},{"photo_id":"1333389051","filename":"file0"},{"photo_id":"1333389222","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333389157":["hashtag1","hashtag2"]},{"1333389406":["hashtag1","hashtag2"]},{"1333389264":["hashtag1","hashtag2"]},{"1333389051":["hashtag1","hashtag2"]},{"1333389222":["hashtag1","hashtag2"]},{"1333389102":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333389157, 1333389406, 1333389264, 1333389051, 1333389222, 1333389102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.545432806015015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:19:32.670505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/35/image_31012025_11_35_57_10391.jpg', '/home/pi/Desktop/images/31012025/11/35/image_31012025_11_36_06_9416.jpg', '/home/pi/Desktop/images/31012025/11/36/image_31012025_11_36_17_10393.jpg', '/home/pi/Desktop/images/31012025/11/36/image_31012025_11_36_27_10357.jpg', '/home/pi/Desktop/images/31012025/11/36/image_31012025_11_36_37_9420.jpg', '/home/pi/Desktop/images/31012025/11/36/image_31012025_11_36_47_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/35/image_31012025_11_35_57_10391.jpg
/home/pi/Desktop/images/31012025/11/35/image_31012025_11_36_06_9416.jpg
/home/pi/Desktop/images/31012025/11/36/image_31012025_11_36_17_10393.jpg
/home/pi/Desktop/images/31012025/11/36/image_31012025_11_36_27_10357.jpg
/home/pi/Desktop/images/31012025/11/36/image_31012025_11_36_37_9420.jpg
/home/pi/Desktop/images/31012025/11/36/image_31012025_11_36_47_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":["1333389653","1333389560","1333389482","1333389475","1333389486","1333389479"],"photo_ids_order":["1333389475","1333389479","1333389482","1333389486","1333389560","1333389653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/02ba99955f29081f50bbe780dad926f0.jpg","text":"TemporaryFile(/tmp/multipartBody3075744433789374835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340433146,"filename":"image_31012025_11_36_47_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ab60c4e3fb2cb11d69125b811b0439ba.jpg","text":"TemporaryFile(/tmp/multipartBody5185047408202233155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340433146,"filename":"image_31012025_11_36_37_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d48106edb55f65e2f2674efccfca55bd.jpg","text":"TemporaryFile(/tmp/multipartBody3227714010117913658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340433146,"filename":"image_31012025_11_36_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/1/31/37578c48304e1fbf062aba0f81a71567.jpg","text":"TemporaryFile(/tmp/multipartBody5940396082954388884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340433146,"filename":"image_31012025_11_35_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/1/31/314b934d9d17d1aeb069d5333043cd9d.jpg","text":"TemporaryFile(/tmp/multipartBody7773670521096953958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340433146,"filename":"image_31012025_11_36_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/1/31/110cefe04d6d57157e51c6107e03d1ff.jpg","text":"TemporaryFile(/tmp/multipartBody840634334624188516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340433146,"filename":"image_31012025_11_36_06_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333389482","file1":"1333389479","file0":"1333389475","file4":"1333389560","file5":"1333389653","file3":"1333389486"},"map_files_photo_id_array":[{"photo_id":"1333389653","filename":"file5"},{"photo_id":"1333389482","filename":"file2"},{"photo_id":"1333389560","filename":"file4"},{"photo_id":"1333389479","filename":"file1"},{"photo_id":"1333389475","filename":"file0"},{"photo_id":"1333389486","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333389653":["hashtag1","hashtag2"]},{"1333389560":["hashtag1","hashtag2"]},{"1333389482":["hashtag1","hashtag2"]},{"1333389475":["hashtag1","hashtag2"]},{"1333389486":["hashtag1","hashtag2"]},{"1333389479":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333389653, 1333389560, 1333389482, 1333389475, 1333389486, 1333389479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.162925004959106 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:20:33.012669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/36/image_31012025_11_36_56_9325.jpg', '/home/pi/Desktop/images/31012025/11/36/image_31012025_11_37_07_10470.jpg', '/home/pi/Desktop/images/31012025/11/37/image_31012025_11_37_17_10360.jpg', '/home/pi/Desktop/images/31012025/11/37/image_31012025_11_37_37_10392.jpg', '/home/pi/Desktop/images/31012025/11/37/image_31012025_11_37_57_10348.jpg', '/home/pi/Desktop/images/31012025/11/37/image_31012025_11_38_06_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/36/image_31012025_11_36_56_9325.jpg
/home/pi/Desktop/images/31012025/11/36/image_31012025_11_37_07_10470.jpg
/home/pi/Desktop/images/31012025/11/37/image_31012025_11_37_17_10360.jpg
/home/pi/Desktop/images/31012025/11/37/image_31012025_11_37_37_10392.jpg
/home/pi/Desktop/images/31012025/11/37/image_31012025_11_37_57_10348.jpg
/home/pi/Desktop/images/31012025/11/37/image_31012025_11_38_06_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":["1333389731","1333389722","1333389733","1333389727","1333389735","1333389738"],"photo_ids_order":["1333389722","1333389727","1333389731","1333389733","1333389735","1333389738"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a07ff94cb5a3738af01d7be918db1f93.jpg","text":"TemporaryFile(/tmp/multipartBody1941614972044210460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340493491,"filename":"image_31012025_11_37_17_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/41adf91053524699883903ca3a6d8a56.jpg","text":"TemporaryFile(/tmp/multipartBody4063719620747269452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340493491,"filename":"image_31012025_11_36_56_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/847690572b2558761b5eefa5b1353337.jpg","text":"TemporaryFile(/tmp/multipartBody4569018310684475292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340493491,"filename":"image_31012025_11_37_37_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/15247e38d679c5c1cccac5b9fd129463.jpg","text":"TemporaryFile(/tmp/multipartBody3079706473327894062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340493491,"filename":"image_31012025_11_37_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/1/31/f47fde0d175caf934d8c28e1dcddc064.jpg","text":"TemporaryFile(/tmp/multipartBody300626245434322950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340493491,"filename":"image_31012025_11_37_57_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8196e480bddc54a3af99b97fc242f764.jpg","text":"TemporaryFile(/tmp/multipartBody1819260350620464245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340493491,"filename":"image_31012025_11_38_06_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333389731","file1":"1333389727","file0":"1333389722","file4":"1333389735","file5":"1333389738","file3":"1333389733"},"map_files_photo_id_array":[{"photo_id":"1333389738","filename":"file5"},{"photo_id":"1333389731","filename":"file2"},{"photo_id":"1333389735","filename":"file4"},{"photo_id":"1333389727","filename":"file1"},{"photo_id":"1333389722","filename":"file0"},{"photo_id":"1333389733","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333389731":["hashtag1","hashtag2"]},{"1333389722":["hashtag1","hashtag2"]},{"1333389733":["hashtag1","hashtag2"]},{"1333389727":["hashtag1","hashtag2"]},{"1333389735":["hashtag1","hashtag2"]},{"1333389738":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333389731, 1333389722, 1333389733, 1333389727, 1333389735, 1333389738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72420787811279 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:21:32.220110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/38/image_31012025_11_38_17_10345.jpg', '/home/pi/Desktop/images/31012025/11/38/image_31012025_11_38_27_10394.jpg', '/home/pi/Desktop/images/31012025/11/38/image_31012025_11_38_36_9345.jpg', '/home/pi/Desktop/images/31012025/11/38/image_31012025_11_38_57_10341.jpg', '/home/pi/Desktop/images/31012025/11/38/image_31012025_11_39_06_9354.jpg', '/home/pi/Desktop/images/31012025/11/39/image_31012025_11_39_17_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/38/image_31012025_11_38_17_10345.jpg
/home/pi/Desktop/images/31012025/11/38/image_31012025_11_38_27_10394.jpg
/home/pi/Desktop/images/31012025/11/38/image_31012025_11_38_36_9345.jpg
/home/pi/Desktop/images/31012025/11/38/image_31012025_11_38_57_10341.jpg
/home/pi/Desktop/images/31012025/11/38/image_31012025_11_39_06_9354.jpg
/home/pi/Desktop/images/31012025/11/39/image_31012025_11_39_17_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":["1333389851","1333389845","1333389848","1333389828","1333389822","1333389819"],"photo_ids_order":["1333389819","1333389822","1333389828","1333389845","1333389848","1333389851"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/07e88493646bc9f9392a0288f3aee69b.jpg","text":"TemporaryFile(/tmp/multipartBody6264722101279701423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340552706,"filename":"image_31012025_11_39_17_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/80e539e2e464313f97b907124fd3d3fb.jpg","text":"TemporaryFile(/tmp/multipartBody620144855365709515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340552706,"filename":"image_31012025_11_38_57_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bba4c38d0c4f40260928f825f6b58783.jpg","text":"TemporaryFile(/tmp/multipartBody4714180338112200237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340552706,"filename":"image_31012025_11_39_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/1/31/12d38412cf4c08ef6a37b1682b4d3bdb.jpg","text":"TemporaryFile(/tmp/multipartBody7073967621285443387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340552706,"filename":"image_31012025_11_38_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/1/31/27822285aee2f956505f1480f4dbdcad.jpg","text":"TemporaryFile(/tmp/multipartBody4284066071147241681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340552706,"filename":"image_31012025_11_38_27_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b8b007ce30e76a66d8e2da61087371d5.jpg","text":"TemporaryFile(/tmp/multipartBody4326656682220004319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340552706,"filename":"image_31012025_11_38_17_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333389828","file1":"1333389822","file0":"1333389819","file4":"1333389848","file5":"1333389851","file3":"1333389845"},"map_files_photo_id_array":[{"photo_id":"1333389851","filename":"file5"},{"photo_id":"1333389828","filename":"file2"},{"photo_id":"1333389848","filename":"file4"},{"photo_id":"1333389822","filename":"file1"},{"photo_id":"1333389819","filename":"file0"},{"photo_id":"1333389845","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333389851":["hashtag1","hashtag2"]},{"1333389845":["hashtag1","hashtag2"]},{"1333389848":["hashtag1","hashtag2"]},{"1333389828":["hashtag1","hashtag2"]},{"1333389822":["hashtag1","hashtag2"]},{"1333389819":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333389851, 1333389845, 1333389848, 1333389828, 1333389822, 1333389819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.9527108669281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:22:32.435339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/39/image_31012025_11_39_26_9408.jpg', '/home/pi/Desktop/images/31012025/11/39/image_31012025_11_39_37_10419.jpg', '/home/pi/Desktop/images/31012025/11/39/image_31012025_11_39_46_9417.jpg', '/home/pi/Desktop/images/31012025/11/39/image_31012025_11_39_56_10336.jpg', '/home/pi/Desktop/images/31012025/11/39/image_31012025_11_40_07_10363.jpg', '/home/pi/Desktop/images/31012025/11/40/image_31012025_11_40_16_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/39/image_31012025_11_39_26_9408.jpg
/home/pi/Desktop/images/31012025/11/39/image_31012025_11_39_37_10419.jpg
/home/pi/Desktop/images/31012025/11/39/image_31012025_11_39_46_9417.jpg
/home/pi/Desktop/images/31012025/11/39/image_31012025_11_39_56_10336.jpg
/home/pi/Desktop/images/31012025/11/39/image_31012025_11_40_07_10363.jpg
/home/pi/Desktop/images/31012025/11/40/image_31012025_11_40_16_9400.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.3884570598602295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 17:22:42.383039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/39/image_31012025_11_39_26_9408.jpg', '/home/pi/Desktop/images/31012025/11/39/image_31012025_11_39_37_10419.jpg', '/home/pi/Desktop/images/31012025/11/39/image_31012025_11_39_46_9417.jpg', '/home/pi/Desktop/images/31012025/11/39/image_31012025_11_39_56_10336.jpg', '/home/pi/Desktop/images/31012025/11/39/image_31012025_11_40_07_10363.jpg', '/home/pi/Desktop/images/31012025/11/40/image_31012025_11_40_16_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/39/image_31012025_11_39_26_9408.jpg
/home/pi/Desktop/images/31012025/11/39/image_31012025_11_39_37_10419.jpg
/home/pi/Desktop/images/31012025/11/39/image_31012025_11_39_46_9417.jpg
/home/pi/Desktop/images/31012025/11/39/image_31012025_11_39_56_10336.jpg
/home/pi/Desktop/images/31012025/11/39/image_31012025_11_40_07_10363.jpg
/home/pi/Desktop/images/31012025/11/40/image_31012025_11_40_16_9400.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":["1333390005","1333390031","1333390013","1333389934","1333390033","1333390024"],"photo_ids_order":["1333389934","1333390005","1333390013","1333390024","1333390031","1333390033"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/82103a2dbbf21a900f27ea37def3b338.jpg","text":"TemporaryFile(/tmp/multipartBody1176771013856514246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340622849,"filename":"image_31012025_11_39_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/1/31/587a703838606ae5a0f3182dc80c41f8.jpg","text":"TemporaryFile(/tmp/multipartBody1305436394335039984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340622849,"filename":"image_31012025_11_40_07_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/66c0a03affce2a18a4f8f00a6c0b31d0.jpg","text":"TemporaryFile(/tmp/multipartBody3869108203673556053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340622849,"filename":"image_31012025_11_39_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/1/31/a65e4ebd83baf2601f6bc0ff25f39e79.jpg","text":"TemporaryFile(/tmp/multipartBody1248978177051004456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340622849,"filename":"image_31012025_11_39_26_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cf8f1bbf823a6c8ee756b14c4a4b4967.jpg","text":"TemporaryFile(/tmp/multipartBody3133592514077197360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340622849,"filename":"image_31012025_11_40_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/1/31/38a91d748984715bdab88c873423d93f.jpg","text":"TemporaryFile(/tmp/multipartBody8349752600324594017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340622849,"filename":"image_31012025_11_39_56_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333390013","file1":"1333390005","file0":"1333389934","file4":"1333390031","file5":"1333390033","file3":"1333390024"},"map_files_photo_id_array":[{"photo_id":"1333390033","filename":"file5"},{"photo_id":"1333390013","filename":"file2"},{"photo_id":"1333390031","filename":"file4"},{"photo_id":"1333390005","filename":"file1"},{"photo_id":"1333389934","filename":"file0"},{"photo_id":"1333390024","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333390005":["hashtag1","hashtag2"]},{"1333390031":["hashtag1","hashtag2"]},{"1333390013":["hashtag1","hashtag2"]},{"1333389934":["hashtag1","hashtag2"]},{"1333390033":["hashtag1","hashtag2"]},{"1333390024":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333390005, 1333390031, 1333390013, 1333389934, 1333390033, 1333390024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7318856716156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:23:32.614764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/40/image_31012025_11_40_27_10355.jpg', '/home/pi/Desktop/images/31012025/11/40/image_31012025_11_40_36_9725.jpg', '/home/pi/Desktop/images/31012025/11/40/image_31012025_11_40_47_10461.jpg', '/home/pi/Desktop/images/31012025/11/40/image_31012025_11_40_56_9353.jpg', '/home/pi/Desktop/images/31012025/11/40/image_31012025_11_41_06_10344.jpg', '/home/pi/Desktop/images/31012025/11/41/image_31012025_11_41_17_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/40/image_31012025_11_40_27_10355.jpg
/home/pi/Desktop/images/31012025/11/40/image_31012025_11_40_36_9725.jpg
/home/pi/Desktop/images/31012025/11/40/image_31012025_11_40_47_10461.jpg
/home/pi/Desktop/images/31012025/11/40/image_31012025_11_40_56_9353.jpg
/home/pi/Desktop/images/31012025/11/40/image_31012025_11_41_06_10344.jpg
/home/pi/Desktop/images/31012025/11/41/image_31012025_11_41_17_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333390172","1333390175","1333390217","1333390177","1333390246","1333390249"],"photo_ids_order":["1333390172","1333390175","1333390177","1333390217","1333390246","1333390249"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6c441a01985d4109217e990ab2171757.jpg","text":"TemporaryFile(/tmp/multipartBody901205648201340000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340673072,"filename":"image_31012025_11_40_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/1/31/6ebfaad075f89c6b2111f8fc8394d916.jpg","text":"TemporaryFile(/tmp/multipartBody1847499814467833471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340673072,"filename":"image_31012025_11_40_36_9725.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6756f8ff377d3f325535926885dff0ba.jpg","text":"TemporaryFile(/tmp/multipartBody5379745561012859827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340673072,"filename":"image_31012025_11_40_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/1/31/0e46d6c4be7a44e4f43932feda087a99.jpg","text":"TemporaryFile(/tmp/multipartBody3411651129327469769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340673072,"filename":"image_31012025_11_40_47_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5103df522c01e91d5f962cc7d8421454.jpg","text":"TemporaryFile(/tmp/multipartBody2841837408010479942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340673072,"filename":"image_31012025_11_41_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/89b53a7f4f0507c73c4a272516571f7f.jpg","text":"TemporaryFile(/tmp/multipartBody112229933364295855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340673072,"filename":"image_31012025_11_41_17_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333390177","file1":"1333390175","file0":"1333390172","file4":"1333390246","file5":"1333390249","file3":"1333390217"},"map_files_photo_id_array":[{"photo_id":"1333390249","filename":"file5"},{"photo_id":"1333390177","filename":"file2"},{"photo_id":"1333390246","filename":"file4"},{"photo_id":"1333390175","filename":"file1"},{"photo_id":"1333390172","filename":"file0"},{"photo_id":"1333390217","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333390172":["hashtag1","hashtag2"]},{"1333390175":["hashtag1","hashtag2"]},{"1333390217":["hashtag1","hashtag2"]},{"1333390177":["hashtag1","hashtag2"]},{"1333390246":["hashtag1","hashtag2"]},{"1333390249":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333390172, 1333390175, 1333390217, 1333390177, 1333390246, 1333390249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.283368587493896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:24:32.988985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/41/image_31012025_11_41_26_9330.jpg', '/home/pi/Desktop/images/31012025/11/41/image_31012025_11_41_37_10346.jpg', '/home/pi/Desktop/images/31012025/11/41/image_31012025_11_41_47_9943.jpg', '/home/pi/Desktop/images/31012025/11/41/image_31012025_11_41_57_10358.jpg', '/home/pi/Desktop/images/31012025/11/41/image_31012025_11_42_06_9350.jpg', '/home/pi/Desktop/images/31012025/11/42/image_31012025_11_42_26_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/41/image_31012025_11_41_26_9330.jpg
/home/pi/Desktop/images/31012025/11/41/image_31012025_11_41_37_10346.jpg
/home/pi/Desktop/images/31012025/11/41/image_31012025_11_41_47_9943.jpg
/home/pi/Desktop/images/31012025/11/41/image_31012025_11_41_57_10358.jpg
/home/pi/Desktop/images/31012025/11/41/image_31012025_11_42_06_9350.jpg
/home/pi/Desktop/images/31012025/11/42/image_31012025_11_42_26_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":["1333390409","1333390393","1333390384","1333390528","1333390533","1333390416"],"photo_ids_order":["1333390384","1333390393","1333390409","1333390416","1333390528","1333390533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3ac42586763e97a372776f99b8116c39.jpg","text":"TemporaryFile(/tmp/multipartBody2291577071458807393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340733468,"filename":"image_31012025_11_41_47_9943.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8899d868ba5bc6102a7bd431d5d55bae.jpg","text":"TemporaryFile(/tmp/multipartBody8295764524568718072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340733468,"filename":"image_31012025_11_41_37_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b6c3b0f78e697221984dced1ae378414.jpg","text":"TemporaryFile(/tmp/multipartBody2928613300232943073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340733468,"filename":"image_31012025_11_41_26_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/277dbcdcd00aef47492337df35590f3e.jpg","text":"TemporaryFile(/tmp/multipartBody4238834416277003125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340733468,"filename":"image_31012025_11_42_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/1/31/4d0456acd50e73f5a825958129e7c6ff.jpg","text":"TemporaryFile(/tmp/multipartBody7936772844101965727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340733468,"filename":"image_31012025_11_42_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/1/31/3435b82c4942d45e30b4d49b0cb486b1.jpg","text":"TemporaryFile(/tmp/multipartBody8687213587151500143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340733468,"filename":"image_31012025_11_41_57_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333390409","file1":"1333390393","file0":"1333390384","file4":"1333390528","file5":"1333390533","file3":"1333390416"},"map_files_photo_id_array":[{"photo_id":"1333390533","filename":"file5"},{"photo_id":"1333390409","filename":"file2"},{"photo_id":"1333390528","filename":"file4"},{"photo_id":"1333390393","filename":"file1"},{"photo_id":"1333390384","filename":"file0"},{"photo_id":"1333390416","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333390409":["hashtag1","hashtag2"]},{"1333390393":["hashtag1","hashtag2"]},{"1333390384":["hashtag1","hashtag2"]},{"1333390528":["hashtag1","hashtag2"]},{"1333390533":["hashtag1","hashtag2"]},{"1333390416":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333390409, 1333390393, 1333390384, 1333390528, 1333390533, 1333390416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38408422470093 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:25:33.180052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/42/image_31012025_11_42_37_10363.jpg', '/home/pi/Desktop/images/31012025/11/42/image_31012025_11_42_47_10352.jpg', '/home/pi/Desktop/images/31012025/11/42/image_31012025_11_42_56_9408.jpg', '/home/pi/Desktop/images/31012025/11/42/image_31012025_11_43_07_10402.jpg', '/home/pi/Desktop/images/31012025/11/43/image_31012025_11_43_17_10346.jpg', '/home/pi/Desktop/images/31012025/11/43/image_31012025_11_43_26_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/42/image_31012025_11_42_37_10363.jpg
/home/pi/Desktop/images/31012025/11/42/image_31012025_11_42_47_10352.jpg
/home/pi/Desktop/images/31012025/11/42/image_31012025_11_42_56_9408.jpg
/home/pi/Desktop/images/31012025/11/42/image_31012025_11_43_07_10402.jpg
/home/pi/Desktop/images/31012025/11/43/image_31012025_11_43_17_10346.jpg
/home/pi/Desktop/images/31012025/11/43/image_31012025_11_43_26_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":["1333390682","1333390693","1333390696","1333390686","1333390689","1333390674"],"photo_ids_order":["1333390674","1333390682","1333390686","1333390689","1333390693","1333390696"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2ba55b314abeed596357f8c4103f692e.jpg","text":"TemporaryFile(/tmp/multipartBody1478677146175748044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340793650,"filename":"image_31012025_11_42_47_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2794748b19dc35f1188ba43499eb798f.jpg","text":"TemporaryFile(/tmp/multipartBody8434224606704542320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340793650,"filename":"image_31012025_11_43_17_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9715280d97e1201d64192cda9446d6be.jpg","text":"TemporaryFile(/tmp/multipartBody6047277826059915123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340793650,"filename":"image_31012025_11_43_26_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dc6d0f305b266bcf8f1cfd8eeca3b5b9.jpg","text":"TemporaryFile(/tmp/multipartBody1769822561508486939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340793650,"filename":"image_31012025_11_42_56_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1a29487fd47354915e8e4695691523ad.jpg","text":"TemporaryFile(/tmp/multipartBody7868583315886532892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340793650,"filename":"image_31012025_11_43_07_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f3fa4124378e16ee3c12733daeb2a27f.jpg","text":"TemporaryFile(/tmp/multipartBody759914061578162699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340793650,"filename":"image_31012025_11_42_37_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333390686","file1":"1333390682","file0":"1333390674","file4":"1333390693","file5":"1333390696","file3":"1333390689"},"map_files_photo_id_array":[{"photo_id":"1333390696","filename":"file5"},{"photo_id":"1333390686","filename":"file2"},{"photo_id":"1333390693","filename":"file4"},{"photo_id":"1333390682","filename":"file1"},{"photo_id":"1333390674","filename":"file0"},{"photo_id":"1333390689","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333390682":["hashtag1","hashtag2"]},{"1333390693":["hashtag1","hashtag2"]},{"1333390696":["hashtag1","hashtag2"]},{"1333390686":["hashtag1","hashtag2"]},{"1333390689":["hashtag1","hashtag2"]},{"1333390674":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333390682, 1333390693, 1333390696, 1333390686, 1333390689, 1333390674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.738927602767944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:26:32.383773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/43/image_31012025_11_43_37_10420.jpg', '/home/pi/Desktop/images/31012025/11/43/image_31012025_11_43_46_9336.jpg', '/home/pi/Desktop/images/31012025/11/43/image_31012025_11_43_57_10361.jpg', '/home/pi/Desktop/images/31012025/11/44/image_31012025_11_44_16_9342.jpg', '/home/pi/Desktop/images/31012025/11/44/image_31012025_11_44_37_10380.jpg', '/home/pi/Desktop/images/31012025/11/44/image_31012025_11_44_46_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/43/image_31012025_11_43_37_10420.jpg
/home/pi/Desktop/images/31012025/11/43/image_31012025_11_43_46_9336.jpg
/home/pi/Desktop/images/31012025/11/43/image_31012025_11_43_57_10361.jpg
/home/pi/Desktop/images/31012025/11/44/image_31012025_11_44_16_9342.jpg
/home/pi/Desktop/images/31012025/11/44/image_31012025_11_44_37_10380.jpg
/home/pi/Desktop/images/31012025/11/44/image_31012025_11_44_46_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":["1333390914","1333390853","1333390922","1333390919","1333390910","1333390857"],"photo_ids_order":["1333390853","1333390857","1333390910","1333390914","1333390919","1333390922"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/60b1a889c8301647ab5ebf08632d6468.jpg","text":"TemporaryFile(/tmp/multipartBody4429895345480207014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340852847,"filename":"image_31012025_11_44_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/1/31/53e975a75409c493eee8e4756d198c52.jpg","text":"TemporaryFile(/tmp/multipartBody6866499770811873845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340852847,"filename":"image_31012025_11_43_37_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9a36e4803d8828e781b8dcec441d0cde.jpg","text":"TemporaryFile(/tmp/multipartBody8492487348730123830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340852847,"filename":"image_31012025_11_44_46_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6b6bee6d0861882aee0995662bd37cfd.jpg","text":"TemporaryFile(/tmp/multipartBody3165601360233790782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340852847,"filename":"image_31012025_11_44_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/1/31/790047cec0129e2ee1ab85f03ff6e637.jpg","text":"TemporaryFile(/tmp/multipartBody4065447314787491174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340852847,"filename":"image_31012025_11_43_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/1/31/bfc8128ffad26555dde59566e21b657a.jpg","text":"TemporaryFile(/tmp/multipartBody3224143926976174095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340852847,"filename":"image_31012025_11_43_46_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333390910","file1":"1333390857","file0":"1333390853","file4":"1333390919","file5":"1333390922","file3":"1333390914"},"map_files_photo_id_array":[{"photo_id":"1333390922","filename":"file5"},{"photo_id":"1333390910","filename":"file2"},{"photo_id":"1333390919","filename":"file4"},{"photo_id":"1333390857","filename":"file1"},{"photo_id":"1333390853","filename":"file0"},{"photo_id":"1333390914","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333390914":["hashtag1","hashtag2"]},{"1333390853":["hashtag1","hashtag2"]},{"1333390922":["hashtag1","hashtag2"]},{"1333390919":["hashtag1","hashtag2"]},{"1333390910":["hashtag1","hashtag2"]},{"1333390857":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333390914, 1333390853, 1333390922, 1333390919, 1333390910, 1333390857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.09186339378357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:27:32.616558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/44/image_31012025_11_44_57_10372.jpg', '/home/pi/Desktop/images/31012025/11/45/image_31012025_11_45_17_10361.jpg', '/home/pi/Desktop/images/31012025/11/45/image_31012025_11_45_36_9332.jpg', '/home/pi/Desktop/images/31012025/11/45/image_31012025_11_45_57_10421.jpg', '/home/pi/Desktop/images/31012025/11/46/image_31012025_11_46_17_10445.jpg', '/home/pi/Desktop/images/31012025/11/46/image_31012025_11_46_26_9395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/44/image_31012025_11_44_57_10372.jpg
/home/pi/Desktop/images/31012025/11/45/image_31012025_11_45_17_10361.jpg
/home/pi/Desktop/images/31012025/11/45/image_31012025_11_45_36_9332.jpg
/home/pi/Desktop/images/31012025/11/45/image_31012025_11_45_57_10421.jpg
/home/pi/Desktop/images/31012025/11/46/image_31012025_11_46_17_10445.jpg
/home/pi/Desktop/images/31012025/11/46/image_31012025_11_46_26_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":["1333390991","1333390988","1333390996","1333390990","1333390993","1333390998"],"photo_ids_order":["1333390988","1333390990","1333390991","1333390993","1333390996","1333390998"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/078f513b9a8390e8a710978fc9d2741c.jpg","text":"TemporaryFile(/tmp/multipartBody1690288296049228850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340913070,"filename":"image_31012025_11_45_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/1/31/17c90795918d30b07e6537af8ea564eb.jpg","text":"TemporaryFile(/tmp/multipartBody7016016788681321915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340913070,"filename":"image_31012025_11_44_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/1/31/6c2eca275bab2e4fa4fcea434f4840ef.jpg","text":"TemporaryFile(/tmp/multipartBody1323291600787745640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340913070,"filename":"image_31012025_11_46_17_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/90d3f6aaa99a91a0a42b69257104a6ff.jpg","text":"TemporaryFile(/tmp/multipartBody1045863220419257023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340913070,"filename":"image_31012025_11_45_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/1/31/0f800545688b9e3697bb90c877e53ba3.jpg","text":"TemporaryFile(/tmp/multipartBody4856070835603656464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340913070,"filename":"image_31012025_11_45_57_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9c2480a1c2d112412bab01e03329088c.jpg","text":"TemporaryFile(/tmp/multipartBody1069692234374409160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340913070,"filename":"image_31012025_11_46_26_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333390991","file1":"1333390990","file0":"1333390988","file4":"1333390996","file5":"1333390998","file3":"1333390993"},"map_files_photo_id_array":[{"photo_id":"1333390998","filename":"file5"},{"photo_id":"1333390991","filename":"file2"},{"photo_id":"1333390996","filename":"file4"},{"photo_id":"1333390990","filename":"file1"},{"photo_id":"1333390988","filename":"file0"},{"photo_id":"1333390993","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333390991":["hashtag1","hashtag2"]},{"1333390988":["hashtag1","hashtag2"]},{"1333390996":["hashtag1","hashtag2"]},{"1333390990":["hashtag1","hashtag2"]},{"1333390993":["hashtag1","hashtag2"]},{"1333390998":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333390991, 1333390988, 1333390996, 1333390990, 1333390993, 1333390998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.44486427307129 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:28:32.814883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/46/image_31012025_11_46_47_10413.jpg', '/home/pi/Desktop/images/31012025/11/46/image_31012025_11_47_07_10396.jpg', '/home/pi/Desktop/images/31012025/11/47/image_31012025_11_47_17_10344.jpg', '/home/pi/Desktop/images/31012025/11/47/image_31012025_11_47_26_9333.jpg', '/home/pi/Desktop/images/31012025/11/47/image_31012025_11_47_46_9348.jpg', '/home/pi/Desktop/images/31012025/11/47/image_31012025_11_47_57_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/46/image_31012025_11_46_47_10413.jpg
/home/pi/Desktop/images/31012025/11/46/image_31012025_11_47_07_10396.jpg
/home/pi/Desktop/images/31012025/11/47/image_31012025_11_47_17_10344.jpg
/home/pi/Desktop/images/31012025/11/47/image_31012025_11_47_26_9333.jpg
/home/pi/Desktop/images/31012025/11/47/image_31012025_11_47_46_9348.jpg
/home/pi/Desktop/images/31012025/11/47/image_31012025_11_47_57_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":["1333391102","1333391108","1333391097","1333391121","1333391127","1333391112"],"photo_ids_order":["1333391097","1333391102","1333391108","1333391112","1333391121","1333391127"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6b08cd82327bc50fbf80a2d2ab11aaee.jpg","text":"TemporaryFile(/tmp/multipartBody4471350438348585731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340973268,"filename":"image_31012025_11_47_07_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8c96961d577a8ced5e06860fbb8fb413.jpg","text":"TemporaryFile(/tmp/multipartBody1850208413745567695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340973268,"filename":"image_31012025_11_47_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/1/31/bb36dfe5f8f3696b7cc0324816ce1140.jpg","text":"TemporaryFile(/tmp/multipartBody8292751581294693605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340973268,"filename":"image_31012025_11_46_47_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9b1cb7005c4b688fd0c8a0d2fa858a51.jpg","text":"TemporaryFile(/tmp/multipartBody251470865040239331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340973268,"filename":"image_31012025_11_47_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/1/31/0de5c6cb35d96dbf078966e15194b4db.jpg","text":"TemporaryFile(/tmp/multipartBody7400639018114102029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340973268,"filename":"image_31012025_11_47_57_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/855a52d160feb6046232f3adb2208320.jpg","text":"TemporaryFile(/tmp/multipartBody5598895258364644789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738340973268,"filename":"image_31012025_11_47_26_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333391108","file1":"1333391102","file0":"1333391097","file4":"1333391121","file5":"1333391127","file3":"1333391112"},"map_files_photo_id_array":[{"photo_id":"1333391127","filename":"file5"},{"photo_id":"1333391108","filename":"file2"},{"photo_id":"1333391121","filename":"file4"},{"photo_id":"1333391102","filename":"file1"},{"photo_id":"1333391097","filename":"file0"},{"photo_id":"1333391112","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333391102":["hashtag1","hashtag2"]},{"1333391108":["hashtag1","hashtag2"]},{"1333391097":["hashtag1","hashtag2"]},{"1333391121":["hashtag1","hashtag2"]},{"1333391127":["hashtag1","hashtag2"]},{"1333391112":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333391102, 1333391108, 1333391097, 1333391121, 1333391127, 1333391112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43948817253113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:29:33.316161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/47/image_31012025_11_48_07_10374.jpg', '/home/pi/Desktop/images/31012025/11/48/image_31012025_11_48_16_9342.jpg', '/home/pi/Desktop/images/31012025/11/48/image_31012025_11_48_27_10330.jpg', '/home/pi/Desktop/images/31012025/11/48/image_31012025_11_48_37_10332.jpg', '/home/pi/Desktop/images/31012025/11/48/image_31012025_11_48_46_9344.jpg', '/home/pi/Desktop/images/31012025/11/48/image_31012025_11_48_57_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/47/image_31012025_11_48_07_10374.jpg
/home/pi/Desktop/images/31012025/11/48/image_31012025_11_48_16_9342.jpg
/home/pi/Desktop/images/31012025/11/48/image_31012025_11_48_27_10330.jpg
/home/pi/Desktop/images/31012025/11/48/image_31012025_11_48_37_10332.jpg
/home/pi/Desktop/images/31012025/11/48/image_31012025_11_48_46_9344.jpg
/home/pi/Desktop/images/31012025/11/48/image_31012025_11_48_57_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":["1333391210","1333391182","1333391200","1333391193","1333391196","1333391205"],"photo_ids_order":["1333391182","1333391193","1333391196","1333391200","1333391205","1333391210"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fbf678e1ccfd9412e8a2cadf1ff64eb8.jpg","text":"TemporaryFile(/tmp/multipartBody7598200007866603831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341033789,"filename":"image_31012025_11_48_57_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0050ca2b974017b26c4c2c711800a643.jpg","text":"TemporaryFile(/tmp/multipartBody1458085568564311153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341033789,"filename":"image_31012025_11_48_07_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7b1becd07de2b7d2b0c3b2d4a06e1f3b.jpg","text":"TemporaryFile(/tmp/multipartBody8451056598382596852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341033789,"filename":"image_31012025_11_48_37_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0fcf4adb0584e0ff185c31f226df3c39.jpg","text":"TemporaryFile(/tmp/multipartBody1118887151858000791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341033789,"filename":"image_31012025_11_48_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/1/31/55acbba982204d499fcc4b61ee71613d.jpg","text":"TemporaryFile(/tmp/multipartBody3160388139454578492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341033789,"filename":"image_31012025_11_48_27_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/39e75a60d43d13949f21a9983734a89d.jpg","text":"TemporaryFile(/tmp/multipartBody2623357293277721090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341033789,"filename":"image_31012025_11_48_46_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333391196","file1":"1333391193","file0":"1333391182","file4":"1333391205","file5":"1333391210","file3":"1333391200"},"map_files_photo_id_array":[{"photo_id":"1333391210","filename":"file5"},{"photo_id":"1333391196","filename":"file2"},{"photo_id":"1333391205","filename":"file4"},{"photo_id":"1333391193","filename":"file1"},{"photo_id":"1333391182","filename":"file0"},{"photo_id":"1333391200","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333391210":["hashtag1","hashtag2"]},{"1333391182":["hashtag1","hashtag2"]},{"1333391200":["hashtag1","hashtag2"]},{"1333391193":["hashtag1","hashtag2"]},{"1333391196":["hashtag1","hashtag2"]},{"1333391205":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333391210, 1333391182, 1333391200, 1333391193, 1333391196, 1333391205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24112510681152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:30:32.386691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/48/image_31012025_11_49_07_10356.jpg', '/home/pi/Desktop/images/31012025/11/49/image_31012025_11_49_16_9377.jpg', '/home/pi/Desktop/images/31012025/11/49/image_31012025_11_49_27_10462.jpg', '/home/pi/Desktop/images/31012025/11/49/image_31012025_11_49_36_9336.jpg', '/home/pi/Desktop/images/31012025/11/49/image_31012025_11_49_46_10347.jpg', '/home/pi/Desktop/images/31012025/11/49/image_31012025_11_49_57_10478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/48/image_31012025_11_49_07_10356.jpg
/home/pi/Desktop/images/31012025/11/49/image_31012025_11_49_16_9377.jpg
/home/pi/Desktop/images/31012025/11/49/image_31012025_11_49_27_10462.jpg
/home/pi/Desktop/images/31012025/11/49/image_31012025_11_49_36_9336.jpg
/home/pi/Desktop/images/31012025/11/49/image_31012025_11_49_46_10347.jpg
/home/pi/Desktop/images/31012025/11/49/image_31012025_11_49_57_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":["1333391372","1333391306","1333391251","1333391311","1333391475","1333391301"],"photo_ids_order":["1333391251","1333391301","1333391306","1333391311","1333391372","1333391475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ee2d62c8833a8c5e287a517dfcf0fd09.jpg","text":"TemporaryFile(/tmp/multipartBody144258274302774795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341092861,"filename":"image_31012025_11_49_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/97770a53aa376e2c02b7da35c86d8f2b.jpg","text":"TemporaryFile(/tmp/multipartBody7632333868796270109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341092861,"filename":"image_31012025_11_49_27_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/849054dedfabf9829bcd8581604f2a55.jpg","text":"TemporaryFile(/tmp/multipartBody4364561664358522905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341092861,"filename":"image_31012025_11_49_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/1/31/80fdab0920b292f7ea4c1f43f27a2e64.jpg","text":"TemporaryFile(/tmp/multipartBody9085426589290535013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341092861,"filename":"image_31012025_11_49_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/1/31/70ad24587f900d556f75a720fab37511.jpg","text":"TemporaryFile(/tmp/multipartBody7708077286401208979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341092861,"filename":"image_31012025_11_49_57_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f0e842e2dc6092a33a8b03299b42f121.jpg","text":"TemporaryFile(/tmp/multipartBody3932794108774343203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341092861,"filename":"image_31012025_11_49_16_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333391306","file1":"1333391301","file0":"1333391251","file4":"1333391372","file5":"1333391475","file3":"1333391311"},"map_files_photo_id_array":[{"photo_id":"1333391475","filename":"file5"},{"photo_id":"1333391306","filename":"file2"},{"photo_id":"1333391372","filename":"file4"},{"photo_id":"1333391301","filename":"file1"},{"photo_id":"1333391251","filename":"file0"},{"photo_id":"1333391311","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333391372":["hashtag1","hashtag2"]},{"1333391306":["hashtag1","hashtag2"]},{"1333391251":["hashtag1","hashtag2"]},{"1333391311":["hashtag1","hashtag2"]},{"1333391475":["hashtag1","hashtag2"]},{"1333391301":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333391372, 1333391306, 1333391251, 1333391311, 1333391475, 1333391301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.422534704208374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:31:32.646156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/49/image_31012025_11_50_06_9332.jpg', '/home/pi/Desktop/images/31012025/11/50/image_31012025_11_50_17_10443.jpg', '/home/pi/Desktop/images/31012025/11/50/image_31012025_11_50_26_9410.jpg', '/home/pi/Desktop/images/31012025/11/50/image_31012025_11_50_36_10327.jpg', '/home/pi/Desktop/images/31012025/11/50/image_31012025_11_50_47_10339.jpg', '/home/pi/Desktop/images/31012025/11/50/image_31012025_11_50_56_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/49/image_31012025_11_50_06_9332.jpg
/home/pi/Desktop/images/31012025/11/50/image_31012025_11_50_17_10443.jpg
/home/pi/Desktop/images/31012025/11/50/image_31012025_11_50_26_9410.jpg
/home/pi/Desktop/images/31012025/11/50/image_31012025_11_50_36_10327.jpg
/home/pi/Desktop/images/31012025/11/50/image_31012025_11_50_47_10339.jpg
/home/pi/Desktop/images/31012025/11/50/image_31012025_11_50_56_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":["1333392328","1333392339","1333392348","1333392335","1333392344","1333392323"],"photo_ids_order":["1333392323","1333392328","1333392335","1333392339","1333392344","1333392348"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f363d5d0dcd8819f1f4f0c53e0a03a44.jpg","text":"TemporaryFile(/tmp/multipartBody3791712147021355340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341153108,"filename":"image_31012025_11_50_17_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c6eac6d7664175d1c52eb0f075eebc43.jpg","text":"TemporaryFile(/tmp/multipartBody3440936676051163785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341153108,"filename":"image_31012025_11_50_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/1/31/7b68a139c9d9f098be7e71a2829ebd55.jpg","text":"TemporaryFile(/tmp/multipartBody6624851880279284397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341153108,"filename":"image_31012025_11_50_56_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3bd321a4edab9e8d7bbe8228a63211d4.jpg","text":"TemporaryFile(/tmp/multipartBody7351824429103389203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341153108,"filename":"image_31012025_11_50_26_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/da516a5c9f2c88a91f3eabcf400e87ca.jpg","text":"TemporaryFile(/tmp/multipartBody4750710396552328286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341153108,"filename":"image_31012025_11_50_47_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/502348ed830fc71b4c68ab09a0bb3a3e.jpg","text":"TemporaryFile(/tmp/multipartBody816027598390798437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341153108,"filename":"image_31012025_11_50_06_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333392335","file1":"1333392328","file0":"1333392323","file4":"1333392344","file5":"1333392348","file3":"1333392339"},"map_files_photo_id_array":[{"photo_id":"1333392348","filename":"file5"},{"photo_id":"1333392335","filename":"file2"},{"photo_id":"1333392344","filename":"file4"},{"photo_id":"1333392328","filename":"file1"},{"photo_id":"1333392323","filename":"file0"},{"photo_id":"1333392339","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333392328":["hashtag1","hashtag2"]},{"1333392339":["hashtag1","hashtag2"]},{"1333392348":["hashtag1","hashtag2"]},{"1333392335":["hashtag1","hashtag2"]},{"1333392344":["hashtag1","hashtag2"]},{"1333392323":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333392328, 1333392339, 1333392348, 1333392335, 1333392344, 1333392323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.08667016029358 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:32:32.861904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/50/image_31012025_11_51_07_10348.jpg', '/home/pi/Desktop/images/31012025/11/51/image_31012025_11_51_26_9325.jpg', '/home/pi/Desktop/images/31012025/11/51/image_31012025_11_51_37_10362.jpg', '/home/pi/Desktop/images/31012025/11/51/image_31012025_11_51_47_10339.jpg', '/home/pi/Desktop/images/31012025/11/51/image_31012025_11_51_56_9318.jpg', '/home/pi/Desktop/images/31012025/11/51/image_31012025_11_52_07_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/50/image_31012025_11_51_07_10348.jpg
/home/pi/Desktop/images/31012025/11/51/image_31012025_11_51_26_9325.jpg
/home/pi/Desktop/images/31012025/11/51/image_31012025_11_51_37_10362.jpg
/home/pi/Desktop/images/31012025/11/51/image_31012025_11_51_47_10339.jpg
/home/pi/Desktop/images/31012025/11/51/image_31012025_11_51_56_9318.jpg
/home/pi/Desktop/images/31012025/11/51/image_31012025_11_52_07_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":["1333392704","1333392694","1333392775","1333392610","1333392855","1333392698"],"photo_ids_order":["1333392610","1333392694","1333392698","1333392704","1333392775","1333392855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3ca69f129af5afc864002676ba89e707.jpg","text":"TemporaryFile(/tmp/multipartBody7699791355071383833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341213337,"filename":"image_31012025_11_51_47_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/affc89db47c759845d2fd5f7bb433361.jpg","text":"TemporaryFile(/tmp/multipartBody3817052698856836942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341213337,"filename":"image_31012025_11_51_26_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2632a670a5ea1ffda1f1ebaf90aee276.jpg","text":"TemporaryFile(/tmp/multipartBody6542310941561302856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341213337,"filename":"image_31012025_11_51_56_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f1837c0729630d09b2117288cbf51180.jpg","text":"TemporaryFile(/tmp/multipartBody6419327889070050842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341213337,"filename":"image_31012025_11_51_07_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e9eb9806b0666a97445066a28425769e.jpg","text":"TemporaryFile(/tmp/multipartBody5119289921413160369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341213337,"filename":"image_31012025_11_52_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/1/31/ca3f37e0c7701411415cb4a2d559bfa0.jpg","text":"TemporaryFile(/tmp/multipartBody8382821210724638586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341213337,"filename":"image_31012025_11_51_37_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333392698","file1":"1333392694","file0":"1333392610","file4":"1333392775","file5":"1333392855","file3":"1333392704"},"map_files_photo_id_array":[{"photo_id":"1333392855","filename":"file5"},{"photo_id":"1333392698","filename":"file2"},{"photo_id":"1333392775","filename":"file4"},{"photo_id":"1333392694","filename":"file1"},{"photo_id":"1333392610","filename":"file0"},{"photo_id":"1333392704","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333392704":["hashtag1","hashtag2"]},{"1333392694":["hashtag1","hashtag2"]},{"1333392775":["hashtag1","hashtag2"]},{"1333392610":["hashtag1","hashtag2"]},{"1333392855":["hashtag1","hashtag2"]},{"1333392698":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333392704, 1333392694, 1333392775, 1333392610, 1333392855, 1333392698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.079097509384155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:33:33.091951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/52/image_31012025_11_52_26_9436.jpg', '/home/pi/Desktop/images/31012025/11/52/image_31012025_11_52_37_10396.jpg', '/home/pi/Desktop/images/31012025/11/52/image_31012025_11_52_47_10363.jpg', '/home/pi/Desktop/images/31012025/11/52/image_31012025_11_52_56_9329.jpg', '/home/pi/Desktop/images/31012025/11/52/image_31012025_11_53_07_10447.jpg', '/home/pi/Desktop/images/31012025/11/53/image_31012025_11_53_16_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/52/image_31012025_11_52_26_9436.jpg
/home/pi/Desktop/images/31012025/11/52/image_31012025_11_52_37_10396.jpg
/home/pi/Desktop/images/31012025/11/52/image_31012025_11_52_47_10363.jpg
/home/pi/Desktop/images/31012025/11/52/image_31012025_11_52_56_9329.jpg
/home/pi/Desktop/images/31012025/11/52/image_31012025_11_53_07_10447.jpg
/home/pi/Desktop/images/31012025/11/53/image_31012025_11_53_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":["1333393153","1333393191","1333393182","1333393176","1333393170","1333393187"],"photo_ids_order":["1333393153","1333393170","1333393176","1333393182","1333393187","1333393191"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a00b3631ac76b17ba859595d0fd541ca.jpg","text":"TemporaryFile(/tmp/multipartBody1706592088381090091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341273561,"filename":"image_31012025_11_52_26_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/824acc3749b5c3160102bbdbe154c0cc.jpg","text":"TemporaryFile(/tmp/multipartBody5433635269832312222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341273561,"filename":"image_31012025_11_53_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/1/31/d25eb310d2269e479f7a268eef7f415a.jpg","text":"TemporaryFile(/tmp/multipartBody5229754234926475697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341273561,"filename":"image_31012025_11_52_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/1/31/39d33619f1bda3e61e6893232b6af501.jpg","text":"TemporaryFile(/tmp/multipartBody486502499185983322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341273561,"filename":"image_31012025_11_52_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/1/31/7fb8d8c11b83be09f81527d0472550c2.jpg","text":"TemporaryFile(/tmp/multipartBody206767572906074945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341273561,"filename":"image_31012025_11_52_37_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1a17dd24809d789f8b9b1537f376ce41.jpg","text":"TemporaryFile(/tmp/multipartBody6788583914687191174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341273561,"filename":"image_31012025_11_53_07_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333393176","file1":"1333393170","file0":"1333393153","file4":"1333393187","file5":"1333393191","file3":"1333393182"},"map_files_photo_id_array":[{"photo_id":"1333393191","filename":"file5"},{"photo_id":"1333393176","filename":"file2"},{"photo_id":"1333393187","filename":"file4"},{"photo_id":"1333393170","filename":"file1"},{"photo_id":"1333393153","filename":"file0"},{"photo_id":"1333393182","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333393153":["hashtag1","hashtag2"]},{"1333393191":["hashtag1","hashtag2"]},{"1333393182":["hashtag1","hashtag2"]},{"1333393176":["hashtag1","hashtag2"]},{"1333393170":["hashtag1","hashtag2"]},{"1333393187":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333393153, 1333393191, 1333393182, 1333393176, 1333393170, 1333393187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.61453604698181 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:34:32.307417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/53/image_31012025_11_53_27_10352.jpg', '/home/pi/Desktop/images/31012025/11/53/image_31012025_11_53_46_9353.jpg', '/home/pi/Desktop/images/31012025/11/53/image_31012025_11_53_57_10360.jpg', '/home/pi/Desktop/images/31012025/11/54/image_31012025_11_54_16_9440.jpg', '/home/pi/Desktop/images/31012025/11/54/image_31012025_11_54_27_10418.jpg', '/home/pi/Desktop/images/31012025/11/54/image_31012025_11_54_36_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/53/image_31012025_11_53_27_10352.jpg
/home/pi/Desktop/images/31012025/11/53/image_31012025_11_53_46_9353.jpg
/home/pi/Desktop/images/31012025/11/53/image_31012025_11_53_57_10360.jpg
/home/pi/Desktop/images/31012025/11/54/image_31012025_11_54_16_9440.jpg
/home/pi/Desktop/images/31012025/11/54/image_31012025_11_54_27_10418.jpg
/home/pi/Desktop/images/31012025/11/54/image_31012025_11_54_36_9332.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.404843807220459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 17:34:42.360872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/53/image_31012025_11_53_27_10352.jpg', '/home/pi/Desktop/images/31012025/11/53/image_31012025_11_53_46_9353.jpg', '/home/pi/Desktop/images/31012025/11/53/image_31012025_11_53_57_10360.jpg', '/home/pi/Desktop/images/31012025/11/54/image_31012025_11_54_16_9440.jpg', '/home/pi/Desktop/images/31012025/11/54/image_31012025_11_54_27_10418.jpg', '/home/pi/Desktop/images/31012025/11/54/image_31012025_11_54_36_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/53/image_31012025_11_53_27_10352.jpg
/home/pi/Desktop/images/31012025/11/53/image_31012025_11_53_46_9353.jpg
/home/pi/Desktop/images/31012025/11/53/image_31012025_11_53_57_10360.jpg
/home/pi/Desktop/images/31012025/11/54/image_31012025_11_54_16_9440.jpg
/home/pi/Desktop/images/31012025/11/54/image_31012025_11_54_27_10418.jpg
/home/pi/Desktop/images/31012025/11/54/image_31012025_11_54_36_9332.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":["1333393983","1333393977","1333393997","1333393892","1333393988","1333393993"],"photo_ids_order":["1333393892","1333393977","1333393983","1333393988","1333393993","1333393997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e41e024664d7e8eb83bd226c0c775b2a.jpg","text":"TemporaryFile(/tmp/multipartBody7858440047495021763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341342823,"filename":"image_31012025_11_53_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/1/31/f9c0f48779162bc7b7a66dc47ea3fea1.jpg","text":"TemporaryFile(/tmp/multipartBody508563129267317962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341342823,"filename":"image_31012025_11_53_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/1/31/ff58788ed4ab88cdc5d68dbf3f85b689.jpg","text":"TemporaryFile(/tmp/multipartBody2486743620533853861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341342823,"filename":"image_31012025_11_54_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/1/31/cbc168290b7824277ed2e4150c57d7e5.jpg","text":"TemporaryFile(/tmp/multipartBody69255952373734440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341342823,"filename":"image_31012025_11_53_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/1/31/5a1caf75c203f8b1dd154980599021ee.jpg","text":"TemporaryFile(/tmp/multipartBody282035127358804405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341342823,"filename":"image_31012025_11_54_16_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d1b0f88c8bdad7be6cd82daa1c059a3f.jpg","text":"TemporaryFile(/tmp/multipartBody6529701841951089856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341342823,"filename":"image_31012025_11_54_27_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333393983","file1":"1333393977","file0":"1333393892","file4":"1333393993","file5":"1333393997","file3":"1333393988"},"map_files_photo_id_array":[{"photo_id":"1333393997","filename":"file5"},{"photo_id":"1333393983","filename":"file2"},{"photo_id":"1333393993","filename":"file4"},{"photo_id":"1333393977","filename":"file1"},{"photo_id":"1333393892","filename":"file0"},{"photo_id":"1333393988","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333393983":["hashtag1","hashtag2"]},{"1333393977":["hashtag1","hashtag2"]},{"1333393997":["hashtag1","hashtag2"]},{"1333393892":["hashtag1","hashtag2"]},{"1333393988":["hashtag1","hashtag2"]},{"1333393993":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333393983, 1333393977, 1333393997, 1333393892, 1333393988, 1333393993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.39507579803467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:35:32.456290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/54/image_31012025_11_55_06_9348.jpg', '/home/pi/Desktop/images/31012025/11/55/image_31012025_11_55_27_10338.jpg', '/home/pi/Desktop/images/31012025/11/55/image_31012025_11_55_36_9344.jpg', '/home/pi/Desktop/images/31012025/11/55/image_31012025_11_55_47_10358.jpg', '/home/pi/Desktop/images/31012025/11/55/image_31012025_11_55_57_10338.jpg', '/home/pi/Desktop/images/31012025/11/55/image_31012025_11_56_06_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/54/image_31012025_11_55_06_9348.jpg
/home/pi/Desktop/images/31012025/11/55/image_31012025_11_55_27_10338.jpg
/home/pi/Desktop/images/31012025/11/55/image_31012025_11_55_36_9344.jpg
/home/pi/Desktop/images/31012025/11/55/image_31012025_11_55_47_10358.jpg
/home/pi/Desktop/images/31012025/11/55/image_31012025_11_55_57_10338.jpg
/home/pi/Desktop/images/31012025/11/55/image_31012025_11_56_06_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":["1333394268","1333394448","1333394313","1333394525","1333394368","1333394335"],"photo_ids_order":["1333394268","1333394313","1333394335","1333394368","1333394448","1333394525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b0f26c3eefbc0d8dd40fe247504d632d.jpg","text":"TemporaryFile(/tmp/multipartBody3184877477539495037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341392934,"filename":"image_31012025_11_55_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/1/31/89271f632a1b3696749338b91d4566b3.jpg","text":"TemporaryFile(/tmp/multipartBody7174627385108011524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341392934,"filename":"image_31012025_11_55_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/1/31/9ae3133e9e8ff1c499ae2cc65ff2a523.jpg","text":"TemporaryFile(/tmp/multipartBody3184129888337342513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341392934,"filename":"image_31012025_11_55_27_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/416d4d3485e8cfb3b2d4ff60bf7ef321.jpg","text":"TemporaryFile(/tmp/multipartBody1407396013369339848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341392934,"filename":"image_31012025_11_56_06_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0cc67ae450b6595f14373ac96a97c890.jpg","text":"TemporaryFile(/tmp/multipartBody6520858325089077777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341392934,"filename":"image_31012025_11_55_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/1/31/f297e538b78fc01bbb9054617f3d3d11.jpg","text":"TemporaryFile(/tmp/multipartBody3086920360283542496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341392934,"filename":"image_31012025_11_55_36_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333394335","file1":"1333394313","file0":"1333394268","file4":"1333394448","file5":"1333394525","file3":"1333394368"},"map_files_photo_id_array":[{"photo_id":"1333394525","filename":"file5"},{"photo_id":"1333394335","filename":"file2"},{"photo_id":"1333394448","filename":"file4"},{"photo_id":"1333394313","filename":"file1"},{"photo_id":"1333394268","filename":"file0"},{"photo_id":"1333394368","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333394268":["hashtag1","hashtag2"]},{"1333394448":["hashtag1","hashtag2"]},{"1333394313":["hashtag1","hashtag2"]},{"1333394525":["hashtag1","hashtag2"]},{"1333394368":["hashtag1","hashtag2"]},{"1333394335":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333394268, 1333394448, 1333394313, 1333394525, 1333394368, 1333394335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.73583698272705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:36:32.847981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/56/image_31012025_11_56_17_10362.jpg', '/home/pi/Desktop/images/31012025/11/56/image_31012025_11_56_37_10358.jpg', '/home/pi/Desktop/images/31012025/11/56/image_31012025_11_56_47_10388.jpg', '/home/pi/Desktop/images/31012025/11/56/image_31012025_11_56_56_9332.jpg', '/home/pi/Desktop/images/31012025/11/57/image_31012025_11_57_16_9359.jpg', '/home/pi/Desktop/images/31012025/11/57/image_31012025_11_58_07_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/56/image_31012025_11_56_17_10362.jpg
/home/pi/Desktop/images/31012025/11/56/image_31012025_11_56_37_10358.jpg
/home/pi/Desktop/images/31012025/11/56/image_31012025_11_56_47_10388.jpg
/home/pi/Desktop/images/31012025/11/56/image_31012025_11_56_56_9332.jpg
/home/pi/Desktop/images/31012025/11/57/image_31012025_11_57_16_9359.jpg
/home/pi/Desktop/images/31012025/11/57/image_31012025_11_58_07_10437.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":["1333394625","1333394619","1333394622","1333394616","1333394674","1333394629"],"photo_ids_order":["1333394616","1333394619","1333394622","1333394625","1333394629","1333394674"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6e7fed2991d5d048d7c480101e0089fe.jpg","text":"TemporaryFile(/tmp/multipartBody1237241883891887759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341453308,"filename":"image_31012025_11_56_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/1/31/13ec8bae11de2701519b86ff9eac24c6.jpg","text":"TemporaryFile(/tmp/multipartBody5862158468222679018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341453308,"filename":"image_31012025_11_56_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/1/31/eda5d31e1b4e5fc19a02167a69ff0b7e.jpg","text":"TemporaryFile(/tmp/multipartBody3918340772556613319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341453308,"filename":"image_31012025_11_56_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/1/31/927bc090df41a3d5ac6639dc7a25768b.jpg","text":"TemporaryFile(/tmp/multipartBody5198136481755449549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341453308,"filename":"image_31012025_11_56_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/1/31/eaf10f97b4d1881206c282c0f1e0db47.jpg","text":"TemporaryFile(/tmp/multipartBody8224973926278697673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341453308,"filename":"image_31012025_11_58_07_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1878c5b1c9b3ee1d63257ec243fcf1e3.jpg","text":"TemporaryFile(/tmp/multipartBody8435581978649431441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341453308,"filename":"image_31012025_11_57_16_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333394622","file1":"1333394619","file0":"1333394616","file4":"1333394629","file5":"1333394674","file3":"1333394625"},"map_files_photo_id_array":[{"photo_id":"1333394674","filename":"file5"},{"photo_id":"1333394622","filename":"file2"},{"photo_id":"1333394629","filename":"file4"},{"photo_id":"1333394619","filename":"file1"},{"photo_id":"1333394616","filename":"file0"},{"photo_id":"1333394625","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333394625":["hashtag1","hashtag2"]},{"1333394619":["hashtag1","hashtag2"]},{"1333394622":["hashtag1","hashtag2"]},{"1333394616":["hashtag1","hashtag2"]},{"1333394674":["hashtag1","hashtag2"]},{"1333394629":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333394625, 1333394619, 1333394622, 1333394616, 1333394674, 1333394629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.41969323158264 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-01-31 17:37:33.074036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/11/58/image_31012025_11_58_16_9346.jpg', '/home/pi/Desktop/images/31012025/11/58/image_31012025_11_58_46_9349.jpg', '/home/pi/Desktop/images/31012025/11/59/image_31012025_11_59_27_10407.jpg', '/home/pi/Desktop/images/31012025/11/59/image_31012025_11_59_47_10544.jpg', '/home/pi/Desktop/images/31012025/11/59/image_31012025_11_59_56_9336.jpg', '/home/pi/Desktop/images/31012025/12/01/image_31012025_12_01_14_10085.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/11/58/image_31012025_11_58_16_9346.jpg
/home/pi/Desktop/images/31012025/11/58/image_31012025_11_58_46_9349.jpg
/home/pi/Desktop/images/31012025/11/59/image_31012025_11_59_27_10407.jpg
/home/pi/Desktop/images/31012025/11/59/image_31012025_11_59_47_10544.jpg
/home/pi/Desktop/images/31012025/11/59/image_31012025_11_59_56_9336.jpg
/home/pi/Desktop/images/31012025/12/01/image_31012025_12_01_14_10085.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333395615","1333394895","1333395356","1333394732","1333395775","1333395124"],"photo_ids_order":["1333394732","1333394895","1333395124","1333395356","1333395615","1333395775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e9afafc65243fe31b0f76a9ed6b85647.jpg","text":"TemporaryFile(/tmp/multipartBody6465850879621297088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341513536,"filename":"image_31012025_11_59_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/1/31/5fda00beec9f8565d4d9c65459d482fc.jpg","text":"TemporaryFile(/tmp/multipartBody3965976427066146482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341513536,"filename":"image_31012025_11_58_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/1/31/a100cc5c6796671804fa16fbfbef6cc4.jpg","text":"TemporaryFile(/tmp/multipartBody1625706111110659814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341513536,"filename":"image_31012025_11_59_47_10544.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dc12dc7f19ba7dcb94924ba21122549a.jpg","text":"TemporaryFile(/tmp/multipartBody7324414136915956261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341513536,"filename":"image_31012025_11_58_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/1/31/192f59f705c3be251be86ed253f756b3.jpg","text":"TemporaryFile(/tmp/multipartBody169604769404722227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341513536,"filename":"image_31012025_12_01_14_10085.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0ec732e5ee6661796ea23d589f0d2225.jpg","text":"TemporaryFile(/tmp/multipartBody5037297054795544747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341513536,"filename":"image_31012025_11_59_27_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333395124","file1":"1333394895","file0":"1333394732","file4":"1333395615","file5":"1333395775","file3":"1333395356"},"map_files_photo_id_array":[{"photo_id":"1333395775","filename":"file5"},{"photo_id":"1333395124","filename":"file2"},{"photo_id":"1333395615","filename":"file4"},{"photo_id":"1333394895","filename":"file1"},{"photo_id":"1333394732","filename":"file0"},{"photo_id":"1333395356","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333395615":["hashtag1","hashtag2"]},{"1333394895":["hashtag1","hashtag2"]},{"1333395356":["hashtag1","hashtag2"]},{"1333394732":["hashtag1","hashtag2"]},{"1333395775":["hashtag1","hashtag2"]},{"1333395124":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333395615, 1333394895, 1333395356, 1333394732, 1333395775, 1333395124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.088834047317505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:38:32.342768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/01/image_31012025_12_01_24_10382.jpg', '/home/pi/Desktop/images/31012025/12/01/image_31012025_12_01_35_10438.jpg', '/home/pi/Desktop/images/31012025/12/01/image_31012025_12_01_44_9337.jpg', '/home/pi/Desktop/images/31012025/12/01/image_31012025_12_01_54_10343.jpg', '/home/pi/Desktop/images/31012025/12/01/image_31012025_12_02_04_9413.jpg', '/home/pi/Desktop/images/31012025/12/02/image_31012025_12_02_14_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/01/image_31012025_12_01_24_10382.jpg
/home/pi/Desktop/images/31012025/12/01/image_31012025_12_01_35_10438.jpg
/home/pi/Desktop/images/31012025/12/01/image_31012025_12_01_44_9337.jpg
/home/pi/Desktop/images/31012025/12/01/image_31012025_12_01_54_10343.jpg
/home/pi/Desktop/images/31012025/12/01/image_31012025_12_02_04_9413.jpg
/home/pi/Desktop/images/31012025/12/02/image_31012025_12_02_14_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":["1333395822","1333396096","1333395965","1333396093","1333395889","1333396044"],"photo_ids_order":["1333395822","1333395889","1333395965","1333396044","1333396093","1333396096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1d9e2b31a306178163fd16cf2ca5685f.jpg","text":"TemporaryFile(/tmp/multipartBody8087252159449740919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341572827,"filename":"image_31012025_12_01_24_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f386adf2a11229fbfd5f6b076702f1d4.jpg","text":"TemporaryFile(/tmp/multipartBody2966758935415822843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341572827,"filename":"image_31012025_12_02_14_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2656667155c1329632495502c8be960b.jpg","text":"TemporaryFile(/tmp/multipartBody1527313262638465853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341572827,"filename":"image_31012025_12_01_44_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2166e6b7db0471dc827e271cb4478a7d.jpg","text":"TemporaryFile(/tmp/multipartBody4994040193370661618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341572827,"filename":"image_31012025_12_02_04_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d490108192388b82b3538fbba3797045.jpg","text":"TemporaryFile(/tmp/multipartBody1951015564791223023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341572827,"filename":"image_31012025_12_01_35_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/29266c527bcb470a33dad33f669a748c.jpg","text":"TemporaryFile(/tmp/multipartBody5366266246391652017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341572827,"filename":"image_31012025_12_01_54_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333395965","file1":"1333395889","file0":"1333395822","file4":"1333396093","file5":"1333396096","file3":"1333396044"},"map_files_photo_id_array":[{"photo_id":"1333396096","filename":"file5"},{"photo_id":"1333395965","filename":"file2"},{"photo_id":"1333396093","filename":"file4"},{"photo_id":"1333395889","filename":"file1"},{"photo_id":"1333395822","filename":"file0"},{"photo_id":"1333396044","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333395822":["hashtag1","hashtag2"]},{"1333396096":["hashtag1","hashtag2"]},{"1333395965":["hashtag1","hashtag2"]},{"1333396093":["hashtag1","hashtag2"]},{"1333395889":["hashtag1","hashtag2"]},{"1333396044":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333395822, 1333396096, 1333395965, 1333396093, 1333395889, 1333396044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.232892751693726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:39:32.557068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/02/image_31012025_12_02_25_10387.jpg', '/home/pi/Desktop/images/31012025/12/02/image_31012025_12_02_34_9342.jpg', '/home/pi/Desktop/images/31012025/12/02/image_31012025_12_02_44_10341.jpg', '/home/pi/Desktop/images/31012025/12/02/image_31012025_12_03_04_9326.jpg', '/home/pi/Desktop/images/31012025/12/03/image_31012025_12_03_14_10355.jpg', '/home/pi/Desktop/images/31012025/12/03/image_31012025_12_03_34_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/02/image_31012025_12_02_25_10387.jpg
/home/pi/Desktop/images/31012025/12/02/image_31012025_12_02_34_9342.jpg
/home/pi/Desktop/images/31012025/12/02/image_31012025_12_02_44_10341.jpg
/home/pi/Desktop/images/31012025/12/02/image_31012025_12_03_04_9326.jpg
/home/pi/Desktop/images/31012025/12/03/image_31012025_12_03_14_10355.jpg
/home/pi/Desktop/images/31012025/12/03/image_31012025_12_03_34_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":["1333396259","1333396256","1333396273","1333396267","1333396447","1333396263"],"photo_ids_order":["1333396256","1333396259","1333396263","1333396267","1333396273","1333396447"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1c3ab2fe63fe7a063993118506e94f26.jpg","text":"TemporaryFile(/tmp/multipartBody7015383058215493931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341633024,"filename":"image_31012025_12_02_34_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/adfa97fe387219f448327573b909b3db.jpg","text":"TemporaryFile(/tmp/multipartBody2460403043374349601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341633024,"filename":"image_31012025_12_02_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/1/31/eabd1b828062b0986fb05dff375e44e8.jpg","text":"TemporaryFile(/tmp/multipartBody2108068344198965733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341633024,"filename":"image_31012025_12_03_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/1/31/8f4e15b40d047312eaf45d779308f005.jpg","text":"TemporaryFile(/tmp/multipartBody7158347998957299248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341633024,"filename":"image_31012025_12_03_04_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cb3f8fc0beb37b0c83e673e95b55c2c6.jpg","text":"TemporaryFile(/tmp/multipartBody4050944451286274489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341633024,"filename":"image_31012025_12_03_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/1/31/703d27ceec6ff175592f5a99d4e24957.jpg","text":"TemporaryFile(/tmp/multipartBody2867463003165303562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341633024,"filename":"image_31012025_12_02_44_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333396263","file1":"1333396259","file0":"1333396256","file4":"1333396273","file5":"1333396447","file3":"1333396267"},"map_files_photo_id_array":[{"photo_id":"1333396447","filename":"file5"},{"photo_id":"1333396263","filename":"file2"},{"photo_id":"1333396273","filename":"file4"},{"photo_id":"1333396259","filename":"file1"},{"photo_id":"1333396256","filename":"file0"},{"photo_id":"1333396267","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333396259":["hashtag1","hashtag2"]},{"1333396256":["hashtag1","hashtag2"]},{"1333396273":["hashtag1","hashtag2"]},{"1333396267":["hashtag1","hashtag2"]},{"1333396447":["hashtag1","hashtag2"]},{"1333396263":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333396259, 1333396256, 1333396273, 1333396267, 1333396447, 1333396263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.231913566589355 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-01-31 17:40:32.724991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/03/image_31012025_12_03_44_10342.jpg', '/home/pi/Desktop/images/31012025/12/03/image_31012025_12_03_55_10415.jpg', '/home/pi/Desktop/images/31012025/12/03/image_31012025_12_04_04_9353.jpg', '/home/pi/Desktop/images/31012025/12/04/image_31012025_12_04_14_10374.jpg', '/home/pi/Desktop/images/31012025/12/04/image_31012025_12_04_24_9442.jpg', '/home/pi/Desktop/images/31012025/12/04/image_31012025_12_04_34_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/03/image_31012025_12_03_44_10342.jpg
/home/pi/Desktop/images/31012025/12/03/image_31012025_12_03_55_10415.jpg
/home/pi/Desktop/images/31012025/12/03/image_31012025_12_04_04_9353.jpg
/home/pi/Desktop/images/31012025/12/04/image_31012025_12_04_14_10374.jpg
/home/pi/Desktop/images/31012025/12/04/image_31012025_12_04_24_9442.jpg
/home/pi/Desktop/images/31012025/12/04/image_31012025_12_04_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":["1333396722","1333396727","1333396714","1333396711","1333396731","1333396719"],"photo_ids_order":["1333396711","1333396714","1333396719","1333396722","1333396727","1333396731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5605e796f31c2b45f45e702641408c13.jpg","text":"TemporaryFile(/tmp/multipartBody827477843722476587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341693196,"filename":"image_31012025_12_04_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/1/31/4fc3165edf776875776f438687c2a62c.jpg","text":"TemporaryFile(/tmp/multipartBody1004076021321387430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341693196,"filename":"image_31012025_12_04_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/1/31/1df5508e3087d3395d474898ea090c98.jpg","text":"TemporaryFile(/tmp/multipartBody552007817923612170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341693196,"filename":"image_31012025_12_03_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/1/31/397d161630483916de7c1ee8904174d5.jpg","text":"TemporaryFile(/tmp/multipartBody3980386325635671103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341693196,"filename":"image_31012025_12_03_44_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0b4010bd0826948613af90e298d6d1c7.jpg","text":"TemporaryFile(/tmp/multipartBody2774351180761687627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341693196,"filename":"image_31012025_12_04_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/1/31/8dc4a3532ee7840b07e9ee154017b845.jpg","text":"TemporaryFile(/tmp/multipartBody5455853986928532820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341693196,"filename":"image_31012025_12_04_04_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333396719","file1":"1333396714","file0":"1333396711","file4":"1333396727","file5":"1333396731","file3":"1333396722"},"map_files_photo_id_array":[{"photo_id":"1333396731","filename":"file5"},{"photo_id":"1333396719","filename":"file2"},{"photo_id":"1333396727","filename":"file4"},{"photo_id":"1333396714","filename":"file1"},{"photo_id":"1333396711","filename":"file0"},{"photo_id":"1333396722","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333396722":["hashtag1","hashtag2"]},{"1333396727":["hashtag1","hashtag2"]},{"1333396714":["hashtag1","hashtag2"]},{"1333396711":["hashtag1","hashtag2"]},{"1333396731":["hashtag1","hashtag2"]},{"1333396719":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333396722, 1333396727, 1333396714, 1333396711, 1333396731, 1333396719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39862608909607 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:41:32.489426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/04/image_31012025_12_04_44_9486.jpg', '/home/pi/Desktop/images/31012025/12/04/image_31012025_12_04_54_10354.jpg', '/home/pi/Desktop/images/31012025/12/04/image_31012025_12_05_04_10347.jpg', '/home/pi/Desktop/images/31012025/12/05/image_31012025_12_05_14_9474.jpg', '/home/pi/Desktop/images/31012025/12/05/image_31012025_12_05_24_10354.jpg', '/home/pi/Desktop/images/31012025/12/05/image_31012025_12_05_34_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/04/image_31012025_12_04_44_9486.jpg
/home/pi/Desktop/images/31012025/12/04/image_31012025_12_04_54_10354.jpg
/home/pi/Desktop/images/31012025/12/04/image_31012025_12_05_04_10347.jpg
/home/pi/Desktop/images/31012025/12/05/image_31012025_12_05_14_9474.jpg
/home/pi/Desktop/images/31012025/12/05/image_31012025_12_05_24_10354.jpg
/home/pi/Desktop/images/31012025/12/05/image_31012025_12_05_34_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":["1333397066","1333397051","1333397085","1333397073","1333397082","1333397078"],"photo_ids_order":["1333397051","1333397066","1333397073","1333397078","1333397082","1333397085"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/316bf4f19a598039973292146d5e6010.jpg","text":"TemporaryFile(/tmp/multipartBody6020146649539467874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341752957,"filename":"image_31012025_12_04_54_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2d1ed129fc136b6ddb5484c26fa02015.jpg","text":"TemporaryFile(/tmp/multipartBody2764923755530104431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341752957,"filename":"image_31012025_12_04_44_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/67d1b104fdc360bc7acd847b9c7bc85e.jpg","text":"TemporaryFile(/tmp/multipartBody3609814975169819127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341752957,"filename":"image_31012025_12_05_34_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fa085b5ea87ed1874f3af2503e807b39.jpg","text":"TemporaryFile(/tmp/multipartBody310840453037728882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341752957,"filename":"image_31012025_12_05_04_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3465a01b691ebe7b81d764a1fb78a81e.jpg","text":"TemporaryFile(/tmp/multipartBody2355911186933928083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341752957,"filename":"image_31012025_12_05_24_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f3ea4d9e484f96624316bbb8f9ee6819.jpg","text":"TemporaryFile(/tmp/multipartBody6351393797692397329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341752957,"filename":"image_31012025_12_05_14_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333397073","file1":"1333397066","file0":"1333397051","file4":"1333397082","file5":"1333397085","file3":"1333397078"},"map_files_photo_id_array":[{"photo_id":"1333397085","filename":"file5"},{"photo_id":"1333397073","filename":"file2"},{"photo_id":"1333397082","filename":"file4"},{"photo_id":"1333397066","filename":"file1"},{"photo_id":"1333397051","filename":"file0"},{"photo_id":"1333397078","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333397066":["hashtag1","hashtag2"]},{"1333397051":["hashtag1","hashtag2"]},{"1333397085":["hashtag1","hashtag2"]},{"1333397073":["hashtag1","hashtag2"]},{"1333397082":["hashtag1","hashtag2"]},{"1333397078":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333397066, 1333397051, 1333397085, 1333397073, 1333397082, 1333397078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.159072160720825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:42:32.728884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/05/image_31012025_12_05_44_10327.jpg', '/home/pi/Desktop/images/31012025/12/05/image_31012025_12_05_54_10342.jpg', '/home/pi/Desktop/images/31012025/12/05/image_31012025_12_06_04_9384.jpg', '/home/pi/Desktop/images/31012025/12/06/image_31012025_12_06_14_10334.jpg', '/home/pi/Desktop/images/31012025/12/06/image_31012025_12_06_25_10426.jpg', '/home/pi/Desktop/images/31012025/12/06/image_31012025_12_06_34_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/05/image_31012025_12_05_44_10327.jpg
/home/pi/Desktop/images/31012025/12/05/image_31012025_12_05_54_10342.jpg
/home/pi/Desktop/images/31012025/12/05/image_31012025_12_06_04_9384.jpg
/home/pi/Desktop/images/31012025/12/06/image_31012025_12_06_14_10334.jpg
/home/pi/Desktop/images/31012025/12/06/image_31012025_12_06_25_10426.jpg
/home/pi/Desktop/images/31012025/12/06/image_31012025_12_06_34_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":["1333397114","1333397123","1333397125","1333397119","1333397127","1333397109"],"photo_ids_order":["1333397109","1333397114","1333397119","1333397123","1333397125","1333397127"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a0786ae47587e9f431068ccc670c1653.jpg","text":"TemporaryFile(/tmp/multipartBody5312229598251936482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341813186,"filename":"image_31012025_12_05_54_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/68f25e9e823901c062cabce89ffa1823.jpg","text":"TemporaryFile(/tmp/multipartBody4848958451104292249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341813186,"filename":"image_31012025_12_06_14_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e05bcd1abddf7f54c4bf865ddd7198f8.jpg","text":"TemporaryFile(/tmp/multipartBody2116103359179532240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341813186,"filename":"image_31012025_12_06_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/1/31/4735cb2d06552ff0c2908679eac3d137.jpg","text":"TemporaryFile(/tmp/multipartBody6862932200944621697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341813186,"filename":"image_31012025_12_06_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/1/31/ad66d65778e14529a8aded5dc0bf2e13.jpg","text":"TemporaryFile(/tmp/multipartBody1187549361167491848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341813186,"filename":"image_31012025_12_06_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/1/31/c60252a8211d9872ac43851782f36879.jpg","text":"TemporaryFile(/tmp/multipartBody8975971070823036145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341813186,"filename":"image_31012025_12_05_44_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333397119","file1":"1333397114","file0":"1333397109","file4":"1333397125","file5":"1333397127","file3":"1333397123"},"map_files_photo_id_array":[{"photo_id":"1333397127","filename":"file5"},{"photo_id":"1333397119","filename":"file2"},{"photo_id":"1333397125","filename":"file4"},{"photo_id":"1333397114","filename":"file1"},{"photo_id":"1333397109","filename":"file0"},{"photo_id":"1333397123","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333397114":["hashtag1","hashtag2"]},{"1333397123":["hashtag1","hashtag2"]},{"1333397125":["hashtag1","hashtag2"]},{"1333397119":["hashtag1","hashtag2"]},{"1333397127":["hashtag1","hashtag2"]},{"1333397109":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333397114, 1333397123, 1333397125, 1333397119, 1333397127, 1333397109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.729798793792725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:43:32.936311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/06/image_31012025_12_06_44_10334.jpg', '/home/pi/Desktop/images/31012025/12/06/image_31012025_12_07_04_9407.jpg', '/home/pi/Desktop/images/31012025/12/07/image_31012025_12_07_14_10345.jpg', '/home/pi/Desktop/images/31012025/12/07/image_31012025_12_07_24_9340.jpg', '/home/pi/Desktop/images/31012025/12/07/image_31012025_12_07_34_10379.jpg', '/home/pi/Desktop/images/31012025/12/07/image_31012025_12_07_45_10468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/06/image_31012025_12_06_44_10334.jpg
/home/pi/Desktop/images/31012025/12/06/image_31012025_12_07_04_9407.jpg
/home/pi/Desktop/images/31012025/12/07/image_31012025_12_07_14_10345.jpg
/home/pi/Desktop/images/31012025/12/07/image_31012025_12_07_24_9340.jpg
/home/pi/Desktop/images/31012025/12/07/image_31012025_12_07_34_10379.jpg
/home/pi/Desktop/images/31012025/12/07/image_31012025_12_07_45_10468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333397171","1333397150","1333397167","1333397161","1333397175","1333397156"],"photo_ids_order":["1333397150","1333397156","1333397161","1333397167","1333397171","1333397175"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d2fa5a084f6d126b52288fd90204d490.jpg","text":"TemporaryFile(/tmp/multipartBody7194038901574779641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341873408,"filename":"image_31012025_12_07_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/1/31/7df560c1068405c92bb9eee492b3f0cc.jpg","text":"TemporaryFile(/tmp/multipartBody5456621583165862192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341873408,"filename":"image_31012025_12_06_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/1/31/05cfff07aeddca1d91fce8d3ca83116f.jpg","text":"TemporaryFile(/tmp/multipartBody6905271082937659651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341873408,"filename":"image_31012025_12_07_24_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/01d5d8a0c6bfc15aec04cb71f6a5936f.jpg","text":"TemporaryFile(/tmp/multipartBody8614869566817704405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341873408,"filename":"image_31012025_12_07_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/1/31/870667229d2ac8ebff00720d572bb55f.jpg","text":"TemporaryFile(/tmp/multipartBody8394329485858273212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341873408,"filename":"image_31012025_12_07_45_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c9e79fb566c11f335e2eb26c9994a19b.jpg","text":"TemporaryFile(/tmp/multipartBody7988194510857894181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341873408,"filename":"image_31012025_12_07_04_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333397161","file1":"1333397156","file0":"1333397150","file4":"1333397171","file5":"1333397175","file3":"1333397167"},"map_files_photo_id_array":[{"photo_id":"1333397175","filename":"file5"},{"photo_id":"1333397161","filename":"file2"},{"photo_id":"1333397171","filename":"file4"},{"photo_id":"1333397156","filename":"file1"},{"photo_id":"1333397150","filename":"file0"},{"photo_id":"1333397167","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333397171":["hashtag1","hashtag2"]},{"1333397150":["hashtag1","hashtag2"]},{"1333397167":["hashtag1","hashtag2"]},{"1333397161":["hashtag1","hashtag2"]},{"1333397175":["hashtag1","hashtag2"]},{"1333397156":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333397171, 1333397150, 1333397167, 1333397161, 1333397175, 1333397156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.553355932235718 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:44:32.288571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/07/image_31012025_12_07_54_9344.jpg', '/home/pi/Desktop/images/31012025/12/08/image_31012025_12_08_24_10349.jpg', '/home/pi/Desktop/images/31012025/12/08/image_31012025_12_08_44_9335.jpg', '/home/pi/Desktop/images/31012025/12/08/image_31012025_12_08_54_10352.jpg', '/home/pi/Desktop/images/31012025/12/08/image_31012025_12_09_04_10354.jpg', '/home/pi/Desktop/images/31012025/12/09/image_31012025_12_09_24_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/07/image_31012025_12_07_54_9344.jpg
/home/pi/Desktop/images/31012025/12/08/image_31012025_12_08_24_10349.jpg
/home/pi/Desktop/images/31012025/12/08/image_31012025_12_08_44_9335.jpg
/home/pi/Desktop/images/31012025/12/08/image_31012025_12_08_54_10352.jpg
/home/pi/Desktop/images/31012025/12/08/image_31012025_12_09_04_10354.jpg
/home/pi/Desktop/images/31012025/12/09/image_31012025_12_09_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":["1333397303","1333397269","1333397308","1333397277","1333397313","1333397235"],"photo_ids_order":["1333397235","1333397269","1333397277","1333397303","1333397308","1333397313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c87a66dc51c81f40b2fa8a898af94404.jpg","text":"TemporaryFile(/tmp/multipartBody6873355881873858629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341932766,"filename":"image_31012025_12_08_54_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d1d8cde9b99fd11be3898cc629749f6b.jpg","text":"TemporaryFile(/tmp/multipartBody1603638264006801870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341932766,"filename":"image_31012025_12_08_24_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b337a6ae86b80fcb0ff65b551fcf2aec.jpg","text":"TemporaryFile(/tmp/multipartBody4273150384622877908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341932766,"filename":"image_31012025_12_09_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/1/31/685c91683dd51851d6e259dfc0d30299.jpg","text":"TemporaryFile(/tmp/multipartBody5739187444945023231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341932766,"filename":"image_31012025_12_08_44_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b7fd7b69687941041893cb58ffb8e24f.jpg","text":"TemporaryFile(/tmp/multipartBody7241190269114928678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341932766,"filename":"image_31012025_12_09_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/1/31/abe98fb75080ecdd6ed0d6afc7595ee6.jpg","text":"TemporaryFile(/tmp/multipartBody6133141285167525726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341932766,"filename":"image_31012025_12_07_54_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333397277","file1":"1333397269","file0":"1333397235","file4":"1333397308","file5":"1333397313","file3":"1333397303"},"map_files_photo_id_array":[{"photo_id":"1333397313","filename":"file5"},{"photo_id":"1333397277","filename":"file2"},{"photo_id":"1333397308","filename":"file4"},{"photo_id":"1333397269","filename":"file1"},{"photo_id":"1333397235","filename":"file0"},{"photo_id":"1333397303","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333397303":["hashtag1","hashtag2"]},{"1333397269":["hashtag1","hashtag2"]},{"1333397308":["hashtag1","hashtag2"]},{"1333397277":["hashtag1","hashtag2"]},{"1333397313":["hashtag1","hashtag2"]},{"1333397235":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333397303, 1333397269, 1333397308, 1333397277, 1333397313, 1333397235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.336758852005005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:45:32.541281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/09/image_31012025_12_09_34_9443.jpg', '/home/pi/Desktop/images/31012025/12/09/image_31012025_12_09_44_10394.jpg', '/home/pi/Desktop/images/31012025/12/09/image_31012025_12_09_54_10364.jpg', '/home/pi/Desktop/images/31012025/12/09/image_31012025_12_10_04_9327.jpg', '/home/pi/Desktop/images/31012025/12/10/image_31012025_12_10_14_10424.jpg', '/home/pi/Desktop/images/31012025/12/10/image_31012025_12_10_25_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/09/image_31012025_12_09_34_9443.jpg
/home/pi/Desktop/images/31012025/12/09/image_31012025_12_09_44_10394.jpg
/home/pi/Desktop/images/31012025/12/09/image_31012025_12_09_54_10364.jpg
/home/pi/Desktop/images/31012025/12/09/image_31012025_12_10_04_9327.jpg
/home/pi/Desktop/images/31012025/12/10/image_31012025_12_10_14_10424.jpg
/home/pi/Desktop/images/31012025/12/10/image_31012025_12_10_25_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":["1333397497","1333397600","1333397500","1333397541","1333397565","1333397538"],"photo_ids_order":["1333397497","1333397500","1333397538","1333397541","1333397565","1333397600"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4287c45935275aa216afa7c7dfef20f4.jpg","text":"TemporaryFile(/tmp/multipartBody7735204484433584985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341993016,"filename":"image_31012025_12_09_34_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/36bead4941f95472596c66e8c97a43fc.jpg","text":"TemporaryFile(/tmp/multipartBody1078798598941197003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341993016,"filename":"image_31012025_12_10_25_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/549b86717639b5db844f2f9c99fc168c.jpg","text":"TemporaryFile(/tmp/multipartBody3628847275955257552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341993016,"filename":"image_31012025_12_09_44_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8cc5b5bd5de3b09fbdffb0c6b57c6d40.jpg","text":"TemporaryFile(/tmp/multipartBody4102059917539589199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341993016,"filename":"image_31012025_12_10_04_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/64303a94c0786c69a0da29bc65777ff6.jpg","text":"TemporaryFile(/tmp/multipartBody5648018689787033733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341993016,"filename":"image_31012025_12_10_14_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/17b83be86c2bb99ba994b02384d85a3e.jpg","text":"TemporaryFile(/tmp/multipartBody313341552824404579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738341993016,"filename":"image_31012025_12_09_54_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333397538","file1":"1333397500","file0":"1333397497","file4":"1333397565","file5":"1333397600","file3":"1333397541"},"map_files_photo_id_array":[{"photo_id":"1333397600","filename":"file5"},{"photo_id":"1333397538","filename":"file2"},{"photo_id":"1333397565","filename":"file4"},{"photo_id":"1333397500","filename":"file1"},{"photo_id":"1333397497","filename":"file0"},{"photo_id":"1333397541","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333397497":["hashtag1","hashtag2"]},{"1333397600":["hashtag1","hashtag2"]},{"1333397500":["hashtag1","hashtag2"]},{"1333397541":["hashtag1","hashtag2"]},{"1333397565":["hashtag1","hashtag2"]},{"1333397538":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333397497, 1333397600, 1333397500, 1333397541, 1333397565, 1333397538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 28.50439429283142 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 17:46:03.502020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/10/image_31012025_12_10_34_9346.jpg', '/home/pi/Desktop/images/31012025/12/10/image_31012025_12_10_44_10337.jpg', '/home/pi/Desktop/images/31012025/12/10/image_31012025_12_10_55_10353.jpg', '/home/pi/Desktop/images/31012025/12/10/image_31012025_12_11_04_9417.jpg', '/home/pi/Desktop/images/31012025/12/11/image_31012025_12_11_14_10338.jpg', '/home/pi/Desktop/images/31012025/12/11/image_31012025_12_11_24_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/10/image_31012025_12_10_34_9346.jpg
/home/pi/Desktop/images/31012025/12/10/image_31012025_12_10_44_10337.jpg
/home/pi/Desktop/images/31012025/12/10/image_31012025_12_10_55_10353.jpg
/home/pi/Desktop/images/31012025/12/10/image_31012025_12_11_04_9417.jpg
/home/pi/Desktop/images/31012025/12/11/image_31012025_12_11_14_10338.jpg
/home/pi/Desktop/images/31012025/12/11/image_31012025_12_11_24_9448.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333397852","1333397849","1333397817","1333397904","1333397814","1333397786"],"photo_ids_order":["1333397786","1333397814","1333397817","1333397849","1333397852","1333397904"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b30f8b0fcef8b5326363b85b5332e459.jpg","text":"TemporaryFile(/tmp/multipartBody3797899508720087379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342024012,"filename":"image_31012025_12_11_14_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bf4e35f9056812b1e7ad042304bc33c9.jpg","text":"TemporaryFile(/tmp/multipartBody3876273109610701249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342024012,"filename":"image_31012025_12_11_04_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/00d68ac9d8363d9a935cb7dc66e761da.jpg","text":"TemporaryFile(/tmp/multipartBody6107255358822553334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342024012,"filename":"image_31012025_12_10_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/1/31/996697f970ff3fdb8eed98fec953dafc.jpg","text":"TemporaryFile(/tmp/multipartBody6093186404909963762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342024012,"filename":"image_31012025_12_11_24_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b71affcf1c073ab3c1a2083caaa5dfa0.jpg","text":"TemporaryFile(/tmp/multipartBody7510753813798459523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342024012,"filename":"image_31012025_12_10_44_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/acd1363fcc928d27b07d3c50cd7cc5d5.jpg","text":"TemporaryFile(/tmp/multipartBody7247956417014744565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342024012,"filename":"image_31012025_12_10_34_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333397817","file1":"1333397814","file0":"1333397786","file4":"1333397852","file5":"1333397904","file3":"1333397849"},"map_files_photo_id_array":[{"photo_id":"1333397904","filename":"file5"},{"photo_id":"1333397817","filename":"file2"},{"photo_id":"1333397852","filename":"file4"},{"photo_id":"1333397814","filename":"file1"},{"photo_id":"1333397786","filename":"file0"},{"photo_id":"1333397849","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333397852":["hashtag1","hashtag2"]},{"1333397849":["hashtag1","hashtag2"]},{"1333397817":["hashtag1","hashtag2"]},{"1333397904":["hashtag1","hashtag2"]},{"1333397814":["hashtag1","hashtag2"]},{"1333397786":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333397852, 1333397849, 1333397817, 1333397904, 1333397814, 1333397786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.415525674819946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 17:46:42.660918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/11/image_31012025_12_11_34_10343.jpg', '/home/pi/Desktop/images/31012025/12/11/image_31012025_12_11_45_10364.jpg', '/home/pi/Desktop/images/31012025/12/11/image_31012025_12_11_54_9341.jpg', '/home/pi/Desktop/images/31012025/12/12/image_31012025_12_12_15_10357.jpg', '/home/pi/Desktop/images/31012025/12/12/image_31012025_12_12_24_9339.jpg', '/home/pi/Desktop/images/31012025/12/12/image_31012025_12_12_34_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/11/image_31012025_12_11_34_10343.jpg
/home/pi/Desktop/images/31012025/12/11/image_31012025_12_11_45_10364.jpg
/home/pi/Desktop/images/31012025/12/11/image_31012025_12_11_54_9341.jpg
/home/pi/Desktop/images/31012025/12/12/image_31012025_12_12_15_10357.jpg
/home/pi/Desktop/images/31012025/12/12/image_31012025_12_12_24_9339.jpg
/home/pi/Desktop/images/31012025/12/12/image_31012025_12_12_34_10385.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.3941984176635742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:46:52.761802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/11/image_31012025_12_11_34_10343.jpg', '/home/pi/Desktop/images/31012025/12/11/image_31012025_12_11_45_10364.jpg', '/home/pi/Desktop/images/31012025/12/11/image_31012025_12_11_54_9341.jpg', '/home/pi/Desktop/images/31012025/12/12/image_31012025_12_12_15_10357.jpg', '/home/pi/Desktop/images/31012025/12/12/image_31012025_12_12_24_9339.jpg', '/home/pi/Desktop/images/31012025/12/12/image_31012025_12_12_34_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/11/image_31012025_12_11_34_10343.jpg
/home/pi/Desktop/images/31012025/12/11/image_31012025_12_11_45_10364.jpg
/home/pi/Desktop/images/31012025/12/11/image_31012025_12_11_54_9341.jpg
/home/pi/Desktop/images/31012025/12/12/image_31012025_12_12_15_10357.jpg
/home/pi/Desktop/images/31012025/12/12/image_31012025_12_12_24_9339.jpg
/home/pi/Desktop/images/31012025/12/12/image_31012025_12_12_34_10385.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333398034","1333398000","1333398030","1333398003","1333398006","1333398026"],"photo_ids_order":["1333398000","1333398003","1333398006","1333398026","1333398030","1333398034"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ef8a43dbf548cfc6d552daf5379a39c9.jpg","text":"TemporaryFile(/tmp/multipartBody4529100780262321684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342073220,"filename":"image_31012025_12_12_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/1/31/77bffc32e92251f8994ef2136a2ec7fd.jpg","text":"TemporaryFile(/tmp/multipartBody5987871580249597151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342073220,"filename":"image_31012025_12_11_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/1/31/1f530c7f9bc4c8dd4a682c3e4b9939c6.jpg","text":"TemporaryFile(/tmp/multipartBody5865198309658520674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342073220,"filename":"image_31012025_12_12_24_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/71f7d72fcb22c8f9f5f41851b667af77.jpg","text":"TemporaryFile(/tmp/multipartBody1684598916329816110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342073220,"filename":"image_31012025_12_11_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/1/31/a6259cc4ce3cd3990bea8445269c0a11.jpg","text":"TemporaryFile(/tmp/multipartBody2463512185344067246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342073220,"filename":"image_31012025_12_11_54_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/95e2f5d32c7bd5b0b11375e16d42f4df.jpg","text":"TemporaryFile(/tmp/multipartBody944041495889870215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342073220,"filename":"image_31012025_12_12_15_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333398006","file1":"1333398003","file0":"1333398000","file4":"1333398030","file5":"1333398034","file3":"1333398026"},"map_files_photo_id_array":[{"photo_id":"1333398034","filename":"file5"},{"photo_id":"1333398006","filename":"file2"},{"photo_id":"1333398030","filename":"file4"},{"photo_id":"1333398003","filename":"file1"},{"photo_id":"1333398000","filename":"file0"},{"photo_id":"1333398026","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333398034":["hashtag1","hashtag2"]},{"1333398000":["hashtag1","hashtag2"]},{"1333398030":["hashtag1","hashtag2"]},{"1333398003":["hashtag1","hashtag2"]},{"1333398006":["hashtag1","hashtag2"]},{"1333398026":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333398034, 1333398000, 1333398030, 1333398003, 1333398006, 1333398026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.920379161834717 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:47:32.998747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/12/image_31012025_12_12_45_10389.jpg', '/home/pi/Desktop/images/31012025/12/12/image_31012025_12_12_54_9431.jpg', '/home/pi/Desktop/images/31012025/12/12/image_31012025_12_13_04_10336.jpg', '/home/pi/Desktop/images/31012025/12/13/image_31012025_12_13_14_9448.jpg', '/home/pi/Desktop/images/31012025/12/13/image_31012025_12_13_24_10352.jpg', '/home/pi/Desktop/images/31012025/12/13/image_31012025_12_13_35_10323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/12/image_31012025_12_12_45_10389.jpg
/home/pi/Desktop/images/31012025/12/12/image_31012025_12_12_54_9431.jpg
/home/pi/Desktop/images/31012025/12/12/image_31012025_12_13_04_10336.jpg
/home/pi/Desktop/images/31012025/12/13/image_31012025_12_13_14_9448.jpg
/home/pi/Desktop/images/31012025/12/13/image_31012025_12_13_24_10352.jpg
/home/pi/Desktop/images/31012025/12/13/image_31012025_12_13_35_10323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333398064","1333398057","1333398072","1333398069","1333398060","1333398077"],"photo_ids_order":["1333398057","1333398060","1333398064","1333398069","1333398072","1333398077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/11ec8851eee5c779cb188b91b171905b.jpg","text":"TemporaryFile(/tmp/multipartBody5546835652543951573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342113460,"filename":"image_31012025_12_13_04_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d14a451e654ee6e09eb38792861155f5.jpg","text":"TemporaryFile(/tmp/multipartBody7947903330909981348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342113460,"filename":"image_31012025_12_12_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/1/31/4d00dbe7d11f6efd5eea99294fad5e29.jpg","text":"TemporaryFile(/tmp/multipartBody6838376601605970039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342113460,"filename":"image_31012025_12_13_24_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c6fc31972f5c8da1bed622ce928ce488.jpg","text":"TemporaryFile(/tmp/multipartBody2504881846680394670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342113460,"filename":"image_31012025_12_13_14_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5ad892ac73e53cdfbb9a2f4c9e7867ed.jpg","text":"TemporaryFile(/tmp/multipartBody624344866051870277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342113460,"filename":"image_31012025_12_12_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/1/31/79a85e88300f2b079bb7766d64849bc5.jpg","text":"TemporaryFile(/tmp/multipartBody4100520315437656354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342113460,"filename":"image_31012025_12_13_35_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333398064","file1":"1333398060","file0":"1333398057","file4":"1333398072","file5":"1333398077","file3":"1333398069"},"map_files_photo_id_array":[{"photo_id":"1333398077","filename":"file5"},{"photo_id":"1333398064","filename":"file2"},{"photo_id":"1333398072","filename":"file4"},{"photo_id":"1333398060","filename":"file1"},{"photo_id":"1333398057","filename":"file0"},{"photo_id":"1333398069","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333398064":["hashtag1","hashtag2"]},{"1333398057":["hashtag1","hashtag2"]},{"1333398072":["hashtag1","hashtag2"]},{"1333398069":["hashtag1","hashtag2"]},{"1333398060":["hashtag1","hashtag2"]},{"1333398077":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333398064, 1333398057, 1333398072, 1333398069, 1333398060, 1333398077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.77707028388977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:48:32.134122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/13/image_31012025_12_13_54_10367.jpg', '/home/pi/Desktop/images/31012025/12/14/image_31012025_12_14_24_10336.jpg', '/home/pi/Desktop/images/31012025/12/14/image_31012025_12_14_34_9424.jpg', '/home/pi/Desktop/images/31012025/12/14/image_31012025_12_14_44_10338.jpg', '/home/pi/Desktop/images/31012025/12/14/image_31012025_12_14_55_10353.jpg', '/home/pi/Desktop/images/31012025/12/14/image_31012025_12_15_04_9313.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/13/image_31012025_12_13_54_10367.jpg
/home/pi/Desktop/images/31012025/12/14/image_31012025_12_14_24_10336.jpg
/home/pi/Desktop/images/31012025/12/14/image_31012025_12_14_34_9424.jpg
/home/pi/Desktop/images/31012025/12/14/image_31012025_12_14_44_10338.jpg
/home/pi/Desktop/images/31012025/12/14/image_31012025_12_14_55_10353.jpg
/home/pi/Desktop/images/31012025/12/14/image_31012025_12_15_04_9313.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333398115","1333398098","1333398122","1333398119","1333398110","1333398104"],"photo_ids_order":["1333398098","1333398104","1333398110","1333398115","1333398119","1333398122"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/311f19dfa0ed3fdfcae36c3712bd7cad.jpg","text":"TemporaryFile(/tmp/multipartBody3618322260651316778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342172604,"filename":"image_31012025_12_14_44_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0e29db21cb89d93ca2595f5ca2a7044c.jpg","text":"TemporaryFile(/tmp/multipartBody4988883982101497967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342172604,"filename":"image_31012025_12_13_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/1/31/c09fe6e2306de9c59e6505a1639ace70.jpg","text":"TemporaryFile(/tmp/multipartBody7276153215469729897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342172604,"filename":"image_31012025_12_15_04_9313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b29b0ff1e004787fcc63df8983743054.jpg","text":"TemporaryFile(/tmp/multipartBody1310600562116665016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342172604,"filename":"image_31012025_12_14_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/1/31/cef0408c3c3190aad8582aa74d8463d9.jpg","text":"TemporaryFile(/tmp/multipartBody7172146482692579537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342172604,"filename":"image_31012025_12_14_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/1/31/d6149a34ca8d2005c42dc9e19255901a.jpg","text":"TemporaryFile(/tmp/multipartBody313548118313940816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342172604,"filename":"image_31012025_12_14_24_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333398110","file1":"1333398104","file0":"1333398098","file4":"1333398119","file5":"1333398122","file3":"1333398115"},"map_files_photo_id_array":[{"photo_id":"1333398122","filename":"file5"},{"photo_id":"1333398110","filename":"file2"},{"photo_id":"1333398119","filename":"file4"},{"photo_id":"1333398104","filename":"file1"},{"photo_id":"1333398098","filename":"file0"},{"photo_id":"1333398115","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333398115":["hashtag1","hashtag2"]},{"1333398098":["hashtag1","hashtag2"]},{"1333398122":["hashtag1","hashtag2"]},{"1333398119":["hashtag1","hashtag2"]},{"1333398110":["hashtag1","hashtag2"]},{"1333398104":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333398115, 1333398098, 1333398122, 1333398119, 1333398110, 1333398104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.621586799621582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:49:32.472528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/15/image_31012025_12_15_44_10325.jpg', '/home/pi/Desktop/images/31012025/12/15/image_31012025_12_15_54_9414.jpg', '/home/pi/Desktop/images/31012025/12/16/image_31012025_12_16_14_10349.jpg', '/home/pi/Desktop/images/31012025/12/16/image_31012025_12_16_24_9401.jpg', '/home/pi/Desktop/images/31012025/12/16/image_31012025_12_16_34_10365.jpg', '/home/pi/Desktop/images/31012025/12/16/image_31012025_12_16_45_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/15/image_31012025_12_15_44_10325.jpg
/home/pi/Desktop/images/31012025/12/15/image_31012025_12_15_54_9414.jpg
/home/pi/Desktop/images/31012025/12/16/image_31012025_12_16_14_10349.jpg
/home/pi/Desktop/images/31012025/12/16/image_31012025_12_16_24_9401.jpg
/home/pi/Desktop/images/31012025/12/16/image_31012025_12_16_34_10365.jpg
/home/pi/Desktop/images/31012025/12/16/image_31012025_12_16_45_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":["1333398151","1333398142","1333398139","1333398159","1333398155","1333398146"],"photo_ids_order":["1333398139","1333398142","1333398146","1333398151","1333398155","1333398159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f99db44195631a0e83e7f762c99256db.jpg","text":"TemporaryFile(/tmp/multipartBody8667502449454057062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342232942,"filename":"image_31012025_12_16_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/1/31/dee8f2e9f84b757a9d31152a4d96a5d9.jpg","text":"TemporaryFile(/tmp/multipartBody8903111334411240868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342232942,"filename":"image_31012025_12_15_54_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/868064e37b8a19ed14f7f22b1bae9743.jpg","text":"TemporaryFile(/tmp/multipartBody3288566711292304966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342232942,"filename":"image_31012025_12_15_44_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/165481ed88db11c8c0882ff20dd3a0f9.jpg","text":"TemporaryFile(/tmp/multipartBody1500127324502526394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342232942,"filename":"image_31012025_12_16_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/1/31/322b09dbff1542a408644aade18f230e.jpg","text":"TemporaryFile(/tmp/multipartBody5871847770809205642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342232942,"filename":"image_31012025_12_16_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/1/31/327ba667f98ccae77ef272f730c89454.jpg","text":"TemporaryFile(/tmp/multipartBody5696566140028723216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342232942,"filename":"image_31012025_12_16_14_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333398146","file1":"1333398142","file0":"1333398139","file4":"1333398155","file5":"1333398159","file3":"1333398151"},"map_files_photo_id_array":[{"photo_id":"1333398159","filename":"file5"},{"photo_id":"1333398146","filename":"file2"},{"photo_id":"1333398155","filename":"file4"},{"photo_id":"1333398142","filename":"file1"},{"photo_id":"1333398139","filename":"file0"},{"photo_id":"1333398151","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333398151":["hashtag1","hashtag2"]},{"1333398142":["hashtag1","hashtag2"]},{"1333398139":["hashtag1","hashtag2"]},{"1333398159":["hashtag1","hashtag2"]},{"1333398155":["hashtag1","hashtag2"]},{"1333398146":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333398151, 1333398142, 1333398139, 1333398159, 1333398155, 1333398146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.725820302963257 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:50:32.680645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/16/image_31012025_12_16_54_9396.jpg', '/home/pi/Desktop/images/31012025/12/18/image_31012025_12_18_14_10345.jpg', '/home/pi/Desktop/images/31012025/12/18/image_31012025_12_18_25_10442.jpg', '/home/pi/Desktop/images/31012025/12/18/image_31012025_12_18_44_10323.jpg', '/home/pi/Desktop/images/31012025/12/18/image_31012025_12_18_55_10407.jpg', '/home/pi/Desktop/images/31012025/12/18/image_31012025_12_19_04_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/16/image_31012025_12_16_54_9396.jpg
/home/pi/Desktop/images/31012025/12/18/image_31012025_12_18_14_10345.jpg
/home/pi/Desktop/images/31012025/12/18/image_31012025_12_18_25_10442.jpg
/home/pi/Desktop/images/31012025/12/18/image_31012025_12_18_44_10323.jpg
/home/pi/Desktop/images/31012025/12/18/image_31012025_12_18_55_10407.jpg
/home/pi/Desktop/images/31012025/12/18/image_31012025_12_19_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":["1333398314","1333398265","1333398270","1333398275","1333398260","1333398248"],"photo_ids_order":["1333398248","1333398260","1333398265","1333398270","1333398275","1333398314"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/144ba569d76297623eac52e261f675cc.jpg","text":"TemporaryFile(/tmp/multipartBody7421285749857244162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342293251,"filename":"image_31012025_12_19_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/1/31/f9e4b7bdfcfceabcea6f8df738f9ae31.jpg","text":"TemporaryFile(/tmp/multipartBody957236886906165323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342293251,"filename":"image_31012025_12_18_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/1/31/59826cefbdae41736b004e99ec1bfe77.jpg","text":"TemporaryFile(/tmp/multipartBody7799235788032825515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342293251,"filename":"image_31012025_12_18_44_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/89196401667c9c1e2c15aea103be8d60.jpg","text":"TemporaryFile(/tmp/multipartBody1446683492393080145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342293251,"filename":"image_31012025_12_18_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/1/31/9ceada7c44f5a46ccbe7914171e6a6a1.jpg","text":"TemporaryFile(/tmp/multipartBody406945844137657364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342293251,"filename":"image_31012025_12_18_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/1/31/f88076d23554618ec1595ef35e36d9ed.jpg","text":"TemporaryFile(/tmp/multipartBody4476081954702157409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342293251,"filename":"image_31012025_12_16_54_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333398265","file1":"1333398260","file0":"1333398248","file4":"1333398275","file5":"1333398314","file3":"1333398270"},"map_files_photo_id_array":[{"photo_id":"1333398314","filename":"file5"},{"photo_id":"1333398265","filename":"file2"},{"photo_id":"1333398275","filename":"file4"},{"photo_id":"1333398260","filename":"file1"},{"photo_id":"1333398248","filename":"file0"},{"photo_id":"1333398270","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333398314":["hashtag1","hashtag2"]},{"1333398265":["hashtag1","hashtag2"]},{"1333398270":["hashtag1","hashtag2"]},{"1333398275":["hashtag1","hashtag2"]},{"1333398260":["hashtag1","hashtag2"]},{"1333398248":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333398314, 1333398265, 1333398270, 1333398275, 1333398260, 1333398248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.151192665100098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:51:33.001493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/19/image_31012025_12_19_24_9412.jpg', '/home/pi/Desktop/images/31012025/12/19/image_31012025_12_19_34_10369.jpg', '/home/pi/Desktop/images/31012025/12/19/image_31012025_12_19_44_10338.jpg', '/home/pi/Desktop/images/31012025/12/19/image_31012025_12_19_54_9440.jpg', '/home/pi/Desktop/images/31012025/12/20/image_31012025_12_20_15_10336.jpg', '/home/pi/Desktop/images/31012025/12/20/image_31012025_12_20_34_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/19/image_31012025_12_19_24_9412.jpg
/home/pi/Desktop/images/31012025/12/19/image_31012025_12_19_34_10369.jpg
/home/pi/Desktop/images/31012025/12/19/image_31012025_12_19_44_10338.jpg
/home/pi/Desktop/images/31012025/12/19/image_31012025_12_19_54_9440.jpg
/home/pi/Desktop/images/31012025/12/20/image_31012025_12_20_15_10336.jpg
/home/pi/Desktop/images/31012025/12/20/image_31012025_12_20_34_10351.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.3776514530181885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 17:51:42.996349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/19/image_31012025_12_19_24_9412.jpg', '/home/pi/Desktop/images/31012025/12/19/image_31012025_12_19_34_10369.jpg', '/home/pi/Desktop/images/31012025/12/19/image_31012025_12_19_44_10338.jpg', '/home/pi/Desktop/images/31012025/12/19/image_31012025_12_19_54_9440.jpg', '/home/pi/Desktop/images/31012025/12/20/image_31012025_12_20_15_10336.jpg', '/home/pi/Desktop/images/31012025/12/20/image_31012025_12_20_34_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/19/image_31012025_12_19_24_9412.jpg
/home/pi/Desktop/images/31012025/12/19/image_31012025_12_19_34_10369.jpg
/home/pi/Desktop/images/31012025/12/19/image_31012025_12_19_44_10338.jpg
/home/pi/Desktop/images/31012025/12/19/image_31012025_12_19_54_9440.jpg
/home/pi/Desktop/images/31012025/12/20/image_31012025_12_20_15_10336.jpg
/home/pi/Desktop/images/31012025/12/20/image_31012025_12_20_34_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":["1333398622","1333398604","1333398616","1333398517","1333398624","1333398620"],"photo_ids_order":["1333398517","1333398604","1333398616","1333398620","1333398622","1333398624"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a51e94cf3c6bb6d96adb230cace4485a.jpg","text":"TemporaryFile(/tmp/multipartBody4800005432760801744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342363500,"filename":"image_31012025_12_20_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2d042b1c788ad00a29d9a3d17dc7e194.jpg","text":"TemporaryFile(/tmp/multipartBody3576041927933482705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342363500,"filename":"image_31012025_12_19_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/1/31/f6e0c7573a57dddab973b9143dbc9945.jpg","text":"TemporaryFile(/tmp/multipartBody8905354125001095470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342363500,"filename":"image_31012025_12_19_44_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5b6f700ec00d8f2e4bf1bb2ddee7dd7e.jpg","text":"TemporaryFile(/tmp/multipartBody5921732549865567475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342363500,"filename":"image_31012025_12_19_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/1/31/8385f92d4f3458f1060841883182c743.jpg","text":"TemporaryFile(/tmp/multipartBody597844034145035201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342363500,"filename":"image_31012025_12_20_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/1/31/c7095582550e4c438b1dc6a52f371228.jpg","text":"TemporaryFile(/tmp/multipartBody5707990943947122039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342363500,"filename":"image_31012025_12_19_54_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333398616","file1":"1333398604","file0":"1333398517","file4":"1333398622","file5":"1333398624","file3":"1333398620"},"map_files_photo_id_array":[{"photo_id":"1333398624","filename":"file5"},{"photo_id":"1333398616","filename":"file2"},{"photo_id":"1333398622","filename":"file4"},{"photo_id":"1333398604","filename":"file1"},{"photo_id":"1333398517","filename":"file0"},{"photo_id":"1333398620","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333398622":["hashtag1","hashtag2"]},{"1333398604":["hashtag1","hashtag2"]},{"1333398616":["hashtag1","hashtag2"]},{"1333398517":["hashtag1","hashtag2"]},{"1333398624":["hashtag1","hashtag2"]},{"1333398620":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333398622, 1333398604, 1333398616, 1333398517, 1333398624, 1333398620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.439993143081665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:52:32.218140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/20/image_31012025_12_20_54_9354.jpg', '/home/pi/Desktop/images/31012025/12/20/image_31012025_12_21_04_10378.jpg', '/home/pi/Desktop/images/31012025/12/21/image_31012025_12_21_14_9341.jpg', '/home/pi/Desktop/images/31012025/12/21/image_31012025_12_21_24_10362.jpg', '/home/pi/Desktop/images/31012025/12/21/image_31012025_12_21_34_10335.jpg', '/home/pi/Desktop/images/31012025/12/21/image_31012025_12_21_44_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/20/image_31012025_12_20_54_9354.jpg
/home/pi/Desktop/images/31012025/12/20/image_31012025_12_21_04_10378.jpg
/home/pi/Desktop/images/31012025/12/21/image_31012025_12_21_14_9341.jpg
/home/pi/Desktop/images/31012025/12/21/image_31012025_12_21_24_10362.jpg
/home/pi/Desktop/images/31012025/12/21/image_31012025_12_21_34_10335.jpg
/home/pi/Desktop/images/31012025/12/21/image_31012025_12_21_44_9375.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":["1333398820","1333398814","1333398771","1333398717","1333398710","1333398713"],"photo_ids_order":["1333398710","1333398713","1333398717","1333398771","1333398814","1333398820"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/236248a58f0492fc36e15045cf3e4673.jpg","text":"TemporaryFile(/tmp/multipartBody2871913730969288911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342412696,"filename":"image_31012025_12_21_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/1/31/e2df4ac82c8e740371733aa38c20e1af.jpg","text":"TemporaryFile(/tmp/multipartBody3239286979751118627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342412696,"filename":"image_31012025_12_21_34_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/85c023de019a2ba987b827038ecadff6.jpg","text":"TemporaryFile(/tmp/multipartBody230519410532354341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342412696,"filename":"image_31012025_12_21_24_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/611c1bdc4dac6dc6d76bd76ce0b23546.jpg","text":"TemporaryFile(/tmp/multipartBody1791162086889060740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342412696,"filename":"image_31012025_12_21_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/1/31/24bd6623147280692dc0d3708c14ba64.jpg","text":"TemporaryFile(/tmp/multipartBody6273089503262331657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342412696,"filename":"image_31012025_12_20_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/1/31/e555734546bbd92a505b7a05efa1ad3a.jpg","text":"TemporaryFile(/tmp/multipartBody8612934214679528618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342412696,"filename":"image_31012025_12_21_04_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333398717","file1":"1333398713","file0":"1333398710","file4":"1333398814","file5":"1333398820","file3":"1333398771"},"map_files_photo_id_array":[{"photo_id":"1333398820","filename":"file5"},{"photo_id":"1333398717","filename":"file2"},{"photo_id":"1333398814","filename":"file4"},{"photo_id":"1333398713","filename":"file1"},{"photo_id":"1333398710","filename":"file0"},{"photo_id":"1333398771","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333398820":["hashtag1","hashtag2"]},{"1333398814":["hashtag1","hashtag2"]},{"1333398771":["hashtag1","hashtag2"]},{"1333398717":["hashtag1","hashtag2"]},{"1333398710":["hashtag1","hashtag2"]},{"1333398713":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333398820, 1333398814, 1333398771, 1333398717, 1333398710, 1333398713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 28.952569723129272 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 17:53:04.048476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/21/image_31012025_12_21_54_10357.jpg', '/home/pi/Desktop/images/31012025/12/21/image_31012025_12_22_05_10354.jpg', '/home/pi/Desktop/images/31012025/12/22/image_31012025_12_22_14_9432.jpg', '/home/pi/Desktop/images/31012025/12/22/image_31012025_12_22_24_10351.jpg', '/home/pi/Desktop/images/31012025/12/22/image_31012025_12_22_34_9383.jpg', '/home/pi/Desktop/images/31012025/12/22/image_31012025_12_22_44_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/21/image_31012025_12_21_54_10357.jpg
/home/pi/Desktop/images/31012025/12/21/image_31012025_12_22_05_10354.jpg
/home/pi/Desktop/images/31012025/12/22/image_31012025_12_22_14_9432.jpg
/home/pi/Desktop/images/31012025/12/22/image_31012025_12_22_24_10351.jpg
/home/pi/Desktop/images/31012025/12/22/image_31012025_12_22_34_9383.jpg
/home/pi/Desktop/images/31012025/12/22/image_31012025_12_22_44_10377.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333398920","1333398913","1333398916","1333398910","1333398907","1333398905"],"photo_ids_order":["1333398905","1333398907","1333398910","1333398913","1333398916","1333398920"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7f53c392dcbda4c10d7ba6480cf0cd97.jpg","text":"TemporaryFile(/tmp/multipartBody7334125269818170830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342444725,"filename":"image_31012025_12_22_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/1/31/4040ead5af8e67aa638c4b7ab2ee2310.jpg","text":"TemporaryFile(/tmp/multipartBody4493351141262814635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342444725,"filename":"image_31012025_12_22_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/1/31/13db163df61beb25527bb138f6414414.jpg","text":"TemporaryFile(/tmp/multipartBody6867288833882502668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342444725,"filename":"image_31012025_12_22_34_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/90509cfdb58108140c1311c394c1c09f.jpg","text":"TemporaryFile(/tmp/multipartBody6059449585888807982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342444725,"filename":"image_31012025_12_22_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/1/31/3f90ee436d82338aea97a6030385dc19.jpg","text":"TemporaryFile(/tmp/multipartBody8570749810062757749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342444725,"filename":"image_31012025_12_22_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/1/31/44321106ed7c526dbeb23bef6b204b45.jpg","text":"TemporaryFile(/tmp/multipartBody3841337746108375350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342444725,"filename":"image_31012025_12_21_54_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333398910","file1":"1333398907","file0":"1333398905","file4":"1333398916","file5":"1333398920","file3":"1333398913"},"map_files_photo_id_array":[{"photo_id":"1333398920","filename":"file5"},{"photo_id":"1333398910","filename":"file2"},{"photo_id":"1333398916","filename":"file4"},{"photo_id":"1333398907","filename":"file1"},{"photo_id":"1333398905","filename":"file0"},{"photo_id":"1333398913","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333398920":["hashtag1","hashtag2"]},{"1333398913":["hashtag1","hashtag2"]},{"1333398916":["hashtag1","hashtag2"]},{"1333398910":["hashtag1","hashtag2"]},{"1333398907":["hashtag1","hashtag2"]},{"1333398905":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333398920, 1333398913, 1333398916, 1333398910, 1333398907, 1333398905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.30325722694397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 17:53:42.434357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/22/image_31012025_12_22_54_10340.jpg', '/home/pi/Desktop/images/31012025/12/22/image_31012025_12_23_04_9388.jpg', '/home/pi/Desktop/images/31012025/12/23/image_31012025_12_23_14_10435.jpg', '/home/pi/Desktop/images/31012025/12/23/image_31012025_12_23_25_10338.jpg', '/home/pi/Desktop/images/31012025/12/23/image_31012025_12_23_34_9413.jpg', '/home/pi/Desktop/images/31012025/12/23/image_31012025_12_23_44_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/22/image_31012025_12_22_54_10340.jpg
/home/pi/Desktop/images/31012025/12/22/image_31012025_12_23_04_9388.jpg
/home/pi/Desktop/images/31012025/12/23/image_31012025_12_23_14_10435.jpg
/home/pi/Desktop/images/31012025/12/23/image_31012025_12_23_25_10338.jpg
/home/pi/Desktop/images/31012025/12/23/image_31012025_12_23_34_9413.jpg
/home/pi/Desktop/images/31012025/12/23/image_31012025_12_23_44_10333.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":["1333399173","1333399155","1333399170","1333399163","1333399130","1333399124"],"photo_ids_order":["1333399124","1333399130","1333399155","1333399163","1333399170","1333399173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e65a19ac65b322e1e3b9d3015143d571.jpg","text":"TemporaryFile(/tmp/multipartBody5134402540595731617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342482903,"filename":"image_31012025_12_23_44_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/93fb4bd2ffccdd8fc1f59ccd64969c50.jpg","text":"TemporaryFile(/tmp/multipartBody7299891281015792490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342482903,"filename":"image_31012025_12_23_14_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0b0ae9cd9b1839e46360a6e9ec911bb3.jpg","text":"TemporaryFile(/tmp/multipartBody188493157318854755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342482903,"filename":"image_31012025_12_23_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/1/31/91248949a78c48bb2c2f42e31b8ffd55.jpg","text":"TemporaryFile(/tmp/multipartBody4964557708026004126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342482903,"filename":"image_31012025_12_23_25_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/989f6a0038b3545760f61a19a86632d3.jpg","text":"TemporaryFile(/tmp/multipartBody2414245129372047666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342482903,"filename":"image_31012025_12_23_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/1/31/368627922b1cde762385a306a6f5086f.jpg","text":"TemporaryFile(/tmp/multipartBody6646758344587605396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342482903,"filename":"image_31012025_12_22_54_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333399155","file1":"1333399130","file0":"1333399124","file4":"1333399170","file5":"1333399173","file3":"1333399163"},"map_files_photo_id_array":[{"photo_id":"1333399173","filename":"file5"},{"photo_id":"1333399155","filename":"file2"},{"photo_id":"1333399170","filename":"file4"},{"photo_id":"1333399130","filename":"file1"},{"photo_id":"1333399124","filename":"file0"},{"photo_id":"1333399163","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333399173":["hashtag1","hashtag2"]},{"1333399155":["hashtag1","hashtag2"]},{"1333399170":["hashtag1","hashtag2"]},{"1333399163":["hashtag1","hashtag2"]},{"1333399130":["hashtag1","hashtag2"]},{"1333399124":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333399173, 1333399155, 1333399170, 1333399163, 1333399130, 1333399124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.138702392578125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:54:32.664131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/23/image_31012025_12_23_54_9478.jpg', '/home/pi/Desktop/images/31012025/12/23/image_31012025_12_24_04_10351.jpg', '/home/pi/Desktop/images/31012025/12/24/image_31012025_12_24_15_10357.jpg', '/home/pi/Desktop/images/31012025/12/24/image_31012025_12_24_24_9457.jpg', '/home/pi/Desktop/images/31012025/12/24/image_31012025_12_24_34_10460.jpg', '/home/pi/Desktop/images/31012025/12/24/image_31012025_12_25_05_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/23/image_31012025_12_23_54_9478.jpg
/home/pi/Desktop/images/31012025/12/23/image_31012025_12_24_04_10351.jpg
/home/pi/Desktop/images/31012025/12/24/image_31012025_12_24_15_10357.jpg
/home/pi/Desktop/images/31012025/12/24/image_31012025_12_24_24_9457.jpg
/home/pi/Desktop/images/31012025/12/24/image_31012025_12_24_34_10460.jpg
/home/pi/Desktop/images/31012025/12/24/image_31012025_12_25_05_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":["1333399287","1333399281","1333399275","1333399265","1333399291","1333399255"],"photo_ids_order":["1333399255","1333399265","1333399275","1333399281","1333399287","1333399291"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a9aec1e2c4c8e1d4e783e5440dffb327.jpg","text":"TemporaryFile(/tmp/multipartBody4740192626068213603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342533120,"filename":"image_31012025_12_24_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/1/31/45b947c2621c1ac14da994a2fea5ed5a.jpg","text":"TemporaryFile(/tmp/multipartBody4870786739314851191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342533120,"filename":"image_31012025_12_24_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/1/31/f0bd0ec4eefc1327c87167decadf7e19.jpg","text":"TemporaryFile(/tmp/multipartBody1031845559299966955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342533120,"filename":"image_31012025_12_24_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/1/31/cb8cbe433ef83dcc92aff7e1ee95fbbf.jpg","text":"TemporaryFile(/tmp/multipartBody1887640764198267493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342533120,"filename":"image_31012025_12_24_04_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ede9aa1b8ee46b9513c45b15071241fa.jpg","text":"TemporaryFile(/tmp/multipartBody8704064530888517369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342533120,"filename":"image_31012025_12_25_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/1/31/0ccde3ee7c0b5bef574151c08a8a8654.jpg","text":"TemporaryFile(/tmp/multipartBody2989377181053471257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342533120,"filename":"image_31012025_12_23_54_9478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333399275","file1":"1333399265","file0":"1333399255","file4":"1333399287","file5":"1333399291","file3":"1333399281"},"map_files_photo_id_array":[{"photo_id":"1333399291","filename":"file5"},{"photo_id":"1333399275","filename":"file2"},{"photo_id":"1333399287","filename":"file4"},{"photo_id":"1333399265","filename":"file1"},{"photo_id":"1333399255","filename":"file0"},{"photo_id":"1333399281","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333399287":["hashtag1","hashtag2"]},{"1333399281":["hashtag1","hashtag2"]},{"1333399275":["hashtag1","hashtag2"]},{"1333399265":["hashtag1","hashtag2"]},{"1333399291":["hashtag1","hashtag2"]},{"1333399255":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333399287, 1333399281, 1333399275, 1333399265, 1333399291, 1333399255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.994158029556274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:55:32.791616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/25/image_31012025_12_25_14_9355.jpg', '/home/pi/Desktop/images/31012025/12/25/image_31012025_12_25_24_10353.jpg', '/home/pi/Desktop/images/31012025/12/25/image_31012025_12_25_34_9394.jpg', '/home/pi/Desktop/images/31012025/12/25/image_31012025_12_25_44_10355.jpg', '/home/pi/Desktop/images/31012025/12/26/image_31012025_12_26_14_10337.jpg', '/home/pi/Desktop/images/31012025/12/26/image_31012025_12_26_24_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/25/image_31012025_12_25_14_9355.jpg
/home/pi/Desktop/images/31012025/12/25/image_31012025_12_25_24_10353.jpg
/home/pi/Desktop/images/31012025/12/25/image_31012025_12_25_34_9394.jpg
/home/pi/Desktop/images/31012025/12/25/image_31012025_12_25_44_10355.jpg
/home/pi/Desktop/images/31012025/12/26/image_31012025_12_26_14_10337.jpg
/home/pi/Desktop/images/31012025/12/26/image_31012025_12_26_24_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":["1333399540","1333399606","1333399590","1333399485","1333399602","1333399546"],"photo_ids_order":["1333399485","1333399540","1333399546","1333399590","1333399602","1333399606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f975ab3825bc80f062243fb593152a57.jpg","text":"TemporaryFile(/tmp/multipartBody4256881911264723147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342593261,"filename":"image_31012025_12_25_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/1/31/e34e2375fa0251519e31b5b720653f74.jpg","text":"TemporaryFile(/tmp/multipartBody8951687793882998315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342593261,"filename":"image_31012025_12_26_24_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b164594328a841cd2d2b283284ffb4bf.jpg","text":"TemporaryFile(/tmp/multipartBody1054908534961646404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342593261,"filename":"image_31012025_12_25_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/1/31/df4f932465da008be6a397ecf795e974.jpg","text":"TemporaryFile(/tmp/multipartBody3358834238786010559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342593261,"filename":"image_31012025_12_25_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/1/31/f262f7da8f671af165302520eb932326.jpg","text":"TemporaryFile(/tmp/multipartBody7823062039871659265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342593261,"filename":"image_31012025_12_26_14_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ed7d4bb7840dcb857a6173532646c2a2.jpg","text":"TemporaryFile(/tmp/multipartBody5930432060240119556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342593261,"filename":"image_31012025_12_25_34_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333399546","file1":"1333399540","file0":"1333399485","file4":"1333399602","file5":"1333399606","file3":"1333399590"},"map_files_photo_id_array":[{"photo_id":"1333399606","filename":"file5"},{"photo_id":"1333399546","filename":"file2"},{"photo_id":"1333399602","filename":"file4"},{"photo_id":"1333399540","filename":"file1"},{"photo_id":"1333399485","filename":"file0"},{"photo_id":"1333399590","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333399540":["hashtag1","hashtag2"]},{"1333399606":["hashtag1","hashtag2"]},{"1333399590":["hashtag1","hashtag2"]},{"1333399485":["hashtag1","hashtag2"]},{"1333399602":["hashtag1","hashtag2"]},{"1333399546":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333399540, 1333399606, 1333399590, 1333399485, 1333399602, 1333399546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.590828895568848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 17:56:33.109318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/26/image_31012025_12_26_34_9436.jpg', '/home/pi/Desktop/images/31012025/12/26/image_31012025_12_26_55_10342.jpg', '/home/pi/Desktop/images/31012025/12/26/image_31012025_12_27_04_9420.jpg', '/home/pi/Desktop/images/31012025/12/27/image_31012025_12_27_24_9393.jpg', '/home/pi/Desktop/images/31012025/12/27/image_31012025_12_27_34_10438.jpg', '/home/pi/Desktop/images/31012025/12/27/image_31012025_12_27_45_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/26/image_31012025_12_26_34_9436.jpg
/home/pi/Desktop/images/31012025/12/26/image_31012025_12_26_55_10342.jpg
/home/pi/Desktop/images/31012025/12/26/image_31012025_12_27_04_9420.jpg
/home/pi/Desktop/images/31012025/12/27/image_31012025_12_27_24_9393.jpg
/home/pi/Desktop/images/31012025/12/27/image_31012025_12_27_34_10438.jpg
/home/pi/Desktop/images/31012025/12/27/image_31012025_12_27_45_10353.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":["1333399807","1333399689","1333399770","1333399833","1333399730","1333399645"],"photo_ids_order":["1333399645","1333399689","1333399730","1333399770","1333399807","1333399833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/09983f4ebd05878204eabc0e2a83e660.jpg","text":"TemporaryFile(/tmp/multipartBody5623027040252096070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342653566,"filename":"image_31012025_12_27_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/1/31/53ad2534530e91a1b5408ebeccb1eb3f.jpg","text":"TemporaryFile(/tmp/multipartBody2837372224936861383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342653566,"filename":"image_31012025_12_26_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/48a2956effd106a92c1195aed299faef.jpg","text":"TemporaryFile(/tmp/multipartBody5464634399287377085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342653566,"filename":"image_31012025_12_27_24_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b9bd2857292bdcb91d5401fed7faf908.jpg","text":"TemporaryFile(/tmp/multipartBody381166760762654632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342653566,"filename":"image_31012025_12_27_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/1/31/8b257dc311db94826168b5ce7c7aed11.jpg","text":"TemporaryFile(/tmp/multipartBody1682886384746223078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342653566,"filename":"image_31012025_12_27_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/1/31/53dc17484651f94ca888f4888dd1de0d.jpg","text":"TemporaryFile(/tmp/multipartBody4080024639134802032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342653566,"filename":"image_31012025_12_26_34_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333399730","file1":"1333399689","file0":"1333399645","file4":"1333399807","file5":"1333399833","file3":"1333399770"},"map_files_photo_id_array":[{"photo_id":"1333399833","filename":"file5"},{"photo_id":"1333399730","filename":"file2"},{"photo_id":"1333399807","filename":"file4"},{"photo_id":"1333399689","filename":"file1"},{"photo_id":"1333399645","filename":"file0"},{"photo_id":"1333399770","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333399807":["hashtag1","hashtag2"]},{"1333399689":["hashtag1","hashtag2"]},{"1333399770":["hashtag1","hashtag2"]},{"1333399833":["hashtag1","hashtag2"]},{"1333399730":["hashtag1","hashtag2"]},{"1333399645":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333399807, 1333399689, 1333399770, 1333399833, 1333399730, 1333399645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.66569519042969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 17:57:42.470054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/27/image_31012025_12_27_54_9458.jpg', '/home/pi/Desktop/images/31012025/12/28/image_31012025_12_28_14_9379.jpg', '/home/pi/Desktop/images/31012025/12/28/image_31012025_12_28_24_10351.jpg', '/home/pi/Desktop/images/31012025/12/28/image_31012025_12_28_34_10322.jpg', '/home/pi/Desktop/images/31012025/12/28/image_31012025_12_28_44_9365.jpg', '/home/pi/Desktop/images/31012025/12/28/image_31012025_12_28_54_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/27/image_31012025_12_27_54_9458.jpg
/home/pi/Desktop/images/31012025/12/28/image_31012025_12_28_14_9379.jpg
/home/pi/Desktop/images/31012025/12/28/image_31012025_12_28_24_10351.jpg
/home/pi/Desktop/images/31012025/12/28/image_31012025_12_28_34_10322.jpg
/home/pi/Desktop/images/31012025/12/28/image_31012025_12_28_44_9365.jpg
/home/pi/Desktop/images/31012025/12/28/image_31012025_12_28_54_10356.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-01-31 17:59:04.543389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/27/image_31012025_12_27_54_9458.jpg', '/home/pi/Desktop/images/31012025/12/28/image_31012025_12_28_14_9379.jpg', '/home/pi/Desktop/images/31012025/12/28/image_31012025_12_28_24_10351.jpg', '/home/pi/Desktop/images/31012025/12/28/image_31012025_12_28_34_10322.jpg', '/home/pi/Desktop/images/31012025/12/28/image_31012025_12_28_44_9365.jpg', '/home/pi/Desktop/images/31012025/12/28/image_31012025_12_28_54_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/27/image_31012025_12_27_54_9458.jpg
/home/pi/Desktop/images/31012025/12/28/image_31012025_12_28_14_9379.jpg
/home/pi/Desktop/images/31012025/12/28/image_31012025_12_28_24_10351.jpg
/home/pi/Desktop/images/31012025/12/28/image_31012025_12_28_34_10322.jpg
/home/pi/Desktop/images/31012025/12/28/image_31012025_12_28_44_9365.jpg
/home/pi/Desktop/images/31012025/12/28/image_31012025_12_28_54_10356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333400205","1333400222","1333400225","1333400219","1333400228","1333400203"],"photo_ids_order":["1333400203","1333400205","1333400219","1333400222","1333400225","1333400228"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b871f1a63b10bc799084511af69f7c12.jpg","text":"TemporaryFile(/tmp/multipartBody3763940639250023077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342805086,"filename":"image_31012025_12_28_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/1/31/909c78b0f8393bdbe955c47e9fce58b7.jpg","text":"TemporaryFile(/tmp/multipartBody6560588831411449642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342805086,"filename":"image_31012025_12_28_34_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e51fabd708695646e620be1701c62506.jpg","text":"TemporaryFile(/tmp/multipartBody6196684588887328820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342805086,"filename":"image_31012025_12_28_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/1/31/7494aef2c5b082133126e994ab8c65d4.jpg","text":"TemporaryFile(/tmp/multipartBody2762533990963691717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342805086,"filename":"image_31012025_12_28_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/1/31/a0c8aea033118873a0ca14d4f96c0abe.jpg","text":"TemporaryFile(/tmp/multipartBody8234352515638400294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342805086,"filename":"image_31012025_12_28_54_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/16bf98d81bd095a98f3a760c709889e0.jpg","text":"TemporaryFile(/tmp/multipartBody7722254724376846006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342805086,"filename":"image_31012025_12_27_54_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333400219","file1":"1333400205","file0":"1333400203","file4":"1333400225","file5":"1333400228","file3":"1333400222"},"map_files_photo_id_array":[{"photo_id":"1333400228","filename":"file5"},{"photo_id":"1333400219","filename":"file2"},{"photo_id":"1333400225","filename":"file4"},{"photo_id":"1333400205","filename":"file1"},{"photo_id":"1333400203","filename":"file0"},{"photo_id":"1333400222","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333400205":["hashtag1","hashtag2"]},{"1333400222":["hashtag1","hashtag2"]},{"1333400225":["hashtag1","hashtag2"]},{"1333400219":["hashtag1","hashtag2"]},{"1333400228":["hashtag1","hashtag2"]},{"1333400203":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333400205, 1333400222, 1333400225, 1333400219, 1333400228, 1333400203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.929919481277466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 17:59:43.123521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/28/image_31012025_12_29_05_10362.jpg', '/home/pi/Desktop/images/31012025/12/29/image_31012025_12_29_14_9429.jpg', '/home/pi/Desktop/images/31012025/12/29/image_31012025_12_29_24_10356.jpg', '/home/pi/Desktop/images/31012025/12/29/image_31012025_12_29_34_9438.jpg', '/home/pi/Desktop/images/31012025/12/29/image_31012025_12_29_54_10360.jpg', '/home/pi/Desktop/images/31012025/12/29/image_31012025_12_30_04_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/28/image_31012025_12_29_05_10362.jpg
/home/pi/Desktop/images/31012025/12/29/image_31012025_12_29_14_9429.jpg
/home/pi/Desktop/images/31012025/12/29/image_31012025_12_29_24_10356.jpg
/home/pi/Desktop/images/31012025/12/29/image_31012025_12_29_34_9438.jpg
/home/pi/Desktop/images/31012025/12/29/image_31012025_12_29_54_10360.jpg
/home/pi/Desktop/images/31012025/12/29/image_31012025_12_30_04_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":["1333400275","1333400284","1333400263","1333400287","1333400269","1333400280"],"photo_ids_order":["1333400263","1333400269","1333400275","1333400280","1333400284","1333400287"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c82ac6a1ce2c09943b93cd689f1c8ce0.jpg","text":"TemporaryFile(/tmp/multipartBody5052205899457928980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342843585,"filename":"image_31012025_12_29_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/1/31/b1426034243636643e3619438eb2a6ed.jpg","text":"TemporaryFile(/tmp/multipartBody5926495733454569777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342843585,"filename":"image_31012025_12_29_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/1/31/de47c0a3d3bb027f1dec0a12ef3676c6.jpg","text":"TemporaryFile(/tmp/multipartBody4239686409230761308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342843585,"filename":"image_31012025_12_29_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/1/31/05ed2bb1aea33ba4d246da2b8d8588a0.jpg","text":"TemporaryFile(/tmp/multipartBody5383498923593246965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342843585,"filename":"image_31012025_12_30_04_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ac4ba430311270d75d904ada38681fdc.jpg","text":"TemporaryFile(/tmp/multipartBody4163127429204253236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342843585,"filename":"image_31012025_12_29_14_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/52a12ede197267c8f8a078da4a8c0801.jpg","text":"TemporaryFile(/tmp/multipartBody4541608213152742700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342843585,"filename":"image_31012025_12_29_34_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333400275","file1":"1333400269","file0":"1333400263","file4":"1333400284","file5":"1333400287","file3":"1333400280"},"map_files_photo_id_array":[{"photo_id":"1333400287","filename":"file5"},{"photo_id":"1333400275","filename":"file2"},{"photo_id":"1333400284","filename":"file4"},{"photo_id":"1333400269","filename":"file1"},{"photo_id":"1333400263","filename":"file0"},{"photo_id":"1333400280","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333400275":["hashtag1","hashtag2"]},{"1333400284":["hashtag1","hashtag2"]},{"1333400263":["hashtag1","hashtag2"]},{"1333400287":["hashtag1","hashtag2"]},{"1333400269":["hashtag1","hashtag2"]},{"1333400280":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333400275, 1333400284, 1333400263, 1333400287, 1333400269, 1333400280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.959385871887207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:00:32.400375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/30/image_31012025_12_30_14_10357.jpg', '/home/pi/Desktop/images/31012025/12/30/image_31012025_12_30_25_10347.jpg', '/home/pi/Desktop/images/31012025/12/30/image_31012025_12_30_34_9405.jpg', '/home/pi/Desktop/images/31012025/12/30/image_31012025_12_30_54_9462.jpg', '/home/pi/Desktop/images/31012025/12/30/image_31012025_12_31_04_10360.jpg', '/home/pi/Desktop/images/31012025/12/31/image_31012025_12_31_14_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/30/image_31012025_12_30_14_10357.jpg
/home/pi/Desktop/images/31012025/12/30/image_31012025_12_30_25_10347.jpg
/home/pi/Desktop/images/31012025/12/30/image_31012025_12_30_34_9405.jpg
/home/pi/Desktop/images/31012025/12/30/image_31012025_12_30_54_9462.jpg
/home/pi/Desktop/images/31012025/12/30/image_31012025_12_31_04_10360.jpg
/home/pi/Desktop/images/31012025/12/31/image_31012025_12_31_14_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":["1333400370","1333400358","1333400366","1333400354","1333400374","1333400362"],"photo_ids_order":["1333400354","1333400358","1333400362","1333400366","1333400370","1333400374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cb8f9f45b3162a50f78534949e78fc62.jpg","text":"TemporaryFile(/tmp/multipartBody1171819174556026207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342892923,"filename":"image_31012025_12_31_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/1/31/9165a7e0d88b2c3d9c5247bb0dc6331a.jpg","text":"TemporaryFile(/tmp/multipartBody8281736192238165398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342892923,"filename":"image_31012025_12_30_25_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7065472ee17f59ed2acebf7bbdc70871.jpg","text":"TemporaryFile(/tmp/multipartBody8799334634877826245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342892923,"filename":"image_31012025_12_30_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/1/31/4a797509fbb8103328533dc23fc589ab.jpg","text":"TemporaryFile(/tmp/multipartBody3915089337711180705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342892923,"filename":"image_31012025_12_30_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/1/31/aebd739ee42575253682f08f557973e9.jpg","text":"TemporaryFile(/tmp/multipartBody6989300432713331475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342892923,"filename":"image_31012025_12_31_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/1/31/e1e5a8d7a6474ac04c8b5b2a810dd997.jpg","text":"TemporaryFile(/tmp/multipartBody1932500591959639472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342892923,"filename":"image_31012025_12_30_34_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333400362","file1":"1333400358","file0":"1333400354","file4":"1333400370","file5":"1333400374","file3":"1333400366"},"map_files_photo_id_array":[{"photo_id":"1333400374","filename":"file5"},{"photo_id":"1333400362","filename":"file2"},{"photo_id":"1333400370","filename":"file4"},{"photo_id":"1333400358","filename":"file1"},{"photo_id":"1333400354","filename":"file0"},{"photo_id":"1333400366","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333400370":["hashtag1","hashtag2"]},{"1333400358":["hashtag1","hashtag2"]},{"1333400366":["hashtag1","hashtag2"]},{"1333400354":["hashtag1","hashtag2"]},{"1333400374":["hashtag1","hashtag2"]},{"1333400362":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333400370, 1333400358, 1333400366, 1333400354, 1333400374, 1333400362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.66120958328247 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:01:32.688565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/31/image_31012025_12_31_24_9427.jpg', '/home/pi/Desktop/images/31012025/12/31/image_31012025_12_31_34_10345.jpg', '/home/pi/Desktop/images/31012025/12/31/image_31012025_12_31_45_10316.jpg', '/home/pi/Desktop/images/31012025/12/31/image_31012025_12_31_54_9416.jpg', '/home/pi/Desktop/images/31012025/12/31/image_31012025_12_32_04_10449.jpg', '/home/pi/Desktop/images/31012025/12/32/image_31012025_12_32_14_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/31/image_31012025_12_31_24_9427.jpg
/home/pi/Desktop/images/31012025/12/31/image_31012025_12_31_34_10345.jpg
/home/pi/Desktop/images/31012025/12/31/image_31012025_12_31_45_10316.jpg
/home/pi/Desktop/images/31012025/12/31/image_31012025_12_31_54_9416.jpg
/home/pi/Desktop/images/31012025/12/31/image_31012025_12_32_04_10449.jpg
/home/pi/Desktop/images/31012025/12/32/image_31012025_12_32_14_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":["1333400421","1333400403","1333400409","1333400393","1333400417","1333400398"],"photo_ids_order":["1333400393","1333400398","1333400403","1333400409","1333400417","1333400421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3d0041dc7f9709d65db636c773af9cb1.jpg","text":"TemporaryFile(/tmp/multipartBody2613990147052455995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342953242,"filename":"image_31012025_12_32_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/1/31/c1c2be9fc175ef085d5ef32a86ddf44b.jpg","text":"TemporaryFile(/tmp/multipartBody4535796693989525380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342953242,"filename":"image_31012025_12_31_45_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0f77b263e3759a339f92c5beaf281fbf.jpg","text":"TemporaryFile(/tmp/multipartBody4236506306190536554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342953242,"filename":"image_31012025_12_31_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/1/31/10c555ec106f4d1f35763203c1880ee7.jpg","text":"TemporaryFile(/tmp/multipartBody3794516881569406453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342953242,"filename":"image_31012025_12_31_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/1/31/7254452d87d9160450087e31c801c872.jpg","text":"TemporaryFile(/tmp/multipartBody2946322511262624323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342953242,"filename":"image_31012025_12_32_04_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5616fef19ed23a887982f49af6bd7d91.jpg","text":"TemporaryFile(/tmp/multipartBody7722797774817490092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738342953242,"filename":"image_31012025_12_31_34_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333400403","file1":"1333400398","file0":"1333400393","file4":"1333400417","file5":"1333400421","file3":"1333400409"},"map_files_photo_id_array":[{"photo_id":"1333400421","filename":"file5"},{"photo_id":"1333400403","filename":"file2"},{"photo_id":"1333400417","filename":"file4"},{"photo_id":"1333400398","filename":"file1"},{"photo_id":"1333400393","filename":"file0"},{"photo_id":"1333400409","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333400421":["hashtag1","hashtag2"]},{"1333400403":["hashtag1","hashtag2"]},{"1333400409":["hashtag1","hashtag2"]},{"1333400393":["hashtag1","hashtag2"]},{"1333400417":["hashtag1","hashtag2"]},{"1333400398":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333400421, 1333400403, 1333400409, 1333400393, 1333400417, 1333400398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.528321504592896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:02:32.933540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/32/image_31012025_12_32_24_10334.jpg', '/home/pi/Desktop/images/31012025/12/32/image_31012025_12_32_35_10326.jpg', '/home/pi/Desktop/images/31012025/12/32/image_31012025_12_32_44_9438.jpg', '/home/pi/Desktop/images/31012025/12/32/image_31012025_12_32_54_10351.jpg', '/home/pi/Desktop/images/31012025/12/32/image_31012025_12_33_04_9398.jpg', '/home/pi/Desktop/images/31012025/12/33/image_31012025_12_33_14_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/32/image_31012025_12_32_24_10334.jpg
/home/pi/Desktop/images/31012025/12/32/image_31012025_12_32_35_10326.jpg
/home/pi/Desktop/images/31012025/12/32/image_31012025_12_32_44_9438.jpg
/home/pi/Desktop/images/31012025/12/32/image_31012025_12_32_54_10351.jpg
/home/pi/Desktop/images/31012025/12/32/image_31012025_12_33_04_9398.jpg
/home/pi/Desktop/images/31012025/12/33/image_31012025_12_33_14_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":["1333400454","1333400463","1333400459","1333400444","1333400476","1333400449"],"photo_ids_order":["1333400444","1333400449","1333400454","1333400459","1333400463","1333400476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3422f1494c9e913bc59347392cdb150c.jpg","text":"TemporaryFile(/tmp/multipartBody7264773790511723320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343013532,"filename":"image_31012025_12_32_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/1/31/55d6d47fd67f78c5133b4ff00ea46f76.jpg","text":"TemporaryFile(/tmp/multipartBody2070226604927265425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343013532,"filename":"image_31012025_12_33_04_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/32ffd249edc76350e1cdddf12a77fb4c.jpg","text":"TemporaryFile(/tmp/multipartBody6018196239501813958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343013532,"filename":"image_31012025_12_32_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/1/31/75adc62d8f66ed99352631b0a47168cf.jpg","text":"TemporaryFile(/tmp/multipartBody1365177691348092509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343013532,"filename":"image_31012025_12_32_24_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dece7f11003bfe1e70b7ad2badf7fd73.jpg","text":"TemporaryFile(/tmp/multipartBody8445837094627220721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343013532,"filename":"image_31012025_12_33_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/1/31/27d312952ac61ddf6994af3a1a7082ef.jpg","text":"TemporaryFile(/tmp/multipartBody7114814086869217497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343013532,"filename":"image_31012025_12_32_35_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333400454","file1":"1333400449","file0":"1333400444","file4":"1333400463","file5":"1333400476","file3":"1333400459"},"map_files_photo_id_array":[{"photo_id":"1333400476","filename":"file5"},{"photo_id":"1333400454","filename":"file2"},{"photo_id":"1333400463","filename":"file4"},{"photo_id":"1333400449","filename":"file1"},{"photo_id":"1333400444","filename":"file0"},{"photo_id":"1333400459","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333400454":["hashtag1","hashtag2"]},{"1333400463":["hashtag1","hashtag2"]},{"1333400459":["hashtag1","hashtag2"]},{"1333400444":["hashtag1","hashtag2"]},{"1333400476":["hashtag1","hashtag2"]},{"1333400449":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333400454, 1333400463, 1333400459, 1333400444, 1333400476, 1333400449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.8515841960907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:03:33.229666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/33/image_31012025_12_33_24_10342.jpg', '/home/pi/Desktop/images/31012025/12/33/image_31012025_12_33_34_9411.jpg', '/home/pi/Desktop/images/31012025/12/33/image_31012025_12_33_44_10372.jpg', '/home/pi/Desktop/images/31012025/12/33/image_31012025_12_33_55_10346.jpg', '/home/pi/Desktop/images/31012025/12/33/image_31012025_12_34_04_9390.jpg', '/home/pi/Desktop/images/31012025/12/34/image_31012025_12_34_14_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/33/image_31012025_12_33_24_10342.jpg
/home/pi/Desktop/images/31012025/12/33/image_31012025_12_33_34_9411.jpg
/home/pi/Desktop/images/31012025/12/33/image_31012025_12_33_44_10372.jpg
/home/pi/Desktop/images/31012025/12/33/image_31012025_12_33_55_10346.jpg
/home/pi/Desktop/images/31012025/12/33/image_31012025_12_34_04_9390.jpg
/home/pi/Desktop/images/31012025/12/34/image_31012025_12_34_14_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":["1333400523","1333400502","1333400519","1333400497","1333400515","1333400509"],"photo_ids_order":["1333400497","1333400502","1333400509","1333400515","1333400519","1333400523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/51cafa569278ab15c871a649cf2038f7.jpg","text":"TemporaryFile(/tmp/multipartBody3539821901307822902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343073779,"filename":"image_31012025_12_34_14_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ab2f8ca57fb0300e2bfddece6fc60aa0.jpg","text":"TemporaryFile(/tmp/multipartBody395312814853471270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343073779,"filename":"image_31012025_12_33_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/1/31/b9be1a87ea6e57c455b5b34fc6fd4c9a.jpg","text":"TemporaryFile(/tmp/multipartBody402784632253752598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343073779,"filename":"image_31012025_12_34_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/1/31/7058c5baf5d4220528c04bcbfa425b07.jpg","text":"TemporaryFile(/tmp/multipartBody7861067868452539436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343073779,"filename":"image_31012025_12_33_24_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a95c80380913e76748a4acaa28aa8481.jpg","text":"TemporaryFile(/tmp/multipartBody5932584889017067168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343073779,"filename":"image_31012025_12_33_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/1/31/67c7761b44bce82bc99d19062f5ae38c.jpg","text":"TemporaryFile(/tmp/multipartBody771698604387547175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343073779,"filename":"image_31012025_12_33_44_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333400509","file1":"1333400502","file0":"1333400497","file4":"1333400519","file5":"1333400523","file3":"1333400515"},"map_files_photo_id_array":[{"photo_id":"1333400523","filename":"file5"},{"photo_id":"1333400509","filename":"file2"},{"photo_id":"1333400519","filename":"file4"},{"photo_id":"1333400502","filename":"file1"},{"photo_id":"1333400497","filename":"file0"},{"photo_id":"1333400515","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333400523":["hashtag1","hashtag2"]},{"1333400502":["hashtag1","hashtag2"]},{"1333400519":["hashtag1","hashtag2"]},{"1333400497":["hashtag1","hashtag2"]},{"1333400515":["hashtag1","hashtag2"]},{"1333400509":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333400523, 1333400502, 1333400519, 1333400497, 1333400515, 1333400509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.716747522354126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:04:32.424894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/34/image_31012025_12_34_25_10363.jpg', '/home/pi/Desktop/images/31012025/12/34/image_31012025_12_34_34_9389.jpg', '/home/pi/Desktop/images/31012025/12/34/image_31012025_12_34_44_10340.jpg', '/home/pi/Desktop/images/31012025/12/34/image_31012025_12_35_04_10403.jpg', '/home/pi/Desktop/images/31012025/12/35/image_31012025_12_35_24_9353.jpg', '/home/pi/Desktop/images/31012025/12/35/image_31012025_12_35_45_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/34/image_31012025_12_34_25_10363.jpg
/home/pi/Desktop/images/31012025/12/34/image_31012025_12_34_34_9389.jpg
/home/pi/Desktop/images/31012025/12/34/image_31012025_12_34_44_10340.jpg
/home/pi/Desktop/images/31012025/12/34/image_31012025_12_35_04_10403.jpg
/home/pi/Desktop/images/31012025/12/35/image_31012025_12_35_24_9353.jpg
/home/pi/Desktop/images/31012025/12/35/image_31012025_12_35_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":["1333400625","1333400612","1333400621","1333400545","1333400605","1333400598"],"photo_ids_order":["1333400545","1333400598","1333400605","1333400612","1333400621","1333400625"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3d034c1012880890b7823ab24972bc33.jpg","text":"TemporaryFile(/tmp/multipartBody1496786734705750179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343132962,"filename":"image_31012025_12_35_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/1/31/cc9a1b3b75bf64ede081792fd136a159.jpg","text":"TemporaryFile(/tmp/multipartBody3094022336044496514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343132962,"filename":"image_31012025_12_35_04_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e35173bc55f28d4c7bb8af360f829808.jpg","text":"TemporaryFile(/tmp/multipartBody9220279306279343083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343132962,"filename":"image_31012025_12_35_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/1/31/3b2273e9997424431ab7ab31de9af393.jpg","text":"TemporaryFile(/tmp/multipartBody7489313872808623892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343132962,"filename":"image_31012025_12_34_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/1/31/0b19bd10e74c6f08b783df1767204403.jpg","text":"TemporaryFile(/tmp/multipartBody4448647044356851867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343132962,"filename":"image_31012025_12_34_44_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9ed1ab05f2bc9d9dba095f4bb0dcabd1.jpg","text":"TemporaryFile(/tmp/multipartBody3171905304595126486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343132962,"filename":"image_31012025_12_34_34_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333400605","file1":"1333400598","file0":"1333400545","file4":"1333400621","file5":"1333400625","file3":"1333400612"},"map_files_photo_id_array":[{"photo_id":"1333400625","filename":"file5"},{"photo_id":"1333400605","filename":"file2"},{"photo_id":"1333400621","filename":"file4"},{"photo_id":"1333400598","filename":"file1"},{"photo_id":"1333400545","filename":"file0"},{"photo_id":"1333400612","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333400625":["hashtag1","hashtag2"]},{"1333400612":["hashtag1","hashtag2"]},{"1333400621":["hashtag1","hashtag2"]},{"1333400545":["hashtag1","hashtag2"]},{"1333400605":["hashtag1","hashtag2"]},{"1333400598":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333400625, 1333400612, 1333400621, 1333400545, 1333400605, 1333400598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.315085411071777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:05:32.564264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/35/image_31012025_12_35_54_9391.jpg', '/home/pi/Desktop/images/31012025/12/35/image_31012025_12_36_04_10336.jpg', '/home/pi/Desktop/images/31012025/12/36/image_31012025_12_36_14_9424.jpg', '/home/pi/Desktop/images/31012025/12/36/image_31012025_12_36_24_10369.jpg', '/home/pi/Desktop/images/31012025/12/36/image_31012025_12_36_35_10412.jpg', '/home/pi/Desktop/images/31012025/12/36/image_31012025_12_36_44_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/35/image_31012025_12_35_54_9391.jpg
/home/pi/Desktop/images/31012025/12/35/image_31012025_12_36_04_10336.jpg
/home/pi/Desktop/images/31012025/12/36/image_31012025_12_36_14_9424.jpg
/home/pi/Desktop/images/31012025/12/36/image_31012025_12_36_24_10369.jpg
/home/pi/Desktop/images/31012025/12/36/image_31012025_12_36_35_10412.jpg
/home/pi/Desktop/images/31012025/12/36/image_31012025_12_36_44_9402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333400774","1333400750","1333400770","1333400752","1333400764","1333400758"],"photo_ids_order":["1333400750","1333400752","1333400758","1333400764","1333400770","1333400774"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0a032a06f2d5c4885e30a12154b74a95.jpg","text":"TemporaryFile(/tmp/multipartBody3209674433546427912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343193107,"filename":"image_31012025_12_36_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/1/31/5fce3f12ddf4c2789f97d30d5af0a2b1.jpg","text":"TemporaryFile(/tmp/multipartBody4963281652249125017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343193107,"filename":"image_31012025_12_35_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/1/31/fa88e4be7495298818eee0744481a4c2.jpg","text":"TemporaryFile(/tmp/multipartBody4501436598771888865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343193107,"filename":"image_31012025_12_36_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/1/31/60a9a2a53f79981d55d5daf2d5d9abd3.jpg","text":"TemporaryFile(/tmp/multipartBody3466035991000213039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343193107,"filename":"image_31012025_12_36_04_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/682ae812296888c1907b31577b8d42e2.jpg","text":"TemporaryFile(/tmp/multipartBody1947622622870163521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343193107,"filename":"image_31012025_12_36_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/1/31/b47f85220b2180c5bf7859ea478321eb.jpg","text":"TemporaryFile(/tmp/multipartBody1905523389156090310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343193107,"filename":"image_31012025_12_36_14_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333400758","file1":"1333400752","file0":"1333400750","file4":"1333400770","file5":"1333400774","file3":"1333400764"},"map_files_photo_id_array":[{"photo_id":"1333400774","filename":"file5"},{"photo_id":"1333400758","filename":"file2"},{"photo_id":"1333400770","filename":"file4"},{"photo_id":"1333400752","filename":"file1"},{"photo_id":"1333400750","filename":"file0"},{"photo_id":"1333400764","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333400774":["hashtag1","hashtag2"]},{"1333400750":["hashtag1","hashtag2"]},{"1333400770":["hashtag1","hashtag2"]},{"1333400752":["hashtag1","hashtag2"]},{"1333400764":["hashtag1","hashtag2"]},{"1333400758":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333400774, 1333400750, 1333400770, 1333400752, 1333400764, 1333400758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.766908884048462 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:06:32.850336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/36/image_31012025_12_36_54_10338.jpg', '/home/pi/Desktop/images/31012025/12/36/image_31012025_12_37_05_10411.jpg', '/home/pi/Desktop/images/31012025/12/37/image_31012025_12_37_14_9355.jpg', '/home/pi/Desktop/images/31012025/12/37/image_31012025_12_37_24_10343.jpg', '/home/pi/Desktop/images/31012025/12/37/image_31012025_12_37_34_9430.jpg', '/home/pi/Desktop/images/31012025/12/37/image_31012025_12_37_44_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/36/image_31012025_12_36_54_10338.jpg
/home/pi/Desktop/images/31012025/12/36/image_31012025_12_37_05_10411.jpg
/home/pi/Desktop/images/31012025/12/37/image_31012025_12_37_14_9355.jpg
/home/pi/Desktop/images/31012025/12/37/image_31012025_12_37_24_10343.jpg
/home/pi/Desktop/images/31012025/12/37/image_31012025_12_37_34_9430.jpg
/home/pi/Desktop/images/31012025/12/37/image_31012025_12_37_44_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":["1333400894","1333400930","1333400926","1333400935","1333400920","1333400889"],"photo_ids_order":["1333400889","1333400894","1333400920","1333400926","1333400930","1333400935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6f2dd36221c538791fc9131104a7eef6.jpg","text":"TemporaryFile(/tmp/multipartBody7624535071677657654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343253388,"filename":"image_31012025_12_37_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/1/31/80f14e25a964a9d1e0cbba0b523856c8.jpg","text":"TemporaryFile(/tmp/multipartBody6415284763198749111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343253388,"filename":"image_31012025_12_37_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/1/31/2c210aeb9611dd16d05a4685abfa568f.jpg","text":"TemporaryFile(/tmp/multipartBody3227621209705727875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343253388,"filename":"image_31012025_12_37_24_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/174cd1670df83d9a686e3699210290f4.jpg","text":"TemporaryFile(/tmp/multipartBody6206527287321154009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343253388,"filename":"image_31012025_12_37_44_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/efb479254b943ee89ffecc65753d8bc4.jpg","text":"TemporaryFile(/tmp/multipartBody9068391044692405770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343253388,"filename":"image_31012025_12_37_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/1/31/4e5ce28c788013ab98ed2cfb4860a8a1.jpg","text":"TemporaryFile(/tmp/multipartBody4066859344837880746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343253388,"filename":"image_31012025_12_36_54_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333400920","file1":"1333400894","file0":"1333400889","file4":"1333400930","file5":"1333400935","file3":"1333400926"},"map_files_photo_id_array":[{"photo_id":"1333400935","filename":"file5"},{"photo_id":"1333400920","filename":"file2"},{"photo_id":"1333400930","filename":"file4"},{"photo_id":"1333400894","filename":"file1"},{"photo_id":"1333400889","filename":"file0"},{"photo_id":"1333400926","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333400894":["hashtag1","hashtag2"]},{"1333400930":["hashtag1","hashtag2"]},{"1333400926":["hashtag1","hashtag2"]},{"1333400935":["hashtag1","hashtag2"]},{"1333400920":["hashtag1","hashtag2"]},{"1333400889":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333400894, 1333400930, 1333400926, 1333400935, 1333400920, 1333400889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.7685067653656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:07:33.092832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/37/image_31012025_12_37_55_10344.jpg', '/home/pi/Desktop/images/31012025/12/37/image_31012025_12_38_04_9404.jpg', '/home/pi/Desktop/images/31012025/12/38/image_31012025_12_38_14_10363.jpg', '/home/pi/Desktop/images/31012025/12/38/image_31012025_12_38_24_9436.jpg', '/home/pi/Desktop/images/31012025/12/38/image_31012025_12_38_34_10351.jpg', '/home/pi/Desktop/images/31012025/12/38/image_31012025_12_38_44_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/37/image_31012025_12_37_55_10344.jpg
/home/pi/Desktop/images/31012025/12/37/image_31012025_12_38_04_9404.jpg
/home/pi/Desktop/images/31012025/12/38/image_31012025_12_38_14_10363.jpg
/home/pi/Desktop/images/31012025/12/38/image_31012025_12_38_24_9436.jpg
/home/pi/Desktop/images/31012025/12/38/image_31012025_12_38_34_10351.jpg
/home/pi/Desktop/images/31012025/12/38/image_31012025_12_38_44_9774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333401092","1333401104","1333401097","1333401082","1333401109","1333401087"],"photo_ids_order":["1333401082","1333401087","1333401092","1333401097","1333401104","1333401109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3429afe7f36c2af3667b55b306bff92c.jpg","text":"TemporaryFile(/tmp/multipartBody5287167270341526221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343313647,"filename":"image_31012025_12_38_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/1/31/f77500132dc49a76c2771074914d5b46.jpg","text":"TemporaryFile(/tmp/multipartBody387401875511897959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343313647,"filename":"image_31012025_12_38_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/1/31/58d43513ce37c977feab32f5e41a5de5.jpg","text":"TemporaryFile(/tmp/multipartBody1142227556889774004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343313647,"filename":"image_31012025_12_38_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/1/31/d45fc75eacd8bdf9468542ec679f0f58.jpg","text":"TemporaryFile(/tmp/multipartBody3391319693530523528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343313647,"filename":"image_31012025_12_37_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e8352fbd4a353c2d965336fa3764c1b8.jpg","text":"TemporaryFile(/tmp/multipartBody5096975467596548915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343313647,"filename":"image_31012025_12_38_44_9774.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ecb851f68450f1a586ae5b4a7ceb82da.jpg","text":"TemporaryFile(/tmp/multipartBody6535269927124706707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343313647,"filename":"image_31012025_12_38_04_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333401092","file1":"1333401087","file0":"1333401082","file4":"1333401104","file5":"1333401109","file3":"1333401097"},"map_files_photo_id_array":[{"photo_id":"1333401109","filename":"file5"},{"photo_id":"1333401092","filename":"file2"},{"photo_id":"1333401104","filename":"file4"},{"photo_id":"1333401087","filename":"file1"},{"photo_id":"1333401082","filename":"file0"},{"photo_id":"1333401097","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333401092":["hashtag1","hashtag2"]},{"1333401104":["hashtag1","hashtag2"]},{"1333401097":["hashtag1","hashtag2"]},{"1333401082":["hashtag1","hashtag2"]},{"1333401109":["hashtag1","hashtag2"]},{"1333401087":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333401092, 1333401104, 1333401097, 1333401082, 1333401109, 1333401087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.62307596206665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:08:33.138467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/38/image_31012025_12_38_54_10502.jpg', '/home/pi/Desktop/images/31012025/12/38/image_31012025_12_39_04_9406.jpg', '/home/pi/Desktop/images/31012025/12/39/image_31012025_12_39_14_10383.jpg', '/home/pi/Desktop/images/31012025/12/39/image_31012025_12_39_25_10350.jpg', '/home/pi/Desktop/images/31012025/12/39/image_31012025_12_39_34_9430.jpg', '/home/pi/Desktop/images/31012025/12/39/image_31012025_12_39_44_10326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/38/image_31012025_12_38_54_10502.jpg
/home/pi/Desktop/images/31012025/12/38/image_31012025_12_39_04_9406.jpg
/home/pi/Desktop/images/31012025/12/39/image_31012025_12_39_14_10383.jpg
/home/pi/Desktop/images/31012025/12/39/image_31012025_12_39_25_10350.jpg
/home/pi/Desktop/images/31012025/12/39/image_31012025_12_39_34_9430.jpg
/home/pi/Desktop/images/31012025/12/39/image_31012025_12_39_44_10326.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.5025961399078369 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 18:08:43.115508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/38/image_31012025_12_38_54_10502.jpg', '/home/pi/Desktop/images/31012025/12/38/image_31012025_12_39_04_9406.jpg', '/home/pi/Desktop/images/31012025/12/39/image_31012025_12_39_14_10383.jpg', '/home/pi/Desktop/images/31012025/12/39/image_31012025_12_39_25_10350.jpg', '/home/pi/Desktop/images/31012025/12/39/image_31012025_12_39_34_9430.jpg', '/home/pi/Desktop/images/31012025/12/39/image_31012025_12_39_44_10326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/38/image_31012025_12_38_54_10502.jpg
/home/pi/Desktop/images/31012025/12/38/image_31012025_12_39_04_9406.jpg
/home/pi/Desktop/images/31012025/12/39/image_31012025_12_39_14_10383.jpg
/home/pi/Desktop/images/31012025/12/39/image_31012025_12_39_25_10350.jpg
/home/pi/Desktop/images/31012025/12/39/image_31012025_12_39_34_9430.jpg
/home/pi/Desktop/images/31012025/12/39/image_31012025_12_39_44_10326.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":["1333401231","1333401251","1333401248","1333401241","1333401244","1333401237"],"photo_ids_order":["1333401231","1333401237","1333401241","1333401244","1333401248","1333401251"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5d3d7c5f0c8f5dcce052eb6a0824a740.jpg","text":"TemporaryFile(/tmp/multipartBody7504329959901035113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343383937,"filename":"image_31012025_12_38_54_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/98cce3c5ab9e33516302c10d1fce289a.jpg","text":"TemporaryFile(/tmp/multipartBody440500537656903588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343383937,"filename":"image_31012025_12_39_44_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6336311cd3dbff55e39b12a24c4f37d1.jpg","text":"TemporaryFile(/tmp/multipartBody4790197667139233110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343383937,"filename":"image_31012025_12_39_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/1/31/d4e4419f485027ec7787f4b459a1abe5.jpg","text":"TemporaryFile(/tmp/multipartBody2239565013556042200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343383937,"filename":"image_31012025_12_39_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/1/31/6a897214508aeecd55f8e4b1cc85747f.jpg","text":"TemporaryFile(/tmp/multipartBody4681657356244809695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343383937,"filename":"image_31012025_12_39_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/1/31/df9069a41525b93710d53fe6db536085.jpg","text":"TemporaryFile(/tmp/multipartBody1209905396188063917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343383937,"filename":"image_31012025_12_39_04_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333401241","file1":"1333401237","file0":"1333401231","file4":"1333401248","file5":"1333401251","file3":"1333401244"},"map_files_photo_id_array":[{"photo_id":"1333401251","filename":"file5"},{"photo_id":"1333401241","filename":"file2"},{"photo_id":"1333401248","filename":"file4"},{"photo_id":"1333401237","filename":"file1"},{"photo_id":"1333401231","filename":"file0"},{"photo_id":"1333401244","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333401231":["hashtag1","hashtag2"]},{"1333401251":["hashtag1","hashtag2"]},{"1333401248":["hashtag1","hashtag2"]},{"1333401241":["hashtag1","hashtag2"]},{"1333401244":["hashtag1","hashtag2"]},{"1333401237":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333401231, 1333401251, 1333401248, 1333401241, 1333401244, 1333401237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.738425493240356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:09:32.279388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/39/image_31012025_12_39_55_10372.jpg', '/home/pi/Desktop/images/31012025/12/39/image_31012025_12_40_04_9372.jpg', '/home/pi/Desktop/images/31012025/12/40/image_31012025_12_40_14_10432.jpg', '/home/pi/Desktop/images/31012025/12/40/image_31012025_12_40_24_9459.jpg', '/home/pi/Desktop/images/31012025/12/40/image_31012025_12_40_34_10345.jpg', '/home/pi/Desktop/images/31012025/12/40/image_31012025_12_40_45_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/39/image_31012025_12_39_55_10372.jpg
/home/pi/Desktop/images/31012025/12/39/image_31012025_12_40_04_9372.jpg
/home/pi/Desktop/images/31012025/12/40/image_31012025_12_40_14_10432.jpg
/home/pi/Desktop/images/31012025/12/40/image_31012025_12_40_24_9459.jpg
/home/pi/Desktop/images/31012025/12/40/image_31012025_12_40_34_10345.jpg
/home/pi/Desktop/images/31012025/12/40/image_31012025_12_40_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":["1333402256","1333402265","1333402246","1333402263","1333402251","1333402239"],"photo_ids_order":["1333402239","1333402246","1333402251","1333402256","1333402263","1333402265"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/23ac90e56d332923347cb670a0a867dc.jpg","text":"TemporaryFile(/tmp/multipartBody3696410637804073914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343432835,"filename":"image_31012025_12_40_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/1/31/2c0caf96849955357dc6c2a98f8349ad.jpg","text":"TemporaryFile(/tmp/multipartBody8085787242100245072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343432835,"filename":"image_31012025_12_40_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/1/31/3994c7a2d8e3d6a14d63d0aa1635bda7.jpg","text":"TemporaryFile(/tmp/multipartBody8610464180125754482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343432835,"filename":"image_31012025_12_40_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/1/31/71cfe34a890dde52ed5ebbf9883d1ee5.jpg","text":"TemporaryFile(/tmp/multipartBody2199282535053694650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343432835,"filename":"image_31012025_12_40_34_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c491727e463c1dfbce86efc527a3ebcd.jpg","text":"TemporaryFile(/tmp/multipartBody548284506045101120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343432835,"filename":"image_31012025_12_40_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/1/31/a4f016407d3ba5147f6571227c786d5a.jpg","text":"TemporaryFile(/tmp/multipartBody3601147419782157648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343432835,"filename":"image_31012025_12_39_55_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333402251","file1":"1333402246","file0":"1333402239","file4":"1333402263","file5":"1333402265","file3":"1333402256"},"map_files_photo_id_array":[{"photo_id":"1333402265","filename":"file5"},{"photo_id":"1333402251","filename":"file2"},{"photo_id":"1333402263","filename":"file4"},{"photo_id":"1333402246","filename":"file1"},{"photo_id":"1333402239","filename":"file0"},{"photo_id":"1333402256","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333402256":["hashtag1","hashtag2"]},{"1333402265":["hashtag1","hashtag2"]},{"1333402246":["hashtag1","hashtag2"]},{"1333402263":["hashtag1","hashtag2"]},{"1333402251":["hashtag1","hashtag2"]},{"1333402239":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333402256, 1333402265, 1333402246, 1333402263, 1333402251, 1333402239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.493053913116455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:10:32.609466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/40/image_31012025_12_40_54_9333.jpg', '/home/pi/Desktop/images/31012025/12/40/image_31012025_12_41_04_10338.jpg', '/home/pi/Desktop/images/31012025/12/41/image_31012025_12_41_15_10369.jpg', '/home/pi/Desktop/images/31012025/12/41/image_31012025_12_41_24_9360.jpg', '/home/pi/Desktop/images/31012025/12/41/image_31012025_12_41_34_10372.jpg', '/home/pi/Desktop/images/31012025/12/41/image_31012025_12_41_44_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/40/image_31012025_12_40_54_9333.jpg
/home/pi/Desktop/images/31012025/12/40/image_31012025_12_41_04_10338.jpg
/home/pi/Desktop/images/31012025/12/41/image_31012025_12_41_15_10369.jpg
/home/pi/Desktop/images/31012025/12/41/image_31012025_12_41_24_9360.jpg
/home/pi/Desktop/images/31012025/12/41/image_31012025_12_41_34_10372.jpg
/home/pi/Desktop/images/31012025/12/41/image_31012025_12_41_44_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":["1333402562","1333402576","1333402567","1333402572","1333402545","1333402550"],"photo_ids_order":["1333402545","1333402550","1333402562","1333402567","1333402572","1333402576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ba9bf89cccebbd84082814a08a32646c.jpg","text":"TemporaryFile(/tmp/multipartBody2406384618121709038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343493281,"filename":"image_31012025_12_41_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/1/31/b482334457e982a690599b41d261a9e7.jpg","text":"TemporaryFile(/tmp/multipartBody5109358781053211376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343493281,"filename":"image_31012025_12_41_44_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/34e07d7914d451902330a2f9a4b7c9e1.jpg","text":"TemporaryFile(/tmp/multipartBody1759793182738180160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343493281,"filename":"image_31012025_12_41_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/1/31/66ea7c6c85359228668ed380a93d7e0e.jpg","text":"TemporaryFile(/tmp/multipartBody4322364915560784900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343493281,"filename":"image_31012025_12_41_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/1/31/2d6fda76386d9344701f1697d8c82a5e.jpg","text":"TemporaryFile(/tmp/multipartBody7654372674103936618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343493281,"filename":"image_31012025_12_40_54_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bccd52b12435a7b6e3e8c8be5f513c32.jpg","text":"TemporaryFile(/tmp/multipartBody2432626878851354100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343493281,"filename":"image_31012025_12_41_04_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333402562","file1":"1333402550","file0":"1333402545","file4":"1333402572","file5":"1333402576","file3":"1333402567"},"map_files_photo_id_array":[{"photo_id":"1333402576","filename":"file5"},{"photo_id":"1333402562","filename":"file2"},{"photo_id":"1333402572","filename":"file4"},{"photo_id":"1333402550","filename":"file1"},{"photo_id":"1333402545","filename":"file0"},{"photo_id":"1333402567","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333402562":["hashtag1","hashtag2"]},{"1333402576":["hashtag1","hashtag2"]},{"1333402567":["hashtag1","hashtag2"]},{"1333402572":["hashtag1","hashtag2"]},{"1333402545":["hashtag1","hashtag2"]},{"1333402550":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333402562, 1333402576, 1333402567, 1333402572, 1333402545, 1333402550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.77722191810608 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:11:32.857345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/41/image_31012025_12_41_54_10358.jpg', '/home/pi/Desktop/images/31012025/12/41/image_31012025_12_42_04_10369.jpg', '/home/pi/Desktop/images/31012025/12/42/image_31012025_12_42_14_9359.jpg', '/home/pi/Desktop/images/31012025/12/42/image_31012025_12_42_24_10342.jpg', '/home/pi/Desktop/images/31012025/12/42/image_31012025_12_42_35_10352.jpg', '/home/pi/Desktop/images/31012025/12/42/image_31012025_12_42_44_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/41/image_31012025_12_41_54_10358.jpg
/home/pi/Desktop/images/31012025/12/41/image_31012025_12_42_04_10369.jpg
/home/pi/Desktop/images/31012025/12/42/image_31012025_12_42_14_9359.jpg
/home/pi/Desktop/images/31012025/12/42/image_31012025_12_42_24_10342.jpg
/home/pi/Desktop/images/31012025/12/42/image_31012025_12_42_35_10352.jpg
/home/pi/Desktop/images/31012025/12/42/image_31012025_12_42_44_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":["1333402853","1333402841","1333402835","1333402846","1333402831","1333402851"],"photo_ids_order":["1333402831","1333402835","1333402841","1333402846","1333402851","1333402853"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/16d095d90422348d77a59dc80a3cdc6f.jpg","text":"TemporaryFile(/tmp/multipartBody4282499771359669321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343553503,"filename":"image_31012025_12_42_44_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bf91bde6347f2d28da2af2139d506385.jpg","text":"TemporaryFile(/tmp/multipartBody2006556516863458699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343553503,"filename":"image_31012025_12_42_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/1/31/7e1ca1d31da99dce7265e61559c2aa97.jpg","text":"TemporaryFile(/tmp/multipartBody3781137933218579687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343553503,"filename":"image_31012025_12_42_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/1/31/f6fb79602483295b2fd3095a29fbec7d.jpg","text":"TemporaryFile(/tmp/multipartBody2414523814923593916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343553503,"filename":"image_31012025_12_42_24_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/232aac772962a3d075c4e5d1d5ddac68.jpg","text":"TemporaryFile(/tmp/multipartBody6637226351109040862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343553503,"filename":"image_31012025_12_41_54_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3eef7cf465e6900343ff5b532cce3c23.jpg","text":"TemporaryFile(/tmp/multipartBody5443782490091146153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343553503,"filename":"image_31012025_12_42_35_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333402841","file1":"1333402835","file0":"1333402831","file4":"1333402851","file5":"1333402853","file3":"1333402846"},"map_files_photo_id_array":[{"photo_id":"1333402853","filename":"file5"},{"photo_id":"1333402841","filename":"file2"},{"photo_id":"1333402851","filename":"file4"},{"photo_id":"1333402835","filename":"file1"},{"photo_id":"1333402831","filename":"file0"},{"photo_id":"1333402846","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333402853":["hashtag1","hashtag2"]},{"1333402841":["hashtag1","hashtag2"]},{"1333402835":["hashtag1","hashtag2"]},{"1333402846":["hashtag1","hashtag2"]},{"1333402831":["hashtag1","hashtag2"]},{"1333402851":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333402853, 1333402841, 1333402835, 1333402846, 1333402831, 1333402851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.440441846847534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:12:32.989411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/42/image_31012025_12_42_54_10193.jpg', '/home/pi/Desktop/images/31012025/12/42/image_31012025_12_43_04_10333.jpg', '/home/pi/Desktop/images/31012025/12/43/image_31012025_12_43_14_9323.jpg', '/home/pi/Desktop/images/31012025/12/43/image_31012025_12_43_24_10345.jpg', '/home/pi/Desktop/images/31012025/12/43/image_31012025_12_43_35_10406.jpg', '/home/pi/Desktop/images/31012025/12/43/image_31012025_12_43_44_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/42/image_31012025_12_42_54_10193.jpg
/home/pi/Desktop/images/31012025/12/42/image_31012025_12_43_04_10333.jpg
/home/pi/Desktop/images/31012025/12/43/image_31012025_12_43_14_9323.jpg
/home/pi/Desktop/images/31012025/12/43/image_31012025_12_43_24_10345.jpg
/home/pi/Desktop/images/31012025/12/43/image_31012025_12_43_35_10406.jpg
/home/pi/Desktop/images/31012025/12/43/image_31012025_12_43_44_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":["1333403303","1333403320","1333403314","1333403308","1333403325","1333403300"],"photo_ids_order":["1333403300","1333403303","1333403308","1333403314","1333403320","1333403325"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/726dfd42ddb51d9195329088dbca9093.jpg","text":"TemporaryFile(/tmp/multipartBody4590408519284648074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343613534,"filename":"image_31012025_12_43_04_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6a4c5f69ee70ea90c369356e7cb1996a.jpg","text":"TemporaryFile(/tmp/multipartBody1685848638595612105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343613534,"filename":"image_31012025_12_43_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/1/31/8fb6e40ec06137db5a4815228c61fd4e.jpg","text":"TemporaryFile(/tmp/multipartBody4136822058339290604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343613534,"filename":"image_31012025_12_43_24_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/de9afd14a4be368ba8a2d0622e4c63da.jpg","text":"TemporaryFile(/tmp/multipartBody6466283084508581497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343613534,"filename":"image_31012025_12_43_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/1/31/ea67b63d01e778c2683da637ca22249b.jpg","text":"TemporaryFile(/tmp/multipartBody3835980925218960820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343613534,"filename":"image_31012025_12_43_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/1/31/b2e79dda7536472fc1a46dc2656072a2.jpg","text":"TemporaryFile(/tmp/multipartBody8282401653594527839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343613534,"filename":"image_31012025_12_42_54_10193.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333403308","file1":"1333403303","file0":"1333403300","file4":"1333403320","file5":"1333403325","file3":"1333403314"},"map_files_photo_id_array":[{"photo_id":"1333403325","filename":"file5"},{"photo_id":"1333403308","filename":"file2"},{"photo_id":"1333403320","filename":"file4"},{"photo_id":"1333403303","filename":"file1"},{"photo_id":"1333403300","filename":"file0"},{"photo_id":"1333403314","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333403303":["hashtag1","hashtag2"]},{"1333403320":["hashtag1","hashtag2"]},{"1333403314":["hashtag1","hashtag2"]},{"1333403308":["hashtag1","hashtag2"]},{"1333403325":["hashtag1","hashtag2"]},{"1333403300":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333403303, 1333403320, 1333403314, 1333403308, 1333403325, 1333403300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.096836805343628 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:13:32.269362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/43/image_31012025_12_43_54_10342.jpg', '/home/pi/Desktop/images/31012025/12/43/image_31012025_12_44_04_9497.jpg', '/home/pi/Desktop/images/31012025/12/44/image_31012025_12_44_14_10357.jpg', '/home/pi/Desktop/images/31012025/12/44/image_31012025_12_44_44_10341.jpg', '/home/pi/Desktop/images/31012025/12/44/image_31012025_12_45_04_9405.jpg', '/home/pi/Desktop/images/31012025/12/45/image_31012025_12_45_14_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/43/image_31012025_12_43_54_10342.jpg
/home/pi/Desktop/images/31012025/12/43/image_31012025_12_44_04_9497.jpg
/home/pi/Desktop/images/31012025/12/44/image_31012025_12_44_14_10357.jpg
/home/pi/Desktop/images/31012025/12/44/image_31012025_12_44_44_10341.jpg
/home/pi/Desktop/images/31012025/12/44/image_31012025_12_45_04_9405.jpg
/home/pi/Desktop/images/31012025/12/45/image_31012025_12_45_14_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":["1333403419","1333403422","1333403370","1333403382","1333403376","1333403387"],"photo_ids_order":["1333403370","1333403376","1333403382","1333403387","1333403419","1333403422"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/85ee602e23daa58338650c9192df8725.jpg","text":"TemporaryFile(/tmp/multipartBody8933081127485346464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343672846,"filename":"image_31012025_12_45_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/1/31/bb27da12aaf057b493b3406ab594e504.jpg","text":"TemporaryFile(/tmp/multipartBody5065073516333071563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343672846,"filename":"image_31012025_12_45_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/1/31/b4842a32872d7fef590a637fbaff7ad4.jpg","text":"TemporaryFile(/tmp/multipartBody2311874897751453906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343672846,"filename":"image_31012025_12_43_54_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/228803dc6074072f7755607c55b6d6ac.jpg","text":"TemporaryFile(/tmp/multipartBody409946837756053014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343672846,"filename":"image_31012025_12_44_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/1/31/727cbc2ab19206e7c8a4dc135e6fffcd.jpg","text":"TemporaryFile(/tmp/multipartBody3126146536606701452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343672846,"filename":"image_31012025_12_44_04_9497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/edc5a2fe11e153946809a7e903d3384e.jpg","text":"TemporaryFile(/tmp/multipartBody5264413076495573183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343672846,"filename":"image_31012025_12_44_44_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333403382","file1":"1333403376","file0":"1333403370","file4":"1333403419","file5":"1333403422","file3":"1333403387"},"map_files_photo_id_array":[{"photo_id":"1333403422","filename":"file5"},{"photo_id":"1333403382","filename":"file2"},{"photo_id":"1333403419","filename":"file4"},{"photo_id":"1333403376","filename":"file1"},{"photo_id":"1333403370","filename":"file0"},{"photo_id":"1333403387","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333403419":["hashtag1","hashtag2"]},{"1333403422":["hashtag1","hashtag2"]},{"1333403370":["hashtag1","hashtag2"]},{"1333403382":["hashtag1","hashtag2"]},{"1333403376":["hashtag1","hashtag2"]},{"1333403387":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333403419, 1333403422, 1333403370, 1333403382, 1333403376, 1333403387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.886632204055786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:14:32.434403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/45/image_31012025_12_45_24_9395.jpg', '/home/pi/Desktop/images/31012025/12/45/image_31012025_12_45_34_10347.jpg', '/home/pi/Desktop/images/31012025/12/45/image_31012025_12_45_45_10410.jpg', '/home/pi/Desktop/images/31012025/12/45/image_31012025_12_45_54_9346.jpg', '/home/pi/Desktop/images/31012025/12/45/image_31012025_12_46_04_10348.jpg', '/home/pi/Desktop/images/31012025/12/46/image_31012025_12_46_15_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/45/image_31012025_12_45_24_9395.jpg
/home/pi/Desktop/images/31012025/12/45/image_31012025_12_45_34_10347.jpg
/home/pi/Desktop/images/31012025/12/45/image_31012025_12_45_45_10410.jpg
/home/pi/Desktop/images/31012025/12/45/image_31012025_12_45_54_9346.jpg
/home/pi/Desktop/images/31012025/12/45/image_31012025_12_46_04_10348.jpg
/home/pi/Desktop/images/31012025/12/46/image_31012025_12_46_15_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":["1333403467","1333403472","1333403481","1333403463","1333403477","1333403486"],"photo_ids_order":["1333403463","1333403467","1333403472","1333403477","1333403481","1333403486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dd22ef269850b1666a4d155494f9e26b.jpg","text":"TemporaryFile(/tmp/multipartBody1313926855794379426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343732996,"filename":"image_31012025_12_45_34_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e9c64a47a1efd22c46fc907c6eac5f74.jpg","text":"TemporaryFile(/tmp/multipartBody2839928610200287980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343732996,"filename":"image_31012025_12_45_45_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/15e35ae780d74d097fe76400b700500e.jpg","text":"TemporaryFile(/tmp/multipartBody7118914859159392228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343732996,"filename":"image_31012025_12_46_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/1/31/464250558e93f031902b21e5f636373a.jpg","text":"TemporaryFile(/tmp/multipartBody720010694395478013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343732996,"filename":"image_31012025_12_45_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/1/31/d2189fdbe5b1e5e31615920db26fcd12.jpg","text":"TemporaryFile(/tmp/multipartBody1889605268080387634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343732996,"filename":"image_31012025_12_45_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/1/31/e71af233648ee25cdf298afdf472d481.jpg","text":"TemporaryFile(/tmp/multipartBody5591012337816829458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343732996,"filename":"image_31012025_12_46_15_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333403472","file1":"1333403467","file0":"1333403463","file4":"1333403481","file5":"1333403486","file3":"1333403477"},"map_files_photo_id_array":[{"photo_id":"1333403486","filename":"file5"},{"photo_id":"1333403472","filename":"file2"},{"photo_id":"1333403481","filename":"file4"},{"photo_id":"1333403467","filename":"file1"},{"photo_id":"1333403463","filename":"file0"},{"photo_id":"1333403477","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333403467":["hashtag1","hashtag2"]},{"1333403472":["hashtag1","hashtag2"]},{"1333403481":["hashtag1","hashtag2"]},{"1333403463":["hashtag1","hashtag2"]},{"1333403477":["hashtag1","hashtag2"]},{"1333403486":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333403467, 1333403472, 1333403481, 1333403463, 1333403477, 1333403486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.974283456802368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:15:32.576617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/46/image_31012025_12_46_24_9459.jpg', '/home/pi/Desktop/images/31012025/12/46/image_31012025_12_46_34_10343.jpg', '/home/pi/Desktop/images/31012025/12/46/image_31012025_12_46_54_10455.jpg', '/home/pi/Desktop/images/31012025/12/47/image_31012025_12_47_14_9445.jpg', '/home/pi/Desktop/images/31012025/12/47/image_31012025_12_47_24_10338.jpg', '/home/pi/Desktop/images/31012025/12/47/image_31012025_12_47_34_9472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/46/image_31012025_12_46_24_9459.jpg
/home/pi/Desktop/images/31012025/12/46/image_31012025_12_46_34_10343.jpg
/home/pi/Desktop/images/31012025/12/46/image_31012025_12_46_54_10455.jpg
/home/pi/Desktop/images/31012025/12/47/image_31012025_12_47_14_9445.jpg
/home/pi/Desktop/images/31012025/12/47/image_31012025_12_47_24_10338.jpg
/home/pi/Desktop/images/31012025/12/47/image_31012025_12_47_34_9472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333403740","1333403737","1333403696","1333403651","1333403732","1333403726"],"photo_ids_order":["1333403651","1333403696","1333403726","1333403732","1333403737","1333403740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0f83db7897c0709a2a03bf45353e22bc.jpg","text":"TemporaryFile(/tmp/multipartBody8478172915771943935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343793130,"filename":"image_31012025_12_47_34_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ce583d4aab634a9208555eccb2223366.jpg","text":"TemporaryFile(/tmp/multipartBody8188172943656820752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343793130,"filename":"image_31012025_12_47_24_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7c94aa607ce6afefd2708df7d42df892.jpg","text":"TemporaryFile(/tmp/multipartBody1426883604145422679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343793130,"filename":"image_31012025_12_46_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/1/31/3f8127e300c50dc9c1b168f0d2a2a695.jpg","text":"TemporaryFile(/tmp/multipartBody5151645752667276567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343793130,"filename":"image_31012025_12_46_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/1/31/31fc07cb40f8a8897860c467cb9f585c.jpg","text":"TemporaryFile(/tmp/multipartBody5909977293677556634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343793130,"filename":"image_31012025_12_47_14_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a407c164ca657f06737991d74c5b42a8.jpg","text":"TemporaryFile(/tmp/multipartBody8348784831492072021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343793130,"filename":"image_31012025_12_46_54_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333403726","file1":"1333403696","file0":"1333403651","file4":"1333403737","file5":"1333403740","file3":"1333403732"},"map_files_photo_id_array":[{"photo_id":"1333403740","filename":"file5"},{"photo_id":"1333403726","filename":"file2"},{"photo_id":"1333403737","filename":"file4"},{"photo_id":"1333403696","filename":"file1"},{"photo_id":"1333403651","filename":"file0"},{"photo_id":"1333403732","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333403740":["hashtag1","hashtag2"]},{"1333403737":["hashtag1","hashtag2"]},{"1333403696":["hashtag1","hashtag2"]},{"1333403651":["hashtag1","hashtag2"]},{"1333403732":["hashtag1","hashtag2"]},{"1333403726":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333403740, 1333403737, 1333403696, 1333403651, 1333403732, 1333403726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.67181634902954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:16:32.892212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/47/image_31012025_12_47_55_10351.jpg', '/home/pi/Desktop/images/31012025/12/47/image_31012025_12_48_04_9428.jpg', '/home/pi/Desktop/images/31012025/12/48/image_31012025_12_48_14_10326.jpg', '/home/pi/Desktop/images/31012025/12/48/image_31012025_12_48_25_10424.jpg', '/home/pi/Desktop/images/31012025/12/48/image_31012025_12_48_34_9332.jpg', '/home/pi/Desktop/images/31012025/12/48/image_31012025_12_48_44_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/47/image_31012025_12_47_55_10351.jpg
/home/pi/Desktop/images/31012025/12/47/image_31012025_12_48_04_9428.jpg
/home/pi/Desktop/images/31012025/12/48/image_31012025_12_48_14_10326.jpg
/home/pi/Desktop/images/31012025/12/48/image_31012025_12_48_25_10424.jpg
/home/pi/Desktop/images/31012025/12/48/image_31012025_12_48_34_9332.jpg
/home/pi/Desktop/images/31012025/12/48/image_31012025_12_48_44_10431.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":["1333404130","1333404052","1333404115","1333404093","1333404120","1333404126"],"photo_ids_order":["1333404052","1333404093","1333404115","1333404120","1333404126","1333404130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/73fb0fd8e2cb9cf44c5e130ab338a753.jpg","text":"TemporaryFile(/tmp/multipartBody2588407615098861401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343853429,"filename":"image_31012025_12_48_44_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2a8892d618213f5192ba7f7f69f39d4e.jpg","text":"TemporaryFile(/tmp/multipartBody8380943229217046028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343853429,"filename":"image_31012025_12_47_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/1/31/8949f1876d8ec42f67204d91bc2ed39b.jpg","text":"TemporaryFile(/tmp/multipartBody3701422069243143341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343853429,"filename":"image_31012025_12_48_14_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c83cc51dba13e858d2963d6d610a5089.jpg","text":"TemporaryFile(/tmp/multipartBody7232610171554516465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343853429,"filename":"image_31012025_12_48_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/1/31/9e58658387dfe8f3c6d96fe104ef1ba5.jpg","text":"TemporaryFile(/tmp/multipartBody5902097313215017115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343853429,"filename":"image_31012025_12_48_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/1/31/1a883f63ff4b9d455b0b900f35b6d12d.jpg","text":"TemporaryFile(/tmp/multipartBody5547556140950978974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343853429,"filename":"image_31012025_12_48_34_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333404115","file1":"1333404093","file0":"1333404052","file4":"1333404126","file5":"1333404130","file3":"1333404120"},"map_files_photo_id_array":[{"photo_id":"1333404130","filename":"file5"},{"photo_id":"1333404115","filename":"file2"},{"photo_id":"1333404126","filename":"file4"},{"photo_id":"1333404093","filename":"file1"},{"photo_id":"1333404052","filename":"file0"},{"photo_id":"1333404120","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333404130":["hashtag1","hashtag2"]},{"1333404052":["hashtag1","hashtag2"]},{"1333404115":["hashtag1","hashtag2"]},{"1333404093":["hashtag1","hashtag2"]},{"1333404120":["hashtag1","hashtag2"]},{"1333404126":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333404130, 1333404052, 1333404115, 1333404093, 1333404120, 1333404126)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 30.32696032524109 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:17:33.066201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/48/image_31012025_12_48_54_9448.jpg', '/home/pi/Desktop/images/31012025/12/48/image_31012025_12_49_04_10411.jpg', '/home/pi/Desktop/images/31012025/12/49/image_31012025_12_49_14_9456.jpg', '/home/pi/Desktop/images/31012025/12/49/image_31012025_12_49_24_10350.jpg', '/home/pi/Desktop/images/31012025/12/49/image_31012025_12_49_34_10326.jpg', '/home/pi/Desktop/images/31012025/12/49/image_31012025_12_49_44_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/48/image_31012025_12_48_54_9448.jpg
/home/pi/Desktop/images/31012025/12/48/image_31012025_12_49_04_10411.jpg
/home/pi/Desktop/images/31012025/12/49/image_31012025_12_49_14_9456.jpg
/home/pi/Desktop/images/31012025/12/49/image_31012025_12_49_24_10350.jpg
/home/pi/Desktop/images/31012025/12/49/image_31012025_12_49_34_10326.jpg
/home/pi/Desktop/images/31012025/12/49/image_31012025_12_49_44_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":["1333404238","1333404229","1333404301","1333404279","1333404233","1333404298"],"photo_ids_order":["1333404229","1333404233","1333404238","1333404279","1333404298","1333404301"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0c57e3b28fa9c667c67558fde34b4f17.jpg","text":"TemporaryFile(/tmp/multipartBody3817334201432801247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343913625,"filename":"image_31012025_12_49_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/1/31/55eb4c0be9fdc77232ae59e568bfc094.jpg","text":"TemporaryFile(/tmp/multipartBody915605084133174386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343913625,"filename":"image_31012025_12_48_54_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1982f9b802c17e69e8dc04225aaec053.jpg","text":"TemporaryFile(/tmp/multipartBody6486194494522048966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343913625,"filename":"image_31012025_12_49_44_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2fc19f3c0a5fdd1ccd9c1c515303e059.jpg","text":"TemporaryFile(/tmp/multipartBody7058370509381892723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343913625,"filename":"image_31012025_12_49_24_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0f13e7b6a7b7a471463f55a8d57334f2.jpg","text":"TemporaryFile(/tmp/multipartBody3537622656107403853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343913625,"filename":"image_31012025_12_49_04_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a6eb8cdf7bf01102c94c6d89f1c57b52.jpg","text":"TemporaryFile(/tmp/multipartBody8424513835248251631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343913625,"filename":"image_31012025_12_49_34_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333404238","file1":"1333404233","file0":"1333404229","file4":"1333404298","file5":"1333404301","file3":"1333404279"},"map_files_photo_id_array":[{"photo_id":"1333404301","filename":"file5"},{"photo_id":"1333404238","filename":"file2"},{"photo_id":"1333404298","filename":"file4"},{"photo_id":"1333404233","filename":"file1"},{"photo_id":"1333404229","filename":"file0"},{"photo_id":"1333404279","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333404238":["hashtag1","hashtag2"]},{"1333404229":["hashtag1","hashtag2"]},{"1333404301":["hashtag1","hashtag2"]},{"1333404279":["hashtag1","hashtag2"]},{"1333404233":["hashtag1","hashtag2"]},{"1333404298":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333404238, 1333404229, 1333404301, 1333404279, 1333404233, 1333404298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.89883780479431 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:18:32.292417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/49/image_31012025_12_49_54_10364.jpg', '/home/pi/Desktop/images/31012025/12/49/image_31012025_12_50_05_10351.jpg', '/home/pi/Desktop/images/31012025/12/50/image_31012025_12_50_24_10357.jpg', '/home/pi/Desktop/images/31012025/12/50/image_31012025_12_50_34_9379.jpg', '/home/pi/Desktop/images/31012025/12/50/image_31012025_12_50_44_10377.jpg', '/home/pi/Desktop/images/31012025/12/50/image_31012025_12_50_54_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/49/image_31012025_12_49_54_10364.jpg
/home/pi/Desktop/images/31012025/12/49/image_31012025_12_50_05_10351.jpg
/home/pi/Desktop/images/31012025/12/50/image_31012025_12_50_24_10357.jpg
/home/pi/Desktop/images/31012025/12/50/image_31012025_12_50_34_9379.jpg
/home/pi/Desktop/images/31012025/12/50/image_31012025_12_50_44_10377.jpg
/home/pi/Desktop/images/31012025/12/50/image_31012025_12_50_54_10360.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.4715747833251953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 18:18:42.266871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/49/image_31012025_12_49_54_10364.jpg', '/home/pi/Desktop/images/31012025/12/49/image_31012025_12_50_05_10351.jpg', '/home/pi/Desktop/images/31012025/12/50/image_31012025_12_50_24_10357.jpg', '/home/pi/Desktop/images/31012025/12/50/image_31012025_12_50_34_9379.jpg', '/home/pi/Desktop/images/31012025/12/50/image_31012025_12_50_44_10377.jpg', '/home/pi/Desktop/images/31012025/12/50/image_31012025_12_50_54_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/49/image_31012025_12_49_54_10364.jpg
/home/pi/Desktop/images/31012025/12/49/image_31012025_12_50_05_10351.jpg
/home/pi/Desktop/images/31012025/12/50/image_31012025_12_50_24_10357.jpg
/home/pi/Desktop/images/31012025/12/50/image_31012025_12_50_34_9379.jpg
/home/pi/Desktop/images/31012025/12/50/image_31012025_12_50_44_10377.jpg
/home/pi/Desktop/images/31012025/12/50/image_31012025_12_50_54_10360.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":["1333404376","1333404372","1333404506","1333404496","1333404509","1333404367"],"photo_ids_order":["1333404367","1333404372","1333404376","1333404496","1333404506","1333404509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/85d5cc434907edad64e63181d10df2be.jpg","text":"TemporaryFile(/tmp/multipartBody577445860358702356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343982728,"filename":"image_31012025_12_50_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/1/31/352d826f369f5eeec0a763e298703b5c.jpg","text":"TemporaryFile(/tmp/multipartBody5898436266953975256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343982728,"filename":"image_31012025_12_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/1/31/b7accc6266216d6ca2f37691b492bff3.jpg","text":"TemporaryFile(/tmp/multipartBody3606554637382586178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343982728,"filename":"image_31012025_12_50_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/1/31/b55df6f732991bf7004f98c75288dcae.jpg","text":"TemporaryFile(/tmp/multipartBody4617344579304708746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343982728,"filename":"image_31012025_12_50_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/1/31/ce0a904a6c942966b6012faac9440a5b.jpg","text":"TemporaryFile(/tmp/multipartBody7961770114922634011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343982728,"filename":"image_31012025_12_50_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/1/31/ccf5365c316e6cfa93a18476796e8428.jpg","text":"TemporaryFile(/tmp/multipartBody6243338183511907348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738343982728,"filename":"image_31012025_12_49_54_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333404376","file1":"1333404372","file0":"1333404367","file4":"1333404506","file5":"1333404509","file3":"1333404496"},"map_files_photo_id_array":[{"photo_id":"1333404509","filename":"file5"},{"photo_id":"1333404376","filename":"file2"},{"photo_id":"1333404506","filename":"file4"},{"photo_id":"1333404372","filename":"file1"},{"photo_id":"1333404367","filename":"file0"},{"photo_id":"1333404496","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333404376":["hashtag1","hashtag2"]},{"1333404372":["hashtag1","hashtag2"]},{"1333404506":["hashtag1","hashtag2"]},{"1333404496":["hashtag1","hashtag2"]},{"1333404509":["hashtag1","hashtag2"]},{"1333404367":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333404376, 1333404372, 1333404506, 1333404496, 1333404509, 1333404367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.483653783798218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:19:32.501190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/51/image_31012025_12_51_25_10357.jpg', '/home/pi/Desktop/images/31012025/12/51/image_31012025_12_51_54_9417.jpg', '/home/pi/Desktop/images/31012025/12/51/image_31012025_12_52_04_10340.jpg', '/home/pi/Desktop/images/31012025/12/52/image_31012025_12_52_15_10437.jpg', '/home/pi/Desktop/images/31012025/12/52/image_31012025_12_52_24_9346.jpg', '/home/pi/Desktop/images/31012025/12/52/image_31012025_12_52_45_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/51/image_31012025_12_51_25_10357.jpg
/home/pi/Desktop/images/31012025/12/51/image_31012025_12_51_54_9417.jpg
/home/pi/Desktop/images/31012025/12/51/image_31012025_12_52_04_10340.jpg
/home/pi/Desktop/images/31012025/12/52/image_31012025_12_52_15_10437.jpg
/home/pi/Desktop/images/31012025/12/52/image_31012025_12_52_24_9346.jpg
/home/pi/Desktop/images/31012025/12/52/image_31012025_12_52_45_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333404553","1333404557","1333404542","1333404545","1333404559","1333404550"],"photo_ids_order":["1333404542","1333404545","1333404550","1333404553","1333404557","1333404559"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/506716c45521d3b6e0c72773d2b45766.jpg","text":"TemporaryFile(/tmp/multipartBody140092487758103369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344033045,"filename":"image_31012025_12_52_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/1/31/0c81501e0cac0edae013d7fedb21a035.jpg","text":"TemporaryFile(/tmp/multipartBody3923647474518898263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344033045,"filename":"image_31012025_12_52_24_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1399d9bfd837b3f307753514a40c39f5.jpg","text":"TemporaryFile(/tmp/multipartBody1600688476441471451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344033045,"filename":"image_31012025_12_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/1/31/0650feeee7c22bc89bca2da5b6f1a772.jpg","text":"TemporaryFile(/tmp/multipartBody6650099682744179495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344033045,"filename":"image_31012025_12_51_54_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6a57113a2a041fc06f0e199c66dc040e.jpg","text":"TemporaryFile(/tmp/multipartBody448839014707409993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344033045,"filename":"image_31012025_12_52_45_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f95b1eb26fe5ef78edabf55440cab3ac.jpg","text":"TemporaryFile(/tmp/multipartBody7226302178786632656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344033045,"filename":"image_31012025_12_52_04_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333404550","file1":"1333404545","file0":"1333404542","file4":"1333404557","file5":"1333404559","file3":"1333404553"},"map_files_photo_id_array":[{"photo_id":"1333404559","filename":"file5"},{"photo_id":"1333404550","filename":"file2"},{"photo_id":"1333404557","filename":"file4"},{"photo_id":"1333404545","filename":"file1"},{"photo_id":"1333404542","filename":"file0"},{"photo_id":"1333404553","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333404553":["hashtag1","hashtag2"]},{"1333404557":["hashtag1","hashtag2"]},{"1333404542":["hashtag1","hashtag2"]},{"1333404545":["hashtag1","hashtag2"]},{"1333404559":["hashtag1","hashtag2"]},{"1333404550":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333404553, 1333404557, 1333404542, 1333404545, 1333404559, 1333404550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05636739730835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:20:32.691636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/52/image_31012025_12_52_54_9391.jpg', '/home/pi/Desktop/images/31012025/12/52/image_31012025_12_53_04_10346.jpg', '/home/pi/Desktop/images/31012025/12/53/image_31012025_12_53_15_10424.jpg', '/home/pi/Desktop/images/31012025/12/53/image_31012025_12_53_35_10425.jpg', '/home/pi/Desktop/images/31012025/12/53/image_31012025_12_53_44_9317.jpg', '/home/pi/Desktop/images/31012025/12/53/image_31012025_12_53_54_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/52/image_31012025_12_52_54_9391.jpg
/home/pi/Desktop/images/31012025/12/52/image_31012025_12_53_04_10346.jpg
/home/pi/Desktop/images/31012025/12/53/image_31012025_12_53_15_10424.jpg
/home/pi/Desktop/images/31012025/12/53/image_31012025_12_53_35_10425.jpg
/home/pi/Desktop/images/31012025/12/53/image_31012025_12_53_44_9317.jpg
/home/pi/Desktop/images/31012025/12/53/image_31012025_12_53_54_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":["1333404580","1333404590","1333404596","1333404602","1333404583","1333404586"],"photo_ids_order":["1333404580","1333404583","1333404586","1333404590","1333404596","1333404602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cc05c03fcfaa7300b0147007f37b89d2.jpg","text":"TemporaryFile(/tmp/multipartBody7586314864987866078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344093235,"filename":"image_31012025_12_52_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/1/31/b1066a3aca5a5a96faecb7a23cdbd8c7.jpg","text":"TemporaryFile(/tmp/multipartBody908881630727599887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344093235,"filename":"image_31012025_12_53_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/1/31/a237afd7116e387293e871a3fd30d153.jpg","text":"TemporaryFile(/tmp/multipartBody1724050410840593472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344093235,"filename":"image_31012025_12_53_44_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cb71a1f3f21795f8498cf116e4fca312.jpg","text":"TemporaryFile(/tmp/multipartBody3363143909496785066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344093235,"filename":"image_31012025_12_53_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/1/31/e233316b53a16f065707cbacfc8376d7.jpg","text":"TemporaryFile(/tmp/multipartBody1907058422294319621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344093235,"filename":"image_31012025_12_53_04_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/98a8dd5d106881867b1f19426609a10a.jpg","text":"TemporaryFile(/tmp/multipartBody67040919530169462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344093235,"filename":"image_31012025_12_53_15_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333404586","file1":"1333404583","file0":"1333404580","file4":"1333404596","file5":"1333404602","file3":"1333404590"},"map_files_photo_id_array":[{"photo_id":"1333404602","filename":"file5"},{"photo_id":"1333404586","filename":"file2"},{"photo_id":"1333404596","filename":"file4"},{"photo_id":"1333404583","filename":"file1"},{"photo_id":"1333404580","filename":"file0"},{"photo_id":"1333404590","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333404580":["hashtag1","hashtag2"]},{"1333404590":["hashtag1","hashtag2"]},{"1333404596":["hashtag1","hashtag2"]},{"1333404602":["hashtag1","hashtag2"]},{"1333404583":["hashtag1","hashtag2"]},{"1333404586":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333404580, 1333404590, 1333404596, 1333404602, 1333404583, 1333404586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.87299847602844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:21:32.947279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/53/image_31012025_12_54_05_10340.jpg', '/home/pi/Desktop/images/31012025/12/54/image_31012025_12_54_24_10348.jpg', '/home/pi/Desktop/images/31012025/12/54/image_31012025_12_54_34_9437.jpg', '/home/pi/Desktop/images/31012025/12/54/image_31012025_12_54_44_10377.jpg', '/home/pi/Desktop/images/31012025/12/54/image_31012025_12_54_54_10345.jpg', '/home/pi/Desktop/images/31012025/12/54/image_31012025_12_55_04_9322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/53/image_31012025_12_54_05_10340.jpg
/home/pi/Desktop/images/31012025/12/54/image_31012025_12_54_24_10348.jpg
/home/pi/Desktop/images/31012025/12/54/image_31012025_12_54_34_9437.jpg
/home/pi/Desktop/images/31012025/12/54/image_31012025_12_54_44_10377.jpg
/home/pi/Desktop/images/31012025/12/54/image_31012025_12_54_54_10345.jpg
/home/pi/Desktop/images/31012025/12/54/image_31012025_12_55_04_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":["1333404699","1333404622","1333404695","1333404689","1333404680","1333404685"],"photo_ids_order":["1333404622","1333404680","1333404685","1333404689","1333404695","1333404699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/02dddf3e3f10c22c8b93da0d34951e46.jpg","text":"TemporaryFile(/tmp/multipartBody5477728653020470763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344153472,"filename":"image_31012025_12_55_04_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ffc0acac30c1a1f50b2a16b689b03919.jpg","text":"TemporaryFile(/tmp/multipartBody8557064306890757536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344153472,"filename":"image_31012025_12_54_05_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cbd982c50640dbbf9fcd69a51e92f985.jpg","text":"TemporaryFile(/tmp/multipartBody4437451255668437996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344153472,"filename":"image_31012025_12_54_54_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/af45d9ce5b448bf57a07ae9a14d2726a.jpg","text":"TemporaryFile(/tmp/multipartBody3969812549580142216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344153472,"filename":"image_31012025_12_54_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/1/31/5a7111a217cbb388e7b2952a097f12c6.jpg","text":"TemporaryFile(/tmp/multipartBody1745535734338868276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344153472,"filename":"image_31012025_12_54_24_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6253699477ccadb1b0f6503a1ef425fc.jpg","text":"TemporaryFile(/tmp/multipartBody5926860522996958627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344153472,"filename":"image_31012025_12_54_34_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333404685","file1":"1333404680","file0":"1333404622","file4":"1333404695","file5":"1333404699","file3":"1333404689"},"map_files_photo_id_array":[{"photo_id":"1333404699","filename":"file5"},{"photo_id":"1333404685","filename":"file2"},{"photo_id":"1333404695","filename":"file4"},{"photo_id":"1333404680","filename":"file1"},{"photo_id":"1333404622","filename":"file0"},{"photo_id":"1333404689","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333404699":["hashtag1","hashtag2"]},{"1333404622":["hashtag1","hashtag2"]},{"1333404695":["hashtag1","hashtag2"]},{"1333404689":["hashtag1","hashtag2"]},{"1333404680":["hashtag1","hashtag2"]},{"1333404685":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333404699, 1333404622, 1333404695, 1333404689, 1333404680, 1333404685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.954843521118164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:22:33.229582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/55/image_31012025_12_55_14_10344.jpg', '/home/pi/Desktop/images/31012025/12/55/image_31012025_12_55_25_10371.jpg', '/home/pi/Desktop/images/31012025/12/55/image_31012025_12_55_34_9323.jpg', '/home/pi/Desktop/images/31012025/12/55/image_31012025_12_55_44_10345.jpg', '/home/pi/Desktop/images/31012025/12/55/image_31012025_12_55_55_10348.jpg', '/home/pi/Desktop/images/31012025/12/55/image_31012025_12_56_04_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/55/image_31012025_12_55_14_10344.jpg
/home/pi/Desktop/images/31012025/12/55/image_31012025_12_55_25_10371.jpg
/home/pi/Desktop/images/31012025/12/55/image_31012025_12_55_34_9323.jpg
/home/pi/Desktop/images/31012025/12/55/image_31012025_12_55_44_10345.jpg
/home/pi/Desktop/images/31012025/12/55/image_31012025_12_55_55_10348.jpg
/home/pi/Desktop/images/31012025/12/55/image_31012025_12_56_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":["1333404888","1333404909","1333404900","1333404899","1333404911","1333404905"],"photo_ids_order":["1333404888","1333404899","1333404900","1333404905","1333404909","1333404911"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ecff9940d4c35c70dd2e77588b3cd79c.jpg","text":"TemporaryFile(/tmp/multipartBody687555827397120824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344213765,"filename":"image_31012025_12_55_14_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8d75fcf58ad6123d69c5d64f3a1aaafd.jpg","text":"TemporaryFile(/tmp/multipartBody5782736282262432429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344213765,"filename":"image_31012025_12_55_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/1/31/5a46e401ab8106f9ea0d026ffe5c4adc.jpg","text":"TemporaryFile(/tmp/multipartBody7264163205661522644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344213765,"filename":"image_31012025_12_55_34_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e2b7e4f74339814d4de98110a7fe1fbe.jpg","text":"TemporaryFile(/tmp/multipartBody249716397983567582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344213765,"filename":"image_31012025_12_55_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/1/31/d32174da359cead32b9e93b73a95a958.jpg","text":"TemporaryFile(/tmp/multipartBody4420519591331549892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344213765,"filename":"image_31012025_12_56_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/1/31/d520ce769077a2c1cde8a6e78531d33b.jpg","text":"TemporaryFile(/tmp/multipartBody1621265480696318008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344213765,"filename":"image_31012025_12_55_44_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333404900","file1":"1333404899","file0":"1333404888","file4":"1333404909","file5":"1333404911","file3":"1333404905"},"map_files_photo_id_array":[{"photo_id":"1333404911","filename":"file5"},{"photo_id":"1333404900","filename":"file2"},{"photo_id":"1333404909","filename":"file4"},{"photo_id":"1333404899","filename":"file1"},{"photo_id":"1333404888","filename":"file0"},{"photo_id":"1333404905","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333404888":["hashtag1","hashtag2"]},{"1333404909":["hashtag1","hashtag2"]},{"1333404900":["hashtag1","hashtag2"]},{"1333404899":["hashtag1","hashtag2"]},{"1333404911":["hashtag1","hashtag2"]},{"1333404905":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333404888, 1333404909, 1333404900, 1333404899, 1333404911, 1333404905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.342371940612793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:23:33.213207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/56/image_31012025_12_56_14_10349.jpg', '/home/pi/Desktop/images/31012025/12/56/image_31012025_12_56_24_9478.jpg', '/home/pi/Desktop/images/31012025/12/56/image_31012025_12_56_34_10347.jpg', '/home/pi/Desktop/images/31012025/12/56/image_31012025_12_56_44_10325.jpg', '/home/pi/Desktop/images/31012025/12/56/image_31012025_12_56_54_9403.jpg', '/home/pi/Desktop/images/31012025/12/56/image_31012025_12_57_04_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/56/image_31012025_12_56_14_10349.jpg
/home/pi/Desktop/images/31012025/12/56/image_31012025_12_56_24_9478.jpg
/home/pi/Desktop/images/31012025/12/56/image_31012025_12_56_34_10347.jpg
/home/pi/Desktop/images/31012025/12/56/image_31012025_12_56_44_10325.jpg
/home/pi/Desktop/images/31012025/12/56/image_31012025_12_56_54_9403.jpg
/home/pi/Desktop/images/31012025/12/56/image_31012025_12_57_04_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":["1333404960","1333404942","1333404945","1333404939","1333404956","1333404950"],"photo_ids_order":["1333404939","1333404942","1333404945","1333404950","1333404956","1333404960"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/56a7dda71a42fe5ed7872ee55ca3f819.jpg","text":"TemporaryFile(/tmp/multipartBody4559846345527527841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344273777,"filename":"image_31012025_12_57_04_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8cb55131377701cf4f1d1302d7609f99.jpg","text":"TemporaryFile(/tmp/multipartBody6196418230846884691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344273777,"filename":"image_31012025_12_56_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/1/31/03272665f7cbe9f7748c61814a61ad7c.jpg","text":"TemporaryFile(/tmp/multipartBody1862265242137176610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344273777,"filename":"image_31012025_12_56_34_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1f7168f9b90a61df87e6f3bdd46f5ceb.jpg","text":"TemporaryFile(/tmp/multipartBody8287720660165462481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344273777,"filename":"image_31012025_12_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/1/31/e57ebdc8cdcaf67889a0d6ee022e70f7.jpg","text":"TemporaryFile(/tmp/multipartBody3444782697799875580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344273777,"filename":"image_31012025_12_56_54_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/66d69fb9248df1a42bfaf534d69cff36.jpg","text":"TemporaryFile(/tmp/multipartBody4759113001338015629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344273777,"filename":"image_31012025_12_56_44_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333404945","file1":"1333404942","file0":"1333404939","file4":"1333404956","file5":"1333404960","file3":"1333404950"},"map_files_photo_id_array":[{"photo_id":"1333404960","filename":"file5"},{"photo_id":"1333404945","filename":"file2"},{"photo_id":"1333404956","filename":"file4"},{"photo_id":"1333404942","filename":"file1"},{"photo_id":"1333404939","filename":"file0"},{"photo_id":"1333404950","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333404960":["hashtag1","hashtag2"]},{"1333404942":["hashtag1","hashtag2"]},{"1333404945":["hashtag1","hashtag2"]},{"1333404939":["hashtag1","hashtag2"]},{"1333404956":["hashtag1","hashtag2"]},{"1333404950":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333404960, 1333404942, 1333404945, 1333404939, 1333404956, 1333404950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81882357597351 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:24:32.527269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/57/image_31012025_12_57_15_10358.jpg', '/home/pi/Desktop/images/31012025/12/57/image_31012025_12_57_24_9435.jpg', '/home/pi/Desktop/images/31012025/12/57/image_31012025_12_57_34_10338.jpg', '/home/pi/Desktop/images/31012025/12/57/image_31012025_12_57_44_9451.jpg', '/home/pi/Desktop/images/31012025/12/57/image_31012025_12_57_54_10408.jpg', '/home/pi/Desktop/images/31012025/12/57/image_31012025_12_58_05_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/57/image_31012025_12_57_15_10358.jpg
/home/pi/Desktop/images/31012025/12/57/image_31012025_12_57_24_9435.jpg
/home/pi/Desktop/images/31012025/12/57/image_31012025_12_57_34_10338.jpg
/home/pi/Desktop/images/31012025/12/57/image_31012025_12_57_44_9451.jpg
/home/pi/Desktop/images/31012025/12/57/image_31012025_12_57_54_10408.jpg
/home/pi/Desktop/images/31012025/12/57/image_31012025_12_58_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":["1333405088","1333405067","1333405049","1333405022","1333405060","1333405063"],"photo_ids_order":["1333405022","1333405049","1333405060","1333405063","1333405067","1333405088"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5be832a5e3a9257f6761213632c014c8.jpg","text":"TemporaryFile(/tmp/multipartBody5949491621751645344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344333073,"filename":"image_31012025_12_58_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/1/31/722ad945fa1d92e59f3f6b23dcc16053.jpg","text":"TemporaryFile(/tmp/multipartBody2156922251282400495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344333073,"filename":"image_31012025_12_57_54_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/16f4d1c9998efaf67bcc7f99b0ab4305.jpg","text":"TemporaryFile(/tmp/multipartBody6997657724729896871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344333073,"filename":"image_31012025_12_57_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/1/31/b512b3ff3d7e1b9b97da5035ef543f41.jpg","text":"TemporaryFile(/tmp/multipartBody1829862999982584692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344333073,"filename":"image_31012025_12_57_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/1/31/359e0130c3fe48abf58ca3a8263e51a0.jpg","text":"TemporaryFile(/tmp/multipartBody4268113403808735139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344333073,"filename":"image_31012025_12_57_34_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3ba589e8128e0cfec859bac48cde9ba5.jpg","text":"TemporaryFile(/tmp/multipartBody2112929659681533789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344333073,"filename":"image_31012025_12_57_44_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333405060","file1":"1333405049","file0":"1333405022","file4":"1333405067","file5":"1333405088","file3":"1333405063"},"map_files_photo_id_array":[{"photo_id":"1333405088","filename":"file5"},{"photo_id":"1333405060","filename":"file2"},{"photo_id":"1333405067","filename":"file4"},{"photo_id":"1333405049","filename":"file1"},{"photo_id":"1333405022","filename":"file0"},{"photo_id":"1333405063","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333405088":["hashtag1","hashtag2"]},{"1333405067":["hashtag1","hashtag2"]},{"1333405049":["hashtag1","hashtag2"]},{"1333405022":["hashtag1","hashtag2"]},{"1333405060":["hashtag1","hashtag2"]},{"1333405063":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333405088, 1333405067, 1333405049, 1333405022, 1333405060, 1333405063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31194496154785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:25:32.750049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/58/image_31012025_12_58_14_9389.jpg', '/home/pi/Desktop/images/31012025/12/58/image_31012025_12_58_24_10416.jpg', '/home/pi/Desktop/images/31012025/12/58/image_31012025_12_58_34_9446.jpg', '/home/pi/Desktop/images/31012025/12/58/image_31012025_12_58_44_10324.jpg', '/home/pi/Desktop/images/31012025/12/58/image_31012025_12_58_54_10362.jpg', '/home/pi/Desktop/images/31012025/12/58/image_31012025_12_59_04_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/58/image_31012025_12_58_14_9389.jpg
/home/pi/Desktop/images/31012025/12/58/image_31012025_12_58_24_10416.jpg
/home/pi/Desktop/images/31012025/12/58/image_31012025_12_58_34_9446.jpg
/home/pi/Desktop/images/31012025/12/58/image_31012025_12_58_44_10324.jpg
/home/pi/Desktop/images/31012025/12/58/image_31012025_12_58_54_10362.jpg
/home/pi/Desktop/images/31012025/12/58/image_31012025_12_59_04_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333405131","1333405134","1333405136","1333405118","1333405138","1333405123"],"photo_ids_order":["1333405118","1333405123","1333405131","1333405134","1333405136","1333405138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a2f38f7ce8f6a96b5696369d15ef9312.jpg","text":"TemporaryFile(/tmp/multipartBody6355922671489460507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344393286,"filename":"image_31012025_12_58_34_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8759b48d95d969ae810244f07e4ff9c8.jpg","text":"TemporaryFile(/tmp/multipartBody1322467753022955558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344393286,"filename":"image_31012025_12_58_44_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fa350c36241fd7b77576e033937e3e84.jpg","text":"TemporaryFile(/tmp/multipartBody4730996495990115307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344393286,"filename":"image_31012025_12_58_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/1/31/80da90668027a0d25c38080df680dd7c.jpg","text":"TemporaryFile(/tmp/multipartBody390860408214126482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344393286,"filename":"image_31012025_12_58_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/1/31/814c64b5dadc7e428565f703570a8630.jpg","text":"TemporaryFile(/tmp/multipartBody6960127523613389914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344393286,"filename":"image_31012025_12_59_04_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/361fac22c1886a7e2217787bc2e0d4e9.jpg","text":"TemporaryFile(/tmp/multipartBody6617288759208122998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344393286,"filename":"image_31012025_12_58_24_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333405131","file1":"1333405123","file0":"1333405118","file4":"1333405136","file5":"1333405138","file3":"1333405134"},"map_files_photo_id_array":[{"photo_id":"1333405138","filename":"file5"},{"photo_id":"1333405131","filename":"file2"},{"photo_id":"1333405136","filename":"file4"},{"photo_id":"1333405123","filename":"file1"},{"photo_id":"1333405118","filename":"file0"},{"photo_id":"1333405134","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333405131":["hashtag1","hashtag2"]},{"1333405134":["hashtag1","hashtag2"]},{"1333405136":["hashtag1","hashtag2"]},{"1333405118":["hashtag1","hashtag2"]},{"1333405138":["hashtag1","hashtag2"]},{"1333405123":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333405131, 1333405134, 1333405136, 1333405118, 1333405138, 1333405123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2863290309906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:26:32.935073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/12/59/image_31012025_12_59_14_10330.jpg', '/home/pi/Desktop/images/31012025/12/59/image_31012025_12_59_24_10357.jpg', '/home/pi/Desktop/images/31012025/12/59/image_31012025_12_59_44_10400.jpg', '/home/pi/Desktop/images/31012025/12/59/image_31012025_12_59_54_9466.jpg', '/home/pi/Desktop/images/31012025/13/01/image_31012025_13_01_14_10085.jpg', '/home/pi/Desktop/images/31012025/13/01/image_31012025_13_01_24_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/12/59/image_31012025_12_59_14_10330.jpg
/home/pi/Desktop/images/31012025/12/59/image_31012025_12_59_24_10357.jpg
/home/pi/Desktop/images/31012025/12/59/image_31012025_12_59_44_10400.jpg
/home/pi/Desktop/images/31012025/12/59/image_31012025_12_59_54_9466.jpg
/home/pi/Desktop/images/31012025/13/01/image_31012025_13_01_14_10085.jpg
/home/pi/Desktop/images/31012025/13/01/image_31012025_13_01_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":["1333405185","1333405169","1333405165","1333405180","1333405174","1333405159"],"photo_ids_order":["1333405159","1333405165","1333405169","1333405174","1333405180","1333405185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6b6c2bce92417b17198539510e722a40.jpg","text":"TemporaryFile(/tmp/multipartBody6638192110281834614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344453471,"filename":"image_31012025_13_01_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/1/31/73e3c0f440dbbfb7db20eafeb7d8a297.jpg","text":"TemporaryFile(/tmp/multipartBody4330620854745255957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344453471,"filename":"image_31012025_12_59_44_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1821ee3f2f4843c94893ec7b5c0f72ee.jpg","text":"TemporaryFile(/tmp/multipartBody9132499536745977661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344453471,"filename":"image_31012025_12_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/1/31/b962b9e5da32a0f8de381d5f0674700a.jpg","text":"TemporaryFile(/tmp/multipartBody368336223890325984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344453471,"filename":"image_31012025_13_01_14_10085.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/09848966ec01063b9a45a539dddfe92b.jpg","text":"TemporaryFile(/tmp/multipartBody3596200004086867808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344453471,"filename":"image_31012025_12_59_54_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7908dcf80ccbd1358eee176bfb8db5eb.jpg","text":"TemporaryFile(/tmp/multipartBody31553752543401521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344453471,"filename":"image_31012025_12_59_14_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333405169","file1":"1333405165","file0":"1333405159","file4":"1333405180","file5":"1333405185","file3":"1333405174"},"map_files_photo_id_array":[{"photo_id":"1333405185","filename":"file5"},{"photo_id":"1333405169","filename":"file2"},{"photo_id":"1333405180","filename":"file4"},{"photo_id":"1333405165","filename":"file1"},{"photo_id":"1333405159","filename":"file0"},{"photo_id":"1333405174","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333405185":["hashtag1","hashtag2"]},{"1333405169":["hashtag1","hashtag2"]},{"1333405165":["hashtag1","hashtag2"]},{"1333405180":["hashtag1","hashtag2"]},{"1333405174":["hashtag1","hashtag2"]},{"1333405159":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333405185, 1333405169, 1333405165, 1333405180, 1333405174, 1333405159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.70068883895874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:27:33.258372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/01/image_31012025_13_01_35_10475.jpg', '/home/pi/Desktop/images/31012025/13/01/image_31012025_13_01_44_9346.jpg', '/home/pi/Desktop/images/31012025/13/01/image_31012025_13_01_54_10354.jpg', '/home/pi/Desktop/images/31012025/13/01/image_31012025_13_02_04_9412.jpg', '/home/pi/Desktop/images/31012025/13/02/image_31012025_13_02_14_10380.jpg', '/home/pi/Desktop/images/31012025/13/02/image_31012025_13_02_25_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/01/image_31012025_13_01_35_10475.jpg
/home/pi/Desktop/images/31012025/13/01/image_31012025_13_01_44_9346.jpg
/home/pi/Desktop/images/31012025/13/01/image_31012025_13_01_54_10354.jpg
/home/pi/Desktop/images/31012025/13/01/image_31012025_13_02_04_9412.jpg
/home/pi/Desktop/images/31012025/13/02/image_31012025_13_02_14_10380.jpg
/home/pi/Desktop/images/31012025/13/02/image_31012025_13_02_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":["1333405213","1333405209","1333405203","1333405223","1333405217","1333405220"],"photo_ids_order":["1333405203","1333405209","1333405213","1333405217","1333405220","1333405223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/69cccef1e06e10712bab6d3e3299f52b.jpg","text":"TemporaryFile(/tmp/multipartBody668888657532058567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344513792,"filename":"image_31012025_13_01_54_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d6589ef4078adf271f05f256b385d1ae.jpg","text":"TemporaryFile(/tmp/multipartBody7975561720183663765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344513792,"filename":"image_31012025_13_01_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/1/31/8a7c977915c14c2a6a3fe7028b2827fa.jpg","text":"TemporaryFile(/tmp/multipartBody8420819358361490739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344513792,"filename":"image_31012025_13_01_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/1/31/0370e29112d20979b2d774a86ff8b2ef.jpg","text":"TemporaryFile(/tmp/multipartBody353338707391168214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344513792,"filename":"image_31012025_13_02_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/1/31/92377d793ced87fe85e607b437aabec3.jpg","text":"TemporaryFile(/tmp/multipartBody4465005500377236384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344513792,"filename":"image_31012025_13_02_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/1/31/e28252ec85607ebfb46a4b420298666a.jpg","text":"TemporaryFile(/tmp/multipartBody714099255523802647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344513792,"filename":"image_31012025_13_02_14_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333405213","file1":"1333405209","file0":"1333405203","file4":"1333405220","file5":"1333405223","file3":"1333405217"},"map_files_photo_id_array":[{"photo_id":"1333405223","filename":"file5"},{"photo_id":"1333405213","filename":"file2"},{"photo_id":"1333405220","filename":"file4"},{"photo_id":"1333405209","filename":"file1"},{"photo_id":"1333405203","filename":"file0"},{"photo_id":"1333405217","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333405213":["hashtag1","hashtag2"]},{"1333405209":["hashtag1","hashtag2"]},{"1333405203":["hashtag1","hashtag2"]},{"1333405223":["hashtag1","hashtag2"]},{"1333405217":["hashtag1","hashtag2"]},{"1333405220":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333405213, 1333405209, 1333405203, 1333405223, 1333405217, 1333405220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54265475273132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:28:32.418438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/02/image_31012025_13_02_34_9413.jpg', '/home/pi/Desktop/images/31012025/13/02/image_31012025_13_02_44_10411.jpg', '/home/pi/Desktop/images/31012025/13/02/image_31012025_13_03_04_10353.jpg', '/home/pi/Desktop/images/31012025/13/03/image_31012025_13_03_15_10466.jpg', '/home/pi/Desktop/images/31012025/13/03/image_31012025_13_03_24_9352.jpg', '/home/pi/Desktop/images/31012025/13/03/image_31012025_13_03_34_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/02/image_31012025_13_02_34_9413.jpg
/home/pi/Desktop/images/31012025/13/02/image_31012025_13_02_44_10411.jpg
/home/pi/Desktop/images/31012025/13/02/image_31012025_13_03_04_10353.jpg
/home/pi/Desktop/images/31012025/13/03/image_31012025_13_03_15_10466.jpg
/home/pi/Desktop/images/31012025/13/03/image_31012025_13_03_24_9352.jpg
/home/pi/Desktop/images/31012025/13/03/image_31012025_13_03_34_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":["1333405251","1333405235","1333405238","1333405247","1333405240","1333405243"],"photo_ids_order":["1333405235","1333405238","1333405240","1333405243","1333405247","1333405251"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6e7f54b1871e8e2a900f1f22133d6400.jpg","text":"TemporaryFile(/tmp/multipartBody5634108208570559396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344572973,"filename":"image_31012025_13_03_34_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e6d5e54b04274119580ec5e481e75156.jpg","text":"TemporaryFile(/tmp/multipartBody8439848524819621843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344572973,"filename":"image_31012025_13_02_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/1/31/c0e5513cc67ceacd72c29e293ffdd995.jpg","text":"TemporaryFile(/tmp/multipartBody7631984590805274814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344572973,"filename":"image_31012025_13_02_44_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e2ba72ecf5c820c926240b80decc5777.jpg","text":"TemporaryFile(/tmp/multipartBody1967858226272785203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344572973,"filename":"image_31012025_13_03_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/1/31/11a374fde5a9f96757ddcdcab33472b6.jpg","text":"TemporaryFile(/tmp/multipartBody4902072883570086486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344572973,"filename":"image_31012025_13_03_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/1/31/f057077a88a54fc9c210a13b631ff381.jpg","text":"TemporaryFile(/tmp/multipartBody924750268735977469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344572973,"filename":"image_31012025_13_03_15_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333405240","file1":"1333405238","file0":"1333405235","file4":"1333405247","file5":"1333405251","file3":"1333405243"},"map_files_photo_id_array":[{"photo_id":"1333405251","filename":"file5"},{"photo_id":"1333405240","filename":"file2"},{"photo_id":"1333405247","filename":"file4"},{"photo_id":"1333405238","filename":"file1"},{"photo_id":"1333405235","filename":"file0"},{"photo_id":"1333405243","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333405251":["hashtag1","hashtag2"]},{"1333405235":["hashtag1","hashtag2"]},{"1333405238":["hashtag1","hashtag2"]},{"1333405247":["hashtag1","hashtag2"]},{"1333405240":["hashtag1","hashtag2"]},{"1333405243":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333405251, 1333405235, 1333405238, 1333405247, 1333405240, 1333405243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.1778347492218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:29:32.658770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/03/image_31012025_13_04_05_10385.jpg', '/home/pi/Desktop/images/31012025/13/04/image_31012025_13_04_14_9333.jpg', '/home/pi/Desktop/images/31012025/13/04/image_31012025_13_04_24_10348.jpg', '/home/pi/Desktop/images/31012025/13/04/image_31012025_13_04_35_10322.jpg', '/home/pi/Desktop/images/31012025/13/04/image_31012025_13_04_54_10355.jpg', '/home/pi/Desktop/images/31012025/13/04/image_31012025_13_05_04_9465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/03/image_31012025_13_04_05_10385.jpg
/home/pi/Desktop/images/31012025/13/04/image_31012025_13_04_14_9333.jpg
/home/pi/Desktop/images/31012025/13/04/image_31012025_13_04_24_10348.jpg
/home/pi/Desktop/images/31012025/13/04/image_31012025_13_04_35_10322.jpg
/home/pi/Desktop/images/31012025/13/04/image_31012025_13_04_54_10355.jpg
/home/pi/Desktop/images/31012025/13/04/image_31012025_13_05_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":["1333405324","1333405338","1333405329","1333405334","1333405264","1333405267"],"photo_ids_order":["1333405264","1333405267","1333405324","1333405329","1333405334","1333405338"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3e0e439059231fe253454baed0d43f64.jpg","text":"TemporaryFile(/tmp/multipartBody1745352207467043005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344633217,"filename":"image_31012025_13_04_24_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bbd8bf5b8966e3e7a718a475854c31b3.jpg","text":"TemporaryFile(/tmp/multipartBody8465199742473142680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344633217,"filename":"image_31012025_13_05_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/1/31/5481a4cffe985c1abac83a757166fd91.jpg","text":"TemporaryFile(/tmp/multipartBody4847399564783473466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344633217,"filename":"image_31012025_13_04_35_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7f4c61f6d3cc2b1b57ed0f526f90ead4.jpg","text":"TemporaryFile(/tmp/multipartBody6347318713752975648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344633217,"filename":"image_31012025_13_04_54_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aeff27757cf529cfd5f7649b83c9f587.jpg","text":"TemporaryFile(/tmp/multipartBody8803297287670969817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344633217,"filename":"image_31012025_13_04_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/1/31/4cd34c532f45d3d948e731710f047c2a.jpg","text":"TemporaryFile(/tmp/multipartBody73536685158640433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344633217,"filename":"image_31012025_13_04_14_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333405324","file1":"1333405267","file0":"1333405264","file4":"1333405334","file5":"1333405338","file3":"1333405329"},"map_files_photo_id_array":[{"photo_id":"1333405338","filename":"file5"},{"photo_id":"1333405324","filename":"file2"},{"photo_id":"1333405334","filename":"file4"},{"photo_id":"1333405267","filename":"file1"},{"photo_id":"1333405264","filename":"file0"},{"photo_id":"1333405329","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333405324":["hashtag1","hashtag2"]},{"1333405338":["hashtag1","hashtag2"]},{"1333405329":["hashtag1","hashtag2"]},{"1333405334":["hashtag1","hashtag2"]},{"1333405264":["hashtag1","hashtag2"]},{"1333405267":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333405324, 1333405338, 1333405329, 1333405334, 1333405264, 1333405267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.0294086933136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:30:33.045894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/05/image_31012025_13_05_14_10347.jpg', '/home/pi/Desktop/images/31012025/13/05/image_31012025_13_05_25_10359.jpg', '/home/pi/Desktop/images/31012025/13/05/image_31012025_13_05_34_9330.jpg', '/home/pi/Desktop/images/31012025/13/05/image_31012025_13_05_44_10354.jpg', '/home/pi/Desktop/images/31012025/13/05/image_31012025_13_05_55_10338.jpg', '/home/pi/Desktop/images/31012025/13/05/image_31012025_13_06_04_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/05/image_31012025_13_05_14_10347.jpg
/home/pi/Desktop/images/31012025/13/05/image_31012025_13_05_25_10359.jpg
/home/pi/Desktop/images/31012025/13/05/image_31012025_13_05_34_9330.jpg
/home/pi/Desktop/images/31012025/13/05/image_31012025_13_05_44_10354.jpg
/home/pi/Desktop/images/31012025/13/05/image_31012025_13_05_55_10338.jpg
/home/pi/Desktop/images/31012025/13/05/image_31012025_13_06_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":["1333405609","1333405522","1333405773","1333405527","1333405700","1333405447"],"photo_ids_order":["1333405447","1333405522","1333405527","1333405609","1333405700","1333405773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3cdcbeee2d7ce1aff3d8b88a6ad09802.jpg","text":"TemporaryFile(/tmp/multipartBody1501534515117254515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344693583,"filename":"image_31012025_13_05_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/1/31/6785299db0196afefbaca34fe1d79577.jpg","text":"TemporaryFile(/tmp/multipartBody8515583297303163692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344693583,"filename":"image_31012025_13_05_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/1/31/4c22a2a110a8e71eaced8ba56352c76e.jpg","text":"TemporaryFile(/tmp/multipartBody1064912376155448235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344693583,"filename":"image_31012025_13_06_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/1/31/fe821953f4fc5d9a9d9578e45c84a46f.jpg","text":"TemporaryFile(/tmp/multipartBody4295622789044376604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344693583,"filename":"image_31012025_13_05_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/1/31/7c2c76e575c0484793bac6688778f35e.jpg","text":"TemporaryFile(/tmp/multipartBody8762339531461232398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344693583,"filename":"image_31012025_13_05_55_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9ed3c80363c8397dd9438caeab7f8be6.jpg","text":"TemporaryFile(/tmp/multipartBody5912927403992136864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344693583,"filename":"image_31012025_13_05_14_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333405527","file1":"1333405522","file0":"1333405447","file4":"1333405700","file5":"1333405773","file3":"1333405609"},"map_files_photo_id_array":[{"photo_id":"1333405773","filename":"file5"},{"photo_id":"1333405527","filename":"file2"},{"photo_id":"1333405700","filename":"file4"},{"photo_id":"1333405522","filename":"file1"},{"photo_id":"1333405447","filename":"file0"},{"photo_id":"1333405609","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333405609":["hashtag1","hashtag2"]},{"1333405522":["hashtag1","hashtag2"]},{"1333405773":["hashtag1","hashtag2"]},{"1333405527":["hashtag1","hashtag2"]},{"1333405700":["hashtag1","hashtag2"]},{"1333405447":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333405609, 1333405522, 1333405773, 1333405527, 1333405700, 1333405447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.64096641540527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:31:32.227415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/06/image_31012025_13_06_14_10352.jpg', '/home/pi/Desktop/images/31012025/13/06/image_31012025_13_06_25_10336.jpg', '/home/pi/Desktop/images/31012025/13/06/image_31012025_13_06_34_9326.jpg', '/home/pi/Desktop/images/31012025/13/06/image_31012025_13_06_44_10395.jpg', '/home/pi/Desktop/images/31012025/13/06/image_31012025_13_06_54_9509.jpg', '/home/pi/Desktop/images/31012025/13/06/image_31012025_13_07_04_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/06/image_31012025_13_06_14_10352.jpg
/home/pi/Desktop/images/31012025/13/06/image_31012025_13_06_25_10336.jpg
/home/pi/Desktop/images/31012025/13/06/image_31012025_13_06_34_9326.jpg
/home/pi/Desktop/images/31012025/13/06/image_31012025_13_06_44_10395.jpg
/home/pi/Desktop/images/31012025/13/06/image_31012025_13_06_54_9509.jpg
/home/pi/Desktop/images/31012025/13/06/image_31012025_13_07_04_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":["1333405886","1333405905","1333405913","1333405897","1333405879","1333405909"],"photo_ids_order":["1333405879","1333405886","1333405897","1333405905","1333405909","1333405913"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/48e2873cccd2367250444ee07bc31885.jpg","text":"TemporaryFile(/tmp/multipartBody7345948160174471017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344752767,"filename":"image_31012025_13_06_25_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/932884a9c3611a70c1472616ce28dc5e.jpg","text":"TemporaryFile(/tmp/multipartBody8216298000309817987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344752767,"filename":"image_31012025_13_06_44_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/80b3742a356db855f1ec9adc8f14574e.jpg","text":"TemporaryFile(/tmp/multipartBody3165100220521313970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344752767,"filename":"image_31012025_13_07_04_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4ac1bbc80415b4204f62ac39cc868950.jpg","text":"TemporaryFile(/tmp/multipartBody8666777229760861458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344752767,"filename":"image_31012025_13_06_34_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f14cd19068d70a8588c7cf6aaf30b664.jpg","text":"TemporaryFile(/tmp/multipartBody1858278515029017914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344752767,"filename":"image_31012025_13_06_14_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/29bacd65b21265e0690dda25b28528b8.jpg","text":"TemporaryFile(/tmp/multipartBody2843249633394096207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344752767,"filename":"image_31012025_13_06_54_9509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333405897","file1":"1333405886","file0":"1333405879","file4":"1333405909","file5":"1333405913","file3":"1333405905"},"map_files_photo_id_array":[{"photo_id":"1333405913","filename":"file5"},{"photo_id":"1333405897","filename":"file2"},{"photo_id":"1333405909","filename":"file4"},{"photo_id":"1333405886","filename":"file1"},{"photo_id":"1333405879","filename":"file0"},{"photo_id":"1333405905","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333405886":["hashtag1","hashtag2"]},{"1333405905":["hashtag1","hashtag2"]},{"1333405913":["hashtag1","hashtag2"]},{"1333405897":["hashtag1","hashtag2"]},{"1333405879":["hashtag1","hashtag2"]},{"1333405909":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333405886, 1333405905, 1333405913, 1333405897, 1333405879, 1333405909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.489145040512085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:32:32.450236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/07/image_31012025_13_07_15_10359.jpg', '/home/pi/Desktop/images/31012025/13/07/image_31012025_13_07_24_9350.jpg', '/home/pi/Desktop/images/31012025/13/07/image_31012025_13_07_34_10421.jpg', '/home/pi/Desktop/images/31012025/13/07/image_31012025_13_07_45_10389.jpg', '/home/pi/Desktop/images/31012025/13/07/image_31012025_13_07_54_9422.jpg', '/home/pi/Desktop/images/31012025/13/07/image_31012025_13_08_05_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/07/image_31012025_13_07_15_10359.jpg
/home/pi/Desktop/images/31012025/13/07/image_31012025_13_07_24_9350.jpg
/home/pi/Desktop/images/31012025/13/07/image_31012025_13_07_34_10421.jpg
/home/pi/Desktop/images/31012025/13/07/image_31012025_13_07_45_10389.jpg
/home/pi/Desktop/images/31012025/13/07/image_31012025_13_07_54_9422.jpg
/home/pi/Desktop/images/31012025/13/07/image_31012025_13_08_05_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":["1333405935","1333405929","1333405949","1333405925","1333405957","1333405939"],"photo_ids_order":["1333405925","1333405929","1333405935","1333405939","1333405949","1333405957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d6a93fbce79319f15bf5f5647ab004c2.jpg","text":"TemporaryFile(/tmp/multipartBody3448825975649771093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344813001,"filename":"image_31012025_13_07_34_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b33cddacddc5b04de245d87d3c1ebde2.jpg","text":"TemporaryFile(/tmp/multipartBody4549905325392716779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344813001,"filename":"image_31012025_13_07_24_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/76860ba7e9b5a3d3e749032cec2e4c84.jpg","text":"TemporaryFile(/tmp/multipartBody6383073370429658385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344813001,"filename":"image_31012025_13_07_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/1/31/23bc5a945109e9c53b83dc053e3eae4a.jpg","text":"TemporaryFile(/tmp/multipartBody880206853407601749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344813001,"filename":"image_31012025_13_07_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/1/31/919a054e777510bed0919958f22d8a95.jpg","text":"TemporaryFile(/tmp/multipartBody3748929827690183088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344813001,"filename":"image_31012025_13_08_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/1/31/817a706001b2a0b7f133ea6b60312aa4.jpg","text":"TemporaryFile(/tmp/multipartBody7104801280081238091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344813001,"filename":"image_31012025_13_07_45_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333405935","file1":"1333405929","file0":"1333405925","file4":"1333405949","file5":"1333405957","file3":"1333405939"},"map_files_photo_id_array":[{"photo_id":"1333405957","filename":"file5"},{"photo_id":"1333405935","filename":"file2"},{"photo_id":"1333405949","filename":"file4"},{"photo_id":"1333405929","filename":"file1"},{"photo_id":"1333405925","filename":"file0"},{"photo_id":"1333405939","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333405935":["hashtag1","hashtag2"]},{"1333405929":["hashtag1","hashtag2"]},{"1333405949":["hashtag1","hashtag2"]},{"1333405925":["hashtag1","hashtag2"]},{"1333405957":["hashtag1","hashtag2"]},{"1333405939":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333405935, 1333405929, 1333405949, 1333405925, 1333405957, 1333405939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.861445903778076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:33:32.701880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/08/image_31012025_13_08_14_9340.jpg', '/home/pi/Desktop/images/31012025/13/08/image_31012025_13_08_24_10400.jpg', '/home/pi/Desktop/images/31012025/13/08/image_31012025_13_08_35_10322.jpg', '/home/pi/Desktop/images/31012025/13/08/image_31012025_13_08_44_9325.jpg', '/home/pi/Desktop/images/31012025/13/08/image_31012025_13_08_54_10340.jpg', '/home/pi/Desktop/images/31012025/13/08/image_31012025_13_09_05_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/08/image_31012025_13_08_14_9340.jpg
/home/pi/Desktop/images/31012025/13/08/image_31012025_13_08_24_10400.jpg
/home/pi/Desktop/images/31012025/13/08/image_31012025_13_08_35_10322.jpg
/home/pi/Desktop/images/31012025/13/08/image_31012025_13_08_44_9325.jpg
/home/pi/Desktop/images/31012025/13/08/image_31012025_13_08_54_10340.jpg
/home/pi/Desktop/images/31012025/13/08/image_31012025_13_09_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":["1333406142","1333406138","1333406006","1333406207","1333406290","1333406134"],"photo_ids_order":["1333406006","1333406134","1333406138","1333406142","1333406207","1333406290"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2abf18ae0e3cea8b182baf8f981828b2.jpg","text":"TemporaryFile(/tmp/multipartBody4375480141542150439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344873234,"filename":"image_31012025_13_08_44_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0dcb87636fcd874a917055df5a9bf78d.jpg","text":"TemporaryFile(/tmp/multipartBody2410869302844208476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344873234,"filename":"image_31012025_13_08_35_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d95576f5a367c2857d3b17ca273aee28.jpg","text":"TemporaryFile(/tmp/multipartBody734230058300078965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344873234,"filename":"image_31012025_13_08_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/1/31/31f938251790e3b1895b5907add9a7ef.jpg","text":"TemporaryFile(/tmp/multipartBody4491774268253103845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344873234,"filename":"image_31012025_13_08_54_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/78b1746e52c69504cdf644f5c231a5b4.jpg","text":"TemporaryFile(/tmp/multipartBody8019309461898822474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344873234,"filename":"image_31012025_13_09_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/1/31/4d8ef581a8854f30195036966853aa60.jpg","text":"TemporaryFile(/tmp/multipartBody8114912268752564490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344873234,"filename":"image_31012025_13_08_24_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333406138","file1":"1333406134","file0":"1333406006","file4":"1333406207","file5":"1333406290","file3":"1333406142"},"map_files_photo_id_array":[{"photo_id":"1333406290","filename":"file5"},{"photo_id":"1333406138","filename":"file2"},{"photo_id":"1333406207","filename":"file4"},{"photo_id":"1333406134","filename":"file1"},{"photo_id":"1333406006","filename":"file0"},{"photo_id":"1333406142","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333406142":["hashtag1","hashtag2"]},{"1333406138":["hashtag1","hashtag2"]},{"1333406006":["hashtag1","hashtag2"]},{"1333406207":["hashtag1","hashtag2"]},{"1333406290":["hashtag1","hashtag2"]},{"1333406134":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333406142, 1333406138, 1333406006, 1333406207, 1333406290, 1333406134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13056659698486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:34:32.844792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/09/image_31012025_13_09_14_9348.jpg', '/home/pi/Desktop/images/31012025/13/09/image_31012025_13_09_24_10327.jpg', '/home/pi/Desktop/images/31012025/13/09/image_31012025_13_09_35_10254.jpg', '/home/pi/Desktop/images/31012025/13/09/image_31012025_13_09_44_9455.jpg', '/home/pi/Desktop/images/31012025/13/09/image_31012025_13_09_54_10356.jpg', '/home/pi/Desktop/images/31012025/13/09/image_31012025_13_10_04_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/09/image_31012025_13_09_14_9348.jpg
/home/pi/Desktop/images/31012025/13/09/image_31012025_13_09_24_10327.jpg
/home/pi/Desktop/images/31012025/13/09/image_31012025_13_09_35_10254.jpg
/home/pi/Desktop/images/31012025/13/09/image_31012025_13_09_44_9455.jpg
/home/pi/Desktop/images/31012025/13/09/image_31012025_13_09_54_10356.jpg
/home/pi/Desktop/images/31012025/13/09/image_31012025_13_10_04_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":["1333406523","1333406519","1333406510","1333406530","1333406533","1333406527"],"photo_ids_order":["1333406510","1333406519","1333406523","1333406527","1333406530","1333406533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ab26299a5434c4aa6b47594c672f8b8d.jpg","text":"TemporaryFile(/tmp/multipartBody7600237680688443541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344933390,"filename":"image_31012025_13_09_35_10254.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f1f0e567e560f2a4c725610283bb0ed4.jpg","text":"TemporaryFile(/tmp/multipartBody3516300577447911658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344933390,"filename":"image_31012025_13_09_24_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/551f26f009b037acba29e3574f52d622.jpg","text":"TemporaryFile(/tmp/multipartBody7134361838601183071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344933390,"filename":"image_31012025_13_09_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/1/31/e4bc5a54a160fce6464377dc908164b1.jpg","text":"TemporaryFile(/tmp/multipartBody6115139975431852537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344933390,"filename":"image_31012025_13_09_54_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/56052d096f7bfb5fcdba17583ac9c713.jpg","text":"TemporaryFile(/tmp/multipartBody8186152948097109064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344933390,"filename":"image_31012025_13_10_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/1/31/169089ddd4b70a1d506c95480a96059a.jpg","text":"TemporaryFile(/tmp/multipartBody6242004383534034077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344933390,"filename":"image_31012025_13_09_44_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333406523","file1":"1333406519","file0":"1333406510","file4":"1333406530","file5":"1333406533","file3":"1333406527"},"map_files_photo_id_array":[{"photo_id":"1333406533","filename":"file5"},{"photo_id":"1333406523","filename":"file2"},{"photo_id":"1333406530","filename":"file4"},{"photo_id":"1333406519","filename":"file1"},{"photo_id":"1333406510","filename":"file0"},{"photo_id":"1333406527","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333406523":["hashtag1","hashtag2"]},{"1333406519":["hashtag1","hashtag2"]},{"1333406510":["hashtag1","hashtag2"]},{"1333406530":["hashtag1","hashtag2"]},{"1333406533":["hashtag1","hashtag2"]},{"1333406527":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333406523, 1333406519, 1333406510, 1333406530, 1333406533, 1333406527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00312399864197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:35:33.219369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/10/image_31012025_13_10_14_10360.jpg', '/home/pi/Desktop/images/31012025/13/10/image_31012025_13_10_24_10356.jpg', '/home/pi/Desktop/images/31012025/13/10/image_31012025_13_10_44_10360.jpg', '/home/pi/Desktop/images/31012025/13/10/image_31012025_13_10_55_10348.jpg', '/home/pi/Desktop/images/31012025/13/10/image_31012025_13_11_04_9314.jpg', '/home/pi/Desktop/images/31012025/13/11/image_31012025_13_11_14_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/10/image_31012025_13_10_14_10360.jpg
/home/pi/Desktop/images/31012025/13/10/image_31012025_13_10_24_10356.jpg
/home/pi/Desktop/images/31012025/13/10/image_31012025_13_10_44_10360.jpg
/home/pi/Desktop/images/31012025/13/10/image_31012025_13_10_55_10348.jpg
/home/pi/Desktop/images/31012025/13/10/image_31012025_13_11_04_9314.jpg
/home/pi/Desktop/images/31012025/13/11/image_31012025_13_11_14_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":["1333406642","1333406705","1333406596","1333406702","1333406661","1333406679"],"photo_ids_order":["1333406596","1333406642","1333406661","1333406679","1333406702","1333406705"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/59550cd135e2a73debf0bcdcab83e93c.jpg","text":"TemporaryFile(/tmp/multipartBody4291651088048607461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344993759,"filename":"image_31012025_13_10_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/1/31/aad0762f9ac68496cd15b36f1d9deabe.jpg","text":"TemporaryFile(/tmp/multipartBody7723079473125740671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344993759,"filename":"image_31012025_13_11_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/1/31/30e92b04ecb343d933da97fbdb77cd9e.jpg","text":"TemporaryFile(/tmp/multipartBody8697554672209691350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344993759,"filename":"image_31012025_13_10_14_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/22951040c808fcecdf8079ba8da5c00b.jpg","text":"TemporaryFile(/tmp/multipartBody7182264477836717224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344993759,"filename":"image_31012025_13_11_04_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5dae20483adece865001ddc5ff175421.jpg","text":"TemporaryFile(/tmp/multipartBody5836916020366892711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344993759,"filename":"image_31012025_13_10_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/1/31/af11f6615780f93facc4cb4b2f14994e.jpg","text":"TemporaryFile(/tmp/multipartBody7256118140299934713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738344993759,"filename":"image_31012025_13_10_55_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333406661","file1":"1333406642","file0":"1333406596","file4":"1333406702","file5":"1333406705","file3":"1333406679"},"map_files_photo_id_array":[{"photo_id":"1333406705","filename":"file5"},{"photo_id":"1333406661","filename":"file2"},{"photo_id":"1333406702","filename":"file4"},{"photo_id":"1333406642","filename":"file1"},{"photo_id":"1333406596","filename":"file0"},{"photo_id":"1333406679","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333406642":["hashtag1","hashtag2"]},{"1333406705":["hashtag1","hashtag2"]},{"1333406596":["hashtag1","hashtag2"]},{"1333406702":["hashtag1","hashtag2"]},{"1333406661":["hashtag1","hashtag2"]},{"1333406679":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333406642, 1333406705, 1333406596, 1333406702, 1333406661, 1333406679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55929207801819 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:36:32.501381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/11/image_31012025_13_11_24_9493.jpg', '/home/pi/Desktop/images/31012025/13/11/image_31012025_13_11_34_10355.jpg', '/home/pi/Desktop/images/31012025/13/11/image_31012025_13_11_44_10337.jpg', '/home/pi/Desktop/images/31012025/13/11/image_31012025_13_11_54_9440.jpg', '/home/pi/Desktop/images/31012025/13/11/image_31012025_13_12_04_10345.jpg', '/home/pi/Desktop/images/31012025/13/12/image_31012025_13_12_15_10488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/11/image_31012025_13_11_24_9493.jpg
/home/pi/Desktop/images/31012025/13/11/image_31012025_13_11_34_10355.jpg
/home/pi/Desktop/images/31012025/13/11/image_31012025_13_11_44_10337.jpg
/home/pi/Desktop/images/31012025/13/11/image_31012025_13_11_54_9440.jpg
/home/pi/Desktop/images/31012025/13/11/image_31012025_13_12_04_10345.jpg
/home/pi/Desktop/images/31012025/13/12/image_31012025_13_12_15_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":["1333406733","1333406741","1333406717","1333406728","1333406737","1333406722"],"photo_ids_order":["1333406717","1333406722","1333406728","1333406733","1333406737","1333406741"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3996f1ba83d3529e2ae48fff71fc03bf.jpg","text":"TemporaryFile(/tmp/multipartBody3381130562094163107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345053063,"filename":"image_31012025_13_11_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/1/31/944b67eca8a9ccd95a941e742d482010.jpg","text":"TemporaryFile(/tmp/multipartBody8127689592010700357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345053063,"filename":"image_31012025_13_12_15_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/deff050a585fc9393a3bc1a38e4eb454.jpg","text":"TemporaryFile(/tmp/multipartBody9100430766901463822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345053063,"filename":"image_31012025_13_11_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/1/31/3d63152d188107a7cb5c857777155531.jpg","text":"TemporaryFile(/tmp/multipartBody458115028541188334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345053063,"filename":"image_31012025_13_11_44_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c16e87be1cf3a30fcbd023fe147ce42c.jpg","text":"TemporaryFile(/tmp/multipartBody2816965071027650947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345053063,"filename":"image_31012025_13_12_04_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d20592fc8ef07fcb0ed03a89fb508d01.jpg","text":"TemporaryFile(/tmp/multipartBody9043813790796338293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345053063,"filename":"image_31012025_13_11_34_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333406728","file1":"1333406722","file0":"1333406717","file4":"1333406737","file5":"1333406741","file3":"1333406733"},"map_files_photo_id_array":[{"photo_id":"1333406741","filename":"file5"},{"photo_id":"1333406728","filename":"file2"},{"photo_id":"1333406737","filename":"file4"},{"photo_id":"1333406722","filename":"file1"},{"photo_id":"1333406717","filename":"file0"},{"photo_id":"1333406733","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333406733":["hashtag1","hashtag2"]},{"1333406741":["hashtag1","hashtag2"]},{"1333406717":["hashtag1","hashtag2"]},{"1333406728":["hashtag1","hashtag2"]},{"1333406737":["hashtag1","hashtag2"]},{"1333406722":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333406733, 1333406741, 1333406717, 1333406728, 1333406737, 1333406722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.180357694625854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:37:32.708357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/12/image_31012025_13_12_24_9332.jpg', '/home/pi/Desktop/images/31012025/13/12/image_31012025_13_12_34_10337.jpg', '/home/pi/Desktop/images/31012025/13/12/image_31012025_13_12_45_10336.jpg', '/home/pi/Desktop/images/31012025/13/12/image_31012025_13_12_54_9340.jpg', '/home/pi/Desktop/images/31012025/13/12/image_31012025_13_13_05_10428.jpg', '/home/pi/Desktop/images/31012025/13/13/image_31012025_13_13_14_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/12/image_31012025_13_12_24_9332.jpg
/home/pi/Desktop/images/31012025/13/12/image_31012025_13_12_34_10337.jpg
/home/pi/Desktop/images/31012025/13/12/image_31012025_13_12_45_10336.jpg
/home/pi/Desktop/images/31012025/13/12/image_31012025_13_12_54_9340.jpg
/home/pi/Desktop/images/31012025/13/12/image_31012025_13_13_05_10428.jpg
/home/pi/Desktop/images/31012025/13/13/image_31012025_13_13_14_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":["1333406771","1333406768","1333406764","1333406761","1333406775","1333406757"],"photo_ids_order":["1333406757","1333406761","1333406764","1333406768","1333406771","1333406775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f208522bc8c9be09c6a96141ce6238e8.jpg","text":"TemporaryFile(/tmp/multipartBody4838729982321676376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345113296,"filename":"image_31012025_13_13_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/1/31/dd70c9bf1d535470c3bc169c6cefa843.jpg","text":"TemporaryFile(/tmp/multipartBody6597160679774119794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345113296,"filename":"image_31012025_13_12_54_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c64a3d592d4574227389a1e1ca170f05.jpg","text":"TemporaryFile(/tmp/multipartBody4576189017670754612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345113296,"filename":"image_31012025_13_12_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6c30cfb847439876d2583fa4540ca9a8.jpg","text":"TemporaryFile(/tmp/multipartBody8294723520004363515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345113296,"filename":"image_31012025_13_12_34_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/950ed9397ca7def81f452d8400d16594.jpg","text":"TemporaryFile(/tmp/multipartBody8742118440841307943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345113296,"filename":"image_31012025_13_13_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/1/31/76bc3633fdec60adf07c999d638aef39.jpg","text":"TemporaryFile(/tmp/multipartBody6539783369790278782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345113296,"filename":"image_31012025_13_12_24_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333406764","file1":"1333406761","file0":"1333406757","file4":"1333406771","file5":"1333406775","file3":"1333406768"},"map_files_photo_id_array":[{"photo_id":"1333406775","filename":"file5"},{"photo_id":"1333406764","filename":"file2"},{"photo_id":"1333406771","filename":"file4"},{"photo_id":"1333406761","filename":"file1"},{"photo_id":"1333406757","filename":"file0"},{"photo_id":"1333406768","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333406771":["hashtag1","hashtag2"]},{"1333406768":["hashtag1","hashtag2"]},{"1333406764":["hashtag1","hashtag2"]},{"1333406761":["hashtag1","hashtag2"]},{"1333406775":["hashtag1","hashtag2"]},{"1333406757":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333406771, 1333406768, 1333406764, 1333406761, 1333406775, 1333406757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.244670867919922 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:38:32.972945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/13/image_31012025_13_13_24_10364.jpg', '/home/pi/Desktop/images/31012025/13/13/image_31012025_13_13_35_10492.jpg', '/home/pi/Desktop/images/31012025/13/13/image_31012025_13_13_44_9321.jpg', '/home/pi/Desktop/images/31012025/13/14/image_31012025_13_14_44_10346.jpg', '/home/pi/Desktop/images/31012025/13/14/image_31012025_13_14_55_10370.jpg', '/home/pi/Desktop/images/31012025/13/14/image_31012025_13_15_04_9324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/13/image_31012025_13_13_24_10364.jpg
/home/pi/Desktop/images/31012025/13/13/image_31012025_13_13_35_10492.jpg
/home/pi/Desktop/images/31012025/13/13/image_31012025_13_13_44_9321.jpg
/home/pi/Desktop/images/31012025/13/14/image_31012025_13_14_44_10346.jpg
/home/pi/Desktop/images/31012025/13/14/image_31012025_13_14_55_10370.jpg
/home/pi/Desktop/images/31012025/13/14/image_31012025_13_15_04_9324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333406811","1333406808","1333406802","1333406792","1333406797","1333406812"],"photo_ids_order":["1333406792","1333406797","1333406802","1333406808","1333406811","1333406812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e8e8ae12557453aa123ef5b590626dd0.jpg","text":"TemporaryFile(/tmp/multipartBody6393983889671580684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345173499,"filename":"image_31012025_13_14_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/1/31/6dd647796007d2d997ebc3ef36b3aadd.jpg","text":"TemporaryFile(/tmp/multipartBody3487626438988870638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345173499,"filename":"image_31012025_13_14_44_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/06b8c273f478754a7254a5431e25cb92.jpg","text":"TemporaryFile(/tmp/multipartBody5579877219309141577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345173499,"filename":"image_31012025_13_13_44_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9cae58946ca795c67d8c7b3be3b71596.jpg","text":"TemporaryFile(/tmp/multipartBody2970260571613463157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345173499,"filename":"image_31012025_13_13_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/1/31/4a099586e309ed44c3b2c626351e32fa.jpg","text":"TemporaryFile(/tmp/multipartBody1956841438043144137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345173499,"filename":"image_31012025_13_13_35_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/68d075748a37ffd53d4a38a09c858386.jpg","text":"TemporaryFile(/tmp/multipartBody2717150872421007160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345173499,"filename":"image_31012025_13_15_04_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333406802","file1":"1333406797","file0":"1333406792","file4":"1333406811","file5":"1333406812","file3":"1333406808"},"map_files_photo_id_array":[{"photo_id":"1333406812","filename":"file5"},{"photo_id":"1333406802","filename":"file2"},{"photo_id":"1333406811","filename":"file4"},{"photo_id":"1333406797","filename":"file1"},{"photo_id":"1333406792","filename":"file0"},{"photo_id":"1333406808","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333406811":["hashtag1","hashtag2"]},{"1333406808":["hashtag1","hashtag2"]},{"1333406802":["hashtag1","hashtag2"]},{"1333406792":["hashtag1","hashtag2"]},{"1333406797":["hashtag1","hashtag2"]},{"1333406812":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333406811, 1333406808, 1333406802, 1333406792, 1333406797, 1333406812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83601784706116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:39:33.154482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/15/image_31012025_13_15_14_10371.jpg', '/home/pi/Desktop/images/31012025/13/15/image_31012025_13_15_24_9442.jpg', '/home/pi/Desktop/images/31012025/13/15/image_31012025_13_15_34_10393.jpg', '/home/pi/Desktop/images/31012025/13/15/image_31012025_13_15_45_10393.jpg', '/home/pi/Desktop/images/31012025/13/15/image_31012025_13_15_54_9368.jpg', '/home/pi/Desktop/images/31012025/13/15/image_31012025_13_16_04_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/15/image_31012025_13_15_14_10371.jpg
/home/pi/Desktop/images/31012025/13/15/image_31012025_13_15_24_9442.jpg
/home/pi/Desktop/images/31012025/13/15/image_31012025_13_15_34_10393.jpg
/home/pi/Desktop/images/31012025/13/15/image_31012025_13_15_45_10393.jpg
/home/pi/Desktop/images/31012025/13/15/image_31012025_13_15_54_9368.jpg
/home/pi/Desktop/images/31012025/13/15/image_31012025_13_16_04_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":["1333406835","1333406837","1333406825","1333406830","1333406842","1333406821"],"photo_ids_order":["1333406821","1333406825","1333406830","1333406835","1333406837","1333406842"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d1fcec3de23333aff0b669092a2a5833.jpg","text":"TemporaryFile(/tmp/multipartBody6804089019048383839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345233702,"filename":"image_31012025_13_15_45_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2c01553566d16e4fa787c4a22e3e02d1.jpg","text":"TemporaryFile(/tmp/multipartBody2387104388573277432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345233702,"filename":"image_31012025_13_15_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/1/31/b8301d6ba9f37304de5512ef81c55ddc.jpg","text":"TemporaryFile(/tmp/multipartBody880099449502271828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345233702,"filename":"image_31012025_13_15_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/1/31/a16b1f26ca3742da3719cce286c0620d.jpg","text":"TemporaryFile(/tmp/multipartBody5637835246514611654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345233702,"filename":"image_31012025_13_15_34_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a631db77d37197142e7c7b74b59d93e6.jpg","text":"TemporaryFile(/tmp/multipartBody8065660761197247809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345233702,"filename":"image_31012025_13_16_04_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/de3993b96c1fed3d5a65a45ab6e0b2c5.jpg","text":"TemporaryFile(/tmp/multipartBody106185636967461232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345233702,"filename":"image_31012025_13_15_14_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333406830","file1":"1333406825","file0":"1333406821","file4":"1333406837","file5":"1333406842","file3":"1333406835"},"map_files_photo_id_array":[{"photo_id":"1333406842","filename":"file5"},{"photo_id":"1333406830","filename":"file2"},{"photo_id":"1333406837","filename":"file4"},{"photo_id":"1333406825","filename":"file1"},{"photo_id":"1333406821","filename":"file0"},{"photo_id":"1333406835","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333406835":["hashtag1","hashtag2"]},{"1333406837":["hashtag1","hashtag2"]},{"1333406825":["hashtag1","hashtag2"]},{"1333406830":["hashtag1","hashtag2"]},{"1333406842":["hashtag1","hashtag2"]},{"1333406821":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333406835, 1333406837, 1333406825, 1333406830, 1333406842, 1333406821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.101359128952026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:40:32.433880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/16/image_31012025_13_16_15_10351.jpg', '/home/pi/Desktop/images/31012025/13/16/image_31012025_13_16_24_9346.jpg', '/home/pi/Desktop/images/31012025/13/16/image_31012025_13_16_34_10328.jpg', '/home/pi/Desktop/images/31012025/13/16/image_31012025_13_16_44_9384.jpg', '/home/pi/Desktop/images/31012025/13/16/image_31012025_13_16_54_10377.jpg', '/home/pi/Desktop/images/31012025/13/17/image_31012025_13_17_24_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/16/image_31012025_13_16_15_10351.jpg
/home/pi/Desktop/images/31012025/13/16/image_31012025_13_16_24_9346.jpg
/home/pi/Desktop/images/31012025/13/16/image_31012025_13_16_34_10328.jpg
/home/pi/Desktop/images/31012025/13/16/image_31012025_13_16_44_9384.jpg
/home/pi/Desktop/images/31012025/13/16/image_31012025_13_16_54_10377.jpg
/home/pi/Desktop/images/31012025/13/17/image_31012025_13_17_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":["1333406871","1333406918","1333406863","1333406868","1333406883","1333406877"],"photo_ids_order":["1333406863","1333406868","1333406871","1333406877","1333406883","1333406918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e4651d59fc186365812694032b5250ad.jpg","text":"TemporaryFile(/tmp/multipartBody4415565828575536186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345292997,"filename":"image_31012025_13_16_34_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/74f15526833a33f47fb28bab25b6a1d0.jpg","text":"TemporaryFile(/tmp/multipartBody1493114763263546399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345292997,"filename":"image_31012025_13_17_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/1/31/e02c96502d6238355c33a9214809b5e4.jpg","text":"TemporaryFile(/tmp/multipartBody2493134375557402725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345292997,"filename":"image_31012025_13_16_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/1/31/3bbd2ebaef110224a1d33ba4f0c37241.jpg","text":"TemporaryFile(/tmp/multipartBody5219352181837918743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345292997,"filename":"image_31012025_13_16_24_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/066a496d87139458d62e60c21810dd37.jpg","text":"TemporaryFile(/tmp/multipartBody1303938486312316168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345292997,"filename":"image_31012025_13_16_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/1/31/5fe2e203e09ef63e2ed42bb9ab01d5d8.jpg","text":"TemporaryFile(/tmp/multipartBody5232117604450241941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345292997,"filename":"image_31012025_13_16_44_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333406871","file1":"1333406868","file0":"1333406863","file4":"1333406883","file5":"1333406918","file3":"1333406877"},"map_files_photo_id_array":[{"photo_id":"1333406918","filename":"file5"},{"photo_id":"1333406871","filename":"file2"},{"photo_id":"1333406883","filename":"file4"},{"photo_id":"1333406868","filename":"file1"},{"photo_id":"1333406863","filename":"file0"},{"photo_id":"1333406877","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333406871":["hashtag1","hashtag2"]},{"1333406918":["hashtag1","hashtag2"]},{"1333406863":["hashtag1","hashtag2"]},{"1333406868":["hashtag1","hashtag2"]},{"1333406883":["hashtag1","hashtag2"]},{"1333406877":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333406871, 1333406918, 1333406863, 1333406868, 1333406883, 1333406877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69617414474487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:41:32.783931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/17/image_31012025_13_17_35_10355.jpg', '/home/pi/Desktop/images/31012025/13/17/image_31012025_13_17_54_10360.jpg', '/home/pi/Desktop/images/31012025/13/17/image_31012025_13_18_05_10390.jpg', '/home/pi/Desktop/images/31012025/13/18/image_31012025_13_18_14_9352.jpg', '/home/pi/Desktop/images/31012025/13/18/image_31012025_13_18_25_10400.jpg', '/home/pi/Desktop/images/31012025/13/18/image_31012025_13_18_34_9390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/17/image_31012025_13_17_35_10355.jpg
/home/pi/Desktop/images/31012025/13/17/image_31012025_13_17_54_10360.jpg
/home/pi/Desktop/images/31012025/13/17/image_31012025_13_18_05_10390.jpg
/home/pi/Desktop/images/31012025/13/18/image_31012025_13_18_14_9352.jpg
/home/pi/Desktop/images/31012025/13/18/image_31012025_13_18_25_10400.jpg
/home/pi/Desktop/images/31012025/13/18/image_31012025_13_18_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":["1333408016","1333407836","1333407760","1333407670","1333408083","1333407945"],"photo_ids_order":["1333407670","1333407760","1333407836","1333407945","1333408016","1333408083"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9c2e1d44518488abcd6c0a44dd1473a1.jpg","text":"TemporaryFile(/tmp/multipartBody8218509968130049817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345353324,"filename":"image_31012025_13_18_25_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2d355ec24c106e65d7dc64acac62f046.jpg","text":"TemporaryFile(/tmp/multipartBody3403371647601519076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345353324,"filename":"image_31012025_13_18_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/1/31/fa54af83456e50d90ec4e918dd11160c.jpg","text":"TemporaryFile(/tmp/multipartBody6957367058903761575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345353324,"filename":"image_31012025_13_17_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/1/31/870c00717288f7a7978896049b92d856.jpg","text":"TemporaryFile(/tmp/multipartBody4058195217515690759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345353324,"filename":"image_31012025_13_17_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/1/31/5b7cad6d30dda960b77ff8aa6c21069e.jpg","text":"TemporaryFile(/tmp/multipartBody282921970228822969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345353324,"filename":"image_31012025_13_18_34_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/77936178898ff745c79078331e8907d4.jpg","text":"TemporaryFile(/tmp/multipartBody2943203429699382745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345353324,"filename":"image_31012025_13_18_14_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333407836","file1":"1333407760","file0":"1333407670","file4":"1333408016","file5":"1333408083","file3":"1333407945"},"map_files_photo_id_array":[{"photo_id":"1333408083","filename":"file5"},{"photo_id":"1333407836","filename":"file2"},{"photo_id":"1333408016","filename":"file4"},{"photo_id":"1333407760","filename":"file1"},{"photo_id":"1333407670","filename":"file0"},{"photo_id":"1333407945","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333408016":["hashtag1","hashtag2"]},{"1333407836":["hashtag1","hashtag2"]},{"1333407760":["hashtag1","hashtag2"]},{"1333407670":["hashtag1","hashtag2"]},{"1333408083":["hashtag1","hashtag2"]},{"1333407945":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333408016, 1333407836, 1333407760, 1333407670, 1333408083, 1333407945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.206220865249634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:42:32.903609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/19/image_31012025_13_19_34_10331.jpg', '/home/pi/Desktop/images/31012025/13/19/image_31012025_13_20_04_10346.jpg', '/home/pi/Desktop/images/31012025/13/20/image_31012025_13_20_24_9425.jpg', '/home/pi/Desktop/images/31012025/13/20/image_31012025_13_20_34_10343.jpg', '/home/pi/Desktop/images/31012025/13/20/image_31012025_13_20_54_10350.jpg', '/home/pi/Desktop/images/31012025/13/21/image_31012025_13_21_24_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/19/image_31012025_13_19_34_10331.jpg
/home/pi/Desktop/images/31012025/13/19/image_31012025_13_20_04_10346.jpg
/home/pi/Desktop/images/31012025/13/20/image_31012025_13_20_24_9425.jpg
/home/pi/Desktop/images/31012025/13/20/image_31012025_13_20_34_10343.jpg
/home/pi/Desktop/images/31012025/13/20/image_31012025_13_20_54_10350.jpg
/home/pi/Desktop/images/31012025/13/21/image_31012025_13_21_24_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":["1333409014","1333408867","1333408794","1333408932","1333408728","1333409087"],"photo_ids_order":["1333408728","1333408794","1333408867","1333408932","1333409014","1333409087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/386e43ff4c6263110c42432994e5a72f.jpg","text":"TemporaryFile(/tmp/multipartBody5498008806449461604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345413448,"filename":"image_31012025_13_20_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/1/31/f6f6accc60d4db14440b1a0d3f179be3.jpg","text":"TemporaryFile(/tmp/multipartBody204298085295094849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345413448,"filename":"image_31012025_13_20_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/1/31/d0d529156a290ecc7d17c0d5f594c015.jpg","text":"TemporaryFile(/tmp/multipartBody4096752470062865882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345413448,"filename":"image_31012025_13_20_04_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/12a095df390837b3e0b240fa8fc4cbb6.jpg","text":"TemporaryFile(/tmp/multipartBody6251478977151034930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345413448,"filename":"image_31012025_13_20_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/1/31/01d61db0225694b960b2aed102942802.jpg","text":"TemporaryFile(/tmp/multipartBody620609328738086635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345413448,"filename":"image_31012025_13_19_34_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/da67fd58f7b78dd8869c5d009238bae1.jpg","text":"TemporaryFile(/tmp/multipartBody8090302992024273400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345413448,"filename":"image_31012025_13_21_24_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333408867","file1":"1333408794","file0":"1333408728","file4":"1333409014","file5":"1333409087","file3":"1333408932"},"map_files_photo_id_array":[{"photo_id":"1333409087","filename":"file5"},{"photo_id":"1333408867","filename":"file2"},{"photo_id":"1333409014","filename":"file4"},{"photo_id":"1333408794","filename":"file1"},{"photo_id":"1333408728","filename":"file0"},{"photo_id":"1333408932","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333409014":["hashtag1","hashtag2"]},{"1333408867":["hashtag1","hashtag2"]},{"1333408794":["hashtag1","hashtag2"]},{"1333408932":["hashtag1","hashtag2"]},{"1333408728":["hashtag1","hashtag2"]},{"1333409087":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333409014, 1333408867, 1333408794, 1333408932, 1333408728, 1333409087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23833513259888 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:43:33.193234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/21/image_31012025_13_21_44_9347.jpg', '/home/pi/Desktop/images/31012025/13/21/image_31012025_13_21_54_10364.jpg', '/home/pi/Desktop/images/31012025/13/21/image_31012025_13_22_04_9353.jpg', '/home/pi/Desktop/images/31012025/13/22/image_31012025_13_22_14_10338.jpg', '/home/pi/Desktop/images/31012025/13/22/image_31012025_13_22_24_10348.jpg', '/home/pi/Desktop/images/31012025/13/22/image_31012025_13_22_34_9322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/21/image_31012025_13_21_44_9347.jpg
/home/pi/Desktop/images/31012025/13/21/image_31012025_13_21_54_10364.jpg
/home/pi/Desktop/images/31012025/13/21/image_31012025_13_22_04_9353.jpg
/home/pi/Desktop/images/31012025/13/22/image_31012025_13_22_14_10338.jpg
/home/pi/Desktop/images/31012025/13/22/image_31012025_13_22_24_10348.jpg
/home/pi/Desktop/images/31012025/13/22/image_31012025_13_22_34_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":["1333409971","1333409710","1333409841","1333409766","1333410021","1333409924"],"photo_ids_order":["1333409710","1333409766","1333409841","1333409924","1333409971","1333410021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/388875d00506e5fee4b0b8907addec0d.jpg","text":"TemporaryFile(/tmp/multipartBody626757892958372881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345473738,"filename":"image_31012025_13_22_24_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/14f978d32fe1f3c4cca8f18e8cb4f749.jpg","text":"TemporaryFile(/tmp/multipartBody3742470505033920388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345473738,"filename":"image_31012025_13_21_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/1/31/c1cf6fcb67bdb5125edce958706089eb.jpg","text":"TemporaryFile(/tmp/multipartBody6715702839021482393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345473738,"filename":"image_31012025_13_22_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/1/31/f52557dd2d52226f5d1cd3728d5934ac.jpg","text":"TemporaryFile(/tmp/multipartBody1616244003161991197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345473738,"filename":"image_31012025_13_21_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/1/31/9735ec3125497027474d986765a001d7.jpg","text":"TemporaryFile(/tmp/multipartBody3788445406671167180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345473738,"filename":"image_31012025_13_22_34_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8976cfdc45985358e51cfb400e6cc19e.jpg","text":"TemporaryFile(/tmp/multipartBody2275764962549993917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345473738,"filename":"image_31012025_13_22_14_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333409841","file1":"1333409766","file0":"1333409710","file4":"1333409971","file5":"1333410021","file3":"1333409924"},"map_files_photo_id_array":[{"photo_id":"1333410021","filename":"file5"},{"photo_id":"1333409841","filename":"file2"},{"photo_id":"1333409971","filename":"file4"},{"photo_id":"1333409766","filename":"file1"},{"photo_id":"1333409710","filename":"file0"},{"photo_id":"1333409924","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333409971":["hashtag1","hashtag2"]},{"1333409710":["hashtag1","hashtag2"]},{"1333409841":["hashtag1","hashtag2"]},{"1333409766":["hashtag1","hashtag2"]},{"1333410021":["hashtag1","hashtag2"]},{"1333409924":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333409971, 1333409710, 1333409841, 1333409766, 1333410021, 1333409924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.66777729988098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:44:32.280053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/22/image_31012025_13_22_44_10343.jpg', '/home/pi/Desktop/images/31012025/13/22/image_31012025_13_22_54_10338.jpg', '/home/pi/Desktop/images/31012025/13/23/image_31012025_13_23_14_10338.jpg', '/home/pi/Desktop/images/31012025/13/23/image_31012025_13_23_25_10363.jpg', '/home/pi/Desktop/images/31012025/13/23/image_31012025_13_23_34_9398.jpg', '/home/pi/Desktop/images/31012025/13/23/image_31012025_13_23_44_10321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/22/image_31012025_13_22_44_10343.jpg
/home/pi/Desktop/images/31012025/13/22/image_31012025_13_22_54_10338.jpg
/home/pi/Desktop/images/31012025/13/23/image_31012025_13_23_14_10338.jpg
/home/pi/Desktop/images/31012025/13/23/image_31012025_13_23_25_10363.jpg
/home/pi/Desktop/images/31012025/13/23/image_31012025_13_23_34_9398.jpg
/home/pi/Desktop/images/31012025/13/23/image_31012025_13_23_44_10321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333411066","1333411004","1333410719","1333410934","1333410850","1333410785"],"photo_ids_order":["1333410719","1333410785","1333410850","1333410934","1333411004","1333411066"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/24389e804fd3d4ebbbfefa240b1c21ae.jpg","text":"TemporaryFile(/tmp/multipartBody3079450757752424632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345532852,"filename":"image_31012025_13_23_44_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c70baf2807a408c23979d597f3d49bd0.jpg","text":"TemporaryFile(/tmp/multipartBody6134286063247604362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345532852,"filename":"image_31012025_13_23_34_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/06cb4479afbb5a5b730ac9e08e28c6c3.jpg","text":"TemporaryFile(/tmp/multipartBody1564890971428993916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345532852,"filename":"image_31012025_13_22_44_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d599e58f1512833713d3c8857826a208.jpg","text":"TemporaryFile(/tmp/multipartBody1842989539796540529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345532852,"filename":"image_31012025_13_23_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/1/31/0577f5a3a5bbf88a41ed718bffc34552.jpg","text":"TemporaryFile(/tmp/multipartBody6838430972426669297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345532852,"filename":"image_31012025_13_23_14_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/21be027d36af9bb91f65caf944a9534c.jpg","text":"TemporaryFile(/tmp/multipartBody2309254263930707485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345532852,"filename":"image_31012025_13_22_54_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333410850","file1":"1333410785","file0":"1333410719","file4":"1333411004","file5":"1333411066","file3":"1333410934"},"map_files_photo_id_array":[{"photo_id":"1333411066","filename":"file5"},{"photo_id":"1333410850","filename":"file2"},{"photo_id":"1333411004","filename":"file4"},{"photo_id":"1333410785","filename":"file1"},{"photo_id":"1333410719","filename":"file0"},{"photo_id":"1333410934","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333411066":["hashtag1","hashtag2"]},{"1333411004":["hashtag1","hashtag2"]},{"1333410719":["hashtag1","hashtag2"]},{"1333410934":["hashtag1","hashtag2"]},{"1333410850":["hashtag1","hashtag2"]},{"1333410785":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333411066, 1333411004, 1333410719, 1333410934, 1333410850, 1333410785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.48548126220703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:45:32.573760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/23/image_31012025_13_23_55_10408.jpg', '/home/pi/Desktop/images/31012025/13/23/image_31012025_13_24_04_9336.jpg', '/home/pi/Desktop/images/31012025/13/24/image_31012025_13_24_14_10335.jpg', '/home/pi/Desktop/images/31012025/13/24/image_31012025_13_24_25_10356.jpg', '/home/pi/Desktop/images/31012025/13/24/image_31012025_13_24_34_9445.jpg', '/home/pi/Desktop/images/31012025/13/24/image_31012025_13_24_45_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/23/image_31012025_13_23_55_10408.jpg
/home/pi/Desktop/images/31012025/13/23/image_31012025_13_24_04_9336.jpg
/home/pi/Desktop/images/31012025/13/24/image_31012025_13_24_14_10335.jpg
/home/pi/Desktop/images/31012025/13/24/image_31012025_13_24_25_10356.jpg
/home/pi/Desktop/images/31012025/13/24/image_31012025_13_24_34_9445.jpg
/home/pi/Desktop/images/31012025/13/24/image_31012025_13_24_45_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":["1333412076","1333412328","1333412325","1333412013","1333412213","1333411916"],"photo_ids_order":["1333411916","1333412013","1333412076","1333412213","1333412325","1333412328"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6853e2cb300abc7c2c9ac5ce17cb56b4.jpg","text":"TemporaryFile(/tmp/multipartBody3654836253134308187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345593133,"filename":"image_31012025_13_24_14_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/19be3f478bcefef53966a4af6e7f5172.jpg","text":"TemporaryFile(/tmp/multipartBody226667099905182924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345593133,"filename":"image_31012025_13_24_45_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9a6ad642f6e880ecd4367a8638a04ddd.jpg","text":"TemporaryFile(/tmp/multipartBody8397426222650366442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345593133,"filename":"image_31012025_13_24_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/1/31/fd3e73bd38ee811bb317a50983867070.jpg","text":"TemporaryFile(/tmp/multipartBody4819878207081908485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345593133,"filename":"image_31012025_13_24_04_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6cf3e841c76e8805a7a71f5afb71c86e.jpg","text":"TemporaryFile(/tmp/multipartBody7200836140136509499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345593133,"filename":"image_31012025_13_24_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ecae589ffff1e9e5f91d6dc0ccce0df0.jpg","text":"TemporaryFile(/tmp/multipartBody542214730316447522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345593133,"filename":"image_31012025_13_23_55_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333412076","file1":"1333412013","file0":"1333411916","file4":"1333412325","file5":"1333412328","file3":"1333412213"},"map_files_photo_id_array":[{"photo_id":"1333412328","filename":"file5"},{"photo_id":"1333412076","filename":"file2"},{"photo_id":"1333412325","filename":"file4"},{"photo_id":"1333412013","filename":"file1"},{"photo_id":"1333411916","filename":"file0"},{"photo_id":"1333412213","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333412076":["hashtag1","hashtag2"]},{"1333412328":["hashtag1","hashtag2"]},{"1333412325":["hashtag1","hashtag2"]},{"1333412013":["hashtag1","hashtag2"]},{"1333412213":["hashtag1","hashtag2"]},{"1333411916":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333412076, 1333412328, 1333412325, 1333412013, 1333412213, 1333411916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.87020778656006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:46:32.844979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/24/image_31012025_13_24_54_9344.jpg', '/home/pi/Desktop/images/31012025/13/24/image_31012025_13_25_04_10360.jpg', '/home/pi/Desktop/images/31012025/13/25/image_31012025_13_25_15_10507.jpg', '/home/pi/Desktop/images/31012025/13/25/image_31012025_13_25_24_9341.jpg', '/home/pi/Desktop/images/31012025/13/25/image_31012025_13_25_34_10326.jpg', '/home/pi/Desktop/images/31012025/13/25/image_31012025_13_25_45_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/24/image_31012025_13_24_54_9344.jpg
/home/pi/Desktop/images/31012025/13/24/image_31012025_13_25_04_10360.jpg
/home/pi/Desktop/images/31012025/13/25/image_31012025_13_25_15_10507.jpg
/home/pi/Desktop/images/31012025/13/25/image_31012025_13_25_24_9341.jpg
/home/pi/Desktop/images/31012025/13/25/image_31012025_13_25_34_10326.jpg
/home/pi/Desktop/images/31012025/13/25/image_31012025_13_25_45_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333412443","1333412503","1333412499","1333412508","1333412495","1333412510"],"photo_ids_order":["1333412443","1333412495","1333412499","1333412503","1333412508","1333412510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5df8708a0356752bcedb552095ff9e61.jpg","text":"TemporaryFile(/tmp/multipartBody5803270247343152189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345653383,"filename":"image_31012025_13_24_54_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6948ba1d37dea0787f204bdaceccafc5.jpg","text":"TemporaryFile(/tmp/multipartBody619808131840996644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345653383,"filename":"image_31012025_13_25_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/1/31/75e2a5c7264f3962da509d59f7e27157.jpg","text":"TemporaryFile(/tmp/multipartBody5825928683931993033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345653383,"filename":"image_31012025_13_25_15_10507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bf2d2bc7e310c7c0862a8f589761e99c.jpg","text":"TemporaryFile(/tmp/multipartBody4211915685425689153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345653383,"filename":"image_31012025_13_25_34_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/921ddeef0ee81b598f4cbf0344047066.jpg","text":"TemporaryFile(/tmp/multipartBody3171859519019485961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345653383,"filename":"image_31012025_13_25_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/1/31/14e3c62f6c9d57a9f4cb88fed8f6534d.jpg","text":"TemporaryFile(/tmp/multipartBody6580249257225697200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345653383,"filename":"image_31012025_13_25_45_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333412499","file1":"1333412495","file0":"1333412443","file4":"1333412508","file5":"1333412510","file3":"1333412503"},"map_files_photo_id_array":[{"photo_id":"1333412510","filename":"file5"},{"photo_id":"1333412499","filename":"file2"},{"photo_id":"1333412508","filename":"file4"},{"photo_id":"1333412495","filename":"file1"},{"photo_id":"1333412443","filename":"file0"},{"photo_id":"1333412503","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333412443":["hashtag1","hashtag2"]},{"1333412503":["hashtag1","hashtag2"]},{"1333412499":["hashtag1","hashtag2"]},{"1333412508":["hashtag1","hashtag2"]},{"1333412495":["hashtag1","hashtag2"]},{"1333412510":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333412443, 1333412503, 1333412499, 1333412508, 1333412495, 1333412510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.072702646255493 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:47:33.063175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/25/image_31012025_13_25_54_9346.jpg', '/home/pi/Desktop/images/31012025/13/25/image_31012025_13_26_04_10358.jpg', '/home/pi/Desktop/images/31012025/13/26/image_31012025_13_26_14_9325.jpg', '/home/pi/Desktop/images/31012025/13/26/image_31012025_13_26_24_10444.jpg', '/home/pi/Desktop/images/31012025/13/26/image_31012025_13_26_35_10349.jpg', '/home/pi/Desktop/images/31012025/13/26/image_31012025_13_26_44_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/25/image_31012025_13_25_54_9346.jpg
/home/pi/Desktop/images/31012025/13/25/image_31012025_13_26_04_10358.jpg
/home/pi/Desktop/images/31012025/13/26/image_31012025_13_26_14_9325.jpg
/home/pi/Desktop/images/31012025/13/26/image_31012025_13_26_24_10444.jpg
/home/pi/Desktop/images/31012025/13/26/image_31012025_13_26_35_10349.jpg
/home/pi/Desktop/images/31012025/13/26/image_31012025_13_26_44_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":["1333412946","1333412939","1333412861","1333412942","1333412890","1333412950"],"photo_ids_order":["1333412861","1333412890","1333412939","1333412942","1333412946","1333412950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3db9b8f1cc2efdcfea8953a5fb1c1ff2.jpg","text":"TemporaryFile(/tmp/multipartBody5144916992453240805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345713603,"filename":"image_31012025_13_26_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/1/31/cd43b2dae0fe2856fb3d1921173d42a3.jpg","text":"TemporaryFile(/tmp/multipartBody8213782888762309346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345713603,"filename":"image_31012025_13_26_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/1/31/2a80da211d212d9884d02912b4a080dc.jpg","text":"TemporaryFile(/tmp/multipartBody8912170924493708968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345713603,"filename":"image_31012025_13_25_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/1/31/4e35b1488a4f6da5b2b9bf04a573c4c1.jpg","text":"TemporaryFile(/tmp/multipartBody7119614250064240464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345713603,"filename":"image_31012025_13_26_24_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9f6aa881e5389e910bd1364a6539cbdc.jpg","text":"TemporaryFile(/tmp/multipartBody3635690174542983844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345713603,"filename":"image_31012025_13_26_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/1/31/3f541258252ef568797de7dbf187178e.jpg","text":"TemporaryFile(/tmp/multipartBody5720892150329198851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345713603,"filename":"image_31012025_13_26_44_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333412939","file1":"1333412890","file0":"1333412861","file4":"1333412946","file5":"1333412950","file3":"1333412942"},"map_files_photo_id_array":[{"photo_id":"1333412950","filename":"file5"},{"photo_id":"1333412939","filename":"file2"},{"photo_id":"1333412946","filename":"file4"},{"photo_id":"1333412890","filename":"file1"},{"photo_id":"1333412861","filename":"file0"},{"photo_id":"1333412942","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333412946":["hashtag1","hashtag2"]},{"1333412939":["hashtag1","hashtag2"]},{"1333412861":["hashtag1","hashtag2"]},{"1333412942":["hashtag1","hashtag2"]},{"1333412890":["hashtag1","hashtag2"]},{"1333412950":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333412946, 1333412939, 1333412861, 1333412942, 1333412890, 1333412950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.104248046875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:48:32.266897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/26/image_31012025_13_26_54_10344.jpg', '/home/pi/Desktop/images/31012025/13/26/image_31012025_13_27_05_10411.jpg', '/home/pi/Desktop/images/31012025/13/27/image_31012025_13_27_25_10454.jpg', '/home/pi/Desktop/images/31012025/13/27/image_31012025_13_27_34_9453.jpg', '/home/pi/Desktop/images/31012025/13/27/image_31012025_13_27_55_10185.jpg', '/home/pi/Desktop/images/31012025/13/28/image_31012025_13_28_25_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/26/image_31012025_13_26_54_10344.jpg
/home/pi/Desktop/images/31012025/13/26/image_31012025_13_27_05_10411.jpg
/home/pi/Desktop/images/31012025/13/27/image_31012025_13_27_25_10454.jpg
/home/pi/Desktop/images/31012025/13/27/image_31012025_13_27_34_9453.jpg
/home/pi/Desktop/images/31012025/13/27/image_31012025_13_27_55_10185.jpg
/home/pi/Desktop/images/31012025/13/28/image_31012025_13_28_25_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":["1333413141","1333413129","1333413138","1333413152","1333413146","1333413134"],"photo_ids_order":["1333413129","1333413134","1333413138","1333413141","1333413146","1333413152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/358344dfd307f3df0998bdbe0254de86.jpg","text":"TemporaryFile(/tmp/multipartBody8007776607140150038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345772811,"filename":"image_31012025_13_27_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/1/31/49fd9f2ce476d980b7bad0823f41e89d.jpg","text":"TemporaryFile(/tmp/multipartBody4054029526883800225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345772811,"filename":"image_31012025_13_26_54_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/18705ac3f775eb08d241ccb63dd187af.jpg","text":"TemporaryFile(/tmp/multipartBody925714041570368789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345772811,"filename":"image_31012025_13_27_25_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/53b655f90a1b229787f0f47813fdd7e1.jpg","text":"TemporaryFile(/tmp/multipartBody9061689329624137273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345772811,"filename":"image_31012025_13_28_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/1/31/5d0ed4884ec796dc412084b4b86df093.jpg","text":"TemporaryFile(/tmp/multipartBody1547759989015555536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345772811,"filename":"image_31012025_13_27_55_10185.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d8e1b87de650035f69f1e645b4bdd942.jpg","text":"TemporaryFile(/tmp/multipartBody4036256758163806586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345772811,"filename":"image_31012025_13_27_05_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333413138","file1":"1333413134","file0":"1333413129","file4":"1333413146","file5":"1333413152","file3":"1333413141"},"map_files_photo_id_array":[{"photo_id":"1333413152","filename":"file5"},{"photo_id":"1333413138","filename":"file2"},{"photo_id":"1333413146","filename":"file4"},{"photo_id":"1333413134","filename":"file1"},{"photo_id":"1333413129","filename":"file0"},{"photo_id":"1333413141","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333413141":["hashtag1","hashtag2"]},{"1333413129":["hashtag1","hashtag2"]},{"1333413138":["hashtag1","hashtag2"]},{"1333413152":["hashtag1","hashtag2"]},{"1333413146":["hashtag1","hashtag2"]},{"1333413134":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333413141, 1333413129, 1333413138, 1333413152, 1333413146, 1333413134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.630703687667847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:49:32.744028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/28/image_31012025_13_28_34_9395.jpg', '/home/pi/Desktop/images/31012025/13/28/image_31012025_13_28_44_10356.jpg', '/home/pi/Desktop/images/31012025/13/28/image_31012025_13_28_55_10409.jpg', '/home/pi/Desktop/images/31012025/13/28/image_31012025_13_29_04_9317.jpg', '/home/pi/Desktop/images/31012025/13/29/image_31012025_13_29_14_10377.jpg', '/home/pi/Desktop/images/31012025/13/29/image_31012025_13_29_24_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/28/image_31012025_13_28_34_9395.jpg
/home/pi/Desktop/images/31012025/13/28/image_31012025_13_28_44_10356.jpg
/home/pi/Desktop/images/31012025/13/28/image_31012025_13_28_55_10409.jpg
/home/pi/Desktop/images/31012025/13/28/image_31012025_13_29_04_9317.jpg
/home/pi/Desktop/images/31012025/13/29/image_31012025_13_29_14_10377.jpg
/home/pi/Desktop/images/31012025/13/29/image_31012025_13_29_24_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":["1333413729","1333413743","1333413752","1333413734","1333413737","1333413748"],"photo_ids_order":["1333413729","1333413734","1333413737","1333413743","1333413748","1333413752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5198b685162c85fc534ce42834840187.jpg","text":"TemporaryFile(/tmp/multipartBody1786130238143950748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345833293,"filename":"image_31012025_13_28_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/1/31/6f51899f79774ba0c179c1242c9c25c6.jpg","text":"TemporaryFile(/tmp/multipartBody6123616082968791939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345833293,"filename":"image_31012025_13_29_04_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d92022e9441c31605f9c2a8a81cf1091.jpg","text":"TemporaryFile(/tmp/multipartBody2755681957912044983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345833293,"filename":"image_31012025_13_29_24_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3bc6a868c38e332e62ea77a3b52dbdb7.jpg","text":"TemporaryFile(/tmp/multipartBody8697529137669612603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345833293,"filename":"image_31012025_13_28_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/1/31/6b7b240dc83372ca68d07ba08e0d034f.jpg","text":"TemporaryFile(/tmp/multipartBody3637694994146941587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345833293,"filename":"image_31012025_13_28_55_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9343c8e79db9c0a081bf5a97310e3a46.jpg","text":"TemporaryFile(/tmp/multipartBody5065775730774639884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345833293,"filename":"image_31012025_13_29_14_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333413737","file1":"1333413734","file0":"1333413729","file4":"1333413748","file5":"1333413752","file3":"1333413743"},"map_files_photo_id_array":[{"photo_id":"1333413752","filename":"file5"},{"photo_id":"1333413737","filename":"file2"},{"photo_id":"1333413748","filename":"file4"},{"photo_id":"1333413734","filename":"file1"},{"photo_id":"1333413729","filename":"file0"},{"photo_id":"1333413743","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333413729":["hashtag1","hashtag2"]},{"1333413743":["hashtag1","hashtag2"]},{"1333413752":["hashtag1","hashtag2"]},{"1333413734":["hashtag1","hashtag2"]},{"1333413737":["hashtag1","hashtag2"]},{"1333413748":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333413729, 1333413743, 1333413752, 1333413734, 1333413737, 1333413748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.17596936225891 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:50:32.713428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/29/image_31012025_13_29_34_10354.jpg', '/home/pi/Desktop/images/31012025/13/29/image_31012025_13_29_45_10366.jpg', '/home/pi/Desktop/images/31012025/13/29/image_31012025_13_29_54_9350.jpg', '/home/pi/Desktop/images/31012025/13/29/image_31012025_13_30_04_10375.jpg', '/home/pi/Desktop/images/31012025/13/30/image_31012025_13_30_15_10368.jpg', '/home/pi/Desktop/images/31012025/13/30/image_31012025_13_30_24_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/29/image_31012025_13_29_34_10354.jpg
/home/pi/Desktop/images/31012025/13/29/image_31012025_13_29_45_10366.jpg
/home/pi/Desktop/images/31012025/13/29/image_31012025_13_29_54_9350.jpg
/home/pi/Desktop/images/31012025/13/29/image_31012025_13_30_04_10375.jpg
/home/pi/Desktop/images/31012025/13/30/image_31012025_13_30_15_10368.jpg
/home/pi/Desktop/images/31012025/13/30/image_31012025_13_30_24_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: 0.4717552661895752 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 18:50:42.681487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/29/image_31012025_13_29_34_10354.jpg', '/home/pi/Desktop/images/31012025/13/29/image_31012025_13_29_45_10366.jpg', '/home/pi/Desktop/images/31012025/13/29/image_31012025_13_29_54_9350.jpg', '/home/pi/Desktop/images/31012025/13/29/image_31012025_13_30_04_10375.jpg', '/home/pi/Desktop/images/31012025/13/30/image_31012025_13_30_15_10368.jpg', '/home/pi/Desktop/images/31012025/13/30/image_31012025_13_30_24_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/29/image_31012025_13_29_34_10354.jpg
/home/pi/Desktop/images/31012025/13/29/image_31012025_13_29_45_10366.jpg
/home/pi/Desktop/images/31012025/13/29/image_31012025_13_29_54_9350.jpg
/home/pi/Desktop/images/31012025/13/29/image_31012025_13_30_04_10375.jpg
/home/pi/Desktop/images/31012025/13/30/image_31012025_13_30_15_10368.jpg
/home/pi/Desktop/images/31012025/13/30/image_31012025_13_30_24_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":["1333414047","1333413974","1333413813","1333414066","1333413894","1333414065"],"photo_ids_order":["1333413813","1333413894","1333413974","1333414047","1333414065","1333414066"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/59041a57523440d58e10c91722957a71.jpg","text":"TemporaryFile(/tmp/multipartBody495497766471640449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345903143,"filename":"image_31012025_13_30_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/1/31/e250b805ba37b253331a56ace51a5487.jpg","text":"TemporaryFile(/tmp/multipartBody7294272622774261411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345903143,"filename":"image_31012025_13_29_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/1/31/c1daa22b4886ae8475f82f6456f074ee.jpg","text":"TemporaryFile(/tmp/multipartBody8984473751944959054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345903143,"filename":"image_31012025_13_29_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/1/31/7456a86587ff87b948c7babd1332e721.jpg","text":"TemporaryFile(/tmp/multipartBody5892625649793616777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345903143,"filename":"image_31012025_13_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/1/31/80e3a1cd7b7f33310647dcb20b7dff61.jpg","text":"TemporaryFile(/tmp/multipartBody3933894552932312027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345903143,"filename":"image_31012025_13_29_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/1/31/23229027dfbdde39302dcc648e848950.jpg","text":"TemporaryFile(/tmp/multipartBody5438867746434938931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345903143,"filename":"image_31012025_13_30_15_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333413974","file1":"1333413894","file0":"1333413813","file4":"1333414065","file5":"1333414066","file3":"1333414047"},"map_files_photo_id_array":[{"photo_id":"1333414066","filename":"file5"},{"photo_id":"1333413974","filename":"file2"},{"photo_id":"1333414065","filename":"file4"},{"photo_id":"1333413894","filename":"file1"},{"photo_id":"1333413813","filename":"file0"},{"photo_id":"1333414047","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333414047":["hashtag1","hashtag2"]},{"1333413974":["hashtag1","hashtag2"]},{"1333413813":["hashtag1","hashtag2"]},{"1333414066":["hashtag1","hashtag2"]},{"1333413894":["hashtag1","hashtag2"]},{"1333414065":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333414047, 1333413974, 1333413813, 1333414066, 1333413894, 1333414065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.201301336288452 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:51:32.960307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/30/image_31012025_13_30_44_9428.jpg', '/home/pi/Desktop/images/31012025/13/30/image_31012025_13_30_54_10343.jpg', '/home/pi/Desktop/images/31012025/13/30/image_31012025_13_31_05_10353.jpg', '/home/pi/Desktop/images/31012025/13/31/image_31012025_13_31_14_9343.jpg', '/home/pi/Desktop/images/31012025/13/31/image_31012025_13_31_24_10340.jpg', '/home/pi/Desktop/images/31012025/13/31/image_31012025_13_31_44_9454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/30/image_31012025_13_30_44_9428.jpg
/home/pi/Desktop/images/31012025/13/30/image_31012025_13_30_54_10343.jpg
/home/pi/Desktop/images/31012025/13/30/image_31012025_13_31_05_10353.jpg
/home/pi/Desktop/images/31012025/13/31/image_31012025_13_31_14_9343.jpg
/home/pi/Desktop/images/31012025/13/31/image_31012025_13_31_24_10340.jpg
/home/pi/Desktop/images/31012025/13/31/image_31012025_13_31_44_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":["1333414251","1333414245","1333414181","1333414183","1333414267","1333414240"],"photo_ids_order":["1333414181","1333414183","1333414240","1333414245","1333414251","1333414267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3a8ddee5a009811362da75166187e510.jpg","text":"TemporaryFile(/tmp/multipartBody7668712361314289454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345953509,"filename":"image_31012025_13_31_24_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/14b5a8a840e468bf5982405cc25e8e85.jpg","text":"TemporaryFile(/tmp/multipartBody1223922771495562755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345953509,"filename":"image_31012025_13_31_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/1/31/97864ce882195c0afe4fc95358f3b584.jpg","text":"TemporaryFile(/tmp/multipartBody5319884200835121282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345953509,"filename":"image_31012025_13_30_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/1/31/18183e9b0886138c7661195b13291da5.jpg","text":"TemporaryFile(/tmp/multipartBody7878714461074359378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345953509,"filename":"image_31012025_13_30_54_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2c4f683804a10c5cf45f0ef281a6e256.jpg","text":"TemporaryFile(/tmp/multipartBody2494274023271070082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345953509,"filename":"image_31012025_13_31_44_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f259642562c34b8d29312b27c4fe64c6.jpg","text":"TemporaryFile(/tmp/multipartBody8218347940302373775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738345953509,"filename":"image_31012025_13_31_05_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333414240","file1":"1333414183","file0":"1333414181","file4":"1333414251","file5":"1333414267","file3":"1333414245"},"map_files_photo_id_array":[{"photo_id":"1333414267","filename":"file5"},{"photo_id":"1333414240","filename":"file2"},{"photo_id":"1333414251","filename":"file4"},{"photo_id":"1333414183","filename":"file1"},{"photo_id":"1333414181","filename":"file0"},{"photo_id":"1333414245","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333414251":["hashtag1","hashtag2"]},{"1333414245":["hashtag1","hashtag2"]},{"1333414181":["hashtag1","hashtag2"]},{"1333414183":["hashtag1","hashtag2"]},{"1333414267":["hashtag1","hashtag2"]},{"1333414240":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333414251, 1333414245, 1333414181, 1333414183, 1333414267, 1333414240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.313629388809204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:52:33.133683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/31/image_31012025_13_31_54_10342.jpg', '/home/pi/Desktop/images/31012025/13/31/image_31012025_13_32_04_9458.jpg', '/home/pi/Desktop/images/31012025/13/32/image_31012025_13_32_24_10351.jpg', '/home/pi/Desktop/images/31012025/13/32/image_31012025_13_32_34_9424.jpg', '/home/pi/Desktop/images/31012025/13/32/image_31012025_13_32_44_10336.jpg', '/home/pi/Desktop/images/31012025/13/32/image_31012025_13_33_04_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/31/image_31012025_13_31_54_10342.jpg
/home/pi/Desktop/images/31012025/13/31/image_31012025_13_32_04_9458.jpg
/home/pi/Desktop/images/31012025/13/32/image_31012025_13_32_24_10351.jpg
/home/pi/Desktop/images/31012025/13/32/image_31012025_13_32_34_9424.jpg
/home/pi/Desktop/images/31012025/13/32/image_31012025_13_32_44_10336.jpg
/home/pi/Desktop/images/31012025/13/32/image_31012025_13_33_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":["1333414359","1333414350","1333414363","1333414354","1333414371","1333414368"],"photo_ids_order":["1333414350","1333414354","1333414359","1333414363","1333414368","1333414371"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/271e9d9dd2673e103a2bf47d28ab4c65.jpg","text":"TemporaryFile(/tmp/multipartBody1120945792940601319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346013675,"filename":"image_31012025_13_32_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/1/31/06b9b66f1ceb953c29e73574aa1367f2.jpg","text":"TemporaryFile(/tmp/multipartBody7749301146793756081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346013675,"filename":"image_31012025_13_31_54_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cbc05f68d0e64c63540887621ec22fbe.jpg","text":"TemporaryFile(/tmp/multipartBody918842671510017557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346013675,"filename":"image_31012025_13_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/1/31/72bd77c0a2be92a86c8462bceabd0809.jpg","text":"TemporaryFile(/tmp/multipartBody5696931204600722575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346013675,"filename":"image_31012025_13_32_04_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4c07d9c1cd6d08c001109a1577d0d607.jpg","text":"TemporaryFile(/tmp/multipartBody8577276927341920585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346013675,"filename":"image_31012025_13_33_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/1/31/4739f2de4a5a211952fa9e608811d68b.jpg","text":"TemporaryFile(/tmp/multipartBody572224303901132617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346013675,"filename":"image_31012025_13_32_44_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333414359","file1":"1333414354","file0":"1333414350","file4":"1333414368","file5":"1333414371","file3":"1333414363"},"map_files_photo_id_array":[{"photo_id":"1333414371","filename":"file5"},{"photo_id":"1333414359","filename":"file2"},{"photo_id":"1333414368","filename":"file4"},{"photo_id":"1333414354","filename":"file1"},{"photo_id":"1333414350","filename":"file0"},{"photo_id":"1333414363","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333414359":["hashtag1","hashtag2"]},{"1333414350":["hashtag1","hashtag2"]},{"1333414363":["hashtag1","hashtag2"]},{"1333414354":["hashtag1","hashtag2"]},{"1333414371":["hashtag1","hashtag2"]},{"1333414368":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333414359, 1333414350, 1333414363, 1333414354, 1333414371, 1333414368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.629899501800537 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:53:32.269372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/33/image_31012025_13_33_14_10351.jpg', '/home/pi/Desktop/images/31012025/13/33/image_31012025_13_33_24_9460.jpg', '/home/pi/Desktop/images/31012025/13/33/image_31012025_13_33_34_10402.jpg', '/home/pi/Desktop/images/31012025/13/33/image_31012025_13_33_54_9355.jpg', '/home/pi/Desktop/images/31012025/13/33/image_31012025_13_34_04_10432.jpg', '/home/pi/Desktop/images/31012025/13/34/image_31012025_13_34_14_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/33/image_31012025_13_33_14_10351.jpg
/home/pi/Desktop/images/31012025/13/33/image_31012025_13_33_24_9460.jpg
/home/pi/Desktop/images/31012025/13/33/image_31012025_13_33_34_10402.jpg
/home/pi/Desktop/images/31012025/13/33/image_31012025_13_33_54_9355.jpg
/home/pi/Desktop/images/31012025/13/33/image_31012025_13_34_04_10432.jpg
/home/pi/Desktop/images/31012025/13/34/image_31012025_13_34_14_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":["1333414394","1333414407","1333414390","1333414411","1333414398","1333414402"],"photo_ids_order":["1333414390","1333414394","1333414398","1333414402","1333414407","1333414411"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/76d7cc0da0158321a029d961a1338f2f.jpg","text":"TemporaryFile(/tmp/multipartBody3334061859310555949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346072808,"filename":"image_31012025_13_33_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/1/31/e66b05fdbe2639d2ad78380af74fc917.jpg","text":"TemporaryFile(/tmp/multipartBody6170748823064004332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346072808,"filename":"image_31012025_13_34_04_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3bc6caec9319625c152d8c68d3d35bed.jpg","text":"TemporaryFile(/tmp/multipartBody8149615579478855459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346072808,"filename":"image_31012025_13_33_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/1/31/0100824edcda04298783db5f703ffe15.jpg","text":"TemporaryFile(/tmp/multipartBody132408376700419944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346072808,"filename":"image_31012025_13_34_14_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/775cd729cf00bd1cfdc3e4bc18d32088.jpg","text":"TemporaryFile(/tmp/multipartBody8068781556034033028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346072808,"filename":"image_31012025_13_33_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/1/31/3de787c62840a4e7bf6433a41b0f608d.jpg","text":"TemporaryFile(/tmp/multipartBody718434227852058208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346072808,"filename":"image_31012025_13_33_54_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333414398","file1":"1333414394","file0":"1333414390","file4":"1333414407","file5":"1333414411","file3":"1333414402"},"map_files_photo_id_array":[{"photo_id":"1333414411","filename":"file5"},{"photo_id":"1333414398","filename":"file2"},{"photo_id":"1333414407","filename":"file4"},{"photo_id":"1333414394","filename":"file1"},{"photo_id":"1333414390","filename":"file0"},{"photo_id":"1333414402","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333414394":["hashtag1","hashtag2"]},{"1333414407":["hashtag1","hashtag2"]},{"1333414390":["hashtag1","hashtag2"]},{"1333414411":["hashtag1","hashtag2"]},{"1333414398":["hashtag1","hashtag2"]},{"1333414402":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333414394, 1333414407, 1333414390, 1333414411, 1333414398, 1333414402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.00078582763672 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:54:32.482647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/34/image_31012025_13_34_24_10557.jpg', '/home/pi/Desktop/images/31012025/13/34/image_31012025_13_34_35_10325.jpg', '/home/pi/Desktop/images/31012025/13/34/image_31012025_13_34_44_9338.jpg', '/home/pi/Desktop/images/31012025/13/34/image_31012025_13_34_55_10423.jpg', '/home/pi/Desktop/images/31012025/13/34/image_31012025_13_35_04_9317.jpg', '/home/pi/Desktop/images/31012025/13/35/image_31012025_13_35_14_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/34/image_31012025_13_34_24_10557.jpg
/home/pi/Desktop/images/31012025/13/34/image_31012025_13_34_35_10325.jpg
/home/pi/Desktop/images/31012025/13/34/image_31012025_13_34_44_9338.jpg
/home/pi/Desktop/images/31012025/13/34/image_31012025_13_34_55_10423.jpg
/home/pi/Desktop/images/31012025/13/34/image_31012025_13_35_04_9317.jpg
/home/pi/Desktop/images/31012025/13/35/image_31012025_13_35_14_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":["1333414638","1333414577","1333414559","1333414553","1333414636","1333414626"],"photo_ids_order":["1333414553","1333414559","1333414577","1333414626","1333414636","1333414638"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9791fe933150016c524a71d03e852107.jpg","text":"TemporaryFile(/tmp/multipartBody6665985968890294458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346133022,"filename":"image_31012025_13_35_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/1/31/086bab59d1e23eb7ccd3cf212a4e64cc.jpg","text":"TemporaryFile(/tmp/multipartBody8410482281886912716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346133022,"filename":"image_31012025_13_34_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/1/31/2528fb16e6d9ef97c764a6d5f43d4bb4.jpg","text":"TemporaryFile(/tmp/multipartBody2702205016304709156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346133022,"filename":"image_31012025_13_34_35_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/11d7395bf8955eb035b1647d175a4149.jpg","text":"TemporaryFile(/tmp/multipartBody4956024094611746620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346133022,"filename":"image_31012025_13_34_24_10557.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/baf6d256b5f507c934e10925922fcc96.jpg","text":"TemporaryFile(/tmp/multipartBody2308194503329418736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346133022,"filename":"image_31012025_13_35_04_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/26786908e33b1042ee777913bcc5a36b.jpg","text":"TemporaryFile(/tmp/multipartBody2608470085334003660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346133022,"filename":"image_31012025_13_34_55_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333414577","file1":"1333414559","file0":"1333414553","file4":"1333414636","file5":"1333414638","file3":"1333414626"},"map_files_photo_id_array":[{"photo_id":"1333414638","filename":"file5"},{"photo_id":"1333414577","filename":"file2"},{"photo_id":"1333414636","filename":"file4"},{"photo_id":"1333414559","filename":"file1"},{"photo_id":"1333414553","filename":"file0"},{"photo_id":"1333414626","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333414638":["hashtag1","hashtag2"]},{"1333414577":["hashtag1","hashtag2"]},{"1333414559":["hashtag1","hashtag2"]},{"1333414553":["hashtag1","hashtag2"]},{"1333414636":["hashtag1","hashtag2"]},{"1333414626":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333414638, 1333414577, 1333414559, 1333414553, 1333414636, 1333414626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.626116037368774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:55:32.718768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/35/image_31012025_13_35_25_10355.jpg', '/home/pi/Desktop/images/31012025/13/35/image_31012025_13_35_35_9983.jpg', '/home/pi/Desktop/images/31012025/13/35/image_31012025_13_35_44_9430.jpg', '/home/pi/Desktop/images/31012025/13/35/image_31012025_13_35_54_10350.jpg', '/home/pi/Desktop/images/31012025/13/35/image_31012025_13_36_05_10423.jpg', '/home/pi/Desktop/images/31012025/13/36/image_31012025_13_36_14_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/35/image_31012025_13_35_25_10355.jpg
/home/pi/Desktop/images/31012025/13/35/image_31012025_13_35_35_9983.jpg
/home/pi/Desktop/images/31012025/13/35/image_31012025_13_35_44_9430.jpg
/home/pi/Desktop/images/31012025/13/35/image_31012025_13_35_54_10350.jpg
/home/pi/Desktop/images/31012025/13/35/image_31012025_13_36_05_10423.jpg
/home/pi/Desktop/images/31012025/13/36/image_31012025_13_36_14_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":["1333414656","1333414823","1333414669","1333414816","1333414839","1333414731"],"photo_ids_order":["1333414656","1333414669","1333414731","1333414816","1333414823","1333414839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/53a53f87de331aa474ab5d0f064fa24e.jpg","text":"TemporaryFile(/tmp/multipartBody1303938689584594417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346193261,"filename":"image_31012025_13_35_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/1/31/24d18b1aa48f5aed4ea3d779cd59912c.jpg","text":"TemporaryFile(/tmp/multipartBody4442812059476576284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346193261,"filename":"image_31012025_13_36_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/1/31/7e22a801f90a7db099d3648468c1b88c.jpg","text":"TemporaryFile(/tmp/multipartBody3789231106442474605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346193261,"filename":"image_31012025_13_35_35_9983.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a82196cbdcec18773317770700a35d78.jpg","text":"TemporaryFile(/tmp/multipartBody5736943155306125376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346193261,"filename":"image_31012025_13_35_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/1/31/0bafa6bd8c1f97f87b2a4e3941cf7cc0.jpg","text":"TemporaryFile(/tmp/multipartBody5911725441676468528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346193261,"filename":"image_31012025_13_36_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/1/31/c4917d5f8e49296b0c067db228daf832.jpg","text":"TemporaryFile(/tmp/multipartBody8682188111022880323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346193261,"filename":"image_31012025_13_35_44_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333414731","file1":"1333414669","file0":"1333414656","file4":"1333414823","file5":"1333414839","file3":"1333414816"},"map_files_photo_id_array":[{"photo_id":"1333414839","filename":"file5"},{"photo_id":"1333414731","filename":"file2"},{"photo_id":"1333414823","filename":"file4"},{"photo_id":"1333414669","filename":"file1"},{"photo_id":"1333414656","filename":"file0"},{"photo_id":"1333414816","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333414656":["hashtag1","hashtag2"]},{"1333414823":["hashtag1","hashtag2"]},{"1333414669":["hashtag1","hashtag2"]},{"1333414816":["hashtag1","hashtag2"]},{"1333414839":["hashtag1","hashtag2"]},{"1333414731":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333414656, 1333414823, 1333414669, 1333414816, 1333414839, 1333414731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.83562684059143 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:56:33.105173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/36/image_31012025_13_36_24_10338.jpg', '/home/pi/Desktop/images/31012025/13/36/image_31012025_13_36_34_9379.jpg', '/home/pi/Desktop/images/31012025/13/36/image_31012025_13_36_44_10344.jpg', '/home/pi/Desktop/images/31012025/13/36/image_31012025_13_36_55_10343.jpg', '/home/pi/Desktop/images/31012025/13/36/image_31012025_13_37_04_9330.jpg', '/home/pi/Desktop/images/31012025/13/37/image_31012025_13_37_25_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/36/image_31012025_13_36_24_10338.jpg
/home/pi/Desktop/images/31012025/13/36/image_31012025_13_36_34_9379.jpg
/home/pi/Desktop/images/31012025/13/36/image_31012025_13_36_44_10344.jpg
/home/pi/Desktop/images/31012025/13/36/image_31012025_13_36_55_10343.jpg
/home/pi/Desktop/images/31012025/13/36/image_31012025_13_37_04_9330.jpg
/home/pi/Desktop/images/31012025/13/37/image_31012025_13_37_25_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":["1333414994","1333414988","1333414973","1333414968","1333414983","1333414977"],"photo_ids_order":["1333414968","1333414973","1333414977","1333414983","1333414988","1333414994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1a8c88614af142ff172b6c4e7cb1ec99.jpg","text":"TemporaryFile(/tmp/multipartBody6879269663568237556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346253648,"filename":"image_31012025_13_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/1/31/b341f3e9adbad98b027c55c5d41f2aa1.jpg","text":"TemporaryFile(/tmp/multipartBody1391926281664177507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346253648,"filename":"image_31012025_13_37_04_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7e1ff8cf3410065b928b54e660f3c842.jpg","text":"TemporaryFile(/tmp/multipartBody2959535162998330082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346253648,"filename":"image_31012025_13_36_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/1/31/bec4e116ca6eba3d629be058c6e2f6fa.jpg","text":"TemporaryFile(/tmp/multipartBody9055988242780012253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346253648,"filename":"image_31012025_13_36_24_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fa90acd9a6c225ca60cd48e599849d72.jpg","text":"TemporaryFile(/tmp/multipartBody4565967070517827733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346253648,"filename":"image_31012025_13_36_55_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/987d559e67b96af36153a825571a8d51.jpg","text":"TemporaryFile(/tmp/multipartBody5154016935721177447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346253648,"filename":"image_31012025_13_36_44_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333414977","file1":"1333414973","file0":"1333414968","file4":"1333414988","file5":"1333414994","file3":"1333414983"},"map_files_photo_id_array":[{"photo_id":"1333414994","filename":"file5"},{"photo_id":"1333414977","filename":"file2"},{"photo_id":"1333414988","filename":"file4"},{"photo_id":"1333414973","filename":"file1"},{"photo_id":"1333414968","filename":"file0"},{"photo_id":"1333414983","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333414994":["hashtag1","hashtag2"]},{"1333414988":["hashtag1","hashtag2"]},{"1333414973":["hashtag1","hashtag2"]},{"1333414968":["hashtag1","hashtag2"]},{"1333414983":["hashtag1","hashtag2"]},{"1333414977":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333414994, 1333414988, 1333414973, 1333414968, 1333414983, 1333414977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.657087326049805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:57:32.273614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/37/image_31012025_13_37_34_9432.jpg', '/home/pi/Desktop/images/31012025/13/37/image_31012025_13_37_44_10346.jpg', '/home/pi/Desktop/images/31012025/13/37/image_31012025_13_37_54_9465.jpg', '/home/pi/Desktop/images/31012025/13/37/image_31012025_13_38_04_10359.jpg', '/home/pi/Desktop/images/31012025/13/38/image_31012025_13_38_14_10345.jpg', '/home/pi/Desktop/images/31012025/13/38/image_31012025_13_38_24_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/37/image_31012025_13_37_34_9432.jpg
/home/pi/Desktop/images/31012025/13/37/image_31012025_13_37_44_10346.jpg
/home/pi/Desktop/images/31012025/13/37/image_31012025_13_37_54_9465.jpg
/home/pi/Desktop/images/31012025/13/37/image_31012025_13_38_04_10359.jpg
/home/pi/Desktop/images/31012025/13/38/image_31012025_13_38_14_10345.jpg
/home/pi/Desktop/images/31012025/13/38/image_31012025_13_38_24_9374.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-01-31 18:59:04.124670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/37/image_31012025_13_37_34_9432.jpg', '/home/pi/Desktop/images/31012025/13/37/image_31012025_13_37_44_10346.jpg', '/home/pi/Desktop/images/31012025/13/37/image_31012025_13_37_54_9465.jpg', '/home/pi/Desktop/images/31012025/13/37/image_31012025_13_38_04_10359.jpg', '/home/pi/Desktop/images/31012025/13/38/image_31012025_13_38_14_10345.jpg', '/home/pi/Desktop/images/31012025/13/38/image_31012025_13_38_24_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/37/image_31012025_13_37_34_9432.jpg
/home/pi/Desktop/images/31012025/13/37/image_31012025_13_37_44_10346.jpg
/home/pi/Desktop/images/31012025/13/37/image_31012025_13_37_54_9465.jpg
/home/pi/Desktop/images/31012025/13/37/image_31012025_13_38_04_10359.jpg
/home/pi/Desktop/images/31012025/13/38/image_31012025_13_38_14_10345.jpg
/home/pi/Desktop/images/31012025/13/38/image_31012025_13_38_24_9374.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":["1333415468","1333415464","1333415473","1333415458","1333415481","1333415451"],"photo_ids_order":["1333415451","1333415458","1333415464","1333415468","1333415473","1333415481"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3cf57ab717112590c9c900e97e6deeac.jpg","text":"TemporaryFile(/tmp/multipartBody1826121634510661194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346405653,"filename":"image_31012025_13_38_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/1/31/305e5597dcac0d61f9e7b326941e624e.jpg","text":"TemporaryFile(/tmp/multipartBody4486072720225536852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346405653,"filename":"image_31012025_13_37_54_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5fb210152461c6bbab09bb62b4f07225.jpg","text":"TemporaryFile(/tmp/multipartBody4940364402596895910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346405653,"filename":"image_31012025_13_38_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/1/31/eb1fc0bfedb8f8586729782542515ef7.jpg","text":"TemporaryFile(/tmp/multipartBody8849891074781000102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346405653,"filename":"image_31012025_13_37_44_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b07567ec42f6c3c7c1fc6b1bfc9eaa6b.jpg","text":"TemporaryFile(/tmp/multipartBody3758569246152820625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346405653,"filename":"image_31012025_13_38_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/1/31/9eff914fe4d4e096df1949a6dbbcb567.jpg","text":"TemporaryFile(/tmp/multipartBody997010570958630153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346405653,"filename":"image_31012025_13_37_34_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333415464","file1":"1333415458","file0":"1333415451","file4":"1333415473","file5":"1333415481","file3":"1333415468"},"map_files_photo_id_array":[{"photo_id":"1333415481","filename":"file5"},{"photo_id":"1333415464","filename":"file2"},{"photo_id":"1333415473","filename":"file4"},{"photo_id":"1333415458","filename":"file1"},{"photo_id":"1333415451","filename":"file0"},{"photo_id":"1333415468","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333415468":["hashtag1","hashtag2"]},{"1333415464":["hashtag1","hashtag2"]},{"1333415473":["hashtag1","hashtag2"]},{"1333415458":["hashtag1","hashtag2"]},{"1333415481":["hashtag1","hashtag2"]},{"1333415451":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333415468, 1333415464, 1333415473, 1333415458, 1333415481, 1333415451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.59455490112305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 18:59:53.002703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/38/image_31012025_13_38_34_10407.jpg', '/home/pi/Desktop/images/31012025/13/38/image_31012025_13_38_45_10478.jpg', '/home/pi/Desktop/images/31012025/13/38/image_31012025_13_38_54_9351.jpg', '/home/pi/Desktop/images/31012025/13/38/image_31012025_13_39_04_10351.jpg', '/home/pi/Desktop/images/31012025/13/39/image_31012025_13_39_14_9368.jpg', '/home/pi/Desktop/images/31012025/13/39/image_31012025_13_39_24_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/38/image_31012025_13_38_34_10407.jpg
/home/pi/Desktop/images/31012025/13/38/image_31012025_13_38_45_10478.jpg
/home/pi/Desktop/images/31012025/13/38/image_31012025_13_38_54_9351.jpg
/home/pi/Desktop/images/31012025/13/38/image_31012025_13_39_04_10351.jpg
/home/pi/Desktop/images/31012025/13/39/image_31012025_13_39_14_9368.jpg
/home/pi/Desktop/images/31012025/13/39/image_31012025_13_39_24_10357.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333415505","1333415495","1333415499","1333415511","1333415508","1333415502"],"photo_ids_order":["1333415495","1333415499","1333415502","1333415505","1333415508","1333415511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/eaf076065167e63774160c123e13e665.jpg","text":"TemporaryFile(/tmp/multipartBody4884110613840463694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346453539,"filename":"image_31012025_13_39_04_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/92f9e29fbe65e7abd7d3d9af118f1bb9.jpg","text":"TemporaryFile(/tmp/multipartBody6821863847775280183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346453539,"filename":"image_31012025_13_38_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/1/31/f2681355f38dc739e9712fff97f3ed3e.jpg","text":"TemporaryFile(/tmp/multipartBody8980515131166559677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346453539,"filename":"image_31012025_13_38_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/1/31/e099ffccd6a49161751151e359a00a43.jpg","text":"TemporaryFile(/tmp/multipartBody3031611131432456602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346453539,"filename":"image_31012025_13_39_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/1/31/6e4e3e9d77412e0f35941e0f3106578b.jpg","text":"TemporaryFile(/tmp/multipartBody6522109361812812812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346453539,"filename":"image_31012025_13_39_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/1/31/6d39f7032f5ed3a86ae3fe1c541a1711.jpg","text":"TemporaryFile(/tmp/multipartBody6483431793186799903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346453539,"filename":"image_31012025_13_38_54_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333415502","file1":"1333415499","file0":"1333415495","file4":"1333415508","file5":"1333415511","file3":"1333415505"},"map_files_photo_id_array":[{"photo_id":"1333415511","filename":"file5"},{"photo_id":"1333415502","filename":"file2"},{"photo_id":"1333415508","filename":"file4"},{"photo_id":"1333415499","filename":"file1"},{"photo_id":"1333415495","filename":"file0"},{"photo_id":"1333415505","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333415505":["hashtag1","hashtag2"]},{"1333415495":["hashtag1","hashtag2"]},{"1333415499":["hashtag1","hashtag2"]},{"1333415511":["hashtag1","hashtag2"]},{"1333415508":["hashtag1","hashtag2"]},{"1333415502":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333415505, 1333415495, 1333415499, 1333415511, 1333415508, 1333415502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18588948249817 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:00:32.206208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/39/image_31012025_13_39_35_10340.jpg', '/home/pi/Desktop/images/31012025/13/39/image_31012025_13_39_54_10350.jpg', '/home/pi/Desktop/images/31012025/13/39/image_31012025_13_40_04_9496.jpg', '/home/pi/Desktop/images/31012025/13/40/image_31012025_13_40_14_10354.jpg', '/home/pi/Desktop/images/31012025/13/40/image_31012025_13_40_24_10335.jpg', '/home/pi/Desktop/images/31012025/13/40/image_31012025_13_40_34_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/39/image_31012025_13_39_35_10340.jpg
/home/pi/Desktop/images/31012025/13/39/image_31012025_13_39_54_10350.jpg
/home/pi/Desktop/images/31012025/13/39/image_31012025_13_40_04_9496.jpg
/home/pi/Desktop/images/31012025/13/40/image_31012025_13_40_14_10354.jpg
/home/pi/Desktop/images/31012025/13/40/image_31012025_13_40_24_10335.jpg
/home/pi/Desktop/images/31012025/13/40/image_31012025_13_40_34_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":["1333415672","1333415633","1333415663","1333415677","1333415600","1333415667"],"photo_ids_order":["1333415600","1333415633","1333415663","1333415667","1333415672","1333415677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ca6b22106501a57d5dc2e51bf1889f6b.jpg","text":"TemporaryFile(/tmp/multipartBody756540212479322234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346493254,"filename":"image_31012025_13_40_24_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4cf6d58c10bd29eeaee93b5af13ef02a.jpg","text":"TemporaryFile(/tmp/multipartBody888591201434283089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346493254,"filename":"image_31012025_13_39_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/1/31/3b23daa4b862e00424d5bc2408ab1373.jpg","text":"TemporaryFile(/tmp/multipartBody5396795857530302125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346493254,"filename":"image_31012025_13_40_04_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5fcdf66f3d09228c2b972e9f27b26b6e.jpg","text":"TemporaryFile(/tmp/multipartBody8853164345231110144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346493254,"filename":"image_31012025_13_40_34_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9f2e3c341b2b5aedfeba7e6a8a88524e.jpg","text":"TemporaryFile(/tmp/multipartBody7617172798647206346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346493254,"filename":"image_31012025_13_39_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/1/31/73c529c9ac1c6316864fd1b99a9a040c.jpg","text":"TemporaryFile(/tmp/multipartBody3182515264985674190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346493254,"filename":"image_31012025_13_40_14_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333415663","file1":"1333415633","file0":"1333415600","file4":"1333415672","file5":"1333415677","file3":"1333415667"},"map_files_photo_id_array":[{"photo_id":"1333415677","filename":"file5"},{"photo_id":"1333415663","filename":"file2"},{"photo_id":"1333415672","filename":"file4"},{"photo_id":"1333415633","filename":"file1"},{"photo_id":"1333415600","filename":"file0"},{"photo_id":"1333415667","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333415672":["hashtag1","hashtag2"]},{"1333415633":["hashtag1","hashtag2"]},{"1333415663":["hashtag1","hashtag2"]},{"1333415677":["hashtag1","hashtag2"]},{"1333415600":["hashtag1","hashtag2"]},{"1333415667":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333415672, 1333415633, 1333415663, 1333415677, 1333415600, 1333415667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10630202293396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:01:32.366896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/40/image_31012025_13_40_44_10332.jpg', '/home/pi/Desktop/images/31012025/13/40/image_31012025_13_40_55_10479.jpg', '/home/pi/Desktop/images/31012025/13/40/image_31012025_13_41_04_9388.jpg', '/home/pi/Desktop/images/31012025/13/41/image_31012025_13_41_14_10352.jpg', '/home/pi/Desktop/images/31012025/13/41/image_31012025_13_41_24_9362.jpg', '/home/pi/Desktop/images/31012025/13/41/image_31012025_13_41_34_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/40/image_31012025_13_40_44_10332.jpg
/home/pi/Desktop/images/31012025/13/40/image_31012025_13_40_55_10479.jpg
/home/pi/Desktop/images/31012025/13/40/image_31012025_13_41_04_9388.jpg
/home/pi/Desktop/images/31012025/13/41/image_31012025_13_41_14_10352.jpg
/home/pi/Desktop/images/31012025/13/41/image_31012025_13_41_24_9362.jpg
/home/pi/Desktop/images/31012025/13/41/image_31012025_13_41_34_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":["1333415732","1333415723","1333415717","1333415881","1333415767","1333415727"],"photo_ids_order":["1333415717","1333415723","1333415727","1333415732","1333415767","1333415881"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/68eb6b318e6e5d768141d6d45be3bce2.jpg","text":"TemporaryFile(/tmp/multipartBody8573290173728803026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346552924,"filename":"image_31012025_13_41_14_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/965e73cfe9deb917e585c1a6ec1a161f.jpg","text":"TemporaryFile(/tmp/multipartBody8029485975219312380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346552924,"filename":"image_31012025_13_40_55_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e21ebc8753c4295a738557225db7ea7b.jpg","text":"TemporaryFile(/tmp/multipartBody5829504309127291752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346552924,"filename":"image_31012025_13_40_44_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/94c792f4961d7d45c441f7e50179b9c7.jpg","text":"TemporaryFile(/tmp/multipartBody3883290167194606316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346552924,"filename":"image_31012025_13_41_34_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b7b169e09284051cec0276b6cced2221.jpg","text":"TemporaryFile(/tmp/multipartBody446884316206254881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346552924,"filename":"image_31012025_13_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/1/31/0f62f4417f1cfc819a01b1d48fde20ec.jpg","text":"TemporaryFile(/tmp/multipartBody6482925641178354582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346552924,"filename":"image_31012025_13_41_04_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333415727","file1":"1333415723","file0":"1333415717","file4":"1333415767","file5":"1333415881","file3":"1333415732"},"map_files_photo_id_array":[{"photo_id":"1333415881","filename":"file5"},{"photo_id":"1333415727","filename":"file2"},{"photo_id":"1333415767","filename":"file4"},{"photo_id":"1333415723","filename":"file1"},{"photo_id":"1333415717","filename":"file0"},{"photo_id":"1333415732","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333415732":["hashtag1","hashtag2"]},{"1333415723":["hashtag1","hashtag2"]},{"1333415717":["hashtag1","hashtag2"]},{"1333415881":["hashtag1","hashtag2"]},{"1333415767":["hashtag1","hashtag2"]},{"1333415727":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333415732, 1333415723, 1333415717, 1333415881, 1333415767, 1333415727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.77024459838867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:02:32.707078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/41/image_31012025_13_41_44_9786.jpg', '/home/pi/Desktop/images/31012025/13/41/image_31012025_13_41_54_10464.jpg', '/home/pi/Desktop/images/31012025/13/41/image_31012025_13_42_04_9429.jpg', '/home/pi/Desktop/images/31012025/13/42/image_31012025_13_42_14_10392.jpg', '/home/pi/Desktop/images/31012025/13/42/image_31012025_13_42_25_10338.jpg', '/home/pi/Desktop/images/31012025/13/42/image_31012025_13_42_34_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/41/image_31012025_13_41_44_9786.jpg
/home/pi/Desktop/images/31012025/13/41/image_31012025_13_41_54_10464.jpg
/home/pi/Desktop/images/31012025/13/41/image_31012025_13_42_04_9429.jpg
/home/pi/Desktop/images/31012025/13/42/image_31012025_13_42_14_10392.jpg
/home/pi/Desktop/images/31012025/13/42/image_31012025_13_42_25_10338.jpg
/home/pi/Desktop/images/31012025/13/42/image_31012025_13_42_34_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":["1333416298","1333416229","1333416316","1333416252","1333416197","1333416185"],"photo_ids_order":["1333416185","1333416197","1333416229","1333416252","1333416298","1333416316"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bb331fb008a8d63ee6879a9c880da092.jpg","text":"TemporaryFile(/tmp/multipartBody2405800416659470090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346613240,"filename":"image_31012025_13_42_25_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3ab37bb562091b5af7e07cefe92f2bf5.jpg","text":"TemporaryFile(/tmp/multipartBody4616081464030312412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346613240,"filename":"image_31012025_13_42_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/1/31/701eab50bf312aeaf84676ebd24f98d8.jpg","text":"TemporaryFile(/tmp/multipartBody24740179076223912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346613240,"filename":"image_31012025_13_42_34_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f8808259d8011f0d9cda9c5364a148ab.jpg","text":"TemporaryFile(/tmp/multipartBody2879771335193782860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346613240,"filename":"image_31012025_13_42_14_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c0c6cb58db07b5ab8bc38394d49d6199.jpg","text":"TemporaryFile(/tmp/multipartBody7447619027174773311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346613240,"filename":"image_31012025_13_41_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/1/31/00864a33e1d6d3dc9b6df0d090993504.jpg","text":"TemporaryFile(/tmp/multipartBody6540118642820658538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346613240,"filename":"image_31012025_13_41_44_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333416229","file1":"1333416197","file0":"1333416185","file4":"1333416298","file5":"1333416316","file3":"1333416252"},"map_files_photo_id_array":[{"photo_id":"1333416316","filename":"file5"},{"photo_id":"1333416229","filename":"file2"},{"photo_id":"1333416298","filename":"file4"},{"photo_id":"1333416197","filename":"file1"},{"photo_id":"1333416185","filename":"file0"},{"photo_id":"1333416252","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333416298":["hashtag1","hashtag2"]},{"1333416229":["hashtag1","hashtag2"]},{"1333416316":["hashtag1","hashtag2"]},{"1333416252":["hashtag1","hashtag2"]},{"1333416197":["hashtag1","hashtag2"]},{"1333416185":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333416298, 1333416229, 1333416316, 1333416252, 1333416197, 1333416185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10960245132446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:03:33.020847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/42/image_31012025_13_42_44_10356.jpg', '/home/pi/Desktop/images/31012025/13/42/image_31012025_13_42_55_10402.jpg', '/home/pi/Desktop/images/31012025/13/42/image_31012025_13_43_04_9332.jpg', '/home/pi/Desktop/images/31012025/13/43/image_31012025_13_43_14_10348.jpg', '/home/pi/Desktop/images/31012025/13/43/image_31012025_13_43_24_9405.jpg', '/home/pi/Desktop/images/31012025/13/43/image_31012025_13_43_34_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/42/image_31012025_13_42_44_10356.jpg
/home/pi/Desktop/images/31012025/13/42/image_31012025_13_42_55_10402.jpg
/home/pi/Desktop/images/31012025/13/42/image_31012025_13_43_04_9332.jpg
/home/pi/Desktop/images/31012025/13/43/image_31012025_13_43_14_10348.jpg
/home/pi/Desktop/images/31012025/13/43/image_31012025_13_43_24_9405.jpg
/home/pi/Desktop/images/31012025/13/43/image_31012025_13_43_34_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":["1333416487","1333416436","1333416523","1333416474","1333416516","1333416519"],"photo_ids_order":["1333416436","1333416474","1333416487","1333416516","1333416519","1333416523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6cddbb1adb5db337702e84e0d977267f.jpg","text":"TemporaryFile(/tmp/multipartBody8612686973438995671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346673568,"filename":"image_31012025_13_43_04_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c798303c3059316eab3132cd34674f95.jpg","text":"TemporaryFile(/tmp/multipartBody5128826010866677688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346673568,"filename":"image_31012025_13_42_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/1/31/cadb9e16d9edd04d74aa08c7b21d0f05.jpg","text":"TemporaryFile(/tmp/multipartBody32898620539955432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346673568,"filename":"image_31012025_13_43_34_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fd1a400a8465107aab5c96464355bcc8.jpg","text":"TemporaryFile(/tmp/multipartBody3465713844030237156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346673568,"filename":"image_31012025_13_42_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/1/31/d2a1544d4844d5d93ba6a2be16219a64.jpg","text":"TemporaryFile(/tmp/multipartBody4922261042034736469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346673568,"filename":"image_31012025_13_43_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/1/31/347af90eb2c65be30e555d4e250bda9d.jpg","text":"TemporaryFile(/tmp/multipartBody148651482968577077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346673568,"filename":"image_31012025_13_43_24_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333416487","file1":"1333416474","file0":"1333416436","file4":"1333416519","file5":"1333416523","file3":"1333416516"},"map_files_photo_id_array":[{"photo_id":"1333416523","filename":"file5"},{"photo_id":"1333416487","filename":"file2"},{"photo_id":"1333416519","filename":"file4"},{"photo_id":"1333416474","filename":"file1"},{"photo_id":"1333416436","filename":"file0"},{"photo_id":"1333416516","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333416487":["hashtag1","hashtag2"]},{"1333416436":["hashtag1","hashtag2"]},{"1333416523":["hashtag1","hashtag2"]},{"1333416474":["hashtag1","hashtag2"]},{"1333416516":["hashtag1","hashtag2"]},{"1333416519":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333416487, 1333416436, 1333416523, 1333416474, 1333416516, 1333416519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.79095697402954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:04:32.216082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/43/image_31012025_13_43_45_10343.jpg', '/home/pi/Desktop/images/31012025/13/43/image_31012025_13_43_54_9441.jpg', '/home/pi/Desktop/images/31012025/13/43/image_31012025_13_44_04_10337.jpg', '/home/pi/Desktop/images/31012025/13/44/image_31012025_13_44_15_10339.jpg', '/home/pi/Desktop/images/31012025/13/44/image_31012025_13_44_24_9350.jpg', '/home/pi/Desktop/images/31012025/13/44/image_31012025_13_44_34_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/43/image_31012025_13_43_45_10343.jpg
/home/pi/Desktop/images/31012025/13/43/image_31012025_13_43_54_9441.jpg
/home/pi/Desktop/images/31012025/13/43/image_31012025_13_44_04_10337.jpg
/home/pi/Desktop/images/31012025/13/44/image_31012025_13_44_15_10339.jpg
/home/pi/Desktop/images/31012025/13/44/image_31012025_13_44_24_9350.jpg
/home/pi/Desktop/images/31012025/13/44/image_31012025_13_44_34_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333416676","1333416640","1333416672","1333416714","1333416645","1333416711"],"photo_ids_order":["1333416640","1333416645","1333416672","1333416676","1333416711","1333416714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a559ee90bc305f80cce06d7080c86a98.jpg","text":"TemporaryFile(/tmp/multipartBody6176197972848543672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346732762,"filename":"image_31012025_13_44_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/1/31/20a4af56e2ce823aeb70494a86240707.jpg","text":"TemporaryFile(/tmp/multipartBody6136807846646339321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346732762,"filename":"image_31012025_13_43_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/1/31/06eb33e9f98ae8326926c0862b99d9bf.jpg","text":"TemporaryFile(/tmp/multipartBody8335068117567104382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346732762,"filename":"image_31012025_13_44_04_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0fda4e7c4933c5bde3d82829bf700e4e.jpg","text":"TemporaryFile(/tmp/multipartBody6021724830461221163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346732762,"filename":"image_31012025_13_44_34_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/914449cc5b9ee4d650443cc209937191.jpg","text":"TemporaryFile(/tmp/multipartBody2901077972516519274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346732762,"filename":"image_31012025_13_43_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/1/31/455d7cd22f857732dd6cce4c0ab21570.jpg","text":"TemporaryFile(/tmp/multipartBody4366462037714216913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346732762,"filename":"image_31012025_13_44_24_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333416672","file1":"1333416645","file0":"1333416640","file4":"1333416711","file5":"1333416714","file3":"1333416676"},"map_files_photo_id_array":[{"photo_id":"1333416714","filename":"file5"},{"photo_id":"1333416672","filename":"file2"},{"photo_id":"1333416711","filename":"file4"},{"photo_id":"1333416645","filename":"file1"},{"photo_id":"1333416640","filename":"file0"},{"photo_id":"1333416676","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333416676":["hashtag1","hashtag2"]},{"1333416640":["hashtag1","hashtag2"]},{"1333416672":["hashtag1","hashtag2"]},{"1333416714":["hashtag1","hashtag2"]},{"1333416645":["hashtag1","hashtag2"]},{"1333416711":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333416676, 1333416640, 1333416672, 1333416714, 1333416645, 1333416711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.82997989654541 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:05:32.352474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/44/image_31012025_13_44_45_10443.jpg', '/home/pi/Desktop/images/31012025/13/44/image_31012025_13_44_54_9360.jpg', '/home/pi/Desktop/images/31012025/13/44/image_31012025_13_45_04_10340.jpg', '/home/pi/Desktop/images/31012025/13/45/image_31012025_13_45_14_9353.jpg', '/home/pi/Desktop/images/31012025/13/45/image_31012025_13_45_24_10412.jpg', '/home/pi/Desktop/images/31012025/13/45/image_31012025_13_45_35_10459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/44/image_31012025_13_44_45_10443.jpg
/home/pi/Desktop/images/31012025/13/44/image_31012025_13_44_54_9360.jpg
/home/pi/Desktop/images/31012025/13/44/image_31012025_13_45_04_10340.jpg
/home/pi/Desktop/images/31012025/13/45/image_31012025_13_45_14_9353.jpg
/home/pi/Desktop/images/31012025/13/45/image_31012025_13_45_24_10412.jpg
/home/pi/Desktop/images/31012025/13/45/image_31012025_13_45_35_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":["1333416772","1333416766","1333416781","1333416777","1333416831","1333416762"],"photo_ids_order":["1333416762","1333416766","1333416772","1333416777","1333416781","1333416831"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cd9d54d6cafa0ed111b163023deba879.jpg","text":"TemporaryFile(/tmp/multipartBody7430407321484699322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346792908,"filename":"image_31012025_13_45_04_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3b90b91226f03903051f96975026d0b3.jpg","text":"TemporaryFile(/tmp/multipartBody1896368221670448349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346792908,"filename":"image_31012025_13_44_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/1/31/ae4565080b5e672b104d0298210f0267.jpg","text":"TemporaryFile(/tmp/multipartBody7005433512715114051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346792908,"filename":"image_31012025_13_45_24_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/87361d451b9935fdcf9f59bcab61e228.jpg","text":"TemporaryFile(/tmp/multipartBody6362108678352484577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346792908,"filename":"image_31012025_13_45_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/1/31/9195b7cd9af568c04ab14946a931cc67.jpg","text":"TemporaryFile(/tmp/multipartBody1363035792778634993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346792908,"filename":"image_31012025_13_45_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/1/31/49b10a0b507c57df873c01703ca6c6cb.jpg","text":"TemporaryFile(/tmp/multipartBody8662519060296111906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346792908,"filename":"image_31012025_13_44_45_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333416772","file1":"1333416766","file0":"1333416762","file4":"1333416781","file5":"1333416831","file3":"1333416777"},"map_files_photo_id_array":[{"photo_id":"1333416831","filename":"file5"},{"photo_id":"1333416772","filename":"file2"},{"photo_id":"1333416781","filename":"file4"},{"photo_id":"1333416766","filename":"file1"},{"photo_id":"1333416762","filename":"file0"},{"photo_id":"1333416777","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333416772":["hashtag1","hashtag2"]},{"1333416766":["hashtag1","hashtag2"]},{"1333416781":["hashtag1","hashtag2"]},{"1333416777":["hashtag1","hashtag2"]},{"1333416831":["hashtag1","hashtag2"]},{"1333416762":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333416772, 1333416766, 1333416781, 1333416777, 1333416831, 1333416762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.229731798172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:06:32.678940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/45/image_31012025_13_45_44_9410.jpg', '/home/pi/Desktop/images/31012025/13/45/image_31012025_13_45_54_10356.jpg', '/home/pi/Desktop/images/31012025/13/45/image_31012025_13_46_04_9438.jpg', '/home/pi/Desktop/images/31012025/13/46/image_31012025_13_46_14_10342.jpg', '/home/pi/Desktop/images/31012025/13/46/image_31012025_13_46_25_10381.jpg', '/home/pi/Desktop/images/31012025/13/46/image_31012025_13_46_34_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/45/image_31012025_13_45_44_9410.jpg
/home/pi/Desktop/images/31012025/13/45/image_31012025_13_45_54_10356.jpg
/home/pi/Desktop/images/31012025/13/45/image_31012025_13_46_04_9438.jpg
/home/pi/Desktop/images/31012025/13/46/image_31012025_13_46_14_10342.jpg
/home/pi/Desktop/images/31012025/13/46/image_31012025_13_46_25_10381.jpg
/home/pi/Desktop/images/31012025/13/46/image_31012025_13_46_34_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":["1333416916","1333416910","1333416913","1333416891","1333416899","1333416903"],"photo_ids_order":["1333416891","1333416899","1333416903","1333416910","1333416913","1333416916"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/756f268f9f043c6156119b5fef87f0f8.jpg","text":"TemporaryFile(/tmp/multipartBody5308587088526257477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346853218,"filename":"image_31012025_13_46_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/1/31/054352dffca9450b887b152b4b60bb89.jpg","text":"TemporaryFile(/tmp/multipartBody6113618725175064936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346853218,"filename":"image_31012025_13_46_14_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9ac5d5b2d33d814e6464210fe30b35e8.jpg","text":"TemporaryFile(/tmp/multipartBody3354347961081738181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346853218,"filename":"image_31012025_13_46_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/1/31/14a70475aab593162801a49e663ae03e.jpg","text":"TemporaryFile(/tmp/multipartBody8706899937069787777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346853218,"filename":"image_31012025_13_45_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/1/31/42441e58c4d98ccb450516435b63c28b.jpg","text":"TemporaryFile(/tmp/multipartBody8917999622467735326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346853218,"filename":"image_31012025_13_45_54_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4807fab0dd179cd33b3b2e9f1ab67a97.jpg","text":"TemporaryFile(/tmp/multipartBody731382465263293240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346853218,"filename":"image_31012025_13_46_04_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333416903","file1":"1333416899","file0":"1333416891","file4":"1333416913","file5":"1333416916","file3":"1333416910"},"map_files_photo_id_array":[{"photo_id":"1333416916","filename":"file5"},{"photo_id":"1333416903","filename":"file2"},{"photo_id":"1333416913","filename":"file4"},{"photo_id":"1333416899","filename":"file1"},{"photo_id":"1333416891","filename":"file0"},{"photo_id":"1333416910","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333416916":["hashtag1","hashtag2"]},{"1333416910":["hashtag1","hashtag2"]},{"1333416913":["hashtag1","hashtag2"]},{"1333416891":["hashtag1","hashtag2"]},{"1333416899":["hashtag1","hashtag2"]},{"1333416903":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333416916, 1333416910, 1333416913, 1333416891, 1333416899, 1333416903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.429715394973755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:07:33.196492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/46/image_31012025_13_46_54_9360.jpg', '/home/pi/Desktop/images/31012025/13/46/image_31012025_13_47_04_10339.jpg', '/home/pi/Desktop/images/31012025/13/47/image_31012025_13_47_24_9464.jpg', '/home/pi/Desktop/images/31012025/13/47/image_31012025_13_47_34_10352.jpg', '/home/pi/Desktop/images/31012025/13/47/image_31012025_13_47_44_9471.jpg', '/home/pi/Desktop/images/31012025/13/47/image_31012025_13_47_54_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/46/image_31012025_13_46_54_9360.jpg
/home/pi/Desktop/images/31012025/13/46/image_31012025_13_47_04_10339.jpg
/home/pi/Desktop/images/31012025/13/47/image_31012025_13_47_24_9464.jpg
/home/pi/Desktop/images/31012025/13/47/image_31012025_13_47_34_10352.jpg
/home/pi/Desktop/images/31012025/13/47/image_31012025_13_47_44_9471.jpg
/home/pi/Desktop/images/31012025/13/47/image_31012025_13_47_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":["1333416970","1333416964","1333416975","1333416980","1333416968","1333416983"],"photo_ids_order":["1333416964","1333416968","1333416970","1333416975","1333416980","1333416983"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/919d0674ed0edd39a307ef88deef332d.jpg","text":"TemporaryFile(/tmp/multipartBody1384415882781805150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346913722,"filename":"image_31012025_13_47_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/1/31/4a0d92c056c18698cc815bf150ec1212.jpg","text":"TemporaryFile(/tmp/multipartBody363415818626337876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346913722,"filename":"image_31012025_13_46_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/1/31/0491332a286af9f1aaaa44669196e6e5.jpg","text":"TemporaryFile(/tmp/multipartBody7487624569911383407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346913722,"filename":"image_31012025_13_47_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/1/31/832c0b6601b83e86e0b5365fb02ee67f.jpg","text":"TemporaryFile(/tmp/multipartBody5855598889549144587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346913722,"filename":"image_31012025_13_47_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/1/31/f707297a474bcb2903572d333db5cf2d.jpg","text":"TemporaryFile(/tmp/multipartBody8057295121531208054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346913722,"filename":"image_31012025_13_47_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/1/31/cdba502262781e2659502fa6c72a835e.jpg","text":"TemporaryFile(/tmp/multipartBody2554733810179666365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346913722,"filename":"image_31012025_13_47_54_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333416970","file1":"1333416968","file0":"1333416964","file4":"1333416980","file5":"1333416983","file3":"1333416975"},"map_files_photo_id_array":[{"photo_id":"1333416983","filename":"file5"},{"photo_id":"1333416970","filename":"file2"},{"photo_id":"1333416980","filename":"file4"},{"photo_id":"1333416968","filename":"file1"},{"photo_id":"1333416964","filename":"file0"},{"photo_id":"1333416975","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333416970":["hashtag1","hashtag2"]},{"1333416964":["hashtag1","hashtag2"]},{"1333416975":["hashtag1","hashtag2"]},{"1333416980":["hashtag1","hashtag2"]},{"1333416968":["hashtag1","hashtag2"]},{"1333416983":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333416970, 1333416964, 1333416975, 1333416980, 1333416968, 1333416983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65764284133911 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:08:32.204652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/48/image_31012025_13_48_24_10363.jpg', '/home/pi/Desktop/images/31012025/13/48/image_31012025_13_48_34_9428.jpg', '/home/pi/Desktop/images/31012025/13/48/image_31012025_13_48_54_9504.jpg', '/home/pi/Desktop/images/31012025/13/48/image_31012025_13_49_04_10342.jpg', '/home/pi/Desktop/images/31012025/13/49/image_31012025_13_49_14_10339.jpg', '/home/pi/Desktop/images/31012025/13/49/image_31012025_13_49_24_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/48/image_31012025_13_48_24_10363.jpg
/home/pi/Desktop/images/31012025/13/48/image_31012025_13_48_34_9428.jpg
/home/pi/Desktop/images/31012025/13/48/image_31012025_13_48_54_9504.jpg
/home/pi/Desktop/images/31012025/13/48/image_31012025_13_49_04_10342.jpg
/home/pi/Desktop/images/31012025/13/49/image_31012025_13_49_14_10339.jpg
/home/pi/Desktop/images/31012025/13/49/image_31012025_13_49_24_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":["1333417183","1333417156","1333417125","1333417134","1333417116","1333417180"],"photo_ids_order":["1333417116","1333417125","1333417134","1333417156","1333417180","1333417183"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e849c5ec7c409970eaec9deb77e87b78.jpg","text":"TemporaryFile(/tmp/multipartBody4254675891044764258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346972785,"filename":"image_31012025_13_49_24_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c7a56e971ac3146144db8b6ad124ba3b.jpg","text":"TemporaryFile(/tmp/multipartBody4982213773901413818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346972785,"filename":"image_31012025_13_49_04_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3e444b37bd6799092e7e62f779ff2d39.jpg","text":"TemporaryFile(/tmp/multipartBody8813280715243489292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346972785,"filename":"image_31012025_13_48_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/1/31/30299218462f04af59f9c03cc612c8f6.jpg","text":"TemporaryFile(/tmp/multipartBody3865864776270881016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346972785,"filename":"image_31012025_13_48_54_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/60b7232e0ec3bd3990c362cc8786a882.jpg","text":"TemporaryFile(/tmp/multipartBody3163723988460839920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346972785,"filename":"image_31012025_13_48_24_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a504c58b6104a50a1cd72a5f58cb0933.jpg","text":"TemporaryFile(/tmp/multipartBody7343868333979731502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738346972785,"filename":"image_31012025_13_49_14_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333417134","file1":"1333417125","file0":"1333417116","file4":"1333417180","file5":"1333417183","file3":"1333417156"},"map_files_photo_id_array":[{"photo_id":"1333417183","filename":"file5"},{"photo_id":"1333417134","filename":"file2"},{"photo_id":"1333417180","filename":"file4"},{"photo_id":"1333417125","filename":"file1"},{"photo_id":"1333417116","filename":"file0"},{"photo_id":"1333417156","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333417183":["hashtag1","hashtag2"]},{"1333417156":["hashtag1","hashtag2"]},{"1333417125":["hashtag1","hashtag2"]},{"1333417134":["hashtag1","hashtag2"]},{"1333417116":["hashtag1","hashtag2"]},{"1333417180":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333417183, 1333417156, 1333417125, 1333417134, 1333417116, 1333417180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.275108814239502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:09:32.486750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/49/image_31012025_13_49_34_10326.jpg', '/home/pi/Desktop/images/31012025/13/49/image_31012025_13_50_04_10326.jpg', '/home/pi/Desktop/images/31012025/13/50/image_31012025_13_50_15_10450.jpg', '/home/pi/Desktop/images/31012025/13/50/image_31012025_13_50_34_10334.jpg', '/home/pi/Desktop/images/31012025/13/50/image_31012025_13_50_44_9373.jpg', '/home/pi/Desktop/images/31012025/13/50/image_31012025_13_50_54_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/49/image_31012025_13_49_34_10326.jpg
/home/pi/Desktop/images/31012025/13/49/image_31012025_13_50_04_10326.jpg
/home/pi/Desktop/images/31012025/13/50/image_31012025_13_50_15_10450.jpg
/home/pi/Desktop/images/31012025/13/50/image_31012025_13_50_34_10334.jpg
/home/pi/Desktop/images/31012025/13/50/image_31012025_13_50_44_9373.jpg
/home/pi/Desktop/images/31012025/13/50/image_31012025_13_50_54_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":["1333417411","1333417408","1333417374","1333417377","1333417416","1333417413"],"photo_ids_order":["1333417374","1333417377","1333417408","1333417411","1333417413","1333417416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/69d6ed82842c982d47e067958a7de29c.jpg","text":"TemporaryFile(/tmp/multipartBody7104444023879203717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347033043,"filename":"image_31012025_13_50_34_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/18c1331cdd9ea8faf17406673d491e2b.jpg","text":"TemporaryFile(/tmp/multipartBody741940852225293330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347033043,"filename":"image_31012025_13_50_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/1/31/b24787cbabcd06b41e376580bdd1f3ed.jpg","text":"TemporaryFile(/tmp/multipartBody1631136271343113858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347033043,"filename":"image_31012025_13_49_34_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f7647c89c6bdc6a435a3f45c7e5cbd7d.jpg","text":"TemporaryFile(/tmp/multipartBody2788147332215645493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347033043,"filename":"image_31012025_13_50_04_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4f9ba17d731658e1288e251f319c7653.jpg","text":"TemporaryFile(/tmp/multipartBody4174234107095434247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347033043,"filename":"image_31012025_13_50_54_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1819c6909df673711eb539b878bc6475.jpg","text":"TemporaryFile(/tmp/multipartBody7384880426657529718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347033043,"filename":"image_31012025_13_50_44_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333417408","file1":"1333417377","file0":"1333417374","file4":"1333417413","file5":"1333417416","file3":"1333417411"},"map_files_photo_id_array":[{"photo_id":"1333417416","filename":"file5"},{"photo_id":"1333417408","filename":"file2"},{"photo_id":"1333417413","filename":"file4"},{"photo_id":"1333417377","filename":"file1"},{"photo_id":"1333417374","filename":"file0"},{"photo_id":"1333417411","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333417411":["hashtag1","hashtag2"]},{"1333417408":["hashtag1","hashtag2"]},{"1333417374":["hashtag1","hashtag2"]},{"1333417377":["hashtag1","hashtag2"]},{"1333417416":["hashtag1","hashtag2"]},{"1333417413":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333417411, 1333417408, 1333417374, 1333417377, 1333417416, 1333417413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.75301814079285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:10:32.749963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/51/image_31012025_13_51_35_10435.jpg', '/home/pi/Desktop/images/31012025/13/51/image_31012025_13_51_44_9381.jpg', '/home/pi/Desktop/images/31012025/13/51/image_31012025_13_52_04_9441.jpg', '/home/pi/Desktop/images/31012025/13/52/image_31012025_13_52_14_10372.jpg', '/home/pi/Desktop/images/31012025/13/52/image_31012025_13_52_25_10422.jpg', '/home/pi/Desktop/images/31012025/13/52/image_31012025_13_52_34_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/51/image_31012025_13_51_35_10435.jpg
/home/pi/Desktop/images/31012025/13/51/image_31012025_13_51_44_9381.jpg
/home/pi/Desktop/images/31012025/13/51/image_31012025_13_52_04_9441.jpg
/home/pi/Desktop/images/31012025/13/52/image_31012025_13_52_14_10372.jpg
/home/pi/Desktop/images/31012025/13/52/image_31012025_13_52_25_10422.jpg
/home/pi/Desktop/images/31012025/13/52/image_31012025_13_52_34_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":["1333417468","1333417483","1333417479","1333417493","1333417487","1333417454"],"photo_ids_order":["1333417454","1333417468","1333417479","1333417483","1333417487","1333417493"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/67c544cf2f7fa61fbf7b1c90ba359cf3.jpg","text":"TemporaryFile(/tmp/multipartBody85399952926013992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347093300,"filename":"image_31012025_13_51_44_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f38b52104912480185079d2360b90ec9.jpg","text":"TemporaryFile(/tmp/multipartBody247343929930528248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347093300,"filename":"image_31012025_13_52_14_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/76bb3fb4f457d4da4d798efd41a53e8e.jpg","text":"TemporaryFile(/tmp/multipartBody9023532531314045559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347093300,"filename":"image_31012025_13_52_04_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/220d8e28747e7efd4a2f0458ce63b749.jpg","text":"TemporaryFile(/tmp/multipartBody5599129710065305449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347093300,"filename":"image_31012025_13_52_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/1/31/20f1e7d2402d1418b3af118c80cd11fa.jpg","text":"TemporaryFile(/tmp/multipartBody693791658720420050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347093300,"filename":"image_31012025_13_52_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/1/31/78f6e1da206cc5951867fac6da6659b3.jpg","text":"TemporaryFile(/tmp/multipartBody2640655992851911053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347093300,"filename":"image_31012025_13_51_35_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333417479","file1":"1333417468","file0":"1333417454","file4":"1333417487","file5":"1333417493","file3":"1333417483"},"map_files_photo_id_array":[{"photo_id":"1333417493","filename":"file5"},{"photo_id":"1333417479","filename":"file2"},{"photo_id":"1333417487","filename":"file4"},{"photo_id":"1333417468","filename":"file1"},{"photo_id":"1333417454","filename":"file0"},{"photo_id":"1333417483","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333417468":["hashtag1","hashtag2"]},{"1333417483":["hashtag1","hashtag2"]},{"1333417479":["hashtag1","hashtag2"]},{"1333417493":["hashtag1","hashtag2"]},{"1333417487":["hashtag1","hashtag2"]},{"1333417454":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333417468, 1333417483, 1333417479, 1333417493, 1333417487, 1333417454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.24836730957031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:11:32.929582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/52/image_31012025_13_52_45_10352.jpg', '/home/pi/Desktop/images/31012025/13/52/image_31012025_13_53_04_10345.jpg', '/home/pi/Desktop/images/31012025/13/53/image_31012025_13_53_44_9335.jpg', '/home/pi/Desktop/images/31012025/13/53/image_31012025_13_53_54_10348.jpg', '/home/pi/Desktop/images/31012025/13/53/image_31012025_13_54_05_10370.jpg', '/home/pi/Desktop/images/31012025/13/54/image_31012025_13_54_14_9407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/52/image_31012025_13_52_45_10352.jpg
/home/pi/Desktop/images/31012025/13/52/image_31012025_13_53_04_10345.jpg
/home/pi/Desktop/images/31012025/13/53/image_31012025_13_53_44_9335.jpg
/home/pi/Desktop/images/31012025/13/53/image_31012025_13_53_54_10348.jpg
/home/pi/Desktop/images/31012025/13/53/image_31012025_13_54_05_10370.jpg
/home/pi/Desktop/images/31012025/13/54/image_31012025_13_54_14_9407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333417567","1333417555","1333417599","1333417578","1333417575","1333417580"],"photo_ids_order":["1333417555","1333417567","1333417575","1333417578","1333417580","1333417599"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6b388e0bbb9a65243aa9b14da215c0d5.jpg","text":"TemporaryFile(/tmp/multipartBody7659519949971030124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347153457,"filename":"image_31012025_13_53_04_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f2fccb3b92e27393b03de1d7a76134a6.jpg","text":"TemporaryFile(/tmp/multipartBody1080260794897043762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347153457,"filename":"image_31012025_13_52_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/1/31/55ded13389848e1d9dd737a23a7e5220.jpg","text":"TemporaryFile(/tmp/multipartBody3176537916054510028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347153457,"filename":"image_31012025_13_54_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/1/31/4d587e5d64dcf60d30fe41ea21148820.jpg","text":"TemporaryFile(/tmp/multipartBody5791204024049713577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347153457,"filename":"image_31012025_13_53_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/1/31/0b7ccd4bb2484e960e2348e8c93c034e.jpg","text":"TemporaryFile(/tmp/multipartBody5151714345248917766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347153457,"filename":"image_31012025_13_53_44_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d0ca2dea8e9f0caa3a94a660b2c7b310.jpg","text":"TemporaryFile(/tmp/multipartBody8573366414217704935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347153457,"filename":"image_31012025_13_54_05_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333417575","file1":"1333417567","file0":"1333417555","file4":"1333417580","file5":"1333417599","file3":"1333417578"},"map_files_photo_id_array":[{"photo_id":"1333417599","filename":"file5"},{"photo_id":"1333417575","filename":"file2"},{"photo_id":"1333417580","filename":"file4"},{"photo_id":"1333417567","filename":"file1"},{"photo_id":"1333417555","filename":"file0"},{"photo_id":"1333417578","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333417567":["hashtag1","hashtag2"]},{"1333417555":["hashtag1","hashtag2"]},{"1333417599":["hashtag1","hashtag2"]},{"1333417578":["hashtag1","hashtag2"]},{"1333417575":["hashtag1","hashtag2"]},{"1333417580":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333417567, 1333417555, 1333417599, 1333417578, 1333417575, 1333417580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.6109836101532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:12:33.180177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/54/image_31012025_13_54_24_10414.jpg', '/home/pi/Desktop/images/31012025/13/54/image_31012025_13_54_44_10365.jpg', '/home/pi/Desktop/images/31012025/13/54/image_31012025_13_54_55_10363.jpg', '/home/pi/Desktop/images/31012025/13/54/image_31012025_13_55_04_9412.jpg', '/home/pi/Desktop/images/31012025/13/55/image_31012025_13_55_25_10395.jpg', '/home/pi/Desktop/images/31012025/13/56/image_31012025_13_56_15_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/54/image_31012025_13_54_24_10414.jpg
/home/pi/Desktop/images/31012025/13/54/image_31012025_13_54_44_10365.jpg
/home/pi/Desktop/images/31012025/13/54/image_31012025_13_54_55_10363.jpg
/home/pi/Desktop/images/31012025/13/54/image_31012025_13_55_04_9412.jpg
/home/pi/Desktop/images/31012025/13/55/image_31012025_13_55_25_10395.jpg
/home/pi/Desktop/images/31012025/13/56/image_31012025_13_56_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":["1333417672","1333417675","1333417660","1333417665","1333417668","1333417655"],"photo_ids_order":["1333417655","1333417660","1333417665","1333417668","1333417672","1333417675"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0f0605669f8ea17203ebd27b24adb087.jpg","text":"TemporaryFile(/tmp/multipartBody516426235549902117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347215770,"filename":"image_31012025_13_55_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/1/31/d542739caca52ad633161dc9521517d4.jpg","text":"TemporaryFile(/tmp/multipartBody7261321633452082087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347215770,"filename":"image_31012025_13_56_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/1/31/14dab14de0e0ec674e54b93cfe4f52ca.jpg","text":"TemporaryFile(/tmp/multipartBody6133540930848080342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347215770,"filename":"image_31012025_13_54_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/1/31/86467ad2c8985b34c2a3ca035011f21b.jpg","text":"TemporaryFile(/tmp/multipartBody7604869178462205819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347215770,"filename":"image_31012025_13_54_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/1/31/f34e30124ad9f0ee74542d9feddb7186.jpg","text":"TemporaryFile(/tmp/multipartBody3702622396282191383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347215770,"filename":"image_31012025_13_55_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/1/31/05da8f69755e132c69c88565193daf6d.jpg","text":"TemporaryFile(/tmp/multipartBody2341191269937721730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347215770,"filename":"image_31012025_13_54_24_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333417665","file1":"1333417660","file0":"1333417655","file4":"1333417672","file5":"1333417675","file3":"1333417668"},"map_files_photo_id_array":[{"photo_id":"1333417675","filename":"file5"},{"photo_id":"1333417665","filename":"file2"},{"photo_id":"1333417672","filename":"file4"},{"photo_id":"1333417660","filename":"file1"},{"photo_id":"1333417655","filename":"file0"},{"photo_id":"1333417668","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333417672":["hashtag1","hashtag2"]},{"1333417675":["hashtag1","hashtag2"]},{"1333417660":["hashtag1","hashtag2"]},{"1333417665":["hashtag1","hashtag2"]},{"1333417668":["hashtag1","hashtag2"]},{"1333417655":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333417672, 1333417675, 1333417660, 1333417665, 1333417668, 1333417655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.783090353012085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:13:32.390312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/56/image_31012025_13_56_24_9448.jpg', '/home/pi/Desktop/images/31012025/13/56/image_31012025_13_56_34_10346.jpg', '/home/pi/Desktop/images/31012025/13/56/image_31012025_13_56_45_10457.jpg', '/home/pi/Desktop/images/31012025/13/56/image_31012025_13_56_54_9361.jpg', '/home/pi/Desktop/images/31012025/13/56/image_31012025_13_57_04_10359.jpg', '/home/pi/Desktop/images/31012025/13/57/image_31012025_13_57_14_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/56/image_31012025_13_56_24_9448.jpg
/home/pi/Desktop/images/31012025/13/56/image_31012025_13_56_34_10346.jpg
/home/pi/Desktop/images/31012025/13/56/image_31012025_13_56_45_10457.jpg
/home/pi/Desktop/images/31012025/13/56/image_31012025_13_56_54_9361.jpg
/home/pi/Desktop/images/31012025/13/56/image_31012025_13_57_04_10359.jpg
/home/pi/Desktop/images/31012025/13/57/image_31012025_13_57_14_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":["1333417837","1333417976","1333417985","1333417973","1333417754","1333417751"],"photo_ids_order":["1333417751","1333417754","1333417837","1333417973","1333417976","1333417985"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9d9e80b49b1a00eccf7636b36a54015c.jpg","text":"TemporaryFile(/tmp/multipartBody6181309438739543747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347272980,"filename":"image_31012025_13_56_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/1/31/67376c703ff8183b6f59b1eb10265369.jpg","text":"TemporaryFile(/tmp/multipartBody4877882552929213881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347272980,"filename":"image_31012025_13_57_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/1/31/390b3587e6e1d48cfb022d6658aa9008.jpg","text":"TemporaryFile(/tmp/multipartBody1568453624498137646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347272980,"filename":"image_31012025_13_57_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/1/31/746e2bcf7958ea2e4806e925a08dfd1e.jpg","text":"TemporaryFile(/tmp/multipartBody6407578987791181005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347272980,"filename":"image_31012025_13_56_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/1/31/80def4afde865fd47fab7692a4c2f68f.jpg","text":"TemporaryFile(/tmp/multipartBody8542145284642259620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347272980,"filename":"image_31012025_13_56_34_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6f071b53755de1f71c4d73106e6ac4a2.jpg","text":"TemporaryFile(/tmp/multipartBody7666108475007928228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347272980,"filename":"image_31012025_13_56_24_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333417837","file1":"1333417754","file0":"1333417751","file4":"1333417976","file5":"1333417985","file3":"1333417973"},"map_files_photo_id_array":[{"photo_id":"1333417985","filename":"file5"},{"photo_id":"1333417837","filename":"file2"},{"photo_id":"1333417976","filename":"file4"},{"photo_id":"1333417754","filename":"file1"},{"photo_id":"1333417751","filename":"file0"},{"photo_id":"1333417973","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333417837":["hashtag1","hashtag2"]},{"1333417976":["hashtag1","hashtag2"]},{"1333417985":["hashtag1","hashtag2"]},{"1333417973":["hashtag1","hashtag2"]},{"1333417754":["hashtag1","hashtag2"]},{"1333417751":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333417837, 1333417976, 1333417985, 1333417973, 1333417754, 1333417751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.33406901359558 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:14:32.750947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/57/image_31012025_13_57_24_10360.jpg', '/home/pi/Desktop/images/31012025/13/57/image_31012025_13_57_35_10497.jpg', '/home/pi/Desktop/images/31012025/13/57/image_31012025_13_57_44_9374.jpg', '/home/pi/Desktop/images/31012025/13/57/image_31012025_13_57_54_10336.jpg', '/home/pi/Desktop/images/31012025/13/58/image_31012025_13_58_14_10359.jpg', '/home/pi/Desktop/images/31012025/13/58/image_31012025_13_58_25_10492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/57/image_31012025_13_57_24_10360.jpg
/home/pi/Desktop/images/31012025/13/57/image_31012025_13_57_35_10497.jpg
/home/pi/Desktop/images/31012025/13/57/image_31012025_13_57_44_9374.jpg
/home/pi/Desktop/images/31012025/13/57/image_31012025_13_57_54_10336.jpg
/home/pi/Desktop/images/31012025/13/58/image_31012025_13_58_14_10359.jpg
/home/pi/Desktop/images/31012025/13/58/image_31012025_13_58_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":["1333418131","1333418139","1333418264","1333418249","1333418293","1333418260"],"photo_ids_order":["1333418131","1333418139","1333418249","1333418260","1333418264","1333418293"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e0a80b29a05ad6e30b3c84dadf9a87cf.jpg","text":"TemporaryFile(/tmp/multipartBody2190678890544878178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347333312,"filename":"image_31012025_13_57_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/1/31/26955e656c0e5b05d848f3bd654538aa.jpg","text":"TemporaryFile(/tmp/multipartBody3556740612676290235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347333312,"filename":"image_31012025_13_57_35_10497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/02ee0e5e0e6504323c7fa7cbe219bce3.jpg","text":"TemporaryFile(/tmp/multipartBody2511029457316434284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347333312,"filename":"image_31012025_13_58_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/1/31/f34e95890281ee56e1ddba92260d9e58.jpg","text":"TemporaryFile(/tmp/multipartBody4617731551783218437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347333312,"filename":"image_31012025_13_57_44_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/851467ef908119fd31c203c0a2898128.jpg","text":"TemporaryFile(/tmp/multipartBody8705680571320655565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347333312,"filename":"image_31012025_13_58_25_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b4dcd59ae9a23d4b69033de391dc0993.jpg","text":"TemporaryFile(/tmp/multipartBody9193221543473942211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347333312,"filename":"image_31012025_13_57_54_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333418249","file1":"1333418139","file0":"1333418131","file4":"1333418264","file5":"1333418293","file3":"1333418260"},"map_files_photo_id_array":[{"photo_id":"1333418293","filename":"file5"},{"photo_id":"1333418249","filename":"file2"},{"photo_id":"1333418264","filename":"file4"},{"photo_id":"1333418139","filename":"file1"},{"photo_id":"1333418131","filename":"file0"},{"photo_id":"1333418260","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333418131":["hashtag1","hashtag2"]},{"1333418139":["hashtag1","hashtag2"]},{"1333418264":["hashtag1","hashtag2"]},{"1333418249":["hashtag1","hashtag2"]},{"1333418293":["hashtag1","hashtag2"]},{"1333418260":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333418131, 1333418139, 1333418264, 1333418249, 1333418293, 1333418260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.56841588020325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:15:33.120184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/13/58/image_31012025_13_58_34_9347.jpg', '/home/pi/Desktop/images/31012025/13/58/image_31012025_13_59_04_10353.jpg', '/home/pi/Desktop/images/31012025/13/59/image_31012025_13_59_24_9423.jpg', '/home/pi/Desktop/images/31012025/13/59/image_31012025_13_59_44_9482.jpg', '/home/pi/Desktop/images/31012025/14/01/image_31012025_14_01_14_10083.jpg', '/home/pi/Desktop/images/31012025/14/01/image_31012025_14_01_25_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/13/58/image_31012025_13_58_34_9347.jpg
/home/pi/Desktop/images/31012025/13/58/image_31012025_13_59_04_10353.jpg
/home/pi/Desktop/images/31012025/13/59/image_31012025_13_59_24_9423.jpg
/home/pi/Desktop/images/31012025/13/59/image_31012025_13_59_44_9482.jpg
/home/pi/Desktop/images/31012025/14/01/image_31012025_14_01_14_10083.jpg
/home/pi/Desktop/images/31012025/14/01/image_31012025_14_01_25_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":["1333418620","1333418617","1333418544","1333418573","1333418575","1333418539"],"photo_ids_order":["1333418539","1333418544","1333418573","1333418575","1333418617","1333418620"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/53f0e62c8fb43ba5755ec5a5bc888c94.jpg","text":"TemporaryFile(/tmp/multipartBody2348342306982979105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347393647,"filename":"image_31012025_14_01_25_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3f803e7a1481c72fa2e2748a82262823.jpg","text":"TemporaryFile(/tmp/multipartBody730302459663704715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347393647,"filename":"image_31012025_14_01_14_10083.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/68d834880b654409d77f27a29bb539cb.jpg","text":"TemporaryFile(/tmp/multipartBody749251319984920309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347393647,"filename":"image_31012025_13_59_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/1/31/c0fcc77b951d675a9102c43b4307d691.jpg","text":"TemporaryFile(/tmp/multipartBody8483435241779799268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347393647,"filename":"image_31012025_13_59_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/1/31/7a6f0791d8418151d344238d73b36ee7.jpg","text":"TemporaryFile(/tmp/multipartBody4460194411282701164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347393647,"filename":"image_31012025_13_59_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/1/31/bfa41e58d47c27a11bcea8bfa76adceb.jpg","text":"TemporaryFile(/tmp/multipartBody3467588409076746550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347393647,"filename":"image_31012025_13_58_34_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333418573","file1":"1333418544","file0":"1333418539","file4":"1333418617","file5":"1333418620","file3":"1333418575"},"map_files_photo_id_array":[{"photo_id":"1333418620","filename":"file5"},{"photo_id":"1333418573","filename":"file2"},{"photo_id":"1333418617","filename":"file4"},{"photo_id":"1333418544","filename":"file1"},{"photo_id":"1333418539","filename":"file0"},{"photo_id":"1333418575","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333418620":["hashtag1","hashtag2"]},{"1333418617":["hashtag1","hashtag2"]},{"1333418544":["hashtag1","hashtag2"]},{"1333418573":["hashtag1","hashtag2"]},{"1333418575":["hashtag1","hashtag2"]},{"1333418539":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333418620, 1333418617, 1333418544, 1333418573, 1333418575, 1333418539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.477903604507446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:16:33.329687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/01/image_31012025_14_01_44_9351.jpg', '/home/pi/Desktop/images/31012025/14/01/image_31012025_14_01_55_10485.jpg', '/home/pi/Desktop/images/31012025/14/01/image_31012025_14_02_04_9339.jpg', '/home/pi/Desktop/images/31012025/14/03/image_31012025_14_03_15_10447.jpg', '/home/pi/Desktop/images/31012025/14/03/image_31012025_14_03_24_9332.jpg', '/home/pi/Desktop/images/31012025/14/03/image_31012025_14_03_35_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/01/image_31012025_14_01_44_9351.jpg
/home/pi/Desktop/images/31012025/14/01/image_31012025_14_01_55_10485.jpg
/home/pi/Desktop/images/31012025/14/01/image_31012025_14_02_04_9339.jpg
/home/pi/Desktop/images/31012025/14/03/image_31012025_14_03_15_10447.jpg
/home/pi/Desktop/images/31012025/14/03/image_31012025_14_03_24_9332.jpg
/home/pi/Desktop/images/31012025/14/03/image_31012025_14_03_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":["1333418707","1333418666","1333418675","1333418657","1333418662","1333418671"],"photo_ids_order":["1333418657","1333418662","1333418666","1333418671","1333418675","1333418707"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5675bc1c2c14ff1bad3c947696f68e15.jpg","text":"TemporaryFile(/tmp/multipartBody7261577874006012434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347453892,"filename":"image_31012025_14_03_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/1/31/7230669327e53831b9129257b81392b7.jpg","text":"TemporaryFile(/tmp/multipartBody1519991573650588165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347453892,"filename":"image_31012025_14_02_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/1/31/31b5c8e5f8b4d8e34d7dcac7944d9a9c.jpg","text":"TemporaryFile(/tmp/multipartBody1660602702058319490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347453892,"filename":"image_31012025_14_03_24_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a197d19fdc52b9d36326a7a74a0b00da.jpg","text":"TemporaryFile(/tmp/multipartBody1320905964457810533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347453892,"filename":"image_31012025_14_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/1/31/8a5a57209a971d8ed487ce8290267c1a.jpg","text":"TemporaryFile(/tmp/multipartBody1334756380787111981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347453892,"filename":"image_31012025_14_01_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/1/31/a68a2db69ba8866461e2fcd2e14a361c.jpg","text":"TemporaryFile(/tmp/multipartBody8618824945575116233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347453892,"filename":"image_31012025_14_03_15_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333418666","file1":"1333418662","file0":"1333418657","file4":"1333418675","file5":"1333418707","file3":"1333418671"},"map_files_photo_id_array":[{"photo_id":"1333418707","filename":"file5"},{"photo_id":"1333418666","filename":"file2"},{"photo_id":"1333418675","filename":"file4"},{"photo_id":"1333418662","filename":"file1"},{"photo_id":"1333418657","filename":"file0"},{"photo_id":"1333418671","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333418707":["hashtag1","hashtag2"]},{"1333418666":["hashtag1","hashtag2"]},{"1333418675":["hashtag1","hashtag2"]},{"1333418657":["hashtag1","hashtag2"]},{"1333418662":["hashtag1","hashtag2"]},{"1333418671":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333418707, 1333418666, 1333418675, 1333418657, 1333418662, 1333418671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.286612510681152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:17:32.369986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/03/image_31012025_14_03_54_10364.jpg', '/home/pi/Desktop/images/31012025/14/03/image_31012025_14_04_05_10455.jpg', '/home/pi/Desktop/images/31012025/14/04/image_31012025_14_04_14_9335.jpg', '/home/pi/Desktop/images/31012025/14/04/image_31012025_14_04_25_10347.jpg', '/home/pi/Desktop/images/31012025/14/04/image_31012025_14_04_35_10399.jpg', '/home/pi/Desktop/images/31012025/14/04/image_31012025_14_04_44_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/03/image_31012025_14_03_54_10364.jpg
/home/pi/Desktop/images/31012025/14/03/image_31012025_14_04_05_10455.jpg
/home/pi/Desktop/images/31012025/14/04/image_31012025_14_04_14_9335.jpg
/home/pi/Desktop/images/31012025/14/04/image_31012025_14_04_25_10347.jpg
/home/pi/Desktop/images/31012025/14/04/image_31012025_14_04_35_10399.jpg
/home/pi/Desktop/images/31012025/14/04/image_31012025_14_04_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":["1333418806","1333418815","1333418802","1333418822","1333418819","1333418810"],"photo_ids_order":["1333418802","1333418806","1333418810","1333418815","1333418819","1333418822"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3808e4a7a37c4ecba72d9fa3bc634925.jpg","text":"TemporaryFile(/tmp/multipartBody4460003727916327881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347512932,"filename":"image_31012025_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/1/31/85bf17320dabf2f9d43fc78123c21e4e.jpg","text":"TemporaryFile(/tmp/multipartBody7368703037106419055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347512932,"filename":"image_31012025_14_04_25_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/48abc8dee607e5ed4b8825a32fed942d.jpg","text":"TemporaryFile(/tmp/multipartBody6781475905760587860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347512932,"filename":"image_31012025_14_03_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/1/31/cb9a62bc0bd0607283909f62d75ec084.jpg","text":"TemporaryFile(/tmp/multipartBody1647811331862113140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347512932,"filename":"image_31012025_14_04_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/1/31/c39bdae567eb58c8affa89889c10f204.jpg","text":"TemporaryFile(/tmp/multipartBody6556902342671453751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347512932,"filename":"image_31012025_14_04_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/1/31/7c7ee44a8592cad9d720fe1649e341b7.jpg","text":"TemporaryFile(/tmp/multipartBody1315196630388775401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347512932,"filename":"image_31012025_14_04_14_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333418810","file1":"1333418806","file0":"1333418802","file4":"1333418819","file5":"1333418822","file3":"1333418815"},"map_files_photo_id_array":[{"photo_id":"1333418822","filename":"file5"},{"photo_id":"1333418810","filename":"file2"},{"photo_id":"1333418819","filename":"file4"},{"photo_id":"1333418806","filename":"file1"},{"photo_id":"1333418802","filename":"file0"},{"photo_id":"1333418815","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333418806":["hashtag1","hashtag2"]},{"1333418815":["hashtag1","hashtag2"]},{"1333418802":["hashtag1","hashtag2"]},{"1333418822":["hashtag1","hashtag2"]},{"1333418819":["hashtag1","hashtag2"]},{"1333418810":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333418806, 1333418815, 1333418802, 1333418822, 1333418819, 1333418810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.928006410598755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:18:32.726790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/04/image_31012025_14_04_55_10385.jpg', '/home/pi/Desktop/images/31012025/14/04/image_31012025_14_05_04_9406.jpg', '/home/pi/Desktop/images/31012025/14/05/image_31012025_14_05_15_10363.jpg', '/home/pi/Desktop/images/31012025/14/05/image_31012025_14_05_25_10347.jpg', '/home/pi/Desktop/images/31012025/14/05/image_31012025_14_05_34_9320.jpg', '/home/pi/Desktop/images/31012025/14/05/image_31012025_14_05_45_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/04/image_31012025_14_04_55_10385.jpg
/home/pi/Desktop/images/31012025/14/04/image_31012025_14_05_04_9406.jpg
/home/pi/Desktop/images/31012025/14/05/image_31012025_14_05_15_10363.jpg
/home/pi/Desktop/images/31012025/14/05/image_31012025_14_05_25_10347.jpg
/home/pi/Desktop/images/31012025/14/05/image_31012025_14_05_34_9320.jpg
/home/pi/Desktop/images/31012025/14/05/image_31012025_14_05_45_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333418847","1333418850","1333418864","1333418869","1333418860","1333418854"],"photo_ids_order":["1333418847","1333418850","1333418854","1333418860","1333418864","1333418869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/da0ed29f511276e14998a0167723be7c.jpg","text":"TemporaryFile(/tmp/multipartBody7026840774063876172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347573288,"filename":"image_31012025_14_04_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/1/31/96a294e1a1dc73e582d4d21c69c1e780.jpg","text":"TemporaryFile(/tmp/multipartBody62344017286356117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347573288,"filename":"image_31012025_14_05_04_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4fbf25e59d96b4f9f6ebb8264e9805e1.jpg","text":"TemporaryFile(/tmp/multipartBody4258010401889326139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347573288,"filename":"image_31012025_14_05_34_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1df07b1a6cda66e6ff8d57070d5b8b08.jpg","text":"TemporaryFile(/tmp/multipartBody7872390086004027785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347573288,"filename":"image_31012025_14_05_45_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dc68f33e5ea2c9c644727ad02f2c56f0.jpg","text":"TemporaryFile(/tmp/multipartBody4515438829438975159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347573288,"filename":"image_31012025_14_05_25_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/af6eddf6893d475d791eb0342f05b980.jpg","text":"TemporaryFile(/tmp/multipartBody7246565007881230403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347573288,"filename":"image_31012025_14_05_15_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333418854","file1":"1333418850","file0":"1333418847","file4":"1333418864","file5":"1333418869","file3":"1333418860"},"map_files_photo_id_array":[{"photo_id":"1333418869","filename":"file5"},{"photo_id":"1333418854","filename":"file2"},{"photo_id":"1333418864","filename":"file4"},{"photo_id":"1333418850","filename":"file1"},{"photo_id":"1333418847","filename":"file0"},{"photo_id":"1333418860","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333418847":["hashtag1","hashtag2"]},{"1333418850":["hashtag1","hashtag2"]},{"1333418864":["hashtag1","hashtag2"]},{"1333418869":["hashtag1","hashtag2"]},{"1333418860":["hashtag1","hashtag2"]},{"1333418854":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333418847, 1333418850, 1333418864, 1333418869, 1333418860, 1333418854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.76430106163025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:19:32.871578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/06/image_31012025_14_06_15_10353.jpg', '/home/pi/Desktop/images/31012025/14/06/image_31012025_14_06_25_10425.jpg', '/home/pi/Desktop/images/31012025/14/06/image_31012025_14_06_34_9323.jpg', '/home/pi/Desktop/images/31012025/14/06/image_31012025_14_06_45_10381.jpg', '/home/pi/Desktop/images/31012025/14/06/image_31012025_14_06_54_9335.jpg', '/home/pi/Desktop/images/31012025/14/06/image_31012025_14_07_04_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/06/image_31012025_14_06_15_10353.jpg
/home/pi/Desktop/images/31012025/14/06/image_31012025_14_06_25_10425.jpg
/home/pi/Desktop/images/31012025/14/06/image_31012025_14_06_34_9323.jpg
/home/pi/Desktop/images/31012025/14/06/image_31012025_14_06_45_10381.jpg
/home/pi/Desktop/images/31012025/14/06/image_31012025_14_06_54_9335.jpg
/home/pi/Desktop/images/31012025/14/06/image_31012025_14_07_04_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":["1333418905","1333418898","1333418892","1333418928","1333418888","1333418909"],"photo_ids_order":["1333418888","1333418892","1333418898","1333418905","1333418909","1333418928"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d6470407f696da0bfce8530801beb5a8.jpg","text":"TemporaryFile(/tmp/multipartBody8296501659245496190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347633427,"filename":"image_31012025_14_06_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/1/31/4a7c0a9d23157fa866c3d7e750ba8d15.jpg","text":"TemporaryFile(/tmp/multipartBody2656444159279517330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347633427,"filename":"image_31012025_14_06_34_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/51d4e77803b5ac4ddd5c1b78be3ce97d.jpg","text":"TemporaryFile(/tmp/multipartBody3999189001757620104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347633427,"filename":"image_31012025_14_06_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/1/31/158379063d3b216a5b61ff5f8089b160.jpg","text":"TemporaryFile(/tmp/multipartBody4548097870274630945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347633427,"filename":"image_31012025_14_07_04_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f0a38129c1f5d24ffe814ca5835e0478.jpg","text":"TemporaryFile(/tmp/multipartBody1418014612391022039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347633427,"filename":"image_31012025_14_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/1/31/031c6bd6dc676a4b53b341c88f6f458f.jpg","text":"TemporaryFile(/tmp/multipartBody2977333898388509248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347633427,"filename":"image_31012025_14_06_54_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333418898","file1":"1333418892","file0":"1333418888","file4":"1333418909","file5":"1333418928","file3":"1333418905"},"map_files_photo_id_array":[{"photo_id":"1333418928","filename":"file5"},{"photo_id":"1333418898","filename":"file2"},{"photo_id":"1333418909","filename":"file4"},{"photo_id":"1333418892","filename":"file1"},{"photo_id":"1333418888","filename":"file0"},{"photo_id":"1333418905","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333418905":["hashtag1","hashtag2"]},{"1333418898":["hashtag1","hashtag2"]},{"1333418892":["hashtag1","hashtag2"]},{"1333418928":["hashtag1","hashtag2"]},{"1333418888":["hashtag1","hashtag2"]},{"1333418909":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333418905, 1333418898, 1333418892, 1333418928, 1333418888, 1333418909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.534857988357544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:20:32.142329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/07/image_31012025_14_07_15_10390.jpg', '/home/pi/Desktop/images/31012025/14/07/image_31012025_14_07_24_9334.jpg', '/home/pi/Desktop/images/31012025/14/07/image_31012025_14_07_35_10384.jpg', '/home/pi/Desktop/images/31012025/14/07/image_31012025_14_07_45_10349.jpg', '/home/pi/Desktop/images/31012025/14/07/image_31012025_14_07_54_9431.jpg', '/home/pi/Desktop/images/31012025/14/07/image_31012025_14_08_05_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/07/image_31012025_14_07_15_10390.jpg
/home/pi/Desktop/images/31012025/14/07/image_31012025_14_07_24_9334.jpg
/home/pi/Desktop/images/31012025/14/07/image_31012025_14_07_35_10384.jpg
/home/pi/Desktop/images/31012025/14/07/image_31012025_14_07_45_10349.jpg
/home/pi/Desktop/images/31012025/14/07/image_31012025_14_07_54_9431.jpg
/home/pi/Desktop/images/31012025/14/07/image_31012025_14_08_05_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":["1333419054","1333418999","1333418984","1333418986","1333419058","1333419016"],"photo_ids_order":["1333418984","1333418986","1333418999","1333419016","1333419054","1333419058"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/47a5e2c59ab29010cc7c7eac8154f48a.jpg","text":"TemporaryFile(/tmp/multipartBody55823882833043674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347692849,"filename":"image_31012025_14_07_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/1/31/3f36c785f4ee425f298ee1ecf20b50b2.jpg","text":"TemporaryFile(/tmp/multipartBody5541035045997221527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347692849,"filename":"image_31012025_14_07_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/1/31/0e583eb64687ac414be465a36b0264d4.jpg","text":"TemporaryFile(/tmp/multipartBody8336891695438761038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347692849,"filename":"image_31012025_14_07_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/1/31/3d65dcd3321107d0dacf7c93609bf355.jpg","text":"TemporaryFile(/tmp/multipartBody4230464062423511029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347692849,"filename":"image_31012025_14_07_24_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/41f1b93fb6053a8751f549d22f71a59f.jpg","text":"TemporaryFile(/tmp/multipartBody6098423356568939486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347692849,"filename":"image_31012025_14_08_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/1/31/364f2ceff616b1730038e4b6b849554c.jpg","text":"TemporaryFile(/tmp/multipartBody1772273501894509558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347692849,"filename":"image_31012025_14_07_45_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333418999","file1":"1333418986","file0":"1333418984","file4":"1333419054","file5":"1333419058","file3":"1333419016"},"map_files_photo_id_array":[{"photo_id":"1333419058","filename":"file5"},{"photo_id":"1333418999","filename":"file2"},{"photo_id":"1333419054","filename":"file4"},{"photo_id":"1333418986","filename":"file1"},{"photo_id":"1333418984","filename":"file0"},{"photo_id":"1333419016","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333419054":["hashtag1","hashtag2"]},{"1333418999":["hashtag1","hashtag2"]},{"1333418984":["hashtag1","hashtag2"]},{"1333418986":["hashtag1","hashtag2"]},{"1333419058":["hashtag1","hashtag2"]},{"1333419016":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333419054, 1333418999, 1333418984, 1333418986, 1333419058, 1333419016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.206300020217896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:21:32.380088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/08/image_31012025_14_08_14_9331.jpg', '/home/pi/Desktop/images/31012025/14/08/image_31012025_14_08_24_10331.jpg', '/home/pi/Desktop/images/31012025/14/08/image_31012025_14_08_35_10357.jpg', '/home/pi/Desktop/images/31012025/14/08/image_31012025_14_08_44_9359.jpg', '/home/pi/Desktop/images/31012025/14/09/image_31012025_14_10_04_9335.jpg', '/home/pi/Desktop/images/31012025/14/10/image_31012025_14_10_15_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/08/image_31012025_14_08_14_9331.jpg
/home/pi/Desktop/images/31012025/14/08/image_31012025_14_08_24_10331.jpg
/home/pi/Desktop/images/31012025/14/08/image_31012025_14_08_35_10357.jpg
/home/pi/Desktop/images/31012025/14/08/image_31012025_14_08_44_9359.jpg
/home/pi/Desktop/images/31012025/14/09/image_31012025_14_10_04_9335.jpg
/home/pi/Desktop/images/31012025/14/10/image_31012025_14_10_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":["1333419129","1333419143","1333419125","1333419134","1333419145","1333419139"],"photo_ids_order":["1333419125","1333419129","1333419134","1333419139","1333419143","1333419145"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/14f925ff9cb7521757daa55abb4ae6dd.jpg","text":"TemporaryFile(/tmp/multipartBody5293952900983941647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347752931,"filename":"image_31012025_14_08_24_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/894dcae6810c9fb3d6b0afe6aabcff00.jpg","text":"TemporaryFile(/tmp/multipartBody8851392681790531864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347752931,"filename":"image_31012025_14_10_04_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2d7ee563d3e46c0d2224eee3b6547b58.jpg","text":"TemporaryFile(/tmp/multipartBody1259508335724293230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347752931,"filename":"image_31012025_14_08_14_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/626fa28920afc3f2d429d3462f3fe2a9.jpg","text":"TemporaryFile(/tmp/multipartBody3437314531296533185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347752931,"filename":"image_31012025_14_08_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/1/31/875f12eec14796c3b02a82e1b111cf23.jpg","text":"TemporaryFile(/tmp/multipartBody5657303229625125230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347752931,"filename":"image_31012025_14_10_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/1/31/a25fdc287be0d2e407070c7dc014dff7.jpg","text":"TemporaryFile(/tmp/multipartBody7698630212249301198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347752931,"filename":"image_31012025_14_08_44_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333419134","file1":"1333419129","file0":"1333419125","file4":"1333419143","file5":"1333419145","file3":"1333419139"},"map_files_photo_id_array":[{"photo_id":"1333419145","filename":"file5"},{"photo_id":"1333419134","filename":"file2"},{"photo_id":"1333419143","filename":"file4"},{"photo_id":"1333419129","filename":"file1"},{"photo_id":"1333419125","filename":"file0"},{"photo_id":"1333419139","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333419129":["hashtag1","hashtag2"]},{"1333419143":["hashtag1","hashtag2"]},{"1333419125":["hashtag1","hashtag2"]},{"1333419134":["hashtag1","hashtag2"]},{"1333419145":["hashtag1","hashtag2"]},{"1333419139":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333419129, 1333419143, 1333419125, 1333419134, 1333419145, 1333419139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.066084146499634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:22:32.668340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/10/image_31012025_14_10_25_10347.jpg', '/home/pi/Desktop/images/31012025/14/10/image_31012025_14_10_34_9345.jpg', '/home/pi/Desktop/images/31012025/14/10/image_31012025_14_10_45_10353.jpg', '/home/pi/Desktop/images/31012025/14/10/image_31012025_14_10_55_10417.jpg', '/home/pi/Desktop/images/31012025/14/11/image_31012025_14_11_24_9349.jpg', '/home/pi/Desktop/images/31012025/14/11/image_31012025_14_11_45_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/10/image_31012025_14_10_25_10347.jpg
/home/pi/Desktop/images/31012025/14/10/image_31012025_14_10_34_9345.jpg
/home/pi/Desktop/images/31012025/14/10/image_31012025_14_10_45_10353.jpg
/home/pi/Desktop/images/31012025/14/10/image_31012025_14_10_55_10417.jpg
/home/pi/Desktop/images/31012025/14/11/image_31012025_14_11_24_9349.jpg
/home/pi/Desktop/images/31012025/14/11/image_31012025_14_11_45_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333419198","1333419194","1333419200","1333419190","1333419175","1333419169"],"photo_ids_order":["1333419169","1333419175","1333419190","1333419194","1333419198","1333419200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8ede206a854698c94adcce0d3b048478.jpg","text":"TemporaryFile(/tmp/multipartBody6075886960034284802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347813241,"filename":"image_31012025_14_11_24_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f1f68d41d5046e004289338a6c86f11e.jpg","text":"TemporaryFile(/tmp/multipartBody61181142782213567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347813241,"filename":"image_31012025_14_10_55_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/106c9ff3316c3fcb691e9bcf367d0767.jpg","text":"TemporaryFile(/tmp/multipartBody3440618873043022403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347813241,"filename":"image_31012025_14_11_45_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/89fabb85b7f674cd4cd026093270f1f2.jpg","text":"TemporaryFile(/tmp/multipartBody8685357808180873856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347813241,"filename":"image_31012025_14_10_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/1/31/1090f9e5626f6d838f4328a37a32af37.jpg","text":"TemporaryFile(/tmp/multipartBody2459988587822162907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347813241,"filename":"image_31012025_14_10_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/1/31/2063fdeae32575f1808ae2eaad1b581b.jpg","text":"TemporaryFile(/tmp/multipartBody1050059855110546278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347813241,"filename":"image_31012025_14_10_25_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333419190","file1":"1333419175","file0":"1333419169","file4":"1333419198","file5":"1333419200","file3":"1333419194"},"map_files_photo_id_array":[{"photo_id":"1333419200","filename":"file5"},{"photo_id":"1333419190","filename":"file2"},{"photo_id":"1333419198","filename":"file4"},{"photo_id":"1333419175","filename":"file1"},{"photo_id":"1333419169","filename":"file0"},{"photo_id":"1333419194","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333419198":["hashtag1","hashtag2"]},{"1333419194":["hashtag1","hashtag2"]},{"1333419200":["hashtag1","hashtag2"]},{"1333419190":["hashtag1","hashtag2"]},{"1333419175":["hashtag1","hashtag2"]},{"1333419169":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333419198, 1333419194, 1333419200, 1333419190, 1333419175, 1333419169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.53831100463867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:23:33.021412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/11/image_31012025_14_11_54_9354.jpg', '/home/pi/Desktop/images/31012025/14/12/image_31012025_14_12_14_9365.jpg', '/home/pi/Desktop/images/31012025/14/12/image_31012025_14_12_24_10346.jpg', '/home/pi/Desktop/images/31012025/14/12/image_31012025_14_12_44_9366.jpg', '/home/pi/Desktop/images/31012025/14/12/image_31012025_14_12_55_10362.jpg', '/home/pi/Desktop/images/31012025/14/12/image_31012025_14_13_05_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/11/image_31012025_14_11_54_9354.jpg
/home/pi/Desktop/images/31012025/14/12/image_31012025_14_12_14_9365.jpg
/home/pi/Desktop/images/31012025/14/12/image_31012025_14_12_24_10346.jpg
/home/pi/Desktop/images/31012025/14/12/image_31012025_14_12_44_9366.jpg
/home/pi/Desktop/images/31012025/14/12/image_31012025_14_12_55_10362.jpg
/home/pi/Desktop/images/31012025/14/12/image_31012025_14_13_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":["1333419417","1333419411","1333419359","1333419401","1333419406","1333419421"],"photo_ids_order":["1333419359","1333419401","1333419406","1333419411","1333419417","1333419421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2bf0abcd1caaf53dc640d82a09d34da5.jpg","text":"TemporaryFile(/tmp/multipartBody2090592206465917294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347873560,"filename":"image_31012025_14_12_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/1/31/2e023dcd29212eeca9d2b37863013490.jpg","text":"TemporaryFile(/tmp/multipartBody8453861719279068681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347873560,"filename":"image_31012025_14_12_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/1/31/2838c979341588d7a9ed32873ee25c4b.jpg","text":"TemporaryFile(/tmp/multipartBody2465330807384400480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347873560,"filename":"image_31012025_14_11_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/1/31/19148c12e6f8f4bd345b72216883dd19.jpg","text":"TemporaryFile(/tmp/multipartBody8792642524648305118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347873560,"filename":"image_31012025_14_12_14_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dcbe17f84e831743c30f1b5b2ebe1b8c.jpg","text":"TemporaryFile(/tmp/multipartBody194984846046674323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347873560,"filename":"image_31012025_14_12_24_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4385916fa6cc888aace15dd3d9e6a174.jpg","text":"TemporaryFile(/tmp/multipartBody4033741248268460801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347873560,"filename":"image_31012025_14_13_05_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333419406","file1":"1333419401","file0":"1333419359","file4":"1333419417","file5":"1333419421","file3":"1333419411"},"map_files_photo_id_array":[{"photo_id":"1333419421","filename":"file5"},{"photo_id":"1333419406","filename":"file2"},{"photo_id":"1333419417","filename":"file4"},{"photo_id":"1333419401","filename":"file1"},{"photo_id":"1333419359","filename":"file0"},{"photo_id":"1333419411","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333419417":["hashtag1","hashtag2"]},{"1333419411":["hashtag1","hashtag2"]},{"1333419359":["hashtag1","hashtag2"]},{"1333419401":["hashtag1","hashtag2"]},{"1333419406":["hashtag1","hashtag2"]},{"1333419421":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333419417, 1333419411, 1333419359, 1333419401, 1333419406, 1333419421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.945884466171265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:24:33.208958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/13/image_31012025_14_13_14_9408.jpg', '/home/pi/Desktop/images/31012025/14/13/image_31012025_14_13_25_10383.jpg', '/home/pi/Desktop/images/31012025/14/13/image_31012025_14_13_45_10432.jpg', '/home/pi/Desktop/images/31012025/14/13/image_31012025_14_13_55_10359.jpg', '/home/pi/Desktop/images/31012025/14/14/image_31012025_14_14_15_10398.jpg', '/home/pi/Desktop/images/31012025/14/14/image_31012025_14_14_24_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/13/image_31012025_14_13_14_9408.jpg
/home/pi/Desktop/images/31012025/14/13/image_31012025_14_13_25_10383.jpg
/home/pi/Desktop/images/31012025/14/13/image_31012025_14_13_45_10432.jpg
/home/pi/Desktop/images/31012025/14/13/image_31012025_14_13_55_10359.jpg
/home/pi/Desktop/images/31012025/14/14/image_31012025_14_14_15_10398.jpg
/home/pi/Desktop/images/31012025/14/14/image_31012025_14_14_24_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":["1333419750","1333419675","1333419671","1333419679","1333419634","1333419715"],"photo_ids_order":["1333419634","1333419671","1333419675","1333419679","1333419715","1333419750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/361b4a93b8c46e974499c5c3e0fcf9e5.jpg","text":"TemporaryFile(/tmp/multipartBody4444881859649015803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347933758,"filename":"image_31012025_14_14_24_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/209397f6e4540925c72326b434d50cbb.jpg","text":"TemporaryFile(/tmp/multipartBody2100085728559101511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347933758,"filename":"image_31012025_14_13_45_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/50a6a921d405b4c8409d15c289d9d5b0.jpg","text":"TemporaryFile(/tmp/multipartBody4186263239840405206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347933758,"filename":"image_31012025_14_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/1/31/8b96194ad43883a207c414c75f2083af.jpg","text":"TemporaryFile(/tmp/multipartBody3723722881492138295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347933758,"filename":"image_31012025_14_13_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/1/31/05d777c884941909d4414845ff4677a0.jpg","text":"TemporaryFile(/tmp/multipartBody2030428690546464592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347933758,"filename":"image_31012025_14_13_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/1/31/0805e53ee913a2c8a5733c9fe828aeb4.jpg","text":"TemporaryFile(/tmp/multipartBody6297757727411894609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347933758,"filename":"image_31012025_14_14_15_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333419675","file1":"1333419671","file0":"1333419634","file4":"1333419715","file5":"1333419750","file3":"1333419679"},"map_files_photo_id_array":[{"photo_id":"1333419750","filename":"file5"},{"photo_id":"1333419675","filename":"file2"},{"photo_id":"1333419715","filename":"file4"},{"photo_id":"1333419671","filename":"file1"},{"photo_id":"1333419634","filename":"file0"},{"photo_id":"1333419679","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333419750":["hashtag1","hashtag2"]},{"1333419675":["hashtag1","hashtag2"]},{"1333419671":["hashtag1","hashtag2"]},{"1333419679":["hashtag1","hashtag2"]},{"1333419634":["hashtag1","hashtag2"]},{"1333419715":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333419750, 1333419675, 1333419671, 1333419679, 1333419634, 1333419715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00873947143555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:25:32.437487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/14/image_31012025_14_14_35_10425.jpg', '/home/pi/Desktop/images/31012025/14/14/image_31012025_14_14_45_10424.jpg', '/home/pi/Desktop/images/31012025/14/14/image_31012025_14_14_54_9330.jpg', '/home/pi/Desktop/images/31012025/14/14/image_31012025_14_15_05_10330.jpg', '/home/pi/Desktop/images/31012025/14/15/image_31012025_14_15_24_9344.jpg', '/home/pi/Desktop/images/31012025/14/15/image_31012025_14_15_35_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/14/image_31012025_14_14_35_10425.jpg
/home/pi/Desktop/images/31012025/14/14/image_31012025_14_14_45_10424.jpg
/home/pi/Desktop/images/31012025/14/14/image_31012025_14_14_54_9330.jpg
/home/pi/Desktop/images/31012025/14/14/image_31012025_14_15_05_10330.jpg
/home/pi/Desktop/images/31012025/14/15/image_31012025_14_15_24_9344.jpg
/home/pi/Desktop/images/31012025/14/15/image_31012025_14_15_35_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":["1333419864","1333419972","1333419831","1333419824","1333419827","1333419821"],"photo_ids_order":["1333419821","1333419824","1333419827","1333419831","1333419864","1333419972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a5b01d6b9e727e15adb771dabf7812e7.jpg","text":"TemporaryFile(/tmp/multipartBody8859131556305347232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347992996,"filename":"image_31012025_14_15_24_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b14e8f5f93477f9a3126ec283984e52c.jpg","text":"TemporaryFile(/tmp/multipartBody5447970955931107830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347992996,"filename":"image_31012025_14_15_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/1/31/5dfb2a8acdf0300bd8b2b908342da802.jpg","text":"TemporaryFile(/tmp/multipartBody8169841575167419375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347992996,"filename":"image_31012025_14_15_05_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a47dd9c1520c07945a2e11f6757f1fad.jpg","text":"TemporaryFile(/tmp/multipartBody6624013542420637865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347992996,"filename":"image_31012025_14_14_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/1/31/c001e49c9711d1a94fd1c0139e82be39.jpg","text":"TemporaryFile(/tmp/multipartBody3344746307182379152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347992996,"filename":"image_31012025_14_14_54_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6ec07ed152e69d0dc6c5ddad067e0c42.jpg","text":"TemporaryFile(/tmp/multipartBody3756128911784344862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738347992996,"filename":"image_31012025_14_14_35_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333419827","file1":"1333419824","file0":"1333419821","file4":"1333419864","file5":"1333419972","file3":"1333419831"},"map_files_photo_id_array":[{"photo_id":"1333419972","filename":"file5"},{"photo_id":"1333419827","filename":"file2"},{"photo_id":"1333419864","filename":"file4"},{"photo_id":"1333419824","filename":"file1"},{"photo_id":"1333419821","filename":"file0"},{"photo_id":"1333419831","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333419864":["hashtag1","hashtag2"]},{"1333419972":["hashtag1","hashtag2"]},{"1333419831":["hashtag1","hashtag2"]},{"1333419824":["hashtag1","hashtag2"]},{"1333419827":["hashtag1","hashtag2"]},{"1333419821":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333419864, 1333419972, 1333419831, 1333419824, 1333419827, 1333419821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.605966806411743 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:26:32.647726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/15/image_31012025_14_15_44_9343.jpg', '/home/pi/Desktop/images/31012025/14/15/image_31012025_14_15_55_10350.jpg', '/home/pi/Desktop/images/31012025/14/15/image_31012025_14_16_05_10463.jpg', '/home/pi/Desktop/images/31012025/14/16/image_31012025_14_16_14_9341.jpg', '/home/pi/Desktop/images/31012025/14/16/image_31012025_14_16_25_10407.jpg', '/home/pi/Desktop/images/31012025/14/16/image_31012025_14_16_35_10326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/15/image_31012025_14_15_44_9343.jpg
/home/pi/Desktop/images/31012025/14/15/image_31012025_14_15_55_10350.jpg
/home/pi/Desktop/images/31012025/14/15/image_31012025_14_16_05_10463.jpg
/home/pi/Desktop/images/31012025/14/16/image_31012025_14_16_14_9341.jpg
/home/pi/Desktop/images/31012025/14/16/image_31012025_14_16_25_10407.jpg
/home/pi/Desktop/images/31012025/14/16/image_31012025_14_16_35_10326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333420170","1333420160","1333420148","1333420142","1333420165","1333420153"],"photo_ids_order":["1333420142","1333420148","1333420153","1333420160","1333420165","1333420170"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4d87e220ee9383ab2bafe669a81e8252.jpg","text":"TemporaryFile(/tmp/multipartBody6091648966514964211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348053195,"filename":"image_31012025_14_16_35_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ac8071a9d3df13b49aaf602fbc82de2e.jpg","text":"TemporaryFile(/tmp/multipartBody5150742002205612368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348053195,"filename":"image_31012025_14_16_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/1/31/4be0e268d744ebf3f57e3f3579476c8d.jpg","text":"TemporaryFile(/tmp/multipartBody4092754702913886466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348053195,"filename":"image_31012025_14_15_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/1/31/8816fc1ba64534c2c28cccd18effc00d.jpg","text":"TemporaryFile(/tmp/multipartBody9153577159501625350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348053195,"filename":"image_31012025_14_15_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/1/31/250af59313c21beeebf1f54a066f9e55.jpg","text":"TemporaryFile(/tmp/multipartBody4619459834735122691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348053195,"filename":"image_31012025_14_16_25_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/741efca1032edc5ae9f28db3695bf05a.jpg","text":"TemporaryFile(/tmp/multipartBody118507518899813147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348053195,"filename":"image_31012025_14_16_05_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333420153","file1":"1333420148","file0":"1333420142","file4":"1333420165","file5":"1333420170","file3":"1333420160"},"map_files_photo_id_array":[{"photo_id":"1333420170","filename":"file5"},{"photo_id":"1333420153","filename":"file2"},{"photo_id":"1333420165","filename":"file4"},{"photo_id":"1333420148","filename":"file1"},{"photo_id":"1333420142","filename":"file0"},{"photo_id":"1333420160","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333420170":["hashtag1","hashtag2"]},{"1333420160":["hashtag1","hashtag2"]},{"1333420148":["hashtag1","hashtag2"]},{"1333420142":["hashtag1","hashtag2"]},{"1333420165":["hashtag1","hashtag2"]},{"1333420153":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333420170, 1333420160, 1333420148, 1333420142, 1333420165, 1333420153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.796066284179688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:27:32.925074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/16/image_31012025_14_16_44_9387.jpg', '/home/pi/Desktop/images/31012025/14/16/image_31012025_14_16_55_10348.jpg', '/home/pi/Desktop/images/31012025/14/16/image_31012025_14_17_04_9332.jpg', '/home/pi/Desktop/images/31012025/14/17/image_31012025_14_17_14_10340.jpg', '/home/pi/Desktop/images/31012025/14/17/image_31012025_14_17_25_10466.jpg', '/home/pi/Desktop/images/31012025/14/17/image_31012025_14_17_34_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/16/image_31012025_14_16_44_9387.jpg
/home/pi/Desktop/images/31012025/14/16/image_31012025_14_16_55_10348.jpg
/home/pi/Desktop/images/31012025/14/16/image_31012025_14_17_04_9332.jpg
/home/pi/Desktop/images/31012025/14/17/image_31012025_14_17_14_10340.jpg
/home/pi/Desktop/images/31012025/14/17/image_31012025_14_17_25_10466.jpg
/home/pi/Desktop/images/31012025/14/17/image_31012025_14_17_34_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":["1333420216","1333420281","1333420275","1333420230","1333420271","1333420267"],"photo_ids_order":["1333420216","1333420230","1333420267","1333420271","1333420275","1333420281"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4172b732f5b75f39db7697b89872ea66.jpg","text":"TemporaryFile(/tmp/multipartBody213015738155581966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348113472,"filename":"image_31012025_14_16_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/1/31/bcb1acfa9fd4abf6fb234669d109424a.jpg","text":"TemporaryFile(/tmp/multipartBody6690546613788509020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348113472,"filename":"image_31012025_14_17_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/1/31/9358b3566c4945a8d574e7b9f6507ba4.jpg","text":"TemporaryFile(/tmp/multipartBody5277043337461707637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348113472,"filename":"image_31012025_14_17_25_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/342bed05f43c5850f7089659ec68d7cc.jpg","text":"TemporaryFile(/tmp/multipartBody815097962647923483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348113472,"filename":"image_31012025_14_16_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/1/31/dfe19c792408d22521868fd973e616e1.jpg","text":"TemporaryFile(/tmp/multipartBody815285401715373177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348113472,"filename":"image_31012025_14_17_14_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0ee98570b1065595365dcd31c03414cf.jpg","text":"TemporaryFile(/tmp/multipartBody7124628744695717217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348113472,"filename":"image_31012025_14_17_04_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333420267","file1":"1333420230","file0":"1333420216","file4":"1333420275","file5":"1333420281","file3":"1333420271"},"map_files_photo_id_array":[{"photo_id":"1333420281","filename":"file5"},{"photo_id":"1333420267","filename":"file2"},{"photo_id":"1333420275","filename":"file4"},{"photo_id":"1333420230","filename":"file1"},{"photo_id":"1333420216","filename":"file0"},{"photo_id":"1333420271","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333420216":["hashtag1","hashtag2"]},{"1333420281":["hashtag1","hashtag2"]},{"1333420275":["hashtag1","hashtag2"]},{"1333420230":["hashtag1","hashtag2"]},{"1333420271":["hashtag1","hashtag2"]},{"1333420267":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333420216, 1333420281, 1333420275, 1333420230, 1333420271, 1333420267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.107309341430664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:28:33.107530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/17/image_31012025_14_17_45_10509.jpg', '/home/pi/Desktop/images/31012025/14/17/image_31012025_14_17_54_9356.jpg', '/home/pi/Desktop/images/31012025/14/17/image_31012025_14_18_05_10467.jpg', '/home/pi/Desktop/images/31012025/14/18/image_31012025_14_18_15_10337.jpg', '/home/pi/Desktop/images/31012025/14/18/image_31012025_14_18_24_9380.jpg', '/home/pi/Desktop/images/31012025/14/18/image_31012025_14_18_35_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/17/image_31012025_14_17_45_10509.jpg
/home/pi/Desktop/images/31012025/14/17/image_31012025_14_17_54_9356.jpg
/home/pi/Desktop/images/31012025/14/17/image_31012025_14_18_05_10467.jpg
/home/pi/Desktop/images/31012025/14/18/image_31012025_14_18_15_10337.jpg
/home/pi/Desktop/images/31012025/14/18/image_31012025_14_18_24_9380.jpg
/home/pi/Desktop/images/31012025/14/18/image_31012025_14_18_35_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":["1333420333","1333420300","1333420305","1333420316","1333420319","1333420310"],"photo_ids_order":["1333420300","1333420305","1333420310","1333420316","1333420319","1333420333"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/761afdd834f5890070b138a9bef999a6.jpg","text":"TemporaryFile(/tmp/multipartBody1430272878620057131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348173652,"filename":"image_31012025_14_18_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/1/31/1e62bae2163093eacd222b35a06beb3f.jpg","text":"TemporaryFile(/tmp/multipartBody480287863878819657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348173652,"filename":"image_31012025_14_17_45_10509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/41e1ffb7c72fa7961d41e9b807d4b004.jpg","text":"TemporaryFile(/tmp/multipartBody8438246229305903938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348173652,"filename":"image_31012025_14_17_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/1/31/c4bbdeb312b2a18e02710474662c531d.jpg","text":"TemporaryFile(/tmp/multipartBody1716310069094190233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348173652,"filename":"image_31012025_14_18_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/1/31/e5edcf0b6681026ce1ab171d42b60448.jpg","text":"TemporaryFile(/tmp/multipartBody5937133878074393750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348173652,"filename":"image_31012025_14_18_24_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/298748df28bcf7027499c951537ec5ce.jpg","text":"TemporaryFile(/tmp/multipartBody447747131086205620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348173652,"filename":"image_31012025_14_18_05_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333420310","file1":"1333420305","file0":"1333420300","file4":"1333420319","file5":"1333420333","file3":"1333420316"},"map_files_photo_id_array":[{"photo_id":"1333420333","filename":"file5"},{"photo_id":"1333420310","filename":"file2"},{"photo_id":"1333420319","filename":"file4"},{"photo_id":"1333420305","filename":"file1"},{"photo_id":"1333420300","filename":"file0"},{"photo_id":"1333420316","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333420333":["hashtag1","hashtag2"]},{"1333420300":["hashtag1","hashtag2"]},{"1333420305":["hashtag1","hashtag2"]},{"1333420316":["hashtag1","hashtag2"]},{"1333420319":["hashtag1","hashtag2"]},{"1333420310":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333420333, 1333420300, 1333420305, 1333420316, 1333420319, 1333420310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.480434894561768 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:29:32.419202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/18/image_31012025_14_18_44_9394.jpg', '/home/pi/Desktop/images/31012025/14/18/image_31012025_14_18_55_10360.jpg', '/home/pi/Desktop/images/31012025/14/18/image_31012025_14_19_05_10350.jpg', '/home/pi/Desktop/images/31012025/14/19/image_31012025_14_19_14_9370.jpg', '/home/pi/Desktop/images/31012025/14/19/image_31012025_14_19_25_10482.jpg', '/home/pi/Desktop/images/31012025/14/19/image_31012025_14_19_34_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/18/image_31012025_14_18_44_9394.jpg
/home/pi/Desktop/images/31012025/14/18/image_31012025_14_18_55_10360.jpg
/home/pi/Desktop/images/31012025/14/18/image_31012025_14_19_05_10350.jpg
/home/pi/Desktop/images/31012025/14/19/image_31012025_14_19_14_9370.jpg
/home/pi/Desktop/images/31012025/14/19/image_31012025_14_19_25_10482.jpg
/home/pi/Desktop/images/31012025/14/19/image_31012025_14_19_34_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":["1333420374","1333420377","1333420370","1333420361","1333420372","1333420366"],"photo_ids_order":["1333420361","1333420366","1333420370","1333420372","1333420374","1333420377"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/df3b173b4199c5b4f9dc53d041c3ac20.jpg","text":"TemporaryFile(/tmp/multipartBody4275787354268123438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348232968,"filename":"image_31012025_14_19_25_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/54fd80e628a5da26ee6a15bd802d94d6.jpg","text":"TemporaryFile(/tmp/multipartBody3484810368637378415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348232968,"filename":"image_31012025_14_19_34_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ff547ce63a110f6212634f876ba437e2.jpg","text":"TemporaryFile(/tmp/multipartBody1342652202201840908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348232968,"filename":"image_31012025_14_19_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/1/31/b5c7e82871be7332dcf60d0bc5cb877e.jpg","text":"TemporaryFile(/tmp/multipartBody7621420964932668121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348232968,"filename":"image_31012025_14_18_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/1/31/066b3b776c2c0101e2553c6c431d0a77.jpg","text":"TemporaryFile(/tmp/multipartBody3339076130681506181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348232968,"filename":"image_31012025_14_19_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/1/31/f3896c8fd1454c460f4d62aee5a3ac56.jpg","text":"TemporaryFile(/tmp/multipartBody7196638329166886040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348232968,"filename":"image_31012025_14_18_55_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333420370","file1":"1333420366","file0":"1333420361","file4":"1333420374","file5":"1333420377","file3":"1333420372"},"map_files_photo_id_array":[{"photo_id":"1333420377","filename":"file5"},{"photo_id":"1333420370","filename":"file2"},{"photo_id":"1333420374","filename":"file4"},{"photo_id":"1333420366","filename":"file1"},{"photo_id":"1333420361","filename":"file0"},{"photo_id":"1333420372","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333420374":["hashtag1","hashtag2"]},{"1333420377":["hashtag1","hashtag2"]},{"1333420370":["hashtag1","hashtag2"]},{"1333420361":["hashtag1","hashtag2"]},{"1333420372":["hashtag1","hashtag2"]},{"1333420366":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333420374, 1333420377, 1333420370, 1333420361, 1333420372, 1333420366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.60512375831604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:30:32.668840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/19/image_31012025_14_19_44_10348.jpg', '/home/pi/Desktop/images/31012025/14/19/image_31012025_14_19_55_10463.jpg', '/home/pi/Desktop/images/31012025/14/19/image_31012025_14_20_04_9414.jpg', '/home/pi/Desktop/images/31012025/14/20/image_31012025_14_20_15_10476.jpg', '/home/pi/Desktop/images/31012025/14/20/image_31012025_14_20_24_9353.jpg', '/home/pi/Desktop/images/31012025/14/20/image_31012025_14_20_45_10469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/19/image_31012025_14_19_44_10348.jpg
/home/pi/Desktop/images/31012025/14/19/image_31012025_14_19_55_10463.jpg
/home/pi/Desktop/images/31012025/14/19/image_31012025_14_20_04_9414.jpg
/home/pi/Desktop/images/31012025/14/20/image_31012025_14_20_15_10476.jpg
/home/pi/Desktop/images/31012025/14/20/image_31012025_14_20_24_9353.jpg
/home/pi/Desktop/images/31012025/14/20/image_31012025_14_20_45_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":["1333420497","1333420455","1333420469","1333420441","1333420459","1333420450"],"photo_ids_order":["1333420441","1333420450","1333420455","1333420459","1333420469","1333420497"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3c85724b4a6442eb275ee8176aab8edc.jpg","text":"TemporaryFile(/tmp/multipartBody8124472756162731951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348293207,"filename":"image_31012025_14_20_45_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/09dad703cf7c44fa5f00dabdb7317f09.jpg","text":"TemporaryFile(/tmp/multipartBody8377933340971189376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348293207,"filename":"image_31012025_14_20_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/1/31/317347c0bf8e912449d8fe05418ab9b2.jpg","text":"TemporaryFile(/tmp/multipartBody7266919895388894738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348293207,"filename":"image_31012025_14_20_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/1/31/b417bbd63fbfc3cbeb4ca1cc2dc6540e.jpg","text":"TemporaryFile(/tmp/multipartBody6747295209745963138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348293207,"filename":"image_31012025_14_19_44_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/101cdd3b8a4047861e89a8c4d5a546cc.jpg","text":"TemporaryFile(/tmp/multipartBody8245006948464701686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348293207,"filename":"image_31012025_14_20_15_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5951969d740f1c7fcb2b81c33fed196f.jpg","text":"TemporaryFile(/tmp/multipartBody111711520725016019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348293207,"filename":"image_31012025_14_19_55_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333420455","file1":"1333420450","file0":"1333420441","file4":"1333420469","file5":"1333420497","file3":"1333420459"},"map_files_photo_id_array":[{"photo_id":"1333420497","filename":"file5"},{"photo_id":"1333420455","filename":"file2"},{"photo_id":"1333420469","filename":"file4"},{"photo_id":"1333420450","filename":"file1"},{"photo_id":"1333420441","filename":"file0"},{"photo_id":"1333420459","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333420497":["hashtag1","hashtag2"]},{"1333420455":["hashtag1","hashtag2"]},{"1333420469":["hashtag1","hashtag2"]},{"1333420441":["hashtag1","hashtag2"]},{"1333420459":["hashtag1","hashtag2"]},{"1333420450":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333420497, 1333420455, 1333420469, 1333420441, 1333420459, 1333420450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.68168592453003 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:31:33.054607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/20/image_31012025_14_20_54_9350.jpg', '/home/pi/Desktop/images/31012025/14/20/image_31012025_14_21_05_10445.jpg', '/home/pi/Desktop/images/31012025/14/21/image_31012025_14_21_14_9352.jpg', '/home/pi/Desktop/images/31012025/14/21/image_31012025_14_21_24_10350.jpg', '/home/pi/Desktop/images/31012025/14/21/image_31012025_14_21_44_9345.jpg', '/home/pi/Desktop/images/31012025/14/21/image_31012025_14_21_55_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/20/image_31012025_14_20_54_9350.jpg
/home/pi/Desktop/images/31012025/14/20/image_31012025_14_21_05_10445.jpg
/home/pi/Desktop/images/31012025/14/21/image_31012025_14_21_14_9352.jpg
/home/pi/Desktop/images/31012025/14/21/image_31012025_14_21_24_10350.jpg
/home/pi/Desktop/images/31012025/14/21/image_31012025_14_21_44_9345.jpg
/home/pi/Desktop/images/31012025/14/21/image_31012025_14_21_55_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":["1333420572","1333420559","1333420591","1333420585","1333420579","1333420588"],"photo_ids_order":["1333420559","1333420572","1333420579","1333420585","1333420588","1333420591"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/352d2a5be96e3bc0e73f788a14064753.jpg","text":"TemporaryFile(/tmp/multipartBody8633677239281888398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348353580,"filename":"image_31012025_14_21_05_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fcd260f4ca04da4a41dd84e9887aa1fe.jpg","text":"TemporaryFile(/tmp/multipartBody1237874263296286116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348353580,"filename":"image_31012025_14_20_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/1/31/1768ced2c09077d39c8833f4f15dae92.jpg","text":"TemporaryFile(/tmp/multipartBody28240847302799787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348353580,"filename":"image_31012025_14_21_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/1/31/17003a0eedb3f3cf457aaaeb50fe3948.jpg","text":"TemporaryFile(/tmp/multipartBody8844407186896396477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348353580,"filename":"image_31012025_14_21_24_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/86a89941bf5ba15a24ad7f8bf8c5b30a.jpg","text":"TemporaryFile(/tmp/multipartBody5511515697675542239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348353580,"filename":"image_31012025_14_21_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/1/31/5a7f64898bd2d605ea54bad980508ed7.jpg","text":"TemporaryFile(/tmp/multipartBody7683768615499506645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348353580,"filename":"image_31012025_14_21_44_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333420579","file1":"1333420572","file0":"1333420559","file4":"1333420588","file5":"1333420591","file3":"1333420585"},"map_files_photo_id_array":[{"photo_id":"1333420591","filename":"file5"},{"photo_id":"1333420579","filename":"file2"},{"photo_id":"1333420588","filename":"file4"},{"photo_id":"1333420572","filename":"file1"},{"photo_id":"1333420559","filename":"file0"},{"photo_id":"1333420585","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333420572":["hashtag1","hashtag2"]},{"1333420559":["hashtag1","hashtag2"]},{"1333420591":["hashtag1","hashtag2"]},{"1333420585":["hashtag1","hashtag2"]},{"1333420579":["hashtag1","hashtag2"]},{"1333420588":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333420572, 1333420559, 1333420591, 1333420585, 1333420579, 1333420588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.226826906204224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:32:32.326840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/21/image_31012025_14_22_05_10364.jpg', '/home/pi/Desktop/images/31012025/14/22/image_31012025_14_22_14_9331.jpg', '/home/pi/Desktop/images/31012025/14/22/image_31012025_14_22_35_10347.jpg', '/home/pi/Desktop/images/31012025/14/22/image_31012025_14_22_44_9339.jpg', '/home/pi/Desktop/images/31012025/14/23/image_31012025_14_23_15_10375.jpg', '/home/pi/Desktop/images/31012025/14/23/image_31012025_14_23_25_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/21/image_31012025_14_22_05_10364.jpg
/home/pi/Desktop/images/31012025/14/22/image_31012025_14_22_14_9331.jpg
/home/pi/Desktop/images/31012025/14/22/image_31012025_14_22_35_10347.jpg
/home/pi/Desktop/images/31012025/14/22/image_31012025_14_22_44_9339.jpg
/home/pi/Desktop/images/31012025/14/23/image_31012025_14_23_15_10375.jpg
/home/pi/Desktop/images/31012025/14/23/image_31012025_14_23_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":["1333420624","1333420629","1333420620","1333420614","1333420610","1333420628"],"photo_ids_order":["1333420610","1333420614","1333420620","1333420624","1333420628","1333420629"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/accbdf35b48dd5dd71a72ca577ad75a9.jpg","text":"TemporaryFile(/tmp/multipartBody5866361013957975798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348412883,"filename":"image_31012025_14_22_44_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5b3027f0043e3caf9e7677697f5b8de7.jpg","text":"TemporaryFile(/tmp/multipartBody413639657008736389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348412883,"filename":"image_31012025_14_23_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/1/31/14bb15086310b171c19413cd079e521f.jpg","text":"TemporaryFile(/tmp/multipartBody5373843137954376914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348412883,"filename":"image_31012025_14_22_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/1/31/7d5809ca471f443dcaff44df0a942a44.jpg","text":"TemporaryFile(/tmp/multipartBody4923778463545054754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348412883,"filename":"image_31012025_14_22_14_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8f041c9dd20fde75f0f430b6274f8de1.jpg","text":"TemporaryFile(/tmp/multipartBody4353874254181236441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348412883,"filename":"image_31012025_14_22_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/1/31/d15587ae70af40f2017621c1f3411a2f.jpg","text":"TemporaryFile(/tmp/multipartBody6104586938284682503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348412883,"filename":"image_31012025_14_23_15_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333420620","file1":"1333420614","file0":"1333420610","file4":"1333420628","file5":"1333420629","file3":"1333420624"},"map_files_photo_id_array":[{"photo_id":"1333420629","filename":"file5"},{"photo_id":"1333420620","filename":"file2"},{"photo_id":"1333420628","filename":"file4"},{"photo_id":"1333420614","filename":"file1"},{"photo_id":"1333420610","filename":"file0"},{"photo_id":"1333420624","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333420624":["hashtag1","hashtag2"]},{"1333420629":["hashtag1","hashtag2"]},{"1333420620":["hashtag1","hashtag2"]},{"1333420614":["hashtag1","hashtag2"]},{"1333420610":["hashtag1","hashtag2"]},{"1333420628":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333420624, 1333420629, 1333420620, 1333420614, 1333420610, 1333420628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32757377624512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:33:32.517783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/23/image_31012025_14_23_34_9346.jpg', '/home/pi/Desktop/images/31012025/14/23/image_31012025_14_23_45_10414.jpg', '/home/pi/Desktop/images/31012025/14/23/image_31012025_14_23_54_9428.jpg', '/home/pi/Desktop/images/31012025/14/24/image_31012025_14_24_15_10433.jpg', '/home/pi/Desktop/images/31012025/14/24/image_31012025_14_24_24_9349.jpg', '/home/pi/Desktop/images/31012025/14/24/image_31012025_14_24_35_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/23/image_31012025_14_23_34_9346.jpg
/home/pi/Desktop/images/31012025/14/23/image_31012025_14_23_45_10414.jpg
/home/pi/Desktop/images/31012025/14/23/image_31012025_14_23_54_9428.jpg
/home/pi/Desktop/images/31012025/14/24/image_31012025_14_24_15_10433.jpg
/home/pi/Desktop/images/31012025/14/24/image_31012025_14_24_24_9349.jpg
/home/pi/Desktop/images/31012025/14/24/image_31012025_14_24_35_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333420650","1333420682","1333420676","1333420670","1333420654","1333420663"],"photo_ids_order":["1333420650","1333420654","1333420663","1333420670","1333420676","1333420682"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/06d5eae7e749f5563c5780bf2f8f6a58.jpg","text":"TemporaryFile(/tmp/multipartBody5622060632996172162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348473067,"filename":"image_31012025_14_23_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/1/31/094d1f120e98924d6c93c4998b167d4f.jpg","text":"TemporaryFile(/tmp/multipartBody8393558366691732622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348473067,"filename":"image_31012025_14_24_35_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/67872fce90d3da2f64ff9aa1b1125ad6.jpg","text":"TemporaryFile(/tmp/multipartBody212945710859765879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348473067,"filename":"image_31012025_14_24_24_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6054001c566f85ac09139261b22e394c.jpg","text":"TemporaryFile(/tmp/multipartBody4188946715992547664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348473067,"filename":"image_31012025_14_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/1/31/032de2cf21891d6a66a50a880fd7a1aa.jpg","text":"TemporaryFile(/tmp/multipartBody5114466943290721658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348473067,"filename":"image_31012025_14_23_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/1/31/a17650a3d808e85605cc6935ffcb89f9.jpg","text":"TemporaryFile(/tmp/multipartBody4192387692527604469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348473067,"filename":"image_31012025_14_23_54_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333420663","file1":"1333420654","file0":"1333420650","file4":"1333420676","file5":"1333420682","file3":"1333420670"},"map_files_photo_id_array":[{"photo_id":"1333420682","filename":"file5"},{"photo_id":"1333420663","filename":"file2"},{"photo_id":"1333420676","filename":"file4"},{"photo_id":"1333420654","filename":"file1"},{"photo_id":"1333420650","filename":"file0"},{"photo_id":"1333420670","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333420650":["hashtag1","hashtag2"]},{"1333420682":["hashtag1","hashtag2"]},{"1333420676":["hashtag1","hashtag2"]},{"1333420670":["hashtag1","hashtag2"]},{"1333420654":["hashtag1","hashtag2"]},{"1333420663":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333420650, 1333420682, 1333420676, 1333420670, 1333420654, 1333420663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05236744880676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:34:32.857378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/24/image_31012025_14_24_45_10361.jpg', '/home/pi/Desktop/images/31012025/14/24/image_31012025_14_24_54_9348.jpg', '/home/pi/Desktop/images/31012025/14/24/image_31012025_14_25_05_10394.jpg', '/home/pi/Desktop/images/31012025/14/25/image_31012025_14_25_15_10340.jpg', '/home/pi/Desktop/images/31012025/14/25/image_31012025_14_25_24_9410.jpg', '/home/pi/Desktop/images/31012025/14/25/image_31012025_14_25_35_10454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/24/image_31012025_14_24_45_10361.jpg
/home/pi/Desktop/images/31012025/14/24/image_31012025_14_24_54_9348.jpg
/home/pi/Desktop/images/31012025/14/24/image_31012025_14_25_05_10394.jpg
/home/pi/Desktop/images/31012025/14/25/image_31012025_14_25_15_10340.jpg
/home/pi/Desktop/images/31012025/14/25/image_31012025_14_25_24_9410.jpg
/home/pi/Desktop/images/31012025/14/25/image_31012025_14_25_35_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":["1333421439","1333421274","1333421269","1333421263","1333421257","1333421509"],"photo_ids_order":["1333421257","1333421263","1333421269","1333421274","1333421439","1333421509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b3d811e8c0c62e7ebb0448c34e94df3b.jpg","text":"TemporaryFile(/tmp/multipartBody1613512594770994481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348533420,"filename":"image_31012025_14_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/1/31/8b3d817aa2c9bf793c6e4e131f7b4478.jpg","text":"TemporaryFile(/tmp/multipartBody4399051413955620271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348533420,"filename":"image_31012025_14_25_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/1/31/b784428c0713279d4dda34bc36a5b61f.jpg","text":"TemporaryFile(/tmp/multipartBody6208975031057066520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348533420,"filename":"image_31012025_14_25_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/1/31/d7632f422be6ea50b2bb6aa0282e55b5.jpg","text":"TemporaryFile(/tmp/multipartBody8200149076446216759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348533420,"filename":"image_31012025_14_24_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/1/31/223cf2519d11dbd1538cfca39645f9a8.jpg","text":"TemporaryFile(/tmp/multipartBody6308701462806195712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348533420,"filename":"image_31012025_14_24_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/1/31/913d1c37a9ca3e62de060c343e1f9514.jpg","text":"TemporaryFile(/tmp/multipartBody8549587982693958982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348533420,"filename":"image_31012025_14_25_35_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333421269","file1":"1333421263","file0":"1333421257","file4":"1333421439","file5":"1333421509","file3":"1333421274"},"map_files_photo_id_array":[{"photo_id":"1333421509","filename":"file5"},{"photo_id":"1333421269","filename":"file2"},{"photo_id":"1333421439","filename":"file4"},{"photo_id":"1333421263","filename":"file1"},{"photo_id":"1333421257","filename":"file0"},{"photo_id":"1333421274","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333421439":["hashtag1","hashtag2"]},{"1333421274":["hashtag1","hashtag2"]},{"1333421269":["hashtag1","hashtag2"]},{"1333421263":["hashtag1","hashtag2"]},{"1333421257":["hashtag1","hashtag2"]},{"1333421509":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333421439, 1333421274, 1333421269, 1333421263, 1333421257, 1333421509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.719011068344116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:35:33.428570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/25/image_31012025_14_25_44_9342.jpg', '/home/pi/Desktop/images/31012025/14/25/image_31012025_14_25_55_10352.jpg', '/home/pi/Desktop/images/31012025/14/25/image_31012025_14_26_05_10376.jpg', '/home/pi/Desktop/images/31012025/14/26/image_31012025_14_26_14_9334.jpg', '/home/pi/Desktop/images/31012025/14/26/image_31012025_14_26_25_10445.jpg', '/home/pi/Desktop/images/31012025/14/26/image_31012025_14_26_34_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/25/image_31012025_14_25_44_9342.jpg
/home/pi/Desktop/images/31012025/14/25/image_31012025_14_25_55_10352.jpg
/home/pi/Desktop/images/31012025/14/25/image_31012025_14_26_05_10376.jpg
/home/pi/Desktop/images/31012025/14/26/image_31012025_14_26_14_9334.jpg
/home/pi/Desktop/images/31012025/14/26/image_31012025_14_26_25_10445.jpg
/home/pi/Desktop/images/31012025/14/26/image_31012025_14_26_34_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":["1333421943","1333421931","1333421981","1333422013","1333421965","1333421997"],"photo_ids_order":["1333421931","1333421943","1333421965","1333421981","1333421997","1333422013"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/df9a83f578bb7c95fae7e9d3e6008cdf.jpg","text":"TemporaryFile(/tmp/multipartBody5281918049856526791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348593967,"filename":"image_31012025_14_25_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/1/31/3c728a9115732792a159aa026b7a7ac0.jpg","text":"TemporaryFile(/tmp/multipartBody6425562402664668320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348593967,"filename":"image_31012025_14_25_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/1/31/5b50c3c965589347faa87a8bd094d114.jpg","text":"TemporaryFile(/tmp/multipartBody7957902964965644358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348593967,"filename":"image_31012025_14_26_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/1/31/41d7e1ae6b55c0b47c6cd1a155e24456.jpg","text":"TemporaryFile(/tmp/multipartBody7219028252689370905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348593967,"filename":"image_31012025_14_26_34_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a48251f8e2c6c9b7c343f88b0c2a700b.jpg","text":"TemporaryFile(/tmp/multipartBody1536894643005197082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348593967,"filename":"image_31012025_14_26_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/1/31/5d94e5648f4b271f6aa2e5b20a23a779.jpg","text":"TemporaryFile(/tmp/multipartBody2612405463179107668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348593967,"filename":"image_31012025_14_26_25_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333421965","file1":"1333421943","file0":"1333421931","file4":"1333421997","file5":"1333422013","file3":"1333421981"},"map_files_photo_id_array":[{"photo_id":"1333422013","filename":"file5"},{"photo_id":"1333421965","filename":"file2"},{"photo_id":"1333421997","filename":"file4"},{"photo_id":"1333421943","filename":"file1"},{"photo_id":"1333421931","filename":"file0"},{"photo_id":"1333421981","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333421943":["hashtag1","hashtag2"]},{"1333421931":["hashtag1","hashtag2"]},{"1333421981":["hashtag1","hashtag2"]},{"1333422013":["hashtag1","hashtag2"]},{"1333421965":["hashtag1","hashtag2"]},{"1333421997":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333421943, 1333421931, 1333421981, 1333422013, 1333421965, 1333421997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.7774121761322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:36:32.675987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/26/image_31012025_14_26_44_10343.jpg', '/home/pi/Desktop/images/31012025/14/26/image_31012025_14_26_55_10369.jpg', '/home/pi/Desktop/images/31012025/14/26/image_31012025_14_27_04_9336.jpg', '/home/pi/Desktop/images/31012025/14/27/image_31012025_14_27_14_10367.jpg', '/home/pi/Desktop/images/31012025/14/27/image_31012025_14_27_25_10362.jpg', '/home/pi/Desktop/images/31012025/14/27/image_31012025_14_27_34_9326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/26/image_31012025_14_26_44_10343.jpg
/home/pi/Desktop/images/31012025/14/26/image_31012025_14_26_55_10369.jpg
/home/pi/Desktop/images/31012025/14/26/image_31012025_14_27_04_9336.jpg
/home/pi/Desktop/images/31012025/14/27/image_31012025_14_27_14_10367.jpg
/home/pi/Desktop/images/31012025/14/27/image_31012025_14_27_25_10362.jpg
/home/pi/Desktop/images/31012025/14/27/image_31012025_14_27_34_9326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333422135","1333422114","1333422108","1333422071","1333422131","1333422066"],"photo_ids_order":["1333422066","1333422071","1333422108","1333422114","1333422131","1333422135"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/59a1b3e39f82855412f9a4d665df8cca.jpg","text":"TemporaryFile(/tmp/multipartBody2849770338925027795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348653224,"filename":"image_31012025_14_27_34_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/add39fd14a536562021c7fc7c86ad07d.jpg","text":"TemporaryFile(/tmp/multipartBody8405531164261943126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348653224,"filename":"image_31012025_14_27_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/1/31/4f7c83aaa3f396d3dbbd11cc748ca06d.jpg","text":"TemporaryFile(/tmp/multipartBody6515000940539218307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348653224,"filename":"image_31012025_14_27_04_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/851c3a154185eabbb7ad8fef8d4b85a8.jpg","text":"TemporaryFile(/tmp/multipartBody5947315730166830640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348653224,"filename":"image_31012025_14_26_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/1/31/f832fe76ee02d047c215b366fda7f592.jpg","text":"TemporaryFile(/tmp/multipartBody6648393313234203215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348653224,"filename":"image_31012025_14_27_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/1/31/9cfc40cb98136d1c13d18e779201c79d.jpg","text":"TemporaryFile(/tmp/multipartBody7948326974183910833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348653224,"filename":"image_31012025_14_26_44_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333422108","file1":"1333422071","file0":"1333422066","file4":"1333422131","file5":"1333422135","file3":"1333422114"},"map_files_photo_id_array":[{"photo_id":"1333422135","filename":"file5"},{"photo_id":"1333422108","filename":"file2"},{"photo_id":"1333422131","filename":"file4"},{"photo_id":"1333422071","filename":"file1"},{"photo_id":"1333422066","filename":"file0"},{"photo_id":"1333422114","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333422135":["hashtag1","hashtag2"]},{"1333422114":["hashtag1","hashtag2"]},{"1333422108":["hashtag1","hashtag2"]},{"1333422071":["hashtag1","hashtag2"]},{"1333422131":["hashtag1","hashtag2"]},{"1333422066":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333422135, 1333422114, 1333422108, 1333422071, 1333422131, 1333422066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.374868392944336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:37:32.848644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/27/image_31012025_14_27_45_10325.jpg', '/home/pi/Desktop/images/31012025/14/27/image_31012025_14_27_55_10352.jpg', '/home/pi/Desktop/images/31012025/14/27/image_31012025_14_28_04_9369.jpg', '/home/pi/Desktop/images/31012025/14/28/image_31012025_14_28_15_10338.jpg', '/home/pi/Desktop/images/31012025/14/28/image_31012025_14_28_25_10410.jpg', '/home/pi/Desktop/images/31012025/14/28/image_31012025_14_28_34_9320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/27/image_31012025_14_27_45_10325.jpg
/home/pi/Desktop/images/31012025/14/27/image_31012025_14_27_55_10352.jpg
/home/pi/Desktop/images/31012025/14/27/image_31012025_14_28_04_9369.jpg
/home/pi/Desktop/images/31012025/14/28/image_31012025_14_28_15_10338.jpg
/home/pi/Desktop/images/31012025/14/28/image_31012025_14_28_25_10410.jpg
/home/pi/Desktop/images/31012025/14/28/image_31012025_14_28_34_9320.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333422303","1333422362","1333422311","1333422307","1333422360","1333422297"],"photo_ids_order":["1333422297","1333422303","1333422307","1333422311","1333422360","1333422362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5d8e51c00dde461c6d6916e8f6e7e4dc.jpg","text":"TemporaryFile(/tmp/multipartBody4400216679620752851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348713390,"filename":"image_31012025_14_27_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/1/31/523c3bb0d14be136daff458912a69cf2.jpg","text":"TemporaryFile(/tmp/multipartBody8643799821257751417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348713390,"filename":"image_31012025_14_28_34_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f3187ef7fcd8cdeba89dbb06d59c6705.jpg","text":"TemporaryFile(/tmp/multipartBody6687425830709554733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348713390,"filename":"image_31012025_14_28_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/1/31/c2d234c756434885d7084445b2ae751a.jpg","text":"TemporaryFile(/tmp/multipartBody6082758122593500565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348713390,"filename":"image_31012025_14_28_04_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8b7e75a5bd9614202c8236772cc2a2e4.jpg","text":"TemporaryFile(/tmp/multipartBody1976025878864690460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348713390,"filename":"image_31012025_14_28_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/1/31/902e5392784ea6552d7a74a31c812d38.jpg","text":"TemporaryFile(/tmp/multipartBody1683224482626364721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348713390,"filename":"image_31012025_14_27_45_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333422307","file1":"1333422303","file0":"1333422297","file4":"1333422360","file5":"1333422362","file3":"1333422311"},"map_files_photo_id_array":[{"photo_id":"1333422362","filename":"file5"},{"photo_id":"1333422307","filename":"file2"},{"photo_id":"1333422360","filename":"file4"},{"photo_id":"1333422303","filename":"file1"},{"photo_id":"1333422297","filename":"file0"},{"photo_id":"1333422311","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333422303":["hashtag1","hashtag2"]},{"1333422362":["hashtag1","hashtag2"]},{"1333422311":["hashtag1","hashtag2"]},{"1333422307":["hashtag1","hashtag2"]},{"1333422360":["hashtag1","hashtag2"]},{"1333422297":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333422303, 1333422362, 1333422311, 1333422307, 1333422360, 1333422297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.1611487865448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:38:33.168747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/28/image_31012025_14_28_45_10406.jpg', '/home/pi/Desktop/images/31012025/14/28/image_31012025_14_28_54_9370.jpg', '/home/pi/Desktop/images/31012025/14/28/image_31012025_14_29_04_10338.jpg', '/home/pi/Desktop/images/31012025/14/29/image_31012025_14_29_15_10451.jpg', '/home/pi/Desktop/images/31012025/14/29/image_31012025_14_29_24_9348.jpg', '/home/pi/Desktop/images/31012025/14/29/image_31012025_14_29_35_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/28/image_31012025_14_28_45_10406.jpg
/home/pi/Desktop/images/31012025/14/28/image_31012025_14_28_54_9370.jpg
/home/pi/Desktop/images/31012025/14/28/image_31012025_14_29_04_10338.jpg
/home/pi/Desktop/images/31012025/14/29/image_31012025_14_29_15_10451.jpg
/home/pi/Desktop/images/31012025/14/29/image_31012025_14_29_24_9348.jpg
/home/pi/Desktop/images/31012025/14/29/image_31012025_14_29_35_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333422572","1333422551","1333422610","1333422535","1333422591","1333422657"],"photo_ids_order":["1333422535","1333422551","1333422572","1333422591","1333422610","1333422657"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b978c0d1f0e35a2cfeae9a07d9016afe.jpg","text":"TemporaryFile(/tmp/multipartBody4783476155762792062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348773709,"filename":"image_31012025_14_29_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/1/31/2282dd6b0807b448b9c2c65717a7e197.jpg","text":"TemporaryFile(/tmp/multipartBody1287419324837244505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348773709,"filename":"image_31012025_14_28_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/1/31/f51f63b8a48abd961e74ef2d3fd5486a.jpg","text":"TemporaryFile(/tmp/multipartBody1839815434490145227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348773709,"filename":"image_31012025_14_29_24_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/05778e7127d067e36c2be602d55c1f59.jpg","text":"TemporaryFile(/tmp/multipartBody1388020825929722380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348773709,"filename":"image_31012025_14_28_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/1/31/09825ab06f1b17c91cfcdf808a9da5e9.jpg","text":"TemporaryFile(/tmp/multipartBody6004676354178606108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348773709,"filename":"image_31012025_14_29_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/1/31/877f434d3987df7a50242711515fb86c.jpg","text":"TemporaryFile(/tmp/multipartBody4241922163640411297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348773709,"filename":"image_31012025_14_29_35_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333422572","file1":"1333422551","file0":"1333422535","file4":"1333422610","file5":"1333422657","file3":"1333422591"},"map_files_photo_id_array":[{"photo_id":"1333422657","filename":"file5"},{"photo_id":"1333422572","filename":"file2"},{"photo_id":"1333422610","filename":"file4"},{"photo_id":"1333422551","filename":"file1"},{"photo_id":"1333422535","filename":"file0"},{"photo_id":"1333422591","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333422572":["hashtag1","hashtag2"]},{"1333422551":["hashtag1","hashtag2"]},{"1333422610":["hashtag1","hashtag2"]},{"1333422535":["hashtag1","hashtag2"]},{"1333422591":["hashtag1","hashtag2"]},{"1333422657":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333422572, 1333422551, 1333422610, 1333422535, 1333422591, 1333422657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.964863300323486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:39:32.351597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/29/image_31012025_14_29_45_10438.jpg', '/home/pi/Desktop/images/31012025/14/29/image_31012025_14_29_54_9442.jpg', '/home/pi/Desktop/images/31012025/14/29/image_31012025_14_30_05_10377.jpg', '/home/pi/Desktop/images/31012025/14/30/image_31012025_14_30_14_9356.jpg', '/home/pi/Desktop/images/31012025/14/30/image_31012025_14_30_24_10329.jpg', '/home/pi/Desktop/images/31012025/14/30/image_31012025_14_30_35_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/29/image_31012025_14_29_45_10438.jpg
/home/pi/Desktop/images/31012025/14/29/image_31012025_14_29_54_9442.jpg
/home/pi/Desktop/images/31012025/14/29/image_31012025_14_30_05_10377.jpg
/home/pi/Desktop/images/31012025/14/30/image_31012025_14_30_14_9356.jpg
/home/pi/Desktop/images/31012025/14/30/image_31012025_14_30_24_10329.jpg
/home/pi/Desktop/images/31012025/14/30/image_31012025_14_30_35_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":["1333422740","1333422753","1333422747","1333422732","1333422756","1333422735"],"photo_ids_order":["1333422732","1333422735","1333422740","1333422747","1333422753","1333422756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/71f02d5cc3ea0224bc238a32af7a73f2.jpg","text":"TemporaryFile(/tmp/multipartBody3166668112215908389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348832909,"filename":"image_31012025_14_30_05_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e9bbbe40ac0e7d463c7d73a0969e7fab.jpg","text":"TemporaryFile(/tmp/multipartBody640853359230958354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348832909,"filename":"image_31012025_14_30_24_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/85a996b560a2ab847cfe3b25f2774d4e.jpg","text":"TemporaryFile(/tmp/multipartBody2341483428848233476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348832909,"filename":"image_31012025_14_30_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/1/31/20318d4b16ee8cc542187321def92b5a.jpg","text":"TemporaryFile(/tmp/multipartBody585766680822828446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348832909,"filename":"image_31012025_14_29_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/1/31/291d5cdd43cbc19cba3e7fb957cc89ea.jpg","text":"TemporaryFile(/tmp/multipartBody6907830569161006775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348832909,"filename":"image_31012025_14_30_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/1/31/a85ae403721922356a37441d43084c64.jpg","text":"TemporaryFile(/tmp/multipartBody434437843725785534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348832909,"filename":"image_31012025_14_29_54_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333422740","file1":"1333422735","file0":"1333422732","file4":"1333422753","file5":"1333422756","file3":"1333422747"},"map_files_photo_id_array":[{"photo_id":"1333422756","filename":"file5"},{"photo_id":"1333422740","filename":"file2"},{"photo_id":"1333422753","filename":"file4"},{"photo_id":"1333422735","filename":"file1"},{"photo_id":"1333422732","filename":"file0"},{"photo_id":"1333422747","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333422740":["hashtag1","hashtag2"]},{"1333422753":["hashtag1","hashtag2"]},{"1333422747":["hashtag1","hashtag2"]},{"1333422732":["hashtag1","hashtag2"]},{"1333422756":["hashtag1","hashtag2"]},{"1333422735":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333422740, 1333422753, 1333422747, 1333422732, 1333422756, 1333422735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97699594497681 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:40:32.561898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/30/image_31012025_14_30_44_9331.jpg', '/home/pi/Desktop/images/31012025/14/30/image_31012025_14_30_55_10451.jpg', '/home/pi/Desktop/images/31012025/14/30/image_31012025_14_31_05_10356.jpg', '/home/pi/Desktop/images/31012025/14/31/image_31012025_14_31_25_10469.jpg', '/home/pi/Desktop/images/31012025/14/31/image_31012025_14_31_34_9396.jpg', '/home/pi/Desktop/images/31012025/14/31/image_31012025_14_31_55_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/30/image_31012025_14_30_44_9331.jpg
/home/pi/Desktop/images/31012025/14/30/image_31012025_14_30_55_10451.jpg
/home/pi/Desktop/images/31012025/14/30/image_31012025_14_31_05_10356.jpg
/home/pi/Desktop/images/31012025/14/31/image_31012025_14_31_25_10469.jpg
/home/pi/Desktop/images/31012025/14/31/image_31012025_14_31_34_9396.jpg
/home/pi/Desktop/images/31012025/14/31/image_31012025_14_31_55_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":["1333422791","1333422782","1333422785","1333422796","1333422800","1333422787"],"photo_ids_order":["1333422782","1333422785","1333422787","1333422791","1333422796","1333422800"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fc5d20b2abf762baa06fed72e6b4ae55.jpg","text":"TemporaryFile(/tmp/multipartBody5437516336894050677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348895775,"filename":"image_31012025_14_31_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/1/31/6bc0a39e5eed95f04b9cb8073e7b2c0f.jpg","text":"TemporaryFile(/tmp/multipartBody7142810954552824219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348895775,"filename":"image_31012025_14_30_44_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d379e8198466056dbea3b5457958d307.jpg","text":"TemporaryFile(/tmp/multipartBody4215342164300311017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348895775,"filename":"image_31012025_14_30_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/1/31/0d1086cb048708a143ec866edcf670fd.jpg","text":"TemporaryFile(/tmp/multipartBody5561075199237372967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348895775,"filename":"image_31012025_14_31_34_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3dc22120125efde0e9e8a4b9683663e1.jpg","text":"TemporaryFile(/tmp/multipartBody3234226905451063656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348895775,"filename":"image_31012025_14_31_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/1/31/08cf83e9990379a42d095f2be254a1c1.jpg","text":"TemporaryFile(/tmp/multipartBody451278700204691908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348895775,"filename":"image_31012025_14_31_05_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333422787","file1":"1333422785","file0":"1333422782","file4":"1333422796","file5":"1333422800","file3":"1333422791"},"map_files_photo_id_array":[{"photo_id":"1333422800","filename":"file5"},{"photo_id":"1333422787","filename":"file2"},{"photo_id":"1333422796","filename":"file4"},{"photo_id":"1333422785","filename":"file1"},{"photo_id":"1333422782","filename":"file0"},{"photo_id":"1333422791","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333422791":["hashtag1","hashtag2"]},{"1333422782":["hashtag1","hashtag2"]},{"1333422785":["hashtag1","hashtag2"]},{"1333422796":["hashtag1","hashtag2"]},{"1333422800":["hashtag1","hashtag2"]},{"1333422787":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333422791, 1333422782, 1333422785, 1333422796, 1333422800, 1333422787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82510995864868 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:41:33.026257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/31/image_31012025_14_32_04_9347.jpg', '/home/pi/Desktop/images/31012025/14/32/image_31012025_14_32_15_10393.jpg', '/home/pi/Desktop/images/31012025/14/32/image_31012025_14_32_25_10347.jpg', '/home/pi/Desktop/images/31012025/14/32/image_31012025_14_32_34_9339.jpg', '/home/pi/Desktop/images/31012025/14/32/image_31012025_14_32_45_10418.jpg', '/home/pi/Desktop/images/31012025/14/32/image_31012025_14_32_54_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/31/image_31012025_14_32_04_9347.jpg
/home/pi/Desktop/images/31012025/14/32/image_31012025_14_32_15_10393.jpg
/home/pi/Desktop/images/31012025/14/32/image_31012025_14_32_25_10347.jpg
/home/pi/Desktop/images/31012025/14/32/image_31012025_14_32_34_9339.jpg
/home/pi/Desktop/images/31012025/14/32/image_31012025_14_32_45_10418.jpg
/home/pi/Desktop/images/31012025/14/32/image_31012025_14_32_54_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":["1333423370","1333423681","1333423282","1333423459","1333423770","1333423554"],"photo_ids_order":["1333423282","1333423370","1333423459","1333423554","1333423681","1333423770"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c5f221ba8b067791f0c2e9504f05c086.jpg","text":"TemporaryFile(/tmp/multipartBody8165302191186560947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348953567,"filename":"image_31012025_14_32_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/1/31/8baf675605545fd244b72606f91b9fc3.jpg","text":"TemporaryFile(/tmp/multipartBody4602441616869257467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348953567,"filename":"image_31012025_14_32_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/1/31/1a44fdcb3c3d42520270b4f455398999.jpg","text":"TemporaryFile(/tmp/multipartBody1124003106763739724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348953567,"filename":"image_31012025_14_32_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/1/31/08def8f6f2eb5c0963c9ad38e130b667.jpg","text":"TemporaryFile(/tmp/multipartBody7773016464499144214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348953567,"filename":"image_31012025_14_32_25_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/24bf4eecfe5fedc06f012552b099b9c4.jpg","text":"TemporaryFile(/tmp/multipartBody4263737128395916841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348953567,"filename":"image_31012025_14_32_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/1/31/6525612d8641a35a619bfa3eff32a4cd.jpg","text":"TemporaryFile(/tmp/multipartBody3554630589901085731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738348953567,"filename":"image_31012025_14_32_34_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333423459","file1":"1333423370","file0":"1333423282","file4":"1333423681","file5":"1333423770","file3":"1333423554"},"map_files_photo_id_array":[{"photo_id":"1333423770","filename":"file5"},{"photo_id":"1333423459","filename":"file2"},{"photo_id":"1333423681","filename":"file4"},{"photo_id":"1333423370","filename":"file1"},{"photo_id":"1333423282","filename":"file0"},{"photo_id":"1333423554","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333423370":["hashtag1","hashtag2"]},{"1333423681":["hashtag1","hashtag2"]},{"1333423282":["hashtag1","hashtag2"]},{"1333423459":["hashtag1","hashtag2"]},{"1333423770":["hashtag1","hashtag2"]},{"1333423554":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333423370, 1333423681, 1333423282, 1333423459, 1333423770, 1333423554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.93192195892334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:42:33.007776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/32/image_31012025_14_33_05_10381.jpg', '/home/pi/Desktop/images/31012025/14/33/image_31012025_14_33_24_9354.jpg', '/home/pi/Desktop/images/31012025/14/33/image_31012025_14_33_35_10406.jpg', '/home/pi/Desktop/images/31012025/14/33/image_31012025_14_33_44_9332.jpg', '/home/pi/Desktop/images/31012025/14/33/image_31012025_14_33_54_10348.jpg', '/home/pi/Desktop/images/31012025/14/33/image_31012025_14_34_05_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/32/image_31012025_14_33_05_10381.jpg
/home/pi/Desktop/images/31012025/14/33/image_31012025_14_33_24_9354.jpg
/home/pi/Desktop/images/31012025/14/33/image_31012025_14_33_35_10406.jpg
/home/pi/Desktop/images/31012025/14/33/image_31012025_14_33_44_9332.jpg
/home/pi/Desktop/images/31012025/14/33/image_31012025_14_33_54_10348.jpg
/home/pi/Desktop/images/31012025/14/33/image_31012025_14_34_05_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":["1333424065","1333424053","1333424061","1333424058","1333424072","1333424069"],"photo_ids_order":["1333424053","1333424058","1333424061","1333424065","1333424069","1333424072"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e82520004aad311f1e8de89c2472326a.jpg","text":"TemporaryFile(/tmp/multipartBody8415570841942523432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349013542,"filename":"image_31012025_14_33_44_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d24f12be5f6de88c6f5d91239eaba452.jpg","text":"TemporaryFile(/tmp/multipartBody5256208050649573318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349013542,"filename":"image_31012025_14_33_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/1/31/db37c249ff8eef3a3b3f8c70221b9f3a.jpg","text":"TemporaryFile(/tmp/multipartBody1276461312069393684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349013542,"filename":"image_31012025_14_33_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/1/31/bddf249e6e8c4e6bef6603f33c2f9227.jpg","text":"TemporaryFile(/tmp/multipartBody3298667726377601087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349013542,"filename":"image_31012025_14_33_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/1/31/a80c583abf3e240c58de51a2107b043f.jpg","text":"TemporaryFile(/tmp/multipartBody2220444308931738511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349013542,"filename":"image_31012025_14_34_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/1/31/c100f04d57de03481aaf701775b21ebf.jpg","text":"TemporaryFile(/tmp/multipartBody8794339009122864850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349013542,"filename":"image_31012025_14_33_54_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333424061","file1":"1333424058","file0":"1333424053","file4":"1333424069","file5":"1333424072","file3":"1333424065"},"map_files_photo_id_array":[{"photo_id":"1333424072","filename":"file5"},{"photo_id":"1333424061","filename":"file2"},{"photo_id":"1333424069","filename":"file4"},{"photo_id":"1333424058","filename":"file1"},{"photo_id":"1333424053","filename":"file0"},{"photo_id":"1333424065","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333424065":["hashtag1","hashtag2"]},{"1333424053":["hashtag1","hashtag2"]},{"1333424061":["hashtag1","hashtag2"]},{"1333424058":["hashtag1","hashtag2"]},{"1333424072":["hashtag1","hashtag2"]},{"1333424069":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333424065, 1333424053, 1333424061, 1333424058, 1333424072, 1333424069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.823489665985107 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:43:32.207984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/34/image_31012025_14_34_14_9446.jpg', '/home/pi/Desktop/images/31012025/14/34/image_31012025_14_34_25_10540.jpg', '/home/pi/Desktop/images/31012025/14/34/image_31012025_14_34_34_9415.jpg', '/home/pi/Desktop/images/31012025/14/34/image_31012025_14_34_45_10340.jpg', '/home/pi/Desktop/images/31012025/14/34/image_31012025_14_34_55_10511.jpg', '/home/pi/Desktop/images/31012025/14/34/image_31012025_14_35_04_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/34/image_31012025_14_34_14_9446.jpg
/home/pi/Desktop/images/31012025/14/34/image_31012025_14_34_25_10540.jpg
/home/pi/Desktop/images/31012025/14/34/image_31012025_14_34_34_9415.jpg
/home/pi/Desktop/images/31012025/14/34/image_31012025_14_34_45_10340.jpg
/home/pi/Desktop/images/31012025/14/34/image_31012025_14_34_55_10511.jpg
/home/pi/Desktop/images/31012025/14/34/image_31012025_14_35_04_9340.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":["1333424402","1333424413","1333424410","1333424406","1333424418","1333424423"],"photo_ids_order":["1333424402","1333424406","1333424410","1333424413","1333424418","1333424423"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/646c6e48780261d0a035056e7a05c489.jpg","text":"TemporaryFile(/tmp/multipartBody6740141397859500987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349072766,"filename":"image_31012025_14_34_14_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c3f3036289220f7371c04d2663e07ff3.jpg","text":"TemporaryFile(/tmp/multipartBody2218075221926774019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349072766,"filename":"image_31012025_14_34_45_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a821f49295c3bfc5a04618e34645f5ef.jpg","text":"TemporaryFile(/tmp/multipartBody3887549410371992370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349072766,"filename":"image_31012025_14_34_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/1/31/443c239b4e9ce8dd4995784bb7f6ba84.jpg","text":"TemporaryFile(/tmp/multipartBody3917047099781148869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349072766,"filename":"image_31012025_14_34_25_10540.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/96fb9c7833c9ae8ca282ad6b0a2f2384.jpg","text":"TemporaryFile(/tmp/multipartBody2996313577255453367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349072766,"filename":"image_31012025_14_34_55_10511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4dbaf64f1ab0e6928c92786490587fec.jpg","text":"TemporaryFile(/tmp/multipartBody5492338922462276244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349072766,"filename":"image_31012025_14_35_04_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333424410","file1":"1333424406","file0":"1333424402","file4":"1333424418","file5":"1333424423","file3":"1333424413"},"map_files_photo_id_array":[{"photo_id":"1333424423","filename":"file5"},{"photo_id":"1333424410","filename":"file2"},{"photo_id":"1333424418","filename":"file4"},{"photo_id":"1333424406","filename":"file1"},{"photo_id":"1333424402","filename":"file0"},{"photo_id":"1333424413","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333424402":["hashtag1","hashtag2"]},{"1333424413":["hashtag1","hashtag2"]},{"1333424410":["hashtag1","hashtag2"]},{"1333424406":["hashtag1","hashtag2"]},{"1333424418":["hashtag1","hashtag2"]},{"1333424423":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333424402, 1333424413, 1333424410, 1333424406, 1333424418, 1333424423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.112086296081543 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-01-31 19:44:32.390974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/35/image_31012025_14_35_15_10420.jpg', '/home/pi/Desktop/images/31012025/14/35/image_31012025_14_35_24_9341.jpg', '/home/pi/Desktop/images/31012025/14/35/image_31012025_14_35_34_10358.jpg', '/home/pi/Desktop/images/31012025/14/35/image_31012025_14_35_45_10370.jpg', '/home/pi/Desktop/images/31012025/14/35/image_31012025_14_35_54_9357.jpg', '/home/pi/Desktop/images/31012025/14/35/image_31012025_14_36_05_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/35/image_31012025_14_35_15_10420.jpg
/home/pi/Desktop/images/31012025/14/35/image_31012025_14_35_24_9341.jpg
/home/pi/Desktop/images/31012025/14/35/image_31012025_14_35_34_10358.jpg
/home/pi/Desktop/images/31012025/14/35/image_31012025_14_35_45_10370.jpg
/home/pi/Desktop/images/31012025/14/35/image_31012025_14_35_54_9357.jpg
/home/pi/Desktop/images/31012025/14/35/image_31012025_14_36_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":["1333424697","1333424722","1333424701","1333424769","1333424712","1333424726"],"photo_ids_order":["1333424697","1333424701","1333424712","1333424722","1333424726","1333424769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/abd893d793dd770413f8c612d4a51878.jpg","text":"TemporaryFile(/tmp/multipartBody3042979185593757219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349132941,"filename":"image_31012025_14_35_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/1/31/b6cc20d4a07f39760577f973a77f40ce.jpg","text":"TemporaryFile(/tmp/multipartBody2777900678165720502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349132941,"filename":"image_31012025_14_35_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/1/31/be5022d07b2821f4d018fe3c19bbea97.jpg","text":"TemporaryFile(/tmp/multipartBody5923369363970140758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349132941,"filename":"image_31012025_14_35_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/1/31/ca4b722dfdd7f7cadfa6ee5808e560f3.jpg","text":"TemporaryFile(/tmp/multipartBody7323926617542136744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349132941,"filename":"image_31012025_14_36_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/1/31/14fdf3366f9a7f897032f05253eceaea.jpg","text":"TemporaryFile(/tmp/multipartBody5226683131750789383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349132941,"filename":"image_31012025_14_35_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/1/31/4363f051735d921bc20dc7c1e7ae68c3.jpg","text":"TemporaryFile(/tmp/multipartBody3962901118272232261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349132941,"filename":"image_31012025_14_35_54_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333424712","file1":"1333424701","file0":"1333424697","file4":"1333424726","file5":"1333424769","file3":"1333424722"},"map_files_photo_id_array":[{"photo_id":"1333424769","filename":"file5"},{"photo_id":"1333424712","filename":"file2"},{"photo_id":"1333424726","filename":"file4"},{"photo_id":"1333424701","filename":"file1"},{"photo_id":"1333424697","filename":"file0"},{"photo_id":"1333424722","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333424697":["hashtag1","hashtag2"]},{"1333424722":["hashtag1","hashtag2"]},{"1333424701":["hashtag1","hashtag2"]},{"1333424769":["hashtag1","hashtag2"]},{"1333424712":["hashtag1","hashtag2"]},{"1333424726":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333424697, 1333424722, 1333424701, 1333424769, 1333424712, 1333424726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.810868740081787 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:45:32.644593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/36/image_31012025_14_36_15_10358.jpg', '/home/pi/Desktop/images/31012025/14/36/image_31012025_14_36_24_9358.jpg', '/home/pi/Desktop/images/31012025/14/36/image_31012025_14_36_35_10395.jpg', '/home/pi/Desktop/images/31012025/14/36/image_31012025_14_36_44_9384.jpg', '/home/pi/Desktop/images/31012025/14/36/image_31012025_14_36_54_10365.jpg', '/home/pi/Desktop/images/31012025/14/36/image_31012025_14_37_05_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/36/image_31012025_14_36_15_10358.jpg
/home/pi/Desktop/images/31012025/14/36/image_31012025_14_36_24_9358.jpg
/home/pi/Desktop/images/31012025/14/36/image_31012025_14_36_35_10395.jpg
/home/pi/Desktop/images/31012025/14/36/image_31012025_14_36_44_9384.jpg
/home/pi/Desktop/images/31012025/14/36/image_31012025_14_36_54_10365.jpg
/home/pi/Desktop/images/31012025/14/36/image_31012025_14_37_05_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":["1333425520","1333425421","1333425473","1333425380","1333425440","1333425481"],"photo_ids_order":["1333425380","1333425421","1333425440","1333425473","1333425481","1333425520"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cc7d2a5a5a95c564d4d991bc8510d83e.jpg","text":"TemporaryFile(/tmp/multipartBody4471341516241144232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349193204,"filename":"image_31012025_14_37_05_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/56e8215db514950af60f00868f917c48.jpg","text":"TemporaryFile(/tmp/multipartBody8026823382104856863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349193204,"filename":"image_31012025_14_36_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/1/31/fb68d0927887c5e714eb391f1be7104e.jpg","text":"TemporaryFile(/tmp/multipartBody3811340403331621643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349193204,"filename":"image_31012025_14_36_44_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5c6e97a471681dce713738c5d2d7d678.jpg","text":"TemporaryFile(/tmp/multipartBody6811810474956278512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349193204,"filename":"image_31012025_14_36_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/1/31/8e45f8de1d4835c81fe552c57dae8ec6.jpg","text":"TemporaryFile(/tmp/multipartBody5828558201006131630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349193204,"filename":"image_31012025_14_36_35_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b2a8e705faa5963f543f039806f878a2.jpg","text":"TemporaryFile(/tmp/multipartBody783468212062225808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349193204,"filename":"image_31012025_14_36_54_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333425440","file1":"1333425421","file0":"1333425380","file4":"1333425481","file5":"1333425520","file3":"1333425473"},"map_files_photo_id_array":[{"photo_id":"1333425520","filename":"file5"},{"photo_id":"1333425440","filename":"file2"},{"photo_id":"1333425481","filename":"file4"},{"photo_id":"1333425421","filename":"file1"},{"photo_id":"1333425380","filename":"file0"},{"photo_id":"1333425473","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333425520":["hashtag1","hashtag2"]},{"1333425421":["hashtag1","hashtag2"]},{"1333425473":["hashtag1","hashtag2"]},{"1333425380":["hashtag1","hashtag2"]},{"1333425440":["hashtag1","hashtag2"]},{"1333425481":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333425520, 1333425421, 1333425473, 1333425380, 1333425440, 1333425481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.052123546600342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:46:32.969785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/37/image_31012025_14_37_14_9360.jpg', '/home/pi/Desktop/images/31012025/14/37/image_31012025_14_37_25_10339.jpg', '/home/pi/Desktop/images/31012025/14/37/image_31012025_14_37_35_10347.jpg', '/home/pi/Desktop/images/31012025/14/37/image_31012025_14_37_44_9345.jpg', '/home/pi/Desktop/images/31012025/14/37/image_31012025_14_37_55_10449.jpg', '/home/pi/Desktop/images/31012025/14/37/image_31012025_14_38_05_10326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/37/image_31012025_14_37_14_9360.jpg
/home/pi/Desktop/images/31012025/14/37/image_31012025_14_37_25_10339.jpg
/home/pi/Desktop/images/31012025/14/37/image_31012025_14_37_35_10347.jpg
/home/pi/Desktop/images/31012025/14/37/image_31012025_14_37_44_9345.jpg
/home/pi/Desktop/images/31012025/14/37/image_31012025_14_37_55_10449.jpg
/home/pi/Desktop/images/31012025/14/37/image_31012025_14_38_05_10326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333425880","1333425562","1333425666","1333425576","1333425982","1333425793"],"photo_ids_order":["1333425562","1333425576","1333425666","1333425793","1333425880","1333425982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/39cdac67d8d7b1681440a7e1225a6d7d.jpg","text":"TemporaryFile(/tmp/multipartBody3876008611071440595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349253523,"filename":"image_31012025_14_37_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/1/31/94e169a8bffaf17b8f4019ccb10ff820.jpg","text":"TemporaryFile(/tmp/multipartBody4571576382256672890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349253523,"filename":"image_31012025_14_37_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/1/31/d9685d2e2803d8ad0dac34cf2ac30829.jpg","text":"TemporaryFile(/tmp/multipartBody6160684426869045769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349253523,"filename":"image_31012025_14_37_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/1/31/d4cb29d144cd9586c4c9bcef8645d1a4.jpg","text":"TemporaryFile(/tmp/multipartBody5548433917643757416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349253523,"filename":"image_31012025_14_37_25_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/491fa00ffa14f17d21ec07d018972b0a.jpg","text":"TemporaryFile(/tmp/multipartBody7831205439743573111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349253523,"filename":"image_31012025_14_38_05_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dc355a8fbfe6441fe4f89b81a1716f65.jpg","text":"TemporaryFile(/tmp/multipartBody8295311089127365015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349253523,"filename":"image_31012025_14_37_44_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333425666","file1":"1333425576","file0":"1333425562","file4":"1333425880","file5":"1333425982","file3":"1333425793"},"map_files_photo_id_array":[{"photo_id":"1333425982","filename":"file5"},{"photo_id":"1333425666","filename":"file2"},{"photo_id":"1333425880","filename":"file4"},{"photo_id":"1333425576","filename":"file1"},{"photo_id":"1333425562","filename":"file0"},{"photo_id":"1333425793","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333425880":["hashtag1","hashtag2"]},{"1333425562":["hashtag1","hashtag2"]},{"1333425666":["hashtag1","hashtag2"]},{"1333425576":["hashtag1","hashtag2"]},{"1333425982":["hashtag1","hashtag2"]},{"1333425793":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333425880, 1333425562, 1333425666, 1333425576, 1333425982, 1333425793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.52817940711975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:47:33.061975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/38/image_31012025_14_38_14_9349.jpg', '/home/pi/Desktop/images/31012025/14/38/image_31012025_14_38_25_10375.jpg', '/home/pi/Desktop/images/31012025/14/38/image_31012025_14_38_34_9395.jpg', '/home/pi/Desktop/images/31012025/14/38/image_31012025_14_38_45_10522.jpg', '/home/pi/Desktop/images/31012025/14/38/image_31012025_14_39_04_10354.jpg', '/home/pi/Desktop/images/31012025/14/39/image_31012025_14_39_15_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/38/image_31012025_14_38_14_9349.jpg
/home/pi/Desktop/images/31012025/14/38/image_31012025_14_38_25_10375.jpg
/home/pi/Desktop/images/31012025/14/38/image_31012025_14_38_34_9395.jpg
/home/pi/Desktop/images/31012025/14/38/image_31012025_14_38_45_10522.jpg
/home/pi/Desktop/images/31012025/14/38/image_31012025_14_39_04_10354.jpg
/home/pi/Desktop/images/31012025/14/39/image_31012025_14_39_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":["1333426884","1333427028","1333427037","1333426962","1333427033","1333426810"],"photo_ids_order":["1333426810","1333426884","1333426962","1333427028","1333427033","1333427037"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/82e7d23d5d164d659e304be65b16952e.jpg","text":"TemporaryFile(/tmp/multipartBody3596814087248844344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349313605,"filename":"image_31012025_14_38_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/1/31/40271f0420797cacf9c8e1f5c73e64f1.jpg","text":"TemporaryFile(/tmp/multipartBody280724340038076922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349313605,"filename":"image_31012025_14_38_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/1/31/b95df06d831e849ee3592f4243290672.jpg","text":"TemporaryFile(/tmp/multipartBody3713058039574855455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349313605,"filename":"image_31012025_14_39_15_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/789e654a9de063abc3972fb954d9afb4.jpg","text":"TemporaryFile(/tmp/multipartBody562411076884237739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349313605,"filename":"image_31012025_14_38_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/1/31/b42ff6b8db6fe01d23d215adaa2e944c.jpg","text":"TemporaryFile(/tmp/multipartBody932541556361666814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349313605,"filename":"image_31012025_14_39_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/1/31/849f18f3cb05eb1ea10f7ab41dde90ff.jpg","text":"TemporaryFile(/tmp/multipartBody2335130067181978708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349313605,"filename":"image_31012025_14_38_14_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333426962","file1":"1333426884","file0":"1333426810","file4":"1333427033","file5":"1333427037","file3":"1333427028"},"map_files_photo_id_array":[{"photo_id":"1333427037","filename":"file5"},{"photo_id":"1333426962","filename":"file2"},{"photo_id":"1333427033","filename":"file4"},{"photo_id":"1333426884","filename":"file1"},{"photo_id":"1333426810","filename":"file0"},{"photo_id":"1333427028","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333426884":["hashtag1","hashtag2"]},{"1333427028":["hashtag1","hashtag2"]},{"1333427037":["hashtag1","hashtag2"]},{"1333426962":["hashtag1","hashtag2"]},{"1333427033":["hashtag1","hashtag2"]},{"1333426810":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333426884, 1333427028, 1333427037, 1333426962, 1333427033, 1333426810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.395196437835693 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:48:32.236112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/39/image_31012025_14_39_24_9372.jpg', '/home/pi/Desktop/images/31012025/14/39/image_31012025_14_39_35_10326.jpg', '/home/pi/Desktop/images/31012025/14/39/image_31012025_14_39_45_10487.jpg', '/home/pi/Desktop/images/31012025/14/39/image_31012025_14_39_54_9354.jpg', '/home/pi/Desktop/images/31012025/14/39/image_31012025_14_40_05_10442.jpg', '/home/pi/Desktop/images/31012025/14/40/image_31012025_14_40_14_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/39/image_31012025_14_39_24_9372.jpg
/home/pi/Desktop/images/31012025/14/39/image_31012025_14_39_35_10326.jpg
/home/pi/Desktop/images/31012025/14/39/image_31012025_14_39_45_10487.jpg
/home/pi/Desktop/images/31012025/14/39/image_31012025_14_39_54_9354.jpg
/home/pi/Desktop/images/31012025/14/39/image_31012025_14_40_05_10442.jpg
/home/pi/Desktop/images/31012025/14/40/image_31012025_14_40_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":["1333427406","1333427189","1333427111","1333427266","1333427068","1333427551"],"photo_ids_order":["1333427068","1333427111","1333427189","1333427266","1333427406","1333427551"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c000198a7830bd541af0ff452f54be80.jpg","text":"TemporaryFile(/tmp/multipartBody5755198969112224991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349372878,"filename":"image_31012025_14_40_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/1/31/652cbe356b8d31152651a291479418ca.jpg","text":"TemporaryFile(/tmp/multipartBody3469653744956029847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349372878,"filename":"image_31012025_14_39_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/1/31/ca47b90f23f4f2a6942e92aad3710a39.jpg","text":"TemporaryFile(/tmp/multipartBody1455779058642968653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349372878,"filename":"image_31012025_14_39_35_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/824221f3f7e0e626acda5e9fe2499661.jpg","text":"TemporaryFile(/tmp/multipartBody2909337167319773384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349372878,"filename":"image_31012025_14_39_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/1/31/ec60e543e89659285e3ba938325e8ed9.jpg","text":"TemporaryFile(/tmp/multipartBody8234624897611715268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349372878,"filename":"image_31012025_14_39_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/1/31/314bc25ca7832c0e49f9ac3f12c9991c.jpg","text":"TemporaryFile(/tmp/multipartBody1890074987228247116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349372878,"filename":"image_31012025_14_40_14_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333427189","file1":"1333427111","file0":"1333427068","file4":"1333427406","file5":"1333427551","file3":"1333427266"},"map_files_photo_id_array":[{"photo_id":"1333427551","filename":"file5"},{"photo_id":"1333427189","filename":"file2"},{"photo_id":"1333427406","filename":"file4"},{"photo_id":"1333427111","filename":"file1"},{"photo_id":"1333427068","filename":"file0"},{"photo_id":"1333427266","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333427406":["hashtag1","hashtag2"]},{"1333427189":["hashtag1","hashtag2"]},{"1333427111":["hashtag1","hashtag2"]},{"1333427266":["hashtag1","hashtag2"]},{"1333427068":["hashtag1","hashtag2"]},{"1333427551":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333427406, 1333427189, 1333427111, 1333427266, 1333427068, 1333427551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15277862548828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:49:32.430117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/40/image_31012025_14_40_25_10382.jpg', '/home/pi/Desktop/images/31012025/14/40/image_31012025_14_40_35_10412.jpg', '/home/pi/Desktop/images/31012025/14/40/image_31012025_14_40_44_9344.jpg', '/home/pi/Desktop/images/31012025/14/41/image_31012025_14_41_25_10460.jpg', '/home/pi/Desktop/images/31012025/14/41/image_31012025_14_41_34_9531.jpg', '/home/pi/Desktop/images/31012025/14/41/image_31012025_14_41_54_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/40/image_31012025_14_40_25_10382.jpg
/home/pi/Desktop/images/31012025/14/40/image_31012025_14_40_35_10412.jpg
/home/pi/Desktop/images/31012025/14/40/image_31012025_14_40_44_9344.jpg
/home/pi/Desktop/images/31012025/14/41/image_31012025_14_41_25_10460.jpg
/home/pi/Desktop/images/31012025/14/41/image_31012025_14_41_34_9531.jpg
/home/pi/Desktop/images/31012025/14/41/image_31012025_14_41_54_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":["1333429319","1333429001","1333429150","1333429476","1333429659","1333429806"],"photo_ids_order":["1333429001","1333429150","1333429319","1333429476","1333429659","1333429806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bb60f1a5f71d0b8174d0db56c096af8d.jpg","text":"TemporaryFile(/tmp/multipartBody8596619030545495451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349432968,"filename":"image_31012025_14_40_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/1/31/b32dc41d87f0700250ffc4972d7488ee.jpg","text":"TemporaryFile(/tmp/multipartBody7554552304211813464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349432968,"filename":"image_31012025_14_40_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/1/31/23fb121475c21159aa1c56aa69fb811f.jpg","text":"TemporaryFile(/tmp/multipartBody2709970297955480247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349432968,"filename":"image_31012025_14_40_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/1/31/1830dd289ebfc70cc273d10be1edf63f.jpg","text":"TemporaryFile(/tmp/multipartBody2843215240650159814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349432968,"filename":"image_31012025_14_41_25_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/09f41ac3a4e9b3fb043b172ace853c76.jpg","text":"TemporaryFile(/tmp/multipartBody7963264640395659395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349432968,"filename":"image_31012025_14_41_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/1/31/7e4068b908a22a0ff00f17724cd220d4.jpg","text":"TemporaryFile(/tmp/multipartBody3107156786115758809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349432968,"filename":"image_31012025_14_41_54_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333429319","file1":"1333429150","file0":"1333429001","file4":"1333429659","file5":"1333429806","file3":"1333429476"},"map_files_photo_id_array":[{"photo_id":"1333429806","filename":"file5"},{"photo_id":"1333429319","filename":"file2"},{"photo_id":"1333429659","filename":"file4"},{"photo_id":"1333429150","filename":"file1"},{"photo_id":"1333429001","filename":"file0"},{"photo_id":"1333429476","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333429319":["hashtag1","hashtag2"]},{"1333429001":["hashtag1","hashtag2"]},{"1333429150":["hashtag1","hashtag2"]},{"1333429476":["hashtag1","hashtag2"]},{"1333429659":["hashtag1","hashtag2"]},{"1333429806":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333429319, 1333429001, 1333429150, 1333429476, 1333429659, 1333429806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.64097499847412 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:50:32.651047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/41/image_31012025_14_42_05_10490.jpg', '/home/pi/Desktop/images/31012025/14/42/image_31012025_14_42_14_9417.jpg', '/home/pi/Desktop/images/31012025/14/42/image_31012025_14_42_25_10340.jpg', '/home/pi/Desktop/images/31012025/14/42/image_31012025_14_42_35_10372.jpg', '/home/pi/Desktop/images/31012025/14/42/image_31012025_14_42_55_10353.jpg', '/home/pi/Desktop/images/31012025/14/43/image_31012025_14_43_14_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/41/image_31012025_14_42_05_10490.jpg
/home/pi/Desktop/images/31012025/14/42/image_31012025_14_42_14_9417.jpg
/home/pi/Desktop/images/31012025/14/42/image_31012025_14_42_25_10340.jpg
/home/pi/Desktop/images/31012025/14/42/image_31012025_14_42_35_10372.jpg
/home/pi/Desktop/images/31012025/14/42/image_31012025_14_42_55_10353.jpg
/home/pi/Desktop/images/31012025/14/43/image_31012025_14_43_14_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":["1333430785","1333430857","1333431007","1333431231","1333430928","1333431095"],"photo_ids_order":["1333430785","1333430857","1333430928","1333431007","1333431095","1333431231"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/66bdb7fc92cddfefa839981a519d4382.jpg","text":"TemporaryFile(/tmp/multipartBody8128340517026456746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349493201,"filename":"image_31012025_14_42_05_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/230910cd1c5843067f8f911cfb946f37.jpg","text":"TemporaryFile(/tmp/multipartBody7366714948516959955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349493201,"filename":"image_31012025_14_42_14_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/af23838acb44f1806727b38030540a80.jpg","text":"TemporaryFile(/tmp/multipartBody3134674564665992890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349493201,"filename":"image_31012025_14_42_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/1/31/bb5ff6a526b3c9af6e30656d8350e1fe.jpg","text":"TemporaryFile(/tmp/multipartBody5226352558188901277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349493201,"filename":"image_31012025_14_43_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/1/31/06f6624c48a27a5e3e363a724524fbc0.jpg","text":"TemporaryFile(/tmp/multipartBody7539905534116984845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349493201,"filename":"image_31012025_14_42_25_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cbd84fdc6ae43d4e6616295299b68f46.jpg","text":"TemporaryFile(/tmp/multipartBody1069790560767565661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349493201,"filename":"image_31012025_14_42_55_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333430928","file1":"1333430857","file0":"1333430785","file4":"1333431095","file5":"1333431231","file3":"1333431007"},"map_files_photo_id_array":[{"photo_id":"1333431231","filename":"file5"},{"photo_id":"1333430928","filename":"file2"},{"photo_id":"1333431095","filename":"file4"},{"photo_id":"1333430857","filename":"file1"},{"photo_id":"1333430785","filename":"file0"},{"photo_id":"1333431007","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333430785":["hashtag1","hashtag2"]},{"1333430857":["hashtag1","hashtag2"]},{"1333431007":["hashtag1","hashtag2"]},{"1333431231":["hashtag1","hashtag2"]},{"1333430928":["hashtag1","hashtag2"]},{"1333431095":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333430785, 1333430857, 1333431007, 1333431231, 1333430928, 1333431095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.439186334609985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:51:32.814239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/43/image_31012025_14_43_44_10356.jpg', '/home/pi/Desktop/images/31012025/14/43/image_31012025_14_43_55_10470.jpg', '/home/pi/Desktop/images/31012025/14/44/image_31012025_14_44_24_9453.jpg', '/home/pi/Desktop/images/31012025/14/44/image_31012025_14_44_45_10402.jpg', '/home/pi/Desktop/images/31012025/14/45/image_31012025_14_45_15_10386.jpg', '/home/pi/Desktop/images/31012025/14/45/image_31012025_14_45_24_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/43/image_31012025_14_43_44_10356.jpg
/home/pi/Desktop/images/31012025/14/43/image_31012025_14_43_55_10470.jpg
/home/pi/Desktop/images/31012025/14/44/image_31012025_14_44_24_9453.jpg
/home/pi/Desktop/images/31012025/14/44/image_31012025_14_44_45_10402.jpg
/home/pi/Desktop/images/31012025/14/45/image_31012025_14_45_15_10386.jpg
/home/pi/Desktop/images/31012025/14/45/image_31012025_14_45_24_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":["1333432435","1333432048","1333432135","1333432299","1333432176","1333432218"],"photo_ids_order":["1333432048","1333432135","1333432176","1333432218","1333432299","1333432435"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8e6f9dfc8afe0015692c790836c2d5ec.jpg","text":"TemporaryFile(/tmp/multipartBody4820401438959402495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349553363,"filename":"image_31012025_14_45_24_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9f94477a57424cedc76fc1b58bb8c1f9.jpg","text":"TemporaryFile(/tmp/multipartBody2686444903082378538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349553363,"filename":"image_31012025_14_43_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/1/31/633b3699ebf563f958651ced512d0ec9.jpg","text":"TemporaryFile(/tmp/multipartBody969890431059885480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349553363,"filename":"image_31012025_14_43_55_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/822d4c23f180810867b4b6f6a2683dff.jpg","text":"TemporaryFile(/tmp/multipartBody4353486790642820801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349553363,"filename":"image_31012025_14_45_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/1/31/97aa87d4c4ae931c7e04171f74bbaf97.jpg","text":"TemporaryFile(/tmp/multipartBody2530864488389562712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349553363,"filename":"image_31012025_14_44_24_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/635f3996e13c8e23f1f77ad2257b797a.jpg","text":"TemporaryFile(/tmp/multipartBody7870483908858885104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349553363,"filename":"image_31012025_14_44_45_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333432176","file1":"1333432135","file0":"1333432048","file4":"1333432299","file5":"1333432435","file3":"1333432218"},"map_files_photo_id_array":[{"photo_id":"1333432435","filename":"file5"},{"photo_id":"1333432176","filename":"file2"},{"photo_id":"1333432299","filename":"file4"},{"photo_id":"1333432135","filename":"file1"},{"photo_id":"1333432048","filename":"file0"},{"photo_id":"1333432218","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333432435":["hashtag1","hashtag2"]},{"1333432048":["hashtag1","hashtag2"]},{"1333432135":["hashtag1","hashtag2"]},{"1333432299":["hashtag1","hashtag2"]},{"1333432176":["hashtag1","hashtag2"]},{"1333432218":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333432435, 1333432048, 1333432135, 1333432299, 1333432176, 1333432218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.672538995742798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:52:33.177313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/45/image_31012025_14_46_05_10410.jpg', '/home/pi/Desktop/images/31012025/14/46/image_31012025_14_46_15_10339.jpg', '/home/pi/Desktop/images/31012025/14/46/image_31012025_14_46_35_10377.jpg', '/home/pi/Desktop/images/31012025/14/46/image_31012025_14_46_44_9345.jpg', '/home/pi/Desktop/images/31012025/14/46/image_31012025_14_46_54_10363.jpg', '/home/pi/Desktop/images/31012025/14/46/image_31012025_14_47_05_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/45/image_31012025_14_46_05_10410.jpg
/home/pi/Desktop/images/31012025/14/46/image_31012025_14_46_15_10339.jpg
/home/pi/Desktop/images/31012025/14/46/image_31012025_14_46_35_10377.jpg
/home/pi/Desktop/images/31012025/14/46/image_31012025_14_46_44_9345.jpg
/home/pi/Desktop/images/31012025/14/46/image_31012025_14_46_54_10363.jpg
/home/pi/Desktop/images/31012025/14/46/image_31012025_14_47_05_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":["1333433295","1333433379","1333433657","1333433531","1333433480","1333433596"],"photo_ids_order":["1333433295","1333433379","1333433480","1333433531","1333433596","1333433657"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8fea4d388dcbc6082ed26450958c673f.jpg","text":"TemporaryFile(/tmp/multipartBody2635345761043356190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349613776,"filename":"image_31012025_14_46_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/1/31/19256298c188d9f600d9fb5d8b25a17b.jpg","text":"TemporaryFile(/tmp/multipartBody1342294616469092367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349613776,"filename":"image_31012025_14_46_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/1/31/60560a1960d20f6029ee144b6b93b6b0.jpg","text":"TemporaryFile(/tmp/multipartBody5294264436956723893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349613776,"filename":"image_31012025_14_47_05_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4bd99982624d1d29bdd754b6b12c613b.jpg","text":"TemporaryFile(/tmp/multipartBody1737979401220834879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349613776,"filename":"image_31012025_14_46_44_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ed5517e9966a702cfdb37ad0c662ccd9.jpg","text":"TemporaryFile(/tmp/multipartBody7045277720344918692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349613776,"filename":"image_31012025_14_46_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/1/31/f07b7012cc1cd0d3988aaec82c2e19c4.jpg","text":"TemporaryFile(/tmp/multipartBody3029116112719518300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349613776,"filename":"image_31012025_14_46_54_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333433480","file1":"1333433379","file0":"1333433295","file4":"1333433596","file5":"1333433657","file3":"1333433531"},"map_files_photo_id_array":[{"photo_id":"1333433657","filename":"file5"},{"photo_id":"1333433480","filename":"file2"},{"photo_id":"1333433596","filename":"file4"},{"photo_id":"1333433379","filename":"file1"},{"photo_id":"1333433295","filename":"file0"},{"photo_id":"1333433531","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333433295":["hashtag1","hashtag2"]},{"1333433379":["hashtag1","hashtag2"]},{"1333433657":["hashtag1","hashtag2"]},{"1333433531":["hashtag1","hashtag2"]},{"1333433480":["hashtag1","hashtag2"]},{"1333433596":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333433295, 1333433379, 1333433657, 1333433531, 1333433480, 1333433596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.310803174972534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:53:32.494895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/47/image_31012025_14_47_14_9349.jpg', '/home/pi/Desktop/images/31012025/14/47/image_31012025_14_47_25_10371.jpg', '/home/pi/Desktop/images/31012025/14/47/image_31012025_14_47_35_10350.jpg', '/home/pi/Desktop/images/31012025/14/47/image_31012025_14_47_44_9337.jpg', '/home/pi/Desktop/images/31012025/14/47/image_31012025_14_47_55_10465.jpg', '/home/pi/Desktop/images/31012025/14/47/image_31012025_14_48_04_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/47/image_31012025_14_47_14_9349.jpg
/home/pi/Desktop/images/31012025/14/47/image_31012025_14_47_25_10371.jpg
/home/pi/Desktop/images/31012025/14/47/image_31012025_14_47_35_10350.jpg
/home/pi/Desktop/images/31012025/14/47/image_31012025_14_47_44_9337.jpg
/home/pi/Desktop/images/31012025/14/47/image_31012025_14_47_55_10465.jpg
/home/pi/Desktop/images/31012025/14/47/image_31012025_14_48_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":["1333433836","1333433830","1333433808","1333433825","1333433834","1333433804"],"photo_ids_order":["1333433804","1333433808","1333433825","1333433830","1333433834","1333433836"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/24c0725eb4f930e589938723f656e754.jpg","text":"TemporaryFile(/tmp/multipartBody2723919878868999643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349673043,"filename":"image_31012025_14_48_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/1/31/443f67e30325f85b06d7a0d9db54511f.jpg","text":"TemporaryFile(/tmp/multipartBody7379470086475397466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349673043,"filename":"image_31012025_14_47_44_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4dcf12fbb44e24bb4971f1ab0a774553.jpg","text":"TemporaryFile(/tmp/multipartBody3536374591356548015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349673043,"filename":"image_31012025_14_47_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/1/31/2286ae890c809d093eae4d0dca9691e1.jpg","text":"TemporaryFile(/tmp/multipartBody6466864001685807653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349673043,"filename":"image_31012025_14_47_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/1/31/506fb66f20580863129305da34d13827.jpg","text":"TemporaryFile(/tmp/multipartBody3130366490837721598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349673043,"filename":"image_31012025_14_47_55_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/799957dea9e01a82678579778e4db8b1.jpg","text":"TemporaryFile(/tmp/multipartBody8590648855552179126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349673043,"filename":"image_31012025_14_47_14_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333433825","file1":"1333433808","file0":"1333433804","file4":"1333433834","file5":"1333433836","file3":"1333433830"},"map_files_photo_id_array":[{"photo_id":"1333433836","filename":"file5"},{"photo_id":"1333433825","filename":"file2"},{"photo_id":"1333433834","filename":"file4"},{"photo_id":"1333433808","filename":"file1"},{"photo_id":"1333433804","filename":"file0"},{"photo_id":"1333433830","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333433836":["hashtag1","hashtag2"]},{"1333433830":["hashtag1","hashtag2"]},{"1333433808":["hashtag1","hashtag2"]},{"1333433825":["hashtag1","hashtag2"]},{"1333433834":["hashtag1","hashtag2"]},{"1333433804":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333433836, 1333433830, 1333433808, 1333433825, 1333433834, 1333433804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.941250562667847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:54:32.741784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/48/image_31012025_14_48_14_10345.jpg', '/home/pi/Desktop/images/31012025/14/48/image_31012025_14_48_25_10391.jpg', '/home/pi/Desktop/images/31012025/14/48/image_31012025_14_48_34_9344.jpg', '/home/pi/Desktop/images/31012025/14/48/image_31012025_14_48_45_10345.jpg', '/home/pi/Desktop/images/31012025/14/48/image_31012025_14_48_55_10427.jpg', '/home/pi/Desktop/images/31012025/14/49/image_31012025_14_49_15_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/48/image_31012025_14_48_14_10345.jpg
/home/pi/Desktop/images/31012025/14/48/image_31012025_14_48_25_10391.jpg
/home/pi/Desktop/images/31012025/14/48/image_31012025_14_48_34_9344.jpg
/home/pi/Desktop/images/31012025/14/48/image_31012025_14_48_45_10345.jpg
/home/pi/Desktop/images/31012025/14/48/image_31012025_14_48_55_10427.jpg
/home/pi/Desktop/images/31012025/14/49/image_31012025_14_49_15_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":["1333434019","1333433988","1333434012","1333434006","1333433993","1333433969"],"photo_ids_order":["1333433969","1333433988","1333433993","1333434006","1333434012","1333434019"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bf192268dbf9a65e59d1dead83e25532.jpg","text":"TemporaryFile(/tmp/multipartBody2198636260876670601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349733286,"filename":"image_31012025_14_49_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/1/31/f8ffa654a0dff013a27705a46dd74bf5.jpg","text":"TemporaryFile(/tmp/multipartBody81396514246707383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349733286,"filename":"image_31012025_14_48_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/1/31/6d7a616ace4dfcc1a9611b6b4736369c.jpg","text":"TemporaryFile(/tmp/multipartBody1597405982475622180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349733286,"filename":"image_31012025_14_48_55_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2fa159b18344fc1d617df2ba226bc663.jpg","text":"TemporaryFile(/tmp/multipartBody4195160246784621913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349733286,"filename":"image_31012025_14_48_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/1/31/482fea447423fe3e8ec6e278fcdf5b5b.jpg","text":"TemporaryFile(/tmp/multipartBody748705436250348491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349733286,"filename":"image_31012025_14_48_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/1/31/dbd7386b0bf09498a3569656cc3f5107.jpg","text":"TemporaryFile(/tmp/multipartBody5872963634950168412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349733286,"filename":"image_31012025_14_48_14_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333433993","file1":"1333433988","file0":"1333433969","file4":"1333434012","file5":"1333434019","file3":"1333434006"},"map_files_photo_id_array":[{"photo_id":"1333434019","filename":"file5"},{"photo_id":"1333433993","filename":"file2"},{"photo_id":"1333434012","filename":"file4"},{"photo_id":"1333433988","filename":"file1"},{"photo_id":"1333433969","filename":"file0"},{"photo_id":"1333434006","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333434019":["hashtag1","hashtag2"]},{"1333433988":["hashtag1","hashtag2"]},{"1333434012":["hashtag1","hashtag2"]},{"1333434006":["hashtag1","hashtag2"]},{"1333433993":["hashtag1","hashtag2"]},{"1333433969":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333434019, 1333433988, 1333434012, 1333434006, 1333433993, 1333433969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.777920722961426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:55:32.965114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/49/image_31012025_14_49_34_10366.jpg', '/home/pi/Desktop/images/31012025/14/49/image_31012025_14_49_45_10399.jpg', '/home/pi/Desktop/images/31012025/14/49/image_31012025_14_50_05_10485.jpg', '/home/pi/Desktop/images/31012025/14/50/image_31012025_14_50_14_9417.jpg', '/home/pi/Desktop/images/31012025/14/50/image_31012025_14_50_25_10351.jpg', '/home/pi/Desktop/images/31012025/14/50/image_31012025_14_50_35_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/49/image_31012025_14_49_34_10366.jpg
/home/pi/Desktop/images/31012025/14/49/image_31012025_14_49_45_10399.jpg
/home/pi/Desktop/images/31012025/14/49/image_31012025_14_50_05_10485.jpg
/home/pi/Desktop/images/31012025/14/50/image_31012025_14_50_14_9417.jpg
/home/pi/Desktop/images/31012025/14/50/image_31012025_14_50_25_10351.jpg
/home/pi/Desktop/images/31012025/14/50/image_31012025_14_50_35_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.4618973731994629 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 19:55:42.915013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/49/image_31012025_14_49_34_10366.jpg', '/home/pi/Desktop/images/31012025/14/49/image_31012025_14_49_45_10399.jpg', '/home/pi/Desktop/images/31012025/14/49/image_31012025_14_50_05_10485.jpg', '/home/pi/Desktop/images/31012025/14/50/image_31012025_14_50_14_9417.jpg', '/home/pi/Desktop/images/31012025/14/50/image_31012025_14_50_25_10351.jpg', '/home/pi/Desktop/images/31012025/14/50/image_31012025_14_50_35_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/49/image_31012025_14_49_34_10366.jpg
/home/pi/Desktop/images/31012025/14/49/image_31012025_14_49_45_10399.jpg
/home/pi/Desktop/images/31012025/14/49/image_31012025_14_50_05_10485.jpg
/home/pi/Desktop/images/31012025/14/50/image_31012025_14_50_14_9417.jpg
/home/pi/Desktop/images/31012025/14/50/image_31012025_14_50_25_10351.jpg
/home/pi/Desktop/images/31012025/14/50/image_31012025_14_50_35_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":["1333434069","1333434054","1333434048","1333434116","1333434131","1333434220"],"photo_ids_order":["1333434048","1333434054","1333434069","1333434116","1333434131","1333434220"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a981f1884dbf5516863a644303994f2a.jpg","text":"TemporaryFile(/tmp/multipartBody6767141387423924069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349803384,"filename":"image_31012025_14_50_05_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0f1cf7713398e777fcc43d64cefb38e9.jpg","text":"TemporaryFile(/tmp/multipartBody4023799982733491914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349803384,"filename":"image_31012025_14_49_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/1/31/df30c36d0a9a2fbd17d9453a4de467bf.jpg","text":"TemporaryFile(/tmp/multipartBody555515117243908106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349803384,"filename":"image_31012025_14_49_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/1/31/03a5af8ba0765cae734413e7fad455db.jpg","text":"TemporaryFile(/tmp/multipartBody5131910784609003007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349803384,"filename":"image_31012025_14_50_14_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2ce07f75f0e30918e408d5a0dea969f4.jpg","text":"TemporaryFile(/tmp/multipartBody2938892730359937755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349803384,"filename":"image_31012025_14_50_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/1/31/4c06a44fbb6e65a09b7e2b20c45a8639.jpg","text":"TemporaryFile(/tmp/multipartBody4044545387467536556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349803384,"filename":"image_31012025_14_50_35_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333434069","file1":"1333434054","file0":"1333434048","file4":"1333434131","file5":"1333434220","file3":"1333434116"},"map_files_photo_id_array":[{"photo_id":"1333434220","filename":"file5"},{"photo_id":"1333434069","filename":"file2"},{"photo_id":"1333434131","filename":"file4"},{"photo_id":"1333434054","filename":"file1"},{"photo_id":"1333434048","filename":"file0"},{"photo_id":"1333434116","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333434069":["hashtag1","hashtag2"]},{"1333434054":["hashtag1","hashtag2"]},{"1333434048":["hashtag1","hashtag2"]},{"1333434116":["hashtag1","hashtag2"]},{"1333434131":["hashtag1","hashtag2"]},{"1333434220":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333434069, 1333434054, 1333434048, 1333434116, 1333434131, 1333434220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14474701881409 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:56:32.192915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/50/image_31012025_14_50_44_9369.jpg', '/home/pi/Desktop/images/31012025/14/50/image_31012025_14_51_04_9367.jpg', '/home/pi/Desktop/images/31012025/14/51/image_31012025_14_51_14_10348.jpg', '/home/pi/Desktop/images/31012025/14/51/image_31012025_14_51_25_10470.jpg', '/home/pi/Desktop/images/31012025/14/51/image_31012025_14_51_34_9334.jpg', '/home/pi/Desktop/images/31012025/14/51/image_31012025_14_51_45_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/50/image_31012025_14_50_44_9369.jpg
/home/pi/Desktop/images/31012025/14/50/image_31012025_14_51_04_9367.jpg
/home/pi/Desktop/images/31012025/14/51/image_31012025_14_51_14_10348.jpg
/home/pi/Desktop/images/31012025/14/51/image_31012025_14_51_25_10470.jpg
/home/pi/Desktop/images/31012025/14/51/image_31012025_14_51_34_9334.jpg
/home/pi/Desktop/images/31012025/14/51/image_31012025_14_51_45_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333434681","1333434672","1333434666","1333434683","1333434676","1333434661"],"photo_ids_order":["1333434661","1333434666","1333434672","1333434676","1333434681","1333434683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/57cb304dd3a543db7fbdc75629f637a3.jpg","text":"TemporaryFile(/tmp/multipartBody5741024862964422316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349852739,"filename":"image_31012025_14_51_34_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aa3e06208aa722c32c8c133fe4e50fe1.jpg","text":"TemporaryFile(/tmp/multipartBody1948185194235561721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349852739,"filename":"image_31012025_14_51_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/1/31/886bb58d14dee1d0078dbafe31ad80b4.jpg","text":"TemporaryFile(/tmp/multipartBody6991509726058890511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349852739,"filename":"image_31012025_14_51_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/1/31/f72266e7eebedf6567a326a702069781.jpg","text":"TemporaryFile(/tmp/multipartBody6348178159279223947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349852739,"filename":"image_31012025_14_51_45_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cf21ebd7f7e72be4c38c0a5112b4b989.jpg","text":"TemporaryFile(/tmp/multipartBody7626098705668880663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349852739,"filename":"image_31012025_14_51_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/1/31/be28fc30aa6ffce913bd9176d2a5ca58.jpg","text":"TemporaryFile(/tmp/multipartBody6668570219371872443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738349852739,"filename":"image_31012025_14_50_44_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333434672","file1":"1333434666","file0":"1333434661","file4":"1333434681","file5":"1333434683","file3":"1333434676"},"map_files_photo_id_array":[{"photo_id":"1333434683","filename":"file5"},{"photo_id":"1333434672","filename":"file2"},{"photo_id":"1333434681","filename":"file4"},{"photo_id":"1333434666","filename":"file1"},{"photo_id":"1333434661","filename":"file0"},{"photo_id":"1333434676","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333434681":["hashtag1","hashtag2"]},{"1333434672":["hashtag1","hashtag2"]},{"1333434666":["hashtag1","hashtag2"]},{"1333434683":["hashtag1","hashtag2"]},{"1333434676":["hashtag1","hashtag2"]},{"1333434661":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333434681, 1333434672, 1333434666, 1333434683, 1333434676, 1333434661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.824509859085083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 19:57:32.355783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/51/image_31012025_14_51_55_10415.jpg', '/home/pi/Desktop/images/31012025/14/51/image_31012025_14_52_04_9355.jpg', '/home/pi/Desktop/images/31012025/14/52/image_31012025_14_52_15_10420.jpg', '/home/pi/Desktop/images/31012025/14/52/image_31012025_14_52_24_9360.jpg', '/home/pi/Desktop/images/31012025/14/52/image_31012025_14_52_54_9331.jpg', '/home/pi/Desktop/images/31012025/14/52/image_31012025_14_53_05_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/51/image_31012025_14_51_55_10415.jpg
/home/pi/Desktop/images/31012025/14/51/image_31012025_14_52_04_9355.jpg
/home/pi/Desktop/images/31012025/14/52/image_31012025_14_52_15_10420.jpg
/home/pi/Desktop/images/31012025/14/52/image_31012025_14_52_24_9360.jpg
/home/pi/Desktop/images/31012025/14/52/image_31012025_14_52_54_9331.jpg
/home/pi/Desktop/images/31012025/14/52/image_31012025_14_53_05_10349.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-01-31 19:59:04.731065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/51/image_31012025_14_51_55_10415.jpg', '/home/pi/Desktop/images/31012025/14/51/image_31012025_14_52_04_9355.jpg', '/home/pi/Desktop/images/31012025/14/52/image_31012025_14_52_15_10420.jpg', '/home/pi/Desktop/images/31012025/14/52/image_31012025_14_52_24_9360.jpg', '/home/pi/Desktop/images/31012025/14/52/image_31012025_14_52_54_9331.jpg', '/home/pi/Desktop/images/31012025/14/52/image_31012025_14_53_05_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/51/image_31012025_14_51_55_10415.jpg
/home/pi/Desktop/images/31012025/14/51/image_31012025_14_52_04_9355.jpg
/home/pi/Desktop/images/31012025/14/52/image_31012025_14_52_15_10420.jpg
/home/pi/Desktop/images/31012025/14/52/image_31012025_14_52_24_9360.jpg
/home/pi/Desktop/images/31012025/14/52/image_31012025_14_52_54_9331.jpg
/home/pi/Desktop/images/31012025/14/52/image_31012025_14_53_05_10349.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333435104","1333435289","1333435274","1333435097","1333435100","1333435264"],"photo_ids_order":["1333435097","1333435100","1333435104","1333435264","1333435274","1333435289"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/408f0c604f00ed1ea007971a51437c94.jpg","text":"TemporaryFile(/tmp/multipartBody5493033431070625735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350005373,"filename":"image_31012025_14_52_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/1/31/7b3cee126c622a4efb6c8005d2e34271.jpg","text":"TemporaryFile(/tmp/multipartBody4951635950321961200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350005373,"filename":"image_31012025_14_53_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/1/31/b552c58591aea92c49c99e3707d7877a.jpg","text":"TemporaryFile(/tmp/multipartBody1307098700382029031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350005373,"filename":"image_31012025_14_52_54_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/74a1db7d1f74f71656f4d0d1023fa8e5.jpg","text":"TemporaryFile(/tmp/multipartBody7937469692962661898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350005373,"filename":"image_31012025_14_51_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/1/31/7a0d0cb60183be014962f3095df26979.jpg","text":"TemporaryFile(/tmp/multipartBody4588087486541595284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350005373,"filename":"image_31012025_14_52_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/1/31/73865d7f7561cb6927105ae595d453ec.jpg","text":"TemporaryFile(/tmp/multipartBody90862346506624895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350005373,"filename":"image_31012025_14_52_24_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333435104","file1":"1333435100","file0":"1333435097","file4":"1333435274","file5":"1333435289","file3":"1333435264"},"map_files_photo_id_array":[{"photo_id":"1333435289","filename":"file5"},{"photo_id":"1333435104","filename":"file2"},{"photo_id":"1333435274","filename":"file4"},{"photo_id":"1333435100","filename":"file1"},{"photo_id":"1333435097","filename":"file0"},{"photo_id":"1333435264","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333435104":["hashtag1","hashtag2"]},{"1333435289":["hashtag1","hashtag2"]},{"1333435274":["hashtag1","hashtag2"]},{"1333435097":["hashtag1","hashtag2"]},{"1333435100":["hashtag1","hashtag2"]},{"1333435264":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333435104, 1333435289, 1333435274, 1333435097, 1333435100, 1333435264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.434786558151245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 19:59:43.111315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/53/image_31012025_14_53_15_10404.jpg', '/home/pi/Desktop/images/31012025/14/53/image_31012025_14_53_24_9411.jpg', '/home/pi/Desktop/images/31012025/14/53/image_31012025_14_53_35_10424.jpg', '/home/pi/Desktop/images/31012025/14/53/image_31012025_14_53_44_9405.jpg', '/home/pi/Desktop/images/31012025/14/53/image_31012025_14_53_55_10348.jpg', '/home/pi/Desktop/images/31012025/14/53/image_31012025_14_54_05_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/53/image_31012025_14_53_15_10404.jpg
/home/pi/Desktop/images/31012025/14/53/image_31012025_14_53_24_9411.jpg
/home/pi/Desktop/images/31012025/14/53/image_31012025_14_53_35_10424.jpg
/home/pi/Desktop/images/31012025/14/53/image_31012025_14_53_44_9405.jpg
/home/pi/Desktop/images/31012025/14/53/image_31012025_14_53_55_10348.jpg
/home/pi/Desktop/images/31012025/14/53/image_31012025_14_54_05_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":["1333435326","1333435333","1333435342","1333435336","1333435339","1333435330"],"photo_ids_order":["1333435326","1333435330","1333435333","1333435336","1333435339","1333435342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a7c0506ea7aee05eaf06633962d254e2.jpg","text":"TemporaryFile(/tmp/multipartBody3734929610842341260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350043646,"filename":"image_31012025_14_53_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/1/31/78c9763f7a8415d9dd053033e1b5e82f.jpg","text":"TemporaryFile(/tmp/multipartBody4652283383733427733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350043646,"filename":"image_31012025_14_53_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/1/31/1e2a94b65eea7e8bcb1aa35afd9c7d14.jpg","text":"TemporaryFile(/tmp/multipartBody4554373605297397379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350043646,"filename":"image_31012025_14_54_05_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6d766d0d61dc131e35a824a890939f3f.jpg","text":"TemporaryFile(/tmp/multipartBody4216769314744344149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350043646,"filename":"image_31012025_14_53_44_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/64610023513b0b1e4cc89b592bfaf058.jpg","text":"TemporaryFile(/tmp/multipartBody8888871712533997720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350043646,"filename":"image_31012025_14_53_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/1/31/cd93f390a5565170073507835da6eb98.jpg","text":"TemporaryFile(/tmp/multipartBody7337174284977386117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350043646,"filename":"image_31012025_14_53_24_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333435333","file1":"1333435330","file0":"1333435326","file4":"1333435339","file5":"1333435342","file3":"1333435336"},"map_files_photo_id_array":[{"photo_id":"1333435342","filename":"file5"},{"photo_id":"1333435333","filename":"file2"},{"photo_id":"1333435339","filename":"file4"},{"photo_id":"1333435330","filename":"file1"},{"photo_id":"1333435326","filename":"file0"},{"photo_id":"1333435336","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333435326":["hashtag1","hashtag2"]},{"1333435333":["hashtag1","hashtag2"]},{"1333435342":["hashtag1","hashtag2"]},{"1333435336":["hashtag1","hashtag2"]},{"1333435339":["hashtag1","hashtag2"]},{"1333435330":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333435326, 1333435333, 1333435342, 1333435336, 1333435339, 1333435330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.8516206741333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:00:32.309557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/54/image_31012025_14_54_14_9387.jpg', '/home/pi/Desktop/images/31012025/14/54/image_31012025_14_54_25_10395.jpg', '/home/pi/Desktop/images/31012025/14/54/image_31012025_14_54_44_10357.jpg', '/home/pi/Desktop/images/31012025/14/54/image_31012025_14_54_55_10361.jpg', '/home/pi/Desktop/images/31012025/14/54/image_31012025_14_55_04_9349.jpg', '/home/pi/Desktop/images/31012025/14/55/image_31012025_14_55_15_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/54/image_31012025_14_54_14_9387.jpg
/home/pi/Desktop/images/31012025/14/54/image_31012025_14_54_25_10395.jpg
/home/pi/Desktop/images/31012025/14/54/image_31012025_14_54_44_10357.jpg
/home/pi/Desktop/images/31012025/14/54/image_31012025_14_54_55_10361.jpg
/home/pi/Desktop/images/31012025/14/54/image_31012025_14_55_04_9349.jpg
/home/pi/Desktop/images/31012025/14/55/image_31012025_14_55_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":["1333436222","1333436170","1333435666","1333435383","1333435926","1333435443"],"photo_ids_order":["1333435383","1333435443","1333435666","1333435926","1333436170","1333436222"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e34f8bd2c09afe6af088fee232496656.jpg","text":"TemporaryFile(/tmp/multipartBody6650232587282706873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350092873,"filename":"image_31012025_14_55_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/1/31/0ad321d954757d742f67f310c2c05b10.jpg","text":"TemporaryFile(/tmp/multipartBody1275148456835890644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350092873,"filename":"image_31012025_14_55_04_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6a1472b7df62479d90961918e889be67.jpg","text":"TemporaryFile(/tmp/multipartBody3524252038994497907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350092873,"filename":"image_31012025_14_54_44_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c5760e027ff7c9d6d20e34174cc65aa7.jpg","text":"TemporaryFile(/tmp/multipartBody3520848967807460064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350092873,"filename":"image_31012025_14_54_14_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/59b2195ed534f4103aba3d3ddbba776a.jpg","text":"TemporaryFile(/tmp/multipartBody9061077261729283818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350092873,"filename":"image_31012025_14_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/1/31/d45643c961e39f4169cbfd9a1721e64f.jpg","text":"TemporaryFile(/tmp/multipartBody8785146897365722628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350092873,"filename":"image_31012025_14_54_25_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333435666","file1":"1333435443","file0":"1333435383","file4":"1333436170","file5":"1333436222","file3":"1333435926"},"map_files_photo_id_array":[{"photo_id":"1333436222","filename":"file5"},{"photo_id":"1333435666","filename":"file2"},{"photo_id":"1333436170","filename":"file4"},{"photo_id":"1333435443","filename":"file1"},{"photo_id":"1333435383","filename":"file0"},{"photo_id":"1333435926","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333436222":["hashtag1","hashtag2"]},{"1333436170":["hashtag1","hashtag2"]},{"1333435666":["hashtag1","hashtag2"]},{"1333435383":["hashtag1","hashtag2"]},{"1333435926":["hashtag1","hashtag2"]},{"1333435443":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333436222, 1333436170, 1333435666, 1333435383, 1333435926, 1333435443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.53641414642334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:01:32.655673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/55/image_31012025_14_55_45_10424.jpg', '/home/pi/Desktop/images/31012025/14/55/image_31012025_14_55_54_9349.jpg', '/home/pi/Desktop/images/31012025/14/55/image_31012025_14_56_05_10403.jpg', '/home/pi/Desktop/images/31012025/14/56/image_31012025_14_56_15_10442.jpg', '/home/pi/Desktop/images/31012025/14/56/image_31012025_14_56_24_9421.jpg', '/home/pi/Desktop/images/31012025/14/56/image_31012025_14_56_35_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/55/image_31012025_14_55_45_10424.jpg
/home/pi/Desktop/images/31012025/14/55/image_31012025_14_55_54_9349.jpg
/home/pi/Desktop/images/31012025/14/55/image_31012025_14_56_05_10403.jpg
/home/pi/Desktop/images/31012025/14/56/image_31012025_14_56_15_10442.jpg
/home/pi/Desktop/images/31012025/14/56/image_31012025_14_56_24_9421.jpg
/home/pi/Desktop/images/31012025/14/56/image_31012025_14_56_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":["1333436669","1333436672","1333436645","1333436612","1333436674","1333436650"],"photo_ids_order":["1333436612","1333436645","1333436650","1333436669","1333436672","1333436674"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a208d487f23f65349bca912da96c22f1.jpg","text":"TemporaryFile(/tmp/multipartBody3410423243839876034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350153206,"filename":"image_31012025_14_56_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/1/31/6354b9492bd859149c4c1ccbc90922db.jpg","text":"TemporaryFile(/tmp/multipartBody3652359663806271306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350153206,"filename":"image_31012025_14_56_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/1/31/631fc04fb577cbc8ba6e43c08fcff3ad.jpg","text":"TemporaryFile(/tmp/multipartBody8750470779678654077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350153206,"filename":"image_31012025_14_55_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/1/31/8a00a3f52d4cf914355c0c1cf0057b04.jpg","text":"TemporaryFile(/tmp/multipartBody5532909257249229994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350153206,"filename":"image_31012025_14_55_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/1/31/82605b4a0cab09f7bebdb97cb174e6c6.jpg","text":"TemporaryFile(/tmp/multipartBody2284287288838044564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350153206,"filename":"image_31012025_14_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/1/31/77d83c2b908c3be11fff91dea60559b7.jpg","text":"TemporaryFile(/tmp/multipartBody8441530848930509703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350153206,"filename":"image_31012025_14_56_05_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333436650","file1":"1333436645","file0":"1333436612","file4":"1333436672","file5":"1333436674","file3":"1333436669"},"map_files_photo_id_array":[{"photo_id":"1333436674","filename":"file5"},{"photo_id":"1333436650","filename":"file2"},{"photo_id":"1333436672","filename":"file4"},{"photo_id":"1333436645","filename":"file1"},{"photo_id":"1333436612","filename":"file0"},{"photo_id":"1333436669","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333436669":["hashtag1","hashtag2"]},{"1333436672":["hashtag1","hashtag2"]},{"1333436645":["hashtag1","hashtag2"]},{"1333436612":["hashtag1","hashtag2"]},{"1333436674":["hashtag1","hashtag2"]},{"1333436650":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333436669, 1333436672, 1333436645, 1333436612, 1333436674, 1333436650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.981467962265015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:02:32.780057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/56/image_31012025_14_56_55_10432.jpg', '/home/pi/Desktop/images/31012025/14/56/image_31012025_14_57_05_10450.jpg', '/home/pi/Desktop/images/31012025/14/57/image_31012025_14_57_14_9350.jpg', '/home/pi/Desktop/images/31012025/14/57/image_31012025_14_57_34_9351.jpg', '/home/pi/Desktop/images/31012025/14/57/image_31012025_14_57_45_10406.jpg', '/home/pi/Desktop/images/31012025/14/57/image_31012025_14_58_04_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/56/image_31012025_14_56_55_10432.jpg
/home/pi/Desktop/images/31012025/14/56/image_31012025_14_57_05_10450.jpg
/home/pi/Desktop/images/31012025/14/57/image_31012025_14_57_14_9350.jpg
/home/pi/Desktop/images/31012025/14/57/image_31012025_14_57_34_9351.jpg
/home/pi/Desktop/images/31012025/14/57/image_31012025_14_57_45_10406.jpg
/home/pi/Desktop/images/31012025/14/57/image_31012025_14_58_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":["1333437125","1333437014","1333437157","1333437127","1333437112","1333437186"],"photo_ids_order":["1333437014","1333437112","1333437125","1333437127","1333437157","1333437186"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/93fb8c581e6307da911342a4f698f7df.jpg","text":"TemporaryFile(/tmp/multipartBody7225539411209783508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350213317,"filename":"image_31012025_14_57_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/1/31/ee24a15dca56d5c55c9bc81e57307128.jpg","text":"TemporaryFile(/tmp/multipartBody1501758772851251467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350213317,"filename":"image_31012025_14_56_55_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/69267885c64e1f7553beb4cda85fb80a.jpg","text":"TemporaryFile(/tmp/multipartBody958018279529785238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350213317,"filename":"image_31012025_14_57_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/1/31/3108b46f685fd57d801df18d246c32fa.jpg","text":"TemporaryFile(/tmp/multipartBody6010372498468258652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350213317,"filename":"image_31012025_14_57_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/1/31/4aaf89bbd2e4696f5f76d315391ccb31.jpg","text":"TemporaryFile(/tmp/multipartBody6532756128452844152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350213317,"filename":"image_31012025_14_57_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/1/31/605151383070f44966d7720373b89bfd.jpg","text":"TemporaryFile(/tmp/multipartBody2286884390368832393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350213317,"filename":"image_31012025_14_58_04_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333437125","file1":"1333437112","file0":"1333437014","file4":"1333437157","file5":"1333437186","file3":"1333437127"},"map_files_photo_id_array":[{"photo_id":"1333437186","filename":"file5"},{"photo_id":"1333437125","filename":"file2"},{"photo_id":"1333437157","filename":"file4"},{"photo_id":"1333437112","filename":"file1"},{"photo_id":"1333437014","filename":"file0"},{"photo_id":"1333437127","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333437125":["hashtag1","hashtag2"]},{"1333437014":["hashtag1","hashtag2"]},{"1333437157":["hashtag1","hashtag2"]},{"1333437127":["hashtag1","hashtag2"]},{"1333437112":["hashtag1","hashtag2"]},{"1333437186":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333437125, 1333437014, 1333437157, 1333437127, 1333437112, 1333437186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.96037745475769 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:03:33.247472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/58/image_31012025_14_58_15_10347.jpg', '/home/pi/Desktop/images/31012025/14/58/image_31012025_14_58_25_10435.jpg', '/home/pi/Desktop/images/31012025/14/58/image_31012025_14_58_34_9356.jpg', '/home/pi/Desktop/images/31012025/14/58/image_31012025_14_58_45_10365.jpg', '/home/pi/Desktop/images/31012025/14/58/image_31012025_14_58_54_9348.jpg', '/home/pi/Desktop/images/31012025/14/58/image_31012025_14_59_04_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/58/image_31012025_14_58_15_10347.jpg
/home/pi/Desktop/images/31012025/14/58/image_31012025_14_58_25_10435.jpg
/home/pi/Desktop/images/31012025/14/58/image_31012025_14_58_34_9356.jpg
/home/pi/Desktop/images/31012025/14/58/image_31012025_14_58_45_10365.jpg
/home/pi/Desktop/images/31012025/14/58/image_31012025_14_58_54_9348.jpg
/home/pi/Desktop/images/31012025/14/58/image_31012025_14_59_04_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333437308","1333437317","1333437304","1333437321","1333437312","1333437300"],"photo_ids_order":["1333437300","1333437304","1333437308","1333437312","1333437317","1333437321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7170ee2a40016e644bf4d865f686e8f4.jpg","text":"TemporaryFile(/tmp/multipartBody8612064806036516033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350273802,"filename":"image_31012025_14_58_34_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/779398381c7d207b467e1eff7ebb0838.jpg","text":"TemporaryFile(/tmp/multipartBody286332052185833439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350273802,"filename":"image_31012025_14_58_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/1/31/fd7e500e401d4d3cab8935a7e0b11e73.jpg","text":"TemporaryFile(/tmp/multipartBody6953572939542652921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350273802,"filename":"image_31012025_14_58_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/1/31/50dd17a22ffec6d5d352a6d46fa22e39.jpg","text":"TemporaryFile(/tmp/multipartBody222073085186025277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350273802,"filename":"image_31012025_14_59_04_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/328b73d1de23e988f54c509fac9fd4ac.jpg","text":"TemporaryFile(/tmp/multipartBody4002804160650667226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350273802,"filename":"image_31012025_14_58_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/1/31/02163cdaa768ec47906d095e94463c2e.jpg","text":"TemporaryFile(/tmp/multipartBody7986166717048787914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350273802,"filename":"image_31012025_14_58_15_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333437308","file1":"1333437304","file0":"1333437300","file4":"1333437317","file5":"1333437321","file3":"1333437312"},"map_files_photo_id_array":[{"photo_id":"1333437321","filename":"file5"},{"photo_id":"1333437308","filename":"file2"},{"photo_id":"1333437317","filename":"file4"},{"photo_id":"1333437304","filename":"file1"},{"photo_id":"1333437300","filename":"file0"},{"photo_id":"1333437312","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333437308":["hashtag1","hashtag2"]},{"1333437317":["hashtag1","hashtag2"]},{"1333437304":["hashtag1","hashtag2"]},{"1333437321":["hashtag1","hashtag2"]},{"1333437312":["hashtag1","hashtag2"]},{"1333437300":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333437308, 1333437317, 1333437304, 1333437321, 1333437312, 1333437300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.062941551208496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:04:32.331117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/14/59/image_31012025_14_59_15_10433.jpg', '/home/pi/Desktop/images/31012025/14/59/image_31012025_14_59_24_9358.jpg', '/home/pi/Desktop/images/31012025/14/59/image_31012025_14_59_35_10342.jpg', '/home/pi/Desktop/images/31012025/14/59/image_31012025_14_59_45_10429.jpg', '/home/pi/Desktop/images/31012025/14/59/image_31012025_14_59_54_9422.jpg', '/home/pi/Desktop/images/31012025/15/01/image_31012025_15_01_14_10084.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/14/59/image_31012025_14_59_15_10433.jpg
/home/pi/Desktop/images/31012025/14/59/image_31012025_14_59_24_9358.jpg
/home/pi/Desktop/images/31012025/14/59/image_31012025_14_59_35_10342.jpg
/home/pi/Desktop/images/31012025/14/59/image_31012025_14_59_45_10429.jpg
/home/pi/Desktop/images/31012025/14/59/image_31012025_14_59_54_9422.jpg
/home/pi/Desktop/images/31012025/15/01/image_31012025_15_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":["1333437361","1333437343","1333437337","1333437351","1333437398","1333437356"],"photo_ids_order":["1333437337","1333437343","1333437351","1333437356","1333437361","1333437398"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d4e2433c9316a074a3e0468e5d0f8792.jpg","text":"TemporaryFile(/tmp/multipartBody3591819588274477262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350332877,"filename":"image_31012025_14_59_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/1/31/e735c7291221e5a4036313a0645d99c7.jpg","text":"TemporaryFile(/tmp/multipartBody7527058610896936846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350332877,"filename":"image_31012025_14_59_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/1/31/8b26bcad3d1582c98ec88232bb17e519.jpg","text":"TemporaryFile(/tmp/multipartBody5772564395389598443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350332877,"filename":"image_31012025_14_59_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/1/31/b7aa1d0bae24140cad68c53de268dac1.jpg","text":"TemporaryFile(/tmp/multipartBody1582696596887116657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350332877,"filename":"image_31012025_14_59_35_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9d99abfb4f9c26d331dc7b34acda8b61.jpg","text":"TemporaryFile(/tmp/multipartBody2817132158615828759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350332877,"filename":"image_31012025_15_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/1/31/c8c70cd3e3e79ffd102765b24bf115a4.jpg","text":"TemporaryFile(/tmp/multipartBody8362464153005666315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350332877,"filename":"image_31012025_14_59_45_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333437351","file1":"1333437343","file0":"1333437337","file4":"1333437361","file5":"1333437398","file3":"1333437356"},"map_files_photo_id_array":[{"photo_id":"1333437398","filename":"file5"},{"photo_id":"1333437351","filename":"file2"},{"photo_id":"1333437361","filename":"file4"},{"photo_id":"1333437343","filename":"file1"},{"photo_id":"1333437337","filename":"file0"},{"photo_id":"1333437356","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333437361":["hashtag1","hashtag2"]},{"1333437343":["hashtag1","hashtag2"]},{"1333437337":["hashtag1","hashtag2"]},{"1333437351":["hashtag1","hashtag2"]},{"1333437398":["hashtag1","hashtag2"]},{"1333437356":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333437361, 1333437343, 1333437337, 1333437351, 1333437398, 1333437356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78455400466919 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:05:32.523860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/01/image_31012025_15_01_24_10345.jpg', '/home/pi/Desktop/images/31012025/15/01/image_31012025_15_01_35_10438.jpg', '/home/pi/Desktop/images/31012025/15/01/image_31012025_15_01_44_9353.jpg', '/home/pi/Desktop/images/31012025/15/01/image_31012025_15_01_55_10360.jpg', '/home/pi/Desktop/images/31012025/15/01/image_31012025_15_02_05_10393.jpg', '/home/pi/Desktop/images/31012025/15/02/image_31012025_15_02_14_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/01/image_31012025_15_01_24_10345.jpg
/home/pi/Desktop/images/31012025/15/01/image_31012025_15_01_35_10438.jpg
/home/pi/Desktop/images/31012025/15/01/image_31012025_15_01_44_9353.jpg
/home/pi/Desktop/images/31012025/15/01/image_31012025_15_01_55_10360.jpg
/home/pi/Desktop/images/31012025/15/01/image_31012025_15_02_05_10393.jpg
/home/pi/Desktop/images/31012025/15/02/image_31012025_15_02_14_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":["1333437634","1333437538","1333437591","1333437555","1333437587","1333437560"],"photo_ids_order":["1333437538","1333437555","1333437560","1333437587","1333437591","1333437634"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a363d7ab932c7c927da9da8234df62ad.jpg","text":"TemporaryFile(/tmp/multipartBody479522886261392558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350393082,"filename":"image_31012025_15_02_14_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0a9078e9c9d9f8a230a4b1c9c759f680.jpg","text":"TemporaryFile(/tmp/multipartBody8167732861562382398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350393082,"filename":"image_31012025_15_01_24_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ad0f7fee74cf1332e6852262be7e2954.jpg","text":"TemporaryFile(/tmp/multipartBody760093037287745367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350393082,"filename":"image_31012025_15_02_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/1/31/e10ac8694728171a73891297ad3f95db.jpg","text":"TemporaryFile(/tmp/multipartBody9064372960311636407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350393082,"filename":"image_31012025_15_01_35_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8f2aa69cb03ab96d9fabedfd25565024.jpg","text":"TemporaryFile(/tmp/multipartBody7371718389917038466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350393082,"filename":"image_31012025_15_01_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/1/31/76510ade83d3e31c8652a6076901de22.jpg","text":"TemporaryFile(/tmp/multipartBody1161918147257499674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350393082,"filename":"image_31012025_15_01_44_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333437560","file1":"1333437555","file0":"1333437538","file4":"1333437591","file5":"1333437634","file3":"1333437587"},"map_files_photo_id_array":[{"photo_id":"1333437634","filename":"file5"},{"photo_id":"1333437560","filename":"file2"},{"photo_id":"1333437591","filename":"file4"},{"photo_id":"1333437555","filename":"file1"},{"photo_id":"1333437538","filename":"file0"},{"photo_id":"1333437587","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333437634":["hashtag1","hashtag2"]},{"1333437538":["hashtag1","hashtag2"]},{"1333437591":["hashtag1","hashtag2"]},{"1333437555":["hashtag1","hashtag2"]},{"1333437587":["hashtag1","hashtag2"]},{"1333437560":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333437634, 1333437538, 1333437591, 1333437555, 1333437587, 1333437560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.3983051776886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:06:32.722649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/02/image_31012025_15_02_25_10408.jpg', '/home/pi/Desktop/images/31012025/15/02/image_31012025_15_02_34_9389.jpg', '/home/pi/Desktop/images/31012025/15/02/image_31012025_15_02_44_10339.jpg', '/home/pi/Desktop/images/31012025/15/02/image_31012025_15_02_55_10433.jpg', '/home/pi/Desktop/images/31012025/15/02/image_31012025_15_03_04_9410.jpg', '/home/pi/Desktop/images/31012025/15/03/image_31012025_15_03_15_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/02/image_31012025_15_02_25_10408.jpg
/home/pi/Desktop/images/31012025/15/02/image_31012025_15_02_34_9389.jpg
/home/pi/Desktop/images/31012025/15/02/image_31012025_15_02_44_10339.jpg
/home/pi/Desktop/images/31012025/15/02/image_31012025_15_02_55_10433.jpg
/home/pi/Desktop/images/31012025/15/02/image_31012025_15_03_04_9410.jpg
/home/pi/Desktop/images/31012025/15/03/image_31012025_15_03_15_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":["1333437697","1333437706","1333437681","1333437702","1333437674","1333437677"],"photo_ids_order":["1333437674","1333437677","1333437681","1333437697","1333437702","1333437706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d67918bd8d9a379d7690148a1e42539f.jpg","text":"TemporaryFile(/tmp/multipartBody5239803086377188638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350453271,"filename":"image_31012025_15_02_55_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d1b03df671c2a4c2e174de04a1127106.jpg","text":"TemporaryFile(/tmp/multipartBody2459458316274029824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350453271,"filename":"image_31012025_15_03_15_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/054167077f536364523685a9f7baa8eb.jpg","text":"TemporaryFile(/tmp/multipartBody1820101667534515381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350453271,"filename":"image_31012025_15_02_44_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/871ddee781fa8bfa476332f52e34cf87.jpg","text":"TemporaryFile(/tmp/multipartBody7563962042617109114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350453271,"filename":"image_31012025_15_03_04_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/788e554538ad5fa9ea445467d6b398ec.jpg","text":"TemporaryFile(/tmp/multipartBody7063599149093334094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350453271,"filename":"image_31012025_15_02_25_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2fd6532fa225f8ef075f69904a2f8a84.jpg","text":"TemporaryFile(/tmp/multipartBody6294207286149387258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350453271,"filename":"image_31012025_15_02_34_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333437681","file1":"1333437677","file0":"1333437674","file4":"1333437702","file5":"1333437706","file3":"1333437697"},"map_files_photo_id_array":[{"photo_id":"1333437706","filename":"file5"},{"photo_id":"1333437681","filename":"file2"},{"photo_id":"1333437702","filename":"file4"},{"photo_id":"1333437677","filename":"file1"},{"photo_id":"1333437674","filename":"file0"},{"photo_id":"1333437697","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333437697":["hashtag1","hashtag2"]},{"1333437706":["hashtag1","hashtag2"]},{"1333437681":["hashtag1","hashtag2"]},{"1333437702":["hashtag1","hashtag2"]},{"1333437674":["hashtag1","hashtag2"]},{"1333437677":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333437697, 1333437706, 1333437681, 1333437702, 1333437674, 1333437677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.88046169281006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:07:32.910365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/03/image_31012025_15_03_24_9325.jpg', '/home/pi/Desktop/images/31012025/15/03/image_31012025_15_03_34_10341.jpg', '/home/pi/Desktop/images/31012025/15/03/image_31012025_15_03_45_10362.jpg', '/home/pi/Desktop/images/31012025/15/03/image_31012025_15_03_54_9334.jpg', '/home/pi/Desktop/images/31012025/15/03/image_31012025_15_04_04_10356.jpg', '/home/pi/Desktop/images/31012025/15/04/image_31012025_15_04_24_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/03/image_31012025_15_03_24_9325.jpg
/home/pi/Desktop/images/31012025/15/03/image_31012025_15_03_34_10341.jpg
/home/pi/Desktop/images/31012025/15/03/image_31012025_15_03_45_10362.jpg
/home/pi/Desktop/images/31012025/15/03/image_31012025_15_03_54_9334.jpg
/home/pi/Desktop/images/31012025/15/03/image_31012025_15_04_04_10356.jpg
/home/pi/Desktop/images/31012025/15/04/image_31012025_15_04_24_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":["1333437775","1333437772","1333437829","1333437814","1333437825","1333437828"],"photo_ids_order":["1333437772","1333437775","1333437814","1333437825","1333437828","1333437829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b97fb8db81f66cd08ddcf890ab54470e.jpg","text":"TemporaryFile(/tmp/multipartBody4000128607134497643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350513456,"filename":"image_31012025_15_03_34_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f27a88b4865f95796f2f77724a6bdebd.jpg","text":"TemporaryFile(/tmp/multipartBody2922861800684206585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350513456,"filename":"image_31012025_15_03_24_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/58ef41471da85083044b79dd6164b9a2.jpg","text":"TemporaryFile(/tmp/multipartBody4751348480013999390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350513456,"filename":"image_31012025_15_04_24_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1bdbfb0f57f8c738d63eda7f11374efa.jpg","text":"TemporaryFile(/tmp/multipartBody2039007132960856453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350513456,"filename":"image_31012025_15_03_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/1/31/813a64cd637d98bf915f0484b929ac11.jpg","text":"TemporaryFile(/tmp/multipartBody3237659927703103492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350513456,"filename":"image_31012025_15_03_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/1/31/09cf60a4ffd32919245619f02e40b6e3.jpg","text":"TemporaryFile(/tmp/multipartBody5943385589780211998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350513456,"filename":"image_31012025_15_04_04_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333437814","file1":"1333437775","file0":"1333437772","file4":"1333437828","file5":"1333437829","file3":"1333437825"},"map_files_photo_id_array":[{"photo_id":"1333437829","filename":"file5"},{"photo_id":"1333437814","filename":"file2"},{"photo_id":"1333437828","filename":"file4"},{"photo_id":"1333437775","filename":"file1"},{"photo_id":"1333437772","filename":"file0"},{"photo_id":"1333437825","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333437775":["hashtag1","hashtag2"]},{"1333437772":["hashtag1","hashtag2"]},{"1333437829":["hashtag1","hashtag2"]},{"1333437814":["hashtag1","hashtag2"]},{"1333437825":["hashtag1","hashtag2"]},{"1333437828":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333437775, 1333437772, 1333437829, 1333437814, 1333437825, 1333437828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.478614807128906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:08:32.400094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/04/image_31012025_15_04_35_10361.jpg', '/home/pi/Desktop/images/31012025/15/04/image_31012025_15_04_45_10450.jpg', '/home/pi/Desktop/images/31012025/15/04/image_31012025_15_05_05_10448.jpg', '/home/pi/Desktop/images/31012025/15/05/image_31012025_15_05_14_9420.jpg', '/home/pi/Desktop/images/31012025/15/05/image_31012025_15_05_25_10421.jpg', '/home/pi/Desktop/images/31012025/15/05/image_31012025_15_05_34_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/04/image_31012025_15_04_35_10361.jpg
/home/pi/Desktop/images/31012025/15/04/image_31012025_15_04_45_10450.jpg
/home/pi/Desktop/images/31012025/15/04/image_31012025_15_05_05_10448.jpg
/home/pi/Desktop/images/31012025/15/05/image_31012025_15_05_14_9420.jpg
/home/pi/Desktop/images/31012025/15/05/image_31012025_15_05_25_10421.jpg
/home/pi/Desktop/images/31012025/15/05/image_31012025_15_05_34_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":["1333437857","1333437850","1333437853","1333437867","1333437861","1333437872"],"photo_ids_order":["1333437850","1333437853","1333437857","1333437861","1333437867","1333437872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/22ee7962aea973feea127eacd6c275dd.jpg","text":"TemporaryFile(/tmp/multipartBody1158962309727602702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350572973,"filename":"image_31012025_15_05_05_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e6e25dc79fb154f79fe2b5ea8c6142ea.jpg","text":"TemporaryFile(/tmp/multipartBody1733344087575141040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350572973,"filename":"image_31012025_15_04_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/1/31/b4d456a26af74cd09ed0ce00481733d8.jpg","text":"TemporaryFile(/tmp/multipartBody7453166945574462261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350572973,"filename":"image_31012025_15_04_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/1/31/bf28cd05afd19f334c76c6510f701468.jpg","text":"TemporaryFile(/tmp/multipartBody3112020582086602470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350572973,"filename":"image_31012025_15_05_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/1/31/36f91408c284dca75bfbbe11486dac49.jpg","text":"TemporaryFile(/tmp/multipartBody8645530207415391368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350572973,"filename":"image_31012025_15_05_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/1/31/a1660d57b473e78cf9ac9b525dbdf7ba.jpg","text":"TemporaryFile(/tmp/multipartBody6945504052799528614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350572973,"filename":"image_31012025_15_05_34_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333437857","file1":"1333437853","file0":"1333437850","file4":"1333437867","file5":"1333437872","file3":"1333437861"},"map_files_photo_id_array":[{"photo_id":"1333437872","filename":"file5"},{"photo_id":"1333437857","filename":"file2"},{"photo_id":"1333437867","filename":"file4"},{"photo_id":"1333437853","filename":"file1"},{"photo_id":"1333437850","filename":"file0"},{"photo_id":"1333437861","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333437857":["hashtag1","hashtag2"]},{"1333437850":["hashtag1","hashtag2"]},{"1333437853":["hashtag1","hashtag2"]},{"1333437867":["hashtag1","hashtag2"]},{"1333437861":["hashtag1","hashtag2"]},{"1333437872":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333437857, 1333437850, 1333437853, 1333437867, 1333437861, 1333437872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.30605173110962 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:09:32.521335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/05/image_31012025_15_05_44_10348.jpg', '/home/pi/Desktop/images/31012025/15/05/image_31012025_15_05_55_10395.jpg', '/home/pi/Desktop/images/31012025/15/05/image_31012025_15_06_04_9350.jpg', '/home/pi/Desktop/images/31012025/15/06/image_31012025_15_06_14_10343.jpg', '/home/pi/Desktop/images/31012025/15/06/image_31012025_15_06_25_10386.jpg', '/home/pi/Desktop/images/31012025/15/06/image_31012025_15_06_34_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/05/image_31012025_15_05_44_10348.jpg
/home/pi/Desktop/images/31012025/15/05/image_31012025_15_05_55_10395.jpg
/home/pi/Desktop/images/31012025/15/05/image_31012025_15_06_04_9350.jpg
/home/pi/Desktop/images/31012025/15/06/image_31012025_15_06_14_10343.jpg
/home/pi/Desktop/images/31012025/15/06/image_31012025_15_06_25_10386.jpg
/home/pi/Desktop/images/31012025/15/06/image_31012025_15_06_34_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":["1333438054","1333438071","1333438065","1333438059","1333438068","1333438062"],"photo_ids_order":["1333438054","1333438059","1333438062","1333438065","1333438068","1333438071"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/26dca6e9799ad36742e94c18b30dfb8e.jpg","text":"TemporaryFile(/tmp/multipartBody4586091633392418333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350633073,"filename":"image_31012025_15_05_44_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2fd1e22c8ba6532a5decae15471a4b0a.jpg","text":"TemporaryFile(/tmp/multipartBody7995672124901271814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350633073,"filename":"image_31012025_15_06_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/1/31/134053c829ff106078583091a3e33caa.jpg","text":"TemporaryFile(/tmp/multipartBody2628457903557302098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350633073,"filename":"image_31012025_15_06_14_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0eb8ece878204d93365cbcfa1a9fc7c8.jpg","text":"TemporaryFile(/tmp/multipartBody7079938734805250479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350633073,"filename":"image_31012025_15_05_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/1/31/a4896b8b6c2a3777f653770bb7a93c27.jpg","text":"TemporaryFile(/tmp/multipartBody1174921425123662891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350633073,"filename":"image_31012025_15_06_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/1/31/44f3ef5e65591843b1a2ac269a3813a9.jpg","text":"TemporaryFile(/tmp/multipartBody4151433924249507374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350633073,"filename":"image_31012025_15_06_04_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333438062","file1":"1333438059","file0":"1333438054","file4":"1333438068","file5":"1333438071","file3":"1333438065"},"map_files_photo_id_array":[{"photo_id":"1333438071","filename":"file5"},{"photo_id":"1333438062","filename":"file2"},{"photo_id":"1333438068","filename":"file4"},{"photo_id":"1333438059","filename":"file1"},{"photo_id":"1333438054","filename":"file0"},{"photo_id":"1333438065","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333438054":["hashtag1","hashtag2"]},{"1333438071":["hashtag1","hashtag2"]},{"1333438065":["hashtag1","hashtag2"]},{"1333438059":["hashtag1","hashtag2"]},{"1333438068":["hashtag1","hashtag2"]},{"1333438062":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333438054, 1333438071, 1333438065, 1333438059, 1333438068, 1333438062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.547118425369263 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:10:32.771895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/06/image_31012025_15_06_45_10347.jpg', '/home/pi/Desktop/images/31012025/15/06/image_31012025_15_06_55_10359.jpg', '/home/pi/Desktop/images/31012025/15/06/image_31012025_15_07_04_9338.jpg', '/home/pi/Desktop/images/31012025/15/07/image_31012025_15_07_15_10339.jpg', '/home/pi/Desktop/images/31012025/15/07/image_31012025_15_07_25_10388.jpg', '/home/pi/Desktop/images/31012025/15/07/image_31012025_15_07_45_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/06/image_31012025_15_06_45_10347.jpg
/home/pi/Desktop/images/31012025/15/06/image_31012025_15_06_55_10359.jpg
/home/pi/Desktop/images/31012025/15/06/image_31012025_15_07_04_9338.jpg
/home/pi/Desktop/images/31012025/15/07/image_31012025_15_07_15_10339.jpg
/home/pi/Desktop/images/31012025/15/07/image_31012025_15_07_25_10388.jpg
/home/pi/Desktop/images/31012025/15/07/image_31012025_15_07_45_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":["1333438105","1333438108","1333438098","1333438089","1333438101","1333438094"],"photo_ids_order":["1333438089","1333438094","1333438098","1333438101","1333438105","1333438108"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4fc6fae3f43f8575ab03c136c41180d4.jpg","text":"TemporaryFile(/tmp/multipartBody4098142972816877216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350694562,"filename":"image_31012025_15_07_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/1/31/f1e1134bbec5ef17365cfbebcf856fd6.jpg","text":"TemporaryFile(/tmp/multipartBody1860728640288749216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350694562,"filename":"image_31012025_15_07_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/1/31/8e241c86276123feb0cc56762d551fcb.jpg","text":"TemporaryFile(/tmp/multipartBody5587263394918025086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350694562,"filename":"image_31012025_15_07_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/1/31/e649324395a0c3b637d713ec78b5a29f.jpg","text":"TemporaryFile(/tmp/multipartBody8605505235531187853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350694562,"filename":"image_31012025_15_06_45_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/18ac169300146b182d517c353ff58c73.jpg","text":"TemporaryFile(/tmp/multipartBody4509773319683962388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350694562,"filename":"image_31012025_15_07_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/1/31/e6e93883082c93bbf9ef7134414c1ebb.jpg","text":"TemporaryFile(/tmp/multipartBody2609048631156367956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350694562,"filename":"image_31012025_15_06_55_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333438098","file1":"1333438094","file0":"1333438089","file4":"1333438105","file5":"1333438108","file3":"1333438101"},"map_files_photo_id_array":[{"photo_id":"1333438108","filename":"file5"},{"photo_id":"1333438098","filename":"file2"},{"photo_id":"1333438105","filename":"file4"},{"photo_id":"1333438094","filename":"file1"},{"photo_id":"1333438089","filename":"file0"},{"photo_id":"1333438101","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333438105":["hashtag1","hashtag2"]},{"1333438108":["hashtag1","hashtag2"]},{"1333438098":["hashtag1","hashtag2"]},{"1333438089":["hashtag1","hashtag2"]},{"1333438101":["hashtag1","hashtag2"]},{"1333438094":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333438105, 1333438108, 1333438098, 1333438089, 1333438101, 1333438094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.594101667404175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:11:32.681755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/07/image_31012025_15_07_54_9408.jpg', '/home/pi/Desktop/images/31012025/15/07/image_31012025_15_08_05_10373.jpg', '/home/pi/Desktop/images/31012025/15/08/image_31012025_15_08_15_10424.jpg', '/home/pi/Desktop/images/31012025/15/08/image_31012025_15_08_24_9424.jpg', '/home/pi/Desktop/images/31012025/15/08/image_31012025_15_08_35_10376.jpg', '/home/pi/Desktop/images/31012025/15/08/image_31012025_15_08_44_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/07/image_31012025_15_07_54_9408.jpg
/home/pi/Desktop/images/31012025/15/07/image_31012025_15_08_05_10373.jpg
/home/pi/Desktop/images/31012025/15/08/image_31012025_15_08_15_10424.jpg
/home/pi/Desktop/images/31012025/15/08/image_31012025_15_08_24_9424.jpg
/home/pi/Desktop/images/31012025/15/08/image_31012025_15_08_35_10376.jpg
/home/pi/Desktop/images/31012025/15/08/image_31012025_15_08_44_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":["1333438153","1333438141","1333438146","1333438149","1333438160","1333438157"],"photo_ids_order":["1333438141","1333438146","1333438149","1333438153","1333438157","1333438160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/86e026dcdaf4abd87a8029dc7d8ad3b7.jpg","text":"TemporaryFile(/tmp/multipartBody2916006582451743210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350753332,"filename":"image_31012025_15_08_24_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9b2dc551b1569e7f930ece1c6597481d.jpg","text":"TemporaryFile(/tmp/multipartBody957533932807045294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350753332,"filename":"image_31012025_15_07_54_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b8f28923bea00909e22661f850525dff.jpg","text":"TemporaryFile(/tmp/multipartBody5698763131084003811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350753332,"filename":"image_31012025_15_08_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/1/31/38377609ba7f1b3a98978ac935a03bc3.jpg","text":"TemporaryFile(/tmp/multipartBody8164752818295179480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350753332,"filename":"image_31012025_15_08_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/1/31/2667cefbc95c24cab824e767ac053e9d.jpg","text":"TemporaryFile(/tmp/multipartBody1629514313731170459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350753332,"filename":"image_31012025_15_08_44_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3c9c1ee878b6ea60359f05ca42d2b520.jpg","text":"TemporaryFile(/tmp/multipartBody2730820707429523240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350753332,"filename":"image_31012025_15_08_35_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333438149","file1":"1333438146","file0":"1333438141","file4":"1333438157","file5":"1333438160","file3":"1333438153"},"map_files_photo_id_array":[{"photo_id":"1333438160","filename":"file5"},{"photo_id":"1333438149","filename":"file2"},{"photo_id":"1333438157","filename":"file4"},{"photo_id":"1333438146","filename":"file1"},{"photo_id":"1333438141","filename":"file0"},{"photo_id":"1333438153","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333438153":["hashtag1","hashtag2"]},{"1333438141":["hashtag1","hashtag2"]},{"1333438146":["hashtag1","hashtag2"]},{"1333438149":["hashtag1","hashtag2"]},{"1333438160":["hashtag1","hashtag2"]},{"1333438157":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333438153, 1333438141, 1333438146, 1333438149, 1333438160, 1333438157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42343831062317 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:12:32.809821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/08/image_31012025_15_08_55_10374.jpg', '/home/pi/Desktop/images/31012025/15/08/image_31012025_15_09_05_10360.jpg', '/home/pi/Desktop/images/31012025/15/09/image_31012025_15_09_14_9354.jpg', '/home/pi/Desktop/images/31012025/15/09/image_31012025_15_09_25_10368.jpg', '/home/pi/Desktop/images/31012025/15/09/image_31012025_15_09_44_9425.jpg', '/home/pi/Desktop/images/31012025/15/10/image_31012025_15_10_15_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/08/image_31012025_15_08_55_10374.jpg
/home/pi/Desktop/images/31012025/15/08/image_31012025_15_09_05_10360.jpg
/home/pi/Desktop/images/31012025/15/09/image_31012025_15_09_14_9354.jpg
/home/pi/Desktop/images/31012025/15/09/image_31012025_15_09_25_10368.jpg
/home/pi/Desktop/images/31012025/15/09/image_31012025_15_09_44_9425.jpg
/home/pi/Desktop/images/31012025/15/10/image_31012025_15_10_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":["1333438356","1333438365","1333438359","1333438370","1333438373","1333438352"],"photo_ids_order":["1333438352","1333438356","1333438359","1333438365","1333438370","1333438373"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3292bbb9fb433c12b9493d3160c46d54.jpg","text":"TemporaryFile(/tmp/multipartBody2171457468528323330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350813541,"filename":"image_31012025_15_09_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/1/31/6c8821072871d9a231ca03768812b413.jpg","text":"TemporaryFile(/tmp/multipartBody334697355535390206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350813541,"filename":"image_31012025_15_09_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/1/31/3e63aca28adac868864b26265cca2ea9.jpg","text":"TemporaryFile(/tmp/multipartBody1316173745535815019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350813541,"filename":"image_31012025_15_09_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/1/31/bfddcdf2f5da9677f93c7c6990625424.jpg","text":"TemporaryFile(/tmp/multipartBody3185294486504893325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350813541,"filename":"image_31012025_15_09_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/1/31/e93c708fb785a8d23128354efd766b2d.jpg","text":"TemporaryFile(/tmp/multipartBody5787973073358053570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350813541,"filename":"image_31012025_15_10_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/1/31/7df25a05abde1e0f27e66d7884d857c0.jpg","text":"TemporaryFile(/tmp/multipartBody8437078730547267736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350813541,"filename":"image_31012025_15_08_55_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333438359","file1":"1333438356","file0":"1333438352","file4":"1333438370","file5":"1333438373","file3":"1333438365"},"map_files_photo_id_array":[{"photo_id":"1333438373","filename":"file5"},{"photo_id":"1333438359","filename":"file2"},{"photo_id":"1333438370","filename":"file4"},{"photo_id":"1333438356","filename":"file1"},{"photo_id":"1333438352","filename":"file0"},{"photo_id":"1333438365","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333438356":["hashtag1","hashtag2"]},{"1333438365":["hashtag1","hashtag2"]},{"1333438359":["hashtag1","hashtag2"]},{"1333438370":["hashtag1","hashtag2"]},{"1333438373":["hashtag1","hashtag2"]},{"1333438352":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333438356, 1333438365, 1333438359, 1333438370, 1333438373, 1333438352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.592522621154785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:13:33.116462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/10/image_31012025_15_10_25_10454.jpg', '/home/pi/Desktop/images/31012025/15/10/image_31012025_15_10_34_9322.jpg', '/home/pi/Desktop/images/31012025/15/10/image_31012025_15_10_45_10432.jpg', '/home/pi/Desktop/images/31012025/15/10/image_31012025_15_10_54_9361.jpg', '/home/pi/Desktop/images/31012025/15/10/image_31012025_15_11_05_10451.jpg', '/home/pi/Desktop/images/31012025/15/11/image_31012025_15_11_14_9461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/10/image_31012025_15_10_25_10454.jpg
/home/pi/Desktop/images/31012025/15/10/image_31012025_15_10_34_9322.jpg
/home/pi/Desktop/images/31012025/15/10/image_31012025_15_10_45_10432.jpg
/home/pi/Desktop/images/31012025/15/10/image_31012025_15_10_54_9361.jpg
/home/pi/Desktop/images/31012025/15/10/image_31012025_15_11_05_10451.jpg
/home/pi/Desktop/images/31012025/15/11/image_31012025_15_11_14_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":["1333438456","1333438405","1333438449","1333438398","1333438460","1333438439"],"photo_ids_order":["1333438398","1333438405","1333438439","1333438449","1333438456","1333438460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9839390e6b6e5ffb3f00a8589411ff0b.jpg","text":"TemporaryFile(/tmp/multipartBody7727637225598273974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350873657,"filename":"image_31012025_15_11_05_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/667f6b807dbfae5a5574e1347877a2f3.jpg","text":"TemporaryFile(/tmp/multipartBody1315594232690658213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350873657,"filename":"image_31012025_15_10_34_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/524aa032cb4857f18e1210131c5e83f1.jpg","text":"TemporaryFile(/tmp/multipartBody4751354069042417995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350873657,"filename":"image_31012025_15_10_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/1/31/50b8c15df77a056dedc2ef60e6dd43e9.jpg","text":"TemporaryFile(/tmp/multipartBody8562506620386447320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350873657,"filename":"image_31012025_15_10_25_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8e34a2073c577236c2e5922de191d7f1.jpg","text":"TemporaryFile(/tmp/multipartBody6548841151844269959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350873657,"filename":"image_31012025_15_11_14_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/28a74540a38d42a72110adb11d01db28.jpg","text":"TemporaryFile(/tmp/multipartBody5109477676921738469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350873657,"filename":"image_31012025_15_10_45_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333438439","file1":"1333438405","file0":"1333438398","file4":"1333438456","file5":"1333438460","file3":"1333438449"},"map_files_photo_id_array":[{"photo_id":"1333438460","filename":"file5"},{"photo_id":"1333438439","filename":"file2"},{"photo_id":"1333438456","filename":"file4"},{"photo_id":"1333438405","filename":"file1"},{"photo_id":"1333438398","filename":"file0"},{"photo_id":"1333438449","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333438456":["hashtag1","hashtag2"]},{"1333438405":["hashtag1","hashtag2"]},{"1333438449":["hashtag1","hashtag2"]},{"1333438398":["hashtag1","hashtag2"]},{"1333438460":["hashtag1","hashtag2"]},{"1333438439":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333438456, 1333438405, 1333438449, 1333438398, 1333438460, 1333438439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.14443898200989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:14:32.215432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/11/image_31012025_15_11_24_10349.jpg', '/home/pi/Desktop/images/31012025/15/11/image_31012025_15_11_35_10450.jpg', '/home/pi/Desktop/images/31012025/15/11/image_31012025_15_11_44_9449.jpg', '/home/pi/Desktop/images/31012025/15/11/image_31012025_15_12_04_9352.jpg', '/home/pi/Desktop/images/31012025/15/12/image_31012025_15_12_14_10356.jpg', '/home/pi/Desktop/images/31012025/15/12/image_31012025_15_12_25_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/11/image_31012025_15_11_24_10349.jpg
/home/pi/Desktop/images/31012025/15/11/image_31012025_15_11_35_10450.jpg
/home/pi/Desktop/images/31012025/15/11/image_31012025_15_11_44_9449.jpg
/home/pi/Desktop/images/31012025/15/11/image_31012025_15_12_04_9352.jpg
/home/pi/Desktop/images/31012025/15/12/image_31012025_15_12_14_10356.jpg
/home/pi/Desktop/images/31012025/15/12/image_31012025_15_12_25_10441.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.4845094680786133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 20:14:42.151414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/11/image_31012025_15_11_24_10349.jpg', '/home/pi/Desktop/images/31012025/15/11/image_31012025_15_11_35_10450.jpg', '/home/pi/Desktop/images/31012025/15/11/image_31012025_15_11_44_9449.jpg', '/home/pi/Desktop/images/31012025/15/11/image_31012025_15_12_04_9352.jpg', '/home/pi/Desktop/images/31012025/15/12/image_31012025_15_12_14_10356.jpg', '/home/pi/Desktop/images/31012025/15/12/image_31012025_15_12_25_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/11/image_31012025_15_11_24_10349.jpg
/home/pi/Desktop/images/31012025/15/11/image_31012025_15_11_35_10450.jpg
/home/pi/Desktop/images/31012025/15/11/image_31012025_15_11_44_9449.jpg
/home/pi/Desktop/images/31012025/15/11/image_31012025_15_12_04_9352.jpg
/home/pi/Desktop/images/31012025/15/12/image_31012025_15_12_14_10356.jpg
/home/pi/Desktop/images/31012025/15/12/image_31012025_15_12_25_10441.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":["1333438607","1333438612","1333438609","1333438599","1333438593","1333438604"],"photo_ids_order":["1333438593","1333438599","1333438604","1333438607","1333438609","1333438612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e03f481a2ddda42cf0a36369254b80ef.jpg","text":"TemporaryFile(/tmp/multipartBody5098417631177168025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350942623,"filename":"image_31012025_15_12_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/1/31/b977a24037c2d90b28c982acfe287d28.jpg","text":"TemporaryFile(/tmp/multipartBody6606744211041014693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350942623,"filename":"image_31012025_15_12_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/1/31/9e32d624d217df7a56ff64e0d4b02c51.jpg","text":"TemporaryFile(/tmp/multipartBody3513840937594931010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350942623,"filename":"image_31012025_15_12_14_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/96e70428502176514d2e70e4b5b9b624.jpg","text":"TemporaryFile(/tmp/multipartBody3136184845187234434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350942623,"filename":"image_31012025_15_11_35_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7e2ccbf29f084296fbacaad3427c4068.jpg","text":"TemporaryFile(/tmp/multipartBody5272436460797396231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350942623,"filename":"image_31012025_15_11_24_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fb8e8582ece2d1fdd34397a123cea7f8.jpg","text":"TemporaryFile(/tmp/multipartBody590927975961499246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350942623,"filename":"image_31012025_15_11_44_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333438604","file1":"1333438599","file0":"1333438593","file4":"1333438609","file5":"1333438612","file3":"1333438607"},"map_files_photo_id_array":[{"photo_id":"1333438612","filename":"file5"},{"photo_id":"1333438604","filename":"file2"},{"photo_id":"1333438609","filename":"file4"},{"photo_id":"1333438599","filename":"file1"},{"photo_id":"1333438593","filename":"file0"},{"photo_id":"1333438607","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333438607":["hashtag1","hashtag2"]},{"1333438612":["hashtag1","hashtag2"]},{"1333438609":["hashtag1","hashtag2"]},{"1333438599":["hashtag1","hashtag2"]},{"1333438593":["hashtag1","hashtag2"]},{"1333438604":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333438607, 1333438612, 1333438609, 1333438599, 1333438593, 1333438604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18661904335022 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:15:32.500515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/12/image_31012025_15_12_34_9446.jpg', '/home/pi/Desktop/images/31012025/15/12/image_31012025_15_12_45_10425.jpg', '/home/pi/Desktop/images/31012025/15/12/image_31012025_15_12_54_9347.jpg', '/home/pi/Desktop/images/31012025/15/12/image_31012025_15_13_04_10348.jpg', '/home/pi/Desktop/images/31012025/15/13/image_31012025_15_13_24_9438.jpg', '/home/pi/Desktop/images/31012025/15/13/image_31012025_15_13_44_9324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/12/image_31012025_15_12_34_9446.jpg
/home/pi/Desktop/images/31012025/15/12/image_31012025_15_12_45_10425.jpg
/home/pi/Desktop/images/31012025/15/12/image_31012025_15_12_54_9347.jpg
/home/pi/Desktop/images/31012025/15/12/image_31012025_15_13_04_10348.jpg
/home/pi/Desktop/images/31012025/15/13/image_31012025_15_13_24_9438.jpg
/home/pi/Desktop/images/31012025/15/13/image_31012025_15_13_44_9324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333439005","1333438906","1333438950","1333438944","1333438911","1333439000"],"photo_ids_order":["1333438906","1333438911","1333438944","1333438950","1333439000","1333439005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4eeae36a84b015ed55db597e93526063.jpg","text":"TemporaryFile(/tmp/multipartBody8338497797046043529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350993053,"filename":"image_31012025_15_13_44_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/503d43f18ac0bed7c376435c61af696a.jpg","text":"TemporaryFile(/tmp/multipartBody7884090127334473709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350993053,"filename":"image_31012025_15_12_34_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0729c161585bbc69cb9dec5a51a0d248.jpg","text":"TemporaryFile(/tmp/multipartBody469433404481262961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350993053,"filename":"image_31012025_15_13_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/1/31/b30237659e3d8294fc8b30102391df6a.jpg","text":"TemporaryFile(/tmp/multipartBody3598644267907699060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350993053,"filename":"image_31012025_15_12_54_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3973e98d82322ca741bfa410e8386002.jpg","text":"TemporaryFile(/tmp/multipartBody7694029164090706470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350993053,"filename":"image_31012025_15_12_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/1/31/756ebe3b840be68e27847c3bb488df42.jpg","text":"TemporaryFile(/tmp/multipartBody7624796103270699154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738350993053,"filename":"image_31012025_15_13_24_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333438944","file1":"1333438911","file0":"1333438906","file4":"1333439000","file5":"1333439005","file3":"1333438950"},"map_files_photo_id_array":[{"photo_id":"1333439005","filename":"file5"},{"photo_id":"1333438944","filename":"file2"},{"photo_id":"1333439000","filename":"file4"},{"photo_id":"1333438911","filename":"file1"},{"photo_id":"1333438906","filename":"file0"},{"photo_id":"1333438950","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333439005":["hashtag1","hashtag2"]},{"1333438906":["hashtag1","hashtag2"]},{"1333438950":["hashtag1","hashtag2"]},{"1333438944":["hashtag1","hashtag2"]},{"1333438911":["hashtag1","hashtag2"]},{"1333439000":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333439005, 1333438906, 1333438950, 1333438944, 1333438911, 1333439000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.09739637374878 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:16:32.797017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/13/image_31012025_15_13_55_10373.jpg', '/home/pi/Desktop/images/31012025/15/14/image_31012025_15_14_35_10476.jpg', '/home/pi/Desktop/images/31012025/15/14/image_31012025_15_14_44_9340.jpg', '/home/pi/Desktop/images/31012025/15/14/image_31012025_15_14_55_10436.jpg', '/home/pi/Desktop/images/31012025/15/14/image_31012025_15_15_05_10417.jpg', '/home/pi/Desktop/images/31012025/15/15/image_31012025_15_15_14_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/13/image_31012025_15_13_55_10373.jpg
/home/pi/Desktop/images/31012025/15/14/image_31012025_15_14_35_10476.jpg
/home/pi/Desktop/images/31012025/15/14/image_31012025_15_14_44_9340.jpg
/home/pi/Desktop/images/31012025/15/14/image_31012025_15_14_55_10436.jpg
/home/pi/Desktop/images/31012025/15/14/image_31012025_15_15_05_10417.jpg
/home/pi/Desktop/images/31012025/15/15/image_31012025_15_15_14_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":["1333439082","1333439085","1333439079","1333439064","1333439069","1333439074"],"photo_ids_order":["1333439064","1333439069","1333439074","1333439079","1333439082","1333439085"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a197428a404d9376918468be950dd8db.jpg","text":"TemporaryFile(/tmp/multipartBody959147764599104417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351053333,"filename":"image_31012025_15_15_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/1/31/e28c463741029d1588029561c032d087.jpg","text":"TemporaryFile(/tmp/multipartBody5686499799026473424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351053333,"filename":"image_31012025_15_15_14_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/48ade3c86720b1fc6d49124136a47d40.jpg","text":"TemporaryFile(/tmp/multipartBody1489596846217226128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351053333,"filename":"image_31012025_15_14_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/1/31/3b6d4a1717ba29e61f76a24d6331cc0a.jpg","text":"TemporaryFile(/tmp/multipartBody487504047512244622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351053333,"filename":"image_31012025_15_13_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/1/31/97f5f93b974e1ee68a4289395a01ace2.jpg","text":"TemporaryFile(/tmp/multipartBody4583523216108480819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351053333,"filename":"image_31012025_15_14_35_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e7530f7a329ec54f1ae304c339d1d2c3.jpg","text":"TemporaryFile(/tmp/multipartBody8924447625896794277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351053333,"filename":"image_31012025_15_14_44_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333439074","file1":"1333439069","file0":"1333439064","file4":"1333439082","file5":"1333439085","file3":"1333439079"},"map_files_photo_id_array":[{"photo_id":"1333439085","filename":"file5"},{"photo_id":"1333439074","filename":"file2"},{"photo_id":"1333439082","filename":"file4"},{"photo_id":"1333439069","filename":"file1"},{"photo_id":"1333439064","filename":"file0"},{"photo_id":"1333439079","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333439082":["hashtag1","hashtag2"]},{"1333439085":["hashtag1","hashtag2"]},{"1333439079":["hashtag1","hashtag2"]},{"1333439064":["hashtag1","hashtag2"]},{"1333439069":["hashtag1","hashtag2"]},{"1333439074":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333439082, 1333439085, 1333439079, 1333439064, 1333439069, 1333439074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.298702239990234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:17:32.997530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/16/image_31012025_15_16_15_10342.jpg', '/home/pi/Desktop/images/31012025/15/16/image_31012025_15_16_45_10456.jpg', '/home/pi/Desktop/images/31012025/15/17/image_31012025_15_17_24_9344.jpg', '/home/pi/Desktop/images/31012025/15/17/image_31012025_15_17_35_10366.jpg', '/home/pi/Desktop/images/31012025/15/17/image_31012025_15_17_45_10359.jpg', '/home/pi/Desktop/images/31012025/15/17/image_31012025_15_17_54_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/16/image_31012025_15_16_15_10342.jpg
/home/pi/Desktop/images/31012025/15/16/image_31012025_15_16_45_10456.jpg
/home/pi/Desktop/images/31012025/15/17/image_31012025_15_17_24_9344.jpg
/home/pi/Desktop/images/31012025/15/17/image_31012025_15_17_35_10366.jpg
/home/pi/Desktop/images/31012025/15/17/image_31012025_15_17_45_10359.jpg
/home/pi/Desktop/images/31012025/15/17/image_31012025_15_17_54_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":["1333439262","1333439256","1333439265","1333439259","1333439270","1333439275"],"photo_ids_order":["1333439256","1333439259","1333439262","1333439265","1333439270","1333439275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9e87a312edfbdee2079e8612267657e7.jpg","text":"TemporaryFile(/tmp/multipartBody6151555337887150002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351113585,"filename":"image_31012025_15_17_24_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2ebbcc71adf4aff948933939eddf3766.jpg","text":"TemporaryFile(/tmp/multipartBody3508037274750283289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351113585,"filename":"image_31012025_15_16_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/1/31/dbbacb7fa4db1328ce4a41c313f77f86.jpg","text":"TemporaryFile(/tmp/multipartBody7757506043589646235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351113585,"filename":"image_31012025_15_17_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/1/31/82fc96b928708e9fa1e8156d0250aa54.jpg","text":"TemporaryFile(/tmp/multipartBody4066982187928271263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351113585,"filename":"image_31012025_15_16_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/1/31/d14a35fa49cd6a70d79df5cadc79ef8e.jpg","text":"TemporaryFile(/tmp/multipartBody1167816553988288509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351113585,"filename":"image_31012025_15_17_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/1/31/8a97547aec90cf83f7df61eaaf409987.jpg","text":"TemporaryFile(/tmp/multipartBody1381846684554685052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351113585,"filename":"image_31012025_15_17_54_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333439262","file1":"1333439259","file0":"1333439256","file4":"1333439270","file5":"1333439275","file3":"1333439265"},"map_files_photo_id_array":[{"photo_id":"1333439275","filename":"file5"},{"photo_id":"1333439262","filename":"file2"},{"photo_id":"1333439270","filename":"file4"},{"photo_id":"1333439259","filename":"file1"},{"photo_id":"1333439256","filename":"file0"},{"photo_id":"1333439265","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333439262":["hashtag1","hashtag2"]},{"1333439256":["hashtag1","hashtag2"]},{"1333439265":["hashtag1","hashtag2"]},{"1333439259":["hashtag1","hashtag2"]},{"1333439270":["hashtag1","hashtag2"]},{"1333439275":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333439262, 1333439256, 1333439265, 1333439259, 1333439270, 1333439275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17284655570984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:18:33.162573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/17/image_31012025_15_18_05_10519.jpg', '/home/pi/Desktop/images/31012025/15/18/image_31012025_15_18_14_9350.jpg', '/home/pi/Desktop/images/31012025/15/18/image_31012025_15_18_25_10489.jpg', '/home/pi/Desktop/images/31012025/15/18/image_31012025_15_18_34_9351.jpg', '/home/pi/Desktop/images/31012025/15/18/image_31012025_15_18_44_10406.jpg', '/home/pi/Desktop/images/31012025/15/18/image_31012025_15_19_04_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/17/image_31012025_15_18_05_10519.jpg
/home/pi/Desktop/images/31012025/15/18/image_31012025_15_18_14_9350.jpg
/home/pi/Desktop/images/31012025/15/18/image_31012025_15_18_25_10489.jpg
/home/pi/Desktop/images/31012025/15/18/image_31012025_15_18_34_9351.jpg
/home/pi/Desktop/images/31012025/15/18/image_31012025_15_18_44_10406.jpg
/home/pi/Desktop/images/31012025/15/18/image_31012025_15_19_04_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":["1333439317","1333439305","1333439322","1333439325","1333439301","1333439312"],"photo_ids_order":["1333439301","1333439305","1333439312","1333439317","1333439322","1333439325"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c39ffe94dbb351a1eb643056ddab9899.jpg","text":"TemporaryFile(/tmp/multipartBody3872175570707246655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351173755,"filename":"image_31012025_15_18_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/1/31/d42923d3c6e0f81ad50812efdb6f857a.jpg","text":"TemporaryFile(/tmp/multipartBody1064260706300275390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351173755,"filename":"image_31012025_15_18_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/1/31/cc5754fcb0ee93b9e3d4cc45c7482ca9.jpg","text":"TemporaryFile(/tmp/multipartBody1634443912869723467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351173755,"filename":"image_31012025_15_18_44_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fa02579621c946069be7fff6bb0b5007.jpg","text":"TemporaryFile(/tmp/multipartBody76883797672497855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351173755,"filename":"image_31012025_15_19_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/1/31/33d7af7f66f9561681d5140ad1daafea.jpg","text":"TemporaryFile(/tmp/multipartBody1333222107403135220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351173755,"filename":"image_31012025_15_18_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/1/31/0b9e29e94605f535c139b5dedeca25b5.jpg","text":"TemporaryFile(/tmp/multipartBody336598613647345233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351173755,"filename":"image_31012025_15_18_25_10489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333439312","file1":"1333439305","file0":"1333439301","file4":"1333439322","file5":"1333439325","file3":"1333439317"},"map_files_photo_id_array":[{"photo_id":"1333439325","filename":"file5"},{"photo_id":"1333439312","filename":"file2"},{"photo_id":"1333439322","filename":"file4"},{"photo_id":"1333439305","filename":"file1"},{"photo_id":"1333439301","filename":"file0"},{"photo_id":"1333439317","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333439317":["hashtag1","hashtag2"]},{"1333439305":["hashtag1","hashtag2"]},{"1333439322":["hashtag1","hashtag2"]},{"1333439325":["hashtag1","hashtag2"]},{"1333439301":["hashtag1","hashtag2"]},{"1333439312":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333439317, 1333439305, 1333439322, 1333439325, 1333439301, 1333439312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32686400413513 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:19:32.439050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/19/image_31012025_15_19_15_10565.jpg', '/home/pi/Desktop/images/31012025/15/19/image_31012025_15_19_24_9418.jpg', '/home/pi/Desktop/images/31012025/15/19/image_31012025_15_19_45_10430.jpg', '/home/pi/Desktop/images/31012025/15/19/image_31012025_15_19_54_9342.jpg', '/home/pi/Desktop/images/31012025/15/19/image_31012025_15_20_05_10431.jpg', '/home/pi/Desktop/images/31012025/15/20/image_31012025_15_20_35_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/19/image_31012025_15_19_15_10565.jpg
/home/pi/Desktop/images/31012025/15/19/image_31012025_15_19_24_9418.jpg
/home/pi/Desktop/images/31012025/15/19/image_31012025_15_19_45_10430.jpg
/home/pi/Desktop/images/31012025/15/19/image_31012025_15_19_54_9342.jpg
/home/pi/Desktop/images/31012025/15/19/image_31012025_15_20_05_10431.jpg
/home/pi/Desktop/images/31012025/15/20/image_31012025_15_20_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":["1333439404","1333439388","1333439396","1333439400","1333439369","1333439357"],"photo_ids_order":["1333439357","1333439369","1333439388","1333439396","1333439400","1333439404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6e5eb5e868d38fb3c9f46a016724de17.jpg","text":"TemporaryFile(/tmp/multipartBody2227058893449918667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351232986,"filename":"image_31012025_15_20_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/1/31/e2d027b7effc46ffe5e1299f3567531a.jpg","text":"TemporaryFile(/tmp/multipartBody2345252794427886122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351232986,"filename":"image_31012025_15_19_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/1/31/5a97be8785c60ad27acc9410f7c4f43c.jpg","text":"TemporaryFile(/tmp/multipartBody2924719991991598700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351232986,"filename":"image_31012025_15_19_54_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3b752298b79e3db453b2f3d2be854edb.jpg","text":"TemporaryFile(/tmp/multipartBody6285110016633745573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351232986,"filename":"image_31012025_15_20_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/1/31/19745a4915a3bdf8f93df47849d63b70.jpg","text":"TemporaryFile(/tmp/multipartBody7230153004414178273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351232986,"filename":"image_31012025_15_19_24_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3d65348e0388304e168860a41c39465a.jpg","text":"TemporaryFile(/tmp/multipartBody5242519717513361013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351232986,"filename":"image_31012025_15_19_15_10565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333439388","file1":"1333439369","file0":"1333439357","file4":"1333439400","file5":"1333439404","file3":"1333439396"},"map_files_photo_id_array":[{"photo_id":"1333439404","filename":"file5"},{"photo_id":"1333439388","filename":"file2"},{"photo_id":"1333439400","filename":"file4"},{"photo_id":"1333439369","filename":"file1"},{"photo_id":"1333439357","filename":"file0"},{"photo_id":"1333439396","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333439404":["hashtag1","hashtag2"]},{"1333439388":["hashtag1","hashtag2"]},{"1333439396":["hashtag1","hashtag2"]},{"1333439400":["hashtag1","hashtag2"]},{"1333439369":["hashtag1","hashtag2"]},{"1333439357":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333439404, 1333439388, 1333439396, 1333439400, 1333439369, 1333439357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07647633552551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:20:32.559529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/20/image_31012025_15_20_55_10445.jpg', '/home/pi/Desktop/images/31012025/15/20/image_31012025_15_21_04_9319.jpg', '/home/pi/Desktop/images/31012025/15/21/image_31012025_15_21_15_10362.jpg', '/home/pi/Desktop/images/31012025/15/21/image_31012025_15_21_25_10356.jpg', '/home/pi/Desktop/images/31012025/15/21/image_31012025_15_21_34_9357.jpg', '/home/pi/Desktop/images/31012025/15/21/image_31012025_15_21_45_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/20/image_31012025_15_20_55_10445.jpg
/home/pi/Desktop/images/31012025/15/20/image_31012025_15_21_04_9319.jpg
/home/pi/Desktop/images/31012025/15/21/image_31012025_15_21_15_10362.jpg
/home/pi/Desktop/images/31012025/15/21/image_31012025_15_21_25_10356.jpg
/home/pi/Desktop/images/31012025/15/21/image_31012025_15_21_34_9357.jpg
/home/pi/Desktop/images/31012025/15/21/image_31012025_15_21_45_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333439565","1333439550","1333439538","1333439489","1333439485","1333439482"],"photo_ids_order":["1333439482","1333439485","1333439489","1333439538","1333439550","1333439565"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cc84c46544c16defe451b5345963f3fc.jpg","text":"TemporaryFile(/tmp/multipartBody5425996923802996937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351293185,"filename":"image_31012025_15_21_45_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f1558579210fa6b58c14bb7917045d9d.jpg","text":"TemporaryFile(/tmp/multipartBody9155313399353150159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351293185,"filename":"image_31012025_15_21_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/1/31/c657e04eefb5968e19ec04f1b86c2462.jpg","text":"TemporaryFile(/tmp/multipartBody7511924225346792797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351293185,"filename":"image_31012025_15_21_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4bbd1e179eb955b42c25d56c0a51b78a.jpg","text":"TemporaryFile(/tmp/multipartBody180164403535055005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351293185,"filename":"image_31012025_15_21_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/1/31/6f7af463298ad1c242f0efeada35878b.jpg","text":"TemporaryFile(/tmp/multipartBody200689086025130181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351293185,"filename":"image_31012025_15_21_04_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/821009b934fc223fbf76b9256a555ec9.jpg","text":"TemporaryFile(/tmp/multipartBody350296021934606869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351293185,"filename":"image_31012025_15_20_55_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333439489","file1":"1333439485","file0":"1333439482","file4":"1333439550","file5":"1333439565","file3":"1333439538"},"map_files_photo_id_array":[{"photo_id":"1333439565","filename":"file5"},{"photo_id":"1333439489","filename":"file2"},{"photo_id":"1333439550","filename":"file4"},{"photo_id":"1333439485","filename":"file1"},{"photo_id":"1333439482","filename":"file0"},{"photo_id":"1333439538","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333439565":["hashtag1","hashtag2"]},{"1333439550":["hashtag1","hashtag2"]},{"1333439538":["hashtag1","hashtag2"]},{"1333439489":["hashtag1","hashtag2"]},{"1333439485":["hashtag1","hashtag2"]},{"1333439482":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333439565, 1333439550, 1333439538, 1333439489, 1333439485, 1333439482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.598900079727173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:21:32.819909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/21/image_31012025_15_21_55_10376.jpg', '/home/pi/Desktop/images/31012025/15/21/image_31012025_15_22_04_9338.jpg', '/home/pi/Desktop/images/31012025/15/22/image_31012025_15_22_15_10424.jpg', '/home/pi/Desktop/images/31012025/15/22/image_31012025_15_22_24_9339.jpg', '/home/pi/Desktop/images/31012025/15/22/image_31012025_15_22_34_10359.jpg', '/home/pi/Desktop/images/31012025/15/22/image_31012025_15_22_45_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/21/image_31012025_15_21_55_10376.jpg
/home/pi/Desktop/images/31012025/15/21/image_31012025_15_22_04_9338.jpg
/home/pi/Desktop/images/31012025/15/22/image_31012025_15_22_15_10424.jpg
/home/pi/Desktop/images/31012025/15/22/image_31012025_15_22_24_9339.jpg
/home/pi/Desktop/images/31012025/15/22/image_31012025_15_22_34_10359.jpg
/home/pi/Desktop/images/31012025/15/22/image_31012025_15_22_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":["1333439650","1333439658","1333439753","1333439654","1333439647","1333439761"],"photo_ids_order":["1333439647","1333439650","1333439654","1333439658","1333439753","1333439761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4fedc327149d6ff312e7ad7f661e7764.jpg","text":"TemporaryFile(/tmp/multipartBody9131979202112657562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351353594,"filename":"image_31012025_15_22_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/1/31/8875af0b39f95298168b932521e73eee.jpg","text":"TemporaryFile(/tmp/multipartBody8116445229180396180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351353594,"filename":"image_31012025_15_22_24_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c09dcf931360850fe155b5d852aea583.jpg","text":"TemporaryFile(/tmp/multipartBody5681754535344022399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351353594,"filename":"image_31012025_15_22_34_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a73bc749ab60f567b3d6f2d1aecda13d.jpg","text":"TemporaryFile(/tmp/multipartBody8976370335374389098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351353594,"filename":"image_31012025_15_22_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/1/31/e10ed255d29e44fbba4507856b64bb66.jpg","text":"TemporaryFile(/tmp/multipartBody5100021285063649171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351353594,"filename":"image_31012025_15_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/1/31/b97c84084f8b09f645b8d31e18b78c42.jpg","text":"TemporaryFile(/tmp/multipartBody7603615089395576623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351353594,"filename":"image_31012025_15_22_45_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333439654","file1":"1333439650","file0":"1333439647","file4":"1333439753","file5":"1333439761","file3":"1333439658"},"map_files_photo_id_array":[{"photo_id":"1333439761","filename":"file5"},{"photo_id":"1333439654","filename":"file2"},{"photo_id":"1333439753","filename":"file4"},{"photo_id":"1333439650","filename":"file1"},{"photo_id":"1333439647","filename":"file0"},{"photo_id":"1333439658","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333439650":["hashtag1","hashtag2"]},{"1333439658":["hashtag1","hashtag2"]},{"1333439753":["hashtag1","hashtag2"]},{"1333439654":["hashtag1","hashtag2"]},{"1333439647":["hashtag1","hashtag2"]},{"1333439761":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333439650, 1333439658, 1333439753, 1333439654, 1333439647, 1333439761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.669646978378296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:22:33.164382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/22/image_31012025_15_22_54_9334.jpg', '/home/pi/Desktop/images/31012025/15/22/image_31012025_15_23_04_10367.jpg', '/home/pi/Desktop/images/31012025/15/23/image_31012025_15_23_15_10350.jpg', '/home/pi/Desktop/images/31012025/15/23/image_31012025_15_23_24_9360.jpg', '/home/pi/Desktop/images/31012025/15/23/image_31012025_15_23_35_10337.jpg', '/home/pi/Desktop/images/31012025/15/23/image_31012025_15_23_45_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/22/image_31012025_15_22_54_9334.jpg
/home/pi/Desktop/images/31012025/15/22/image_31012025_15_23_04_10367.jpg
/home/pi/Desktop/images/31012025/15/23/image_31012025_15_23_15_10350.jpg
/home/pi/Desktop/images/31012025/15/23/image_31012025_15_23_24_9360.jpg
/home/pi/Desktop/images/31012025/15/23/image_31012025_15_23_35_10337.jpg
/home/pi/Desktop/images/31012025/15/23/image_31012025_15_23_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":["1333439809","1333439793","1333439805","1333439797","1333439801","1333439791"],"photo_ids_order":["1333439791","1333439793","1333439797","1333439801","1333439805","1333439809"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/41692b1f4a9267273aff04f822f924ee.jpg","text":"TemporaryFile(/tmp/multipartBody6647766383698882175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351413733,"filename":"image_31012025_15_23_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/1/31/fc2d5b3468ab64abc5464feb46ede7dc.jpg","text":"TemporaryFile(/tmp/multipartBody2862242223562167368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351413733,"filename":"image_31012025_15_23_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/1/31/12ed53d7bbca5f9d9d7770c46a61381c.jpg","text":"TemporaryFile(/tmp/multipartBody6839664011304623706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351413733,"filename":"image_31012025_15_23_35_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0155f81084ead2226352ebf64d7f01ee.jpg","text":"TemporaryFile(/tmp/multipartBody5819367987537197589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351413733,"filename":"image_31012025_15_23_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/1/31/6231939518feb77c52089cd12686498c.jpg","text":"TemporaryFile(/tmp/multipartBody6647298506118823620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351413733,"filename":"image_31012025_15_23_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/1/31/f0a76cca13cefe964c43b80a7349947f.jpg","text":"TemporaryFile(/tmp/multipartBody272965502782076334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351413733,"filename":"image_31012025_15_22_54_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333439797","file1":"1333439793","file0":"1333439791","file4":"1333439805","file5":"1333439809","file3":"1333439801"},"map_files_photo_id_array":[{"photo_id":"1333439809","filename":"file5"},{"photo_id":"1333439797","filename":"file2"},{"photo_id":"1333439805","filename":"file4"},{"photo_id":"1333439793","filename":"file1"},{"photo_id":"1333439791","filename":"file0"},{"photo_id":"1333439801","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333439809":["hashtag1","hashtag2"]},{"1333439793":["hashtag1","hashtag2"]},{"1333439805":["hashtag1","hashtag2"]},{"1333439797":["hashtag1","hashtag2"]},{"1333439801":["hashtag1","hashtag2"]},{"1333439791":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333439809, 1333439793, 1333439805, 1333439797, 1333439801, 1333439791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.665615558624268 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:23:32.381526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/23/image_31012025_15_23_54_9366.jpg', '/home/pi/Desktop/images/31012025/15/24/image_31012025_15_24_35_10345.jpg', '/home/pi/Desktop/images/31012025/15/24/image_31012025_15_24_54_10346.jpg', '/home/pi/Desktop/images/31012025/15/24/image_31012025_15_25_05_10356.jpg', '/home/pi/Desktop/images/31012025/15/25/image_31012025_15_25_25_10385.jpg', '/home/pi/Desktop/images/31012025/15/25/image_31012025_15_25_35_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/23/image_31012025_15_23_54_9366.jpg
/home/pi/Desktop/images/31012025/15/24/image_31012025_15_24_35_10345.jpg
/home/pi/Desktop/images/31012025/15/24/image_31012025_15_24_54_10346.jpg
/home/pi/Desktop/images/31012025/15/24/image_31012025_15_25_05_10356.jpg
/home/pi/Desktop/images/31012025/15/25/image_31012025_15_25_25_10385.jpg
/home/pi/Desktop/images/31012025/15/25/image_31012025_15_25_35_10329.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":["1333439842","1333439838","1333439847","1333439849","1333439845","1333439833"],"photo_ids_order":["1333439833","1333439838","1333439842","1333439845","1333439847","1333439849"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/db2898252bb01ffe6837f503e2696da2.jpg","text":"TemporaryFile(/tmp/multipartBody4440966861586825992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351472944,"filename":"image_31012025_15_24_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/1/31/41b74920d7178609a9f6024a3d3e01e3.jpg","text":"TemporaryFile(/tmp/multipartBody2875137755800382691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351472944,"filename":"image_31012025_15_24_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/1/31/b18f90e97ae35772bd081c9833a3ce8c.jpg","text":"TemporaryFile(/tmp/multipartBody6322133950236596810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351472944,"filename":"image_31012025_15_25_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/1/31/7b6f00d8d7e987300e77fb9fa36d547c.jpg","text":"TemporaryFile(/tmp/multipartBody94689359875836950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351472944,"filename":"image_31012025_15_25_35_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6464f3e05a4fef9da6b526bc96d5d9c7.jpg","text":"TemporaryFile(/tmp/multipartBody2863152278598473448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351472944,"filename":"image_31012025_15_25_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/1/31/debe90e903e053aa1d645be1c92b9cf6.jpg","text":"TemporaryFile(/tmp/multipartBody8100479639544222485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351472944,"filename":"image_31012025_15_23_54_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333439842","file1":"1333439838","file0":"1333439833","file4":"1333439847","file5":"1333439849","file3":"1333439845"},"map_files_photo_id_array":[{"photo_id":"1333439849","filename":"file5"},{"photo_id":"1333439842","filename":"file2"},{"photo_id":"1333439847","filename":"file4"},{"photo_id":"1333439838","filename":"file1"},{"photo_id":"1333439833","filename":"file0"},{"photo_id":"1333439845","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333439842":["hashtag1","hashtag2"]},{"1333439838":["hashtag1","hashtag2"]},{"1333439847":["hashtag1","hashtag2"]},{"1333439849":["hashtag1","hashtag2"]},{"1333439845":["hashtag1","hashtag2"]},{"1333439833":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333439842, 1333439838, 1333439847, 1333439849, 1333439845, 1333439833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.26863408088684 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-01-31 20:24:32.670911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/25/image_31012025_15_25_44_9350.jpg', '/home/pi/Desktop/images/31012025/15/25/image_31012025_15_25_55_10412.jpg', '/home/pi/Desktop/images/31012025/15/25/image_31012025_15_26_04_9350.jpg', '/home/pi/Desktop/images/31012025/15/26/image_31012025_15_26_14_10415.jpg', '/home/pi/Desktop/images/31012025/15/26/image_31012025_15_26_25_10353.jpg', '/home/pi/Desktop/images/31012025/15/26/image_31012025_15_26_34_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/25/image_31012025_15_25_44_9350.jpg
/home/pi/Desktop/images/31012025/15/25/image_31012025_15_25_55_10412.jpg
/home/pi/Desktop/images/31012025/15/25/image_31012025_15_26_04_9350.jpg
/home/pi/Desktop/images/31012025/15/26/image_31012025_15_26_14_10415.jpg
/home/pi/Desktop/images/31012025/15/26/image_31012025_15_26_25_10353.jpg
/home/pi/Desktop/images/31012025/15/26/image_31012025_15_26_34_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":["1333439892","1333439880","1333439897","1333439901","1333439888","1333439884"],"photo_ids_order":["1333439880","1333439884","1333439888","1333439892","1333439897","1333439901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/13514156efc0a097a82b80fba36ecc58.jpg","text":"TemporaryFile(/tmp/multipartBody4882556896259693454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351533411,"filename":"image_31012025_15_26_14_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4b0c1f0e0c5d7d63cffb793e7b7c3e95.jpg","text":"TemporaryFile(/tmp/multipartBody2760414972655522616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351533411,"filename":"image_31012025_15_25_44_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/700c287ba5f5657e04321f6833088c0e.jpg","text":"TemporaryFile(/tmp/multipartBody3575833173244354692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351533411,"filename":"image_31012025_15_26_25_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/855dcf96cbc9e20bd6724bd23e13d2ee.jpg","text":"TemporaryFile(/tmp/multipartBody7743805428161420938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351533411,"filename":"image_31012025_15_26_34_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/54f0977f06e5f34d4d91df690bcc2e2f.jpg","text":"TemporaryFile(/tmp/multipartBody5938640363679507668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351533411,"filename":"image_31012025_15_26_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/1/31/a577d8e50ae6f16bace6054ee73dcd61.jpg","text":"TemporaryFile(/tmp/multipartBody8032520059903408654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351533411,"filename":"image_31012025_15_25_55_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333439888","file1":"1333439884","file0":"1333439880","file4":"1333439897","file5":"1333439901","file3":"1333439892"},"map_files_photo_id_array":[{"photo_id":"1333439901","filename":"file5"},{"photo_id":"1333439888","filename":"file2"},{"photo_id":"1333439897","filename":"file4"},{"photo_id":"1333439884","filename":"file1"},{"photo_id":"1333439880","filename":"file0"},{"photo_id":"1333439892","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333439892":["hashtag1","hashtag2"]},{"1333439880":["hashtag1","hashtag2"]},{"1333439897":["hashtag1","hashtag2"]},{"1333439901":["hashtag1","hashtag2"]},{"1333439888":["hashtag1","hashtag2"]},{"1333439884":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333439892, 1333439880, 1333439897, 1333439901, 1333439888, 1333439884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15848350524902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:25:32.923587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/26/image_31012025_15_26_44_10337.jpg', '/home/pi/Desktop/images/31012025/15/26/image_31012025_15_26_55_10440.jpg', '/home/pi/Desktop/images/31012025/15/26/image_31012025_15_27_04_9340.jpg', '/home/pi/Desktop/images/31012025/15/27/image_31012025_15_27_15_10368.jpg', '/home/pi/Desktop/images/31012025/15/27/image_31012025_15_27_24_9380.jpg', '/home/pi/Desktop/images/31012025/15/27/image_31012025_15_27_34_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/26/image_31012025_15_26_44_10337.jpg
/home/pi/Desktop/images/31012025/15/26/image_31012025_15_26_55_10440.jpg
/home/pi/Desktop/images/31012025/15/26/image_31012025_15_27_04_9340.jpg
/home/pi/Desktop/images/31012025/15/27/image_31012025_15_27_15_10368.jpg
/home/pi/Desktop/images/31012025/15/27/image_31012025_15_27_24_9380.jpg
/home/pi/Desktop/images/31012025/15/27/image_31012025_15_27_34_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":["1333440034","1333440037","1333439975","1333439969","1333439963","1333440029"],"photo_ids_order":["1333439963","1333439969","1333439975","1333440029","1333440034","1333440037"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8c686989ee4ddc2ef6e78248f43ef722.jpg","text":"TemporaryFile(/tmp/multipartBody2328410925930663927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351593456,"filename":"image_31012025_15_27_24_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/59c580d16ca39f5daba83d2cb7d9d611.jpg","text":"TemporaryFile(/tmp/multipartBody5680919517208681867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351593456,"filename":"image_31012025_15_27_34_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/12bb3d89d89427f33ee7b23254b066ae.jpg","text":"TemporaryFile(/tmp/multipartBody5594235477797895739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351593456,"filename":"image_31012025_15_27_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/1/31/28dfe843c8c1d6a3560f436083ffa541.jpg","text":"TemporaryFile(/tmp/multipartBody5339635842181420920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351593456,"filename":"image_31012025_15_26_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/1/31/9d871df65d20c1fad32669ef58650ab2.jpg","text":"TemporaryFile(/tmp/multipartBody329281664295808659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351593456,"filename":"image_31012025_15_26_44_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aff52785c305bea70a196bf56f3f4992.jpg","text":"TemporaryFile(/tmp/multipartBody47061913667121027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351593456,"filename":"image_31012025_15_27_15_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333439975","file1":"1333439969","file0":"1333439963","file4":"1333440034","file5":"1333440037","file3":"1333440029"},"map_files_photo_id_array":[{"photo_id":"1333440037","filename":"file5"},{"photo_id":"1333439975","filename":"file2"},{"photo_id":"1333440034","filename":"file4"},{"photo_id":"1333439969","filename":"file1"},{"photo_id":"1333439963","filename":"file0"},{"photo_id":"1333440029","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333440034":["hashtag1","hashtag2"]},{"1333440037":["hashtag1","hashtag2"]},{"1333439975":["hashtag1","hashtag2"]},{"1333439969":["hashtag1","hashtag2"]},{"1333439963":["hashtag1","hashtag2"]},{"1333440029":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333440034, 1333440037, 1333439975, 1333439969, 1333439963, 1333440029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.87170124053955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:26:33.099104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/27/image_31012025_15_27_45_10465.jpg', '/home/pi/Desktop/images/31012025/15/27/image_31012025_15_27_54_9347.jpg', '/home/pi/Desktop/images/31012025/15/27/image_31012025_15_28_05_10369.jpg', '/home/pi/Desktop/images/31012025/15/28/image_31012025_15_28_15_10422.jpg', '/home/pi/Desktop/images/31012025/15/28/image_31012025_15_28_24_9347.jpg', '/home/pi/Desktop/images/31012025/15/28/image_31012025_15_28_35_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/27/image_31012025_15_27_45_10465.jpg
/home/pi/Desktop/images/31012025/15/27/image_31012025_15_27_54_9347.jpg
/home/pi/Desktop/images/31012025/15/27/image_31012025_15_28_05_10369.jpg
/home/pi/Desktop/images/31012025/15/28/image_31012025_15_28_15_10422.jpg
/home/pi/Desktop/images/31012025/15/28/image_31012025_15_28_24_9347.jpg
/home/pi/Desktop/images/31012025/15/28/image_31012025_15_28_35_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":["1333440082","1333440076","1333440061","1333440070","1333440058","1333440066"],"photo_ids_order":["1333440058","1333440061","1333440066","1333440070","1333440076","1333440082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7aa54c4dac5c2318cd62570f042e1e21.jpg","text":"TemporaryFile(/tmp/multipartBody8593474926958533793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351653673,"filename":"image_31012025_15_28_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/1/31/7eadcb3de08eeca7ba2d5c2015940f2c.jpg","text":"TemporaryFile(/tmp/multipartBody2910681951954804282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351653673,"filename":"image_31012025_15_28_24_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2650643164af4d247a7aae89cb356917.jpg","text":"TemporaryFile(/tmp/multipartBody1230482790489314457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351653673,"filename":"image_31012025_15_27_54_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4c872699b7c5ebfbee8d58088255c996.jpg","text":"TemporaryFile(/tmp/multipartBody3446182971898213900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351653673,"filename":"image_31012025_15_28_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/1/31/df36b91c62b2327fe6a9e300b9f2fffa.jpg","text":"TemporaryFile(/tmp/multipartBody7883197415962831705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351653673,"filename":"image_31012025_15_27_45_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9cf96c841b4f68cc3770fc60cdbbdb69.jpg","text":"TemporaryFile(/tmp/multipartBody6294657203060850257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351653673,"filename":"image_31012025_15_28_05_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333440066","file1":"1333440061","file0":"1333440058","file4":"1333440076","file5":"1333440082","file3":"1333440070"},"map_files_photo_id_array":[{"photo_id":"1333440082","filename":"file5"},{"photo_id":"1333440066","filename":"file2"},{"photo_id":"1333440076","filename":"file4"},{"photo_id":"1333440061","filename":"file1"},{"photo_id":"1333440058","filename":"file0"},{"photo_id":"1333440070","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333440082":["hashtag1","hashtag2"]},{"1333440076":["hashtag1","hashtag2"]},{"1333440061":["hashtag1","hashtag2"]},{"1333440070":["hashtag1","hashtag2"]},{"1333440058":["hashtag1","hashtag2"]},{"1333440066":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333440082, 1333440076, 1333440061, 1333440070, 1333440058, 1333440066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.41715359687805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:27:32.413051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/28/image_31012025_15_28_55_10560.jpg', '/home/pi/Desktop/images/31012025/15/29/image_31012025_15_29_25_10332.jpg', '/home/pi/Desktop/images/31012025/15/30/image_31012025_15_30_15_10461.jpg', '/home/pi/Desktop/images/31012025/15/30/image_31012025_15_30_34_10356.jpg', '/home/pi/Desktop/images/31012025/15/30/image_31012025_15_30_45_10358.jpg', '/home/pi/Desktop/images/31012025/15/30/image_31012025_15_31_04_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/28/image_31012025_15_28_55_10560.jpg
/home/pi/Desktop/images/31012025/15/29/image_31012025_15_29_25_10332.jpg
/home/pi/Desktop/images/31012025/15/30/image_31012025_15_30_15_10461.jpg
/home/pi/Desktop/images/31012025/15/30/image_31012025_15_30_34_10356.jpg
/home/pi/Desktop/images/31012025/15/30/image_31012025_15_30_45_10358.jpg
/home/pi/Desktop/images/31012025/15/30/image_31012025_15_31_04_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":["1333440124","1333440127","1333440112","1333440120","1333440108","1333440116"],"photo_ids_order":["1333440108","1333440112","1333440116","1333440120","1333440124","1333440127"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7d9ebc2ec4cfe69e85a272aa0e13324a.jpg","text":"TemporaryFile(/tmp/multipartBody7182321973849859503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351712965,"filename":"image_31012025_15_30_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/1/31/81e0cec99ade5bce6618715b7f4b7e57.jpg","text":"TemporaryFile(/tmp/multipartBody5251702056298528274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351712965,"filename":"image_31012025_15_31_04_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/550d8ab45b5198683c5908d16ba022d6.jpg","text":"TemporaryFile(/tmp/multipartBody3185244659198012411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351712965,"filename":"image_31012025_15_29_25_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7d01389f6bb5ab88af17d6abfcce22a0.jpg","text":"TemporaryFile(/tmp/multipartBody3665177885507608200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351712965,"filename":"image_31012025_15_30_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/1/31/70f098acbd9d661ddd9c4102c9c93d17.jpg","text":"TemporaryFile(/tmp/multipartBody5209413221862850583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351712965,"filename":"image_31012025_15_28_55_10560.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5b5c861ccafca3022608fd7a7c8ad486.jpg","text":"TemporaryFile(/tmp/multipartBody5982090106527490908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351712965,"filename":"image_31012025_15_30_15_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333440116","file1":"1333440112","file0":"1333440108","file4":"1333440124","file5":"1333440127","file3":"1333440120"},"map_files_photo_id_array":[{"photo_id":"1333440127","filename":"file5"},{"photo_id":"1333440116","filename":"file2"},{"photo_id":"1333440124","filename":"file4"},{"photo_id":"1333440112","filename":"file1"},{"photo_id":"1333440108","filename":"file0"},{"photo_id":"1333440120","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333440124":["hashtag1","hashtag2"]},{"1333440127":["hashtag1","hashtag2"]},{"1333440112":["hashtag1","hashtag2"]},{"1333440120":["hashtag1","hashtag2"]},{"1333440108":["hashtag1","hashtag2"]},{"1333440116":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333440124, 1333440127, 1333440112, 1333440120, 1333440108, 1333440116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.036603927612305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:28:32.693093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/31/image_31012025_15_31_54_9347.jpg', '/home/pi/Desktop/images/31012025/15/31/image_31012025_15_32_05_10479.jpg', '/home/pi/Desktop/images/31012025/15/32/image_31012025_15_32_25_10475.jpg', '/home/pi/Desktop/images/31012025/15/32/image_31012025_15_32_35_10365.jpg', '/home/pi/Desktop/images/31012025/15/32/image_31012025_15_32_44_9359.jpg', '/home/pi/Desktop/images/31012025/15/32/image_31012025_15_32_55_10483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/31/image_31012025_15_31_54_9347.jpg
/home/pi/Desktop/images/31012025/15/31/image_31012025_15_32_05_10479.jpg
/home/pi/Desktop/images/31012025/15/32/image_31012025_15_32_25_10475.jpg
/home/pi/Desktop/images/31012025/15/32/image_31012025_15_32_35_10365.jpg
/home/pi/Desktop/images/31012025/15/32/image_31012025_15_32_44_9359.jpg
/home/pi/Desktop/images/31012025/15/32/image_31012025_15_32_55_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":["1333440148","1333440153","1333440164","1333440158","1333440173","1333440167"],"photo_ids_order":["1333440148","1333440153","1333440158","1333440164","1333440167","1333440173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/15c368179b4127a021285c6585a76f86.jpg","text":"TemporaryFile(/tmp/multipartBody2313531638213108427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351773259,"filename":"image_31012025_15_31_54_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b3b03ecaf8018c4041c9f93f4c1cae24.jpg","text":"TemporaryFile(/tmp/multipartBody7874216992025660790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351773259,"filename":"image_31012025_15_32_05_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4c05593f22909cac8a6bd30a41e65f82.jpg","text":"TemporaryFile(/tmp/multipartBody8470755535956900500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351773259,"filename":"image_31012025_15_32_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/1/31/77b8ecfeb6dac75e888863e53abccbb7.jpg","text":"TemporaryFile(/tmp/multipartBody7773264046300231977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351773259,"filename":"image_31012025_15_32_25_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/24f56b313e1591ecf4136628e0418bfb.jpg","text":"TemporaryFile(/tmp/multipartBody8065385929140317690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351773259,"filename":"image_31012025_15_32_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/1/31/789894f174022431dab89712ad55db45.jpg","text":"TemporaryFile(/tmp/multipartBody2791392250025321675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351773259,"filename":"image_31012025_15_32_44_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333440158","file1":"1333440153","file0":"1333440148","file4":"1333440167","file5":"1333440173","file3":"1333440164"},"map_files_photo_id_array":[{"photo_id":"1333440173","filename":"file5"},{"photo_id":"1333440158","filename":"file2"},{"photo_id":"1333440167","filename":"file4"},{"photo_id":"1333440153","filename":"file1"},{"photo_id":"1333440148","filename":"file0"},{"photo_id":"1333440164","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333440148":["hashtag1","hashtag2"]},{"1333440153":["hashtag1","hashtag2"]},{"1333440164":["hashtag1","hashtag2"]},{"1333440158":["hashtag1","hashtag2"]},{"1333440173":["hashtag1","hashtag2"]},{"1333440167":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333440148, 1333440153, 1333440164, 1333440158, 1333440173, 1333440167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.449816703796387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:29:32.850266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/32/image_31012025_15_33_04_9351.jpg', '/home/pi/Desktop/images/31012025/15/34/image_31012025_15_34_15_10355.jpg', '/home/pi/Desktop/images/31012025/15/34/image_31012025_15_34_35_10335.jpg', '/home/pi/Desktop/images/31012025/15/34/image_31012025_15_35_05_10411.jpg', '/home/pi/Desktop/images/31012025/15/35/image_31012025_15_35_14_9394.jpg', '/home/pi/Desktop/images/31012025/15/35/image_31012025_15_35_35_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/32/image_31012025_15_33_04_9351.jpg
/home/pi/Desktop/images/31012025/15/34/image_31012025_15_34_15_10355.jpg
/home/pi/Desktop/images/31012025/15/34/image_31012025_15_34_35_10335.jpg
/home/pi/Desktop/images/31012025/15/34/image_31012025_15_35_05_10411.jpg
/home/pi/Desktop/images/31012025/15/35/image_31012025_15_35_14_9394.jpg
/home/pi/Desktop/images/31012025/15/35/image_31012025_15_35_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":["1333440206","1333440220","1333440219","1333440215","1333440209","1333440200"],"photo_ids_order":["1333440200","1333440206","1333440209","1333440215","1333440219","1333440220"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/66319848a70fdec1af447e1d483d6577.jpg","text":"TemporaryFile(/tmp/multipartBody4209489377944361611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351833396,"filename":"image_31012025_15_34_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/1/31/0aeea1e675ad717b2e9ff24e9ecd76de.jpg","text":"TemporaryFile(/tmp/multipartBody1463721327215866979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351833396,"filename":"image_31012025_15_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/1/31/6a3868b73d8487e42ce26974273dc169.jpg","text":"TemporaryFile(/tmp/multipartBody6188568563585673159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351833396,"filename":"image_31012025_15_35_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/1/31/2bc61aa58c8966cf02e8bc81d71c6922.jpg","text":"TemporaryFile(/tmp/multipartBody1418534818528629413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351833396,"filename":"image_31012025_15_35_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/1/31/8b922ea00a097fa4e008864f39901bd8.jpg","text":"TemporaryFile(/tmp/multipartBody4286959433044475875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351833396,"filename":"image_31012025_15_34_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/1/31/02d2aff712ca73b57174d24ee92753c0.jpg","text":"TemporaryFile(/tmp/multipartBody1766775009447863892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351833396,"filename":"image_31012025_15_33_04_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333440209","file1":"1333440206","file0":"1333440200","file4":"1333440219","file5":"1333440220","file3":"1333440215"},"map_files_photo_id_array":[{"photo_id":"1333440220","filename":"file5"},{"photo_id":"1333440209","filename":"file2"},{"photo_id":"1333440219","filename":"file4"},{"photo_id":"1333440206","filename":"file1"},{"photo_id":"1333440200","filename":"file0"},{"photo_id":"1333440215","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333440206":["hashtag1","hashtag2"]},{"1333440220":["hashtag1","hashtag2"]},{"1333440219":["hashtag1","hashtag2"]},{"1333440215":["hashtag1","hashtag2"]},{"1333440209":["hashtag1","hashtag2"]},{"1333440200":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333440206, 1333440220, 1333440219, 1333440215, 1333440209, 1333440200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.13670754432678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:30:33.130373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/35/image_31012025_15_35_44_9336.jpg', '/home/pi/Desktop/images/31012025/15/35/image_31012025_15_35_55_10356.jpg', '/home/pi/Desktop/images/31012025/15/35/image_31012025_15_36_05_10434.jpg', '/home/pi/Desktop/images/31012025/15/36/image_31012025_15_36_14_9362.jpg', '/home/pi/Desktop/images/31012025/15/36/image_31012025_15_36_34_9371.jpg', '/home/pi/Desktop/images/31012025/15/36/image_31012025_15_36_45_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/35/image_31012025_15_35_44_9336.jpg
/home/pi/Desktop/images/31012025/15/35/image_31012025_15_35_55_10356.jpg
/home/pi/Desktop/images/31012025/15/35/image_31012025_15_36_05_10434.jpg
/home/pi/Desktop/images/31012025/15/36/image_31012025_15_36_14_9362.jpg
/home/pi/Desktop/images/31012025/15/36/image_31012025_15_36_34_9371.jpg
/home/pi/Desktop/images/31012025/15/36/image_31012025_15_36_45_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":["1333440379","1333440343","1333440411","1333440251","1333440347","1333440416"],"photo_ids_order":["1333440251","1333440343","1333440347","1333440379","1333440411","1333440416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0b5a5afdd85f04baa85889a3db244444.jpg","text":"TemporaryFile(/tmp/multipartBody193762014213477982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351893673,"filename":"image_31012025_15_36_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/1/31/4c35789beb54f03bd12cf79ea9c274f9.jpg","text":"TemporaryFile(/tmp/multipartBody8941125309809880554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351893673,"filename":"image_31012025_15_35_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/1/31/2a2bf08c27f71d6f9f8fb57b115c9225.jpg","text":"TemporaryFile(/tmp/multipartBody4108473804860936337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351893673,"filename":"image_31012025_15_36_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/1/31/1ad0ee33ce3de5c92b57eb1392392773.jpg","text":"TemporaryFile(/tmp/multipartBody2481898101422526210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351893673,"filename":"image_31012025_15_35_44_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/09bd3f8d5806c69178937f95a1351ac0.jpg","text":"TemporaryFile(/tmp/multipartBody3137673462254314624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351893673,"filename":"image_31012025_15_36_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/1/31/bfe846b779058018fb2a75afb359dee6.jpg","text":"TemporaryFile(/tmp/multipartBody6828291363008843291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351893673,"filename":"image_31012025_15_36_45_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333440347","file1":"1333440343","file0":"1333440251","file4":"1333440411","file5":"1333440416","file3":"1333440379"},"map_files_photo_id_array":[{"photo_id":"1333440416","filename":"file5"},{"photo_id":"1333440347","filename":"file2"},{"photo_id":"1333440411","filename":"file4"},{"photo_id":"1333440343","filename":"file1"},{"photo_id":"1333440251","filename":"file0"},{"photo_id":"1333440379","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333440379":["hashtag1","hashtag2"]},{"1333440343":["hashtag1","hashtag2"]},{"1333440411":["hashtag1","hashtag2"]},{"1333440251":["hashtag1","hashtag2"]},{"1333440347":["hashtag1","hashtag2"]},{"1333440416":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333440379, 1333440343, 1333440411, 1333440251, 1333440347, 1333440416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.673382997512817 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:31:32.333718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/36/image_31012025_15_36_55_10377.jpg', '/home/pi/Desktop/images/31012025/15/36/image_31012025_15_37_04_9358.jpg', '/home/pi/Desktop/images/31012025/15/37/image_31012025_15_37_15_10458.jpg', '/home/pi/Desktop/images/31012025/15/37/image_31012025_15_37_34_10348.jpg', '/home/pi/Desktop/images/31012025/15/37/image_31012025_15_37_45_10356.jpg', '/home/pi/Desktop/images/31012025/15/37/image_31012025_15_37_54_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/36/image_31012025_15_36_55_10377.jpg
/home/pi/Desktop/images/31012025/15/36/image_31012025_15_37_04_9358.jpg
/home/pi/Desktop/images/31012025/15/37/image_31012025_15_37_15_10458.jpg
/home/pi/Desktop/images/31012025/15/37/image_31012025_15_37_34_10348.jpg
/home/pi/Desktop/images/31012025/15/37/image_31012025_15_37_45_10356.jpg
/home/pi/Desktop/images/31012025/15/37/image_31012025_15_37_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":["1333440544","1333440523","1333440505","1333440552","1333440549","1333440516"],"photo_ids_order":["1333440505","1333440516","1333440523","1333440544","1333440549","1333440552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3e28181a785d1dba48df653ce8378e92.jpg","text":"TemporaryFile(/tmp/multipartBody6691460294211852998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351952890,"filename":"image_31012025_15_37_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/1/31/2f056592fa056e8f89475dc74645077f.jpg","text":"TemporaryFile(/tmp/multipartBody4221150022092245159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351952890,"filename":"image_31012025_15_37_15_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/936a88dd2404c55bbfab0e99abba3a9b.jpg","text":"TemporaryFile(/tmp/multipartBody3527777930777688174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351952890,"filename":"image_31012025_15_36_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/1/31/528151b9df38e09a8f40778e03f5fff6.jpg","text":"TemporaryFile(/tmp/multipartBody1273222803165372752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351952890,"filename":"image_31012025_15_37_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/1/31/c885595021ec58b7b5b071240e605e35.jpg","text":"TemporaryFile(/tmp/multipartBody3052996636653664037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351952890,"filename":"image_31012025_15_37_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/1/31/3516827d4c922c50c937d85d61ad68de.jpg","text":"TemporaryFile(/tmp/multipartBody6716727470571173178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738351952890,"filename":"image_31012025_15_37_04_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333440523","file1":"1333440516","file0":"1333440505","file4":"1333440549","file5":"1333440552","file3":"1333440544"},"map_files_photo_id_array":[{"photo_id":"1333440552","filename":"file5"},{"photo_id":"1333440523","filename":"file2"},{"photo_id":"1333440549","filename":"file4"},{"photo_id":"1333440516","filename":"file1"},{"photo_id":"1333440505","filename":"file0"},{"photo_id":"1333440544","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333440544":["hashtag1","hashtag2"]},{"1333440523":["hashtag1","hashtag2"]},{"1333440505":["hashtag1","hashtag2"]},{"1333440552":["hashtag1","hashtag2"]},{"1333440549":["hashtag1","hashtag2"]},{"1333440516":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333440544, 1333440523, 1333440505, 1333440552, 1333440549, 1333440516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.53421115875244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:32:32.604628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/37/image_31012025_15_38_05_10411.jpg', '/home/pi/Desktop/images/31012025/15/38/image_31012025_15_38_24_9345.jpg', '/home/pi/Desktop/images/31012025/15/38/image_31012025_15_38_35_10398.jpg', '/home/pi/Desktop/images/31012025/15/38/image_31012025_15_38_44_9347.jpg', '/home/pi/Desktop/images/31012025/15/38/image_31012025_15_38_54_10369.jpg', '/home/pi/Desktop/images/31012025/15/38/image_31012025_15_39_05_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/37/image_31012025_15_38_05_10411.jpg
/home/pi/Desktop/images/31012025/15/38/image_31012025_15_38_24_9345.jpg
/home/pi/Desktop/images/31012025/15/38/image_31012025_15_38_35_10398.jpg
/home/pi/Desktop/images/31012025/15/38/image_31012025_15_38_44_9347.jpg
/home/pi/Desktop/images/31012025/15/38/image_31012025_15_38_54_10369.jpg
/home/pi/Desktop/images/31012025/15/38/image_31012025_15_39_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":["1333440571","1333440594","1333440588","1333440575","1333440578","1333440583"],"photo_ids_order":["1333440571","1333440575","1333440578","1333440583","1333440588","1333440594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/db7a18081588c8652c600cf90fbdef6b.jpg","text":"TemporaryFile(/tmp/multipartBody3638121510891266806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352013159,"filename":"image_31012025_15_38_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/1/31/9eb9764e5c877d5708eb5ee2081a420d.jpg","text":"TemporaryFile(/tmp/multipartBody2508043305956000045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352013159,"filename":"image_31012025_15_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/1/31/cb92161bc1533f198c7d1d98820ec4df.jpg","text":"TemporaryFile(/tmp/multipartBody6179263683349097793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352013159,"filename":"image_31012025_15_38_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/1/31/7bc3c4131123e807a7c5bb5ac78c70ff.jpg","text":"TemporaryFile(/tmp/multipartBody5068572462447928608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352013159,"filename":"image_31012025_15_38_24_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e79dfef88b016a62cdba26c7a999add2.jpg","text":"TemporaryFile(/tmp/multipartBody1771222096076620995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352013159,"filename":"image_31012025_15_38_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/1/31/4ba2bfd58a1145c7eaac7b6047051c9b.jpg","text":"TemporaryFile(/tmp/multipartBody6982338395663702526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352013159,"filename":"image_31012025_15_38_44_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333440578","file1":"1333440575","file0":"1333440571","file4":"1333440588","file5":"1333440594","file3":"1333440583"},"map_files_photo_id_array":[{"photo_id":"1333440594","filename":"file5"},{"photo_id":"1333440578","filename":"file2"},{"photo_id":"1333440588","filename":"file4"},{"photo_id":"1333440575","filename":"file1"},{"photo_id":"1333440571","filename":"file0"},{"photo_id":"1333440583","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333440571":["hashtag1","hashtag2"]},{"1333440594":["hashtag1","hashtag2"]},{"1333440588":["hashtag1","hashtag2"]},{"1333440575":["hashtag1","hashtag2"]},{"1333440578":["hashtag1","hashtag2"]},{"1333440583":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333440571, 1333440594, 1333440588, 1333440575, 1333440578, 1333440583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.163187265396118 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-01-31 20:33:32.849688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/39/image_31012025_15_39_14_9340.jpg', '/home/pi/Desktop/images/31012025/15/39/image_31012025_15_39_25_10379.jpg', '/home/pi/Desktop/images/31012025/15/39/image_31012025_15_39_35_10391.jpg', '/home/pi/Desktop/images/31012025/15/39/image_31012025_15_39_44_9345.jpg', '/home/pi/Desktop/images/31012025/15/39/image_31012025_15_39_55_10343.jpg', '/home/pi/Desktop/images/31012025/15/39/image_31012025_15_40_05_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/39/image_31012025_15_39_14_9340.jpg
/home/pi/Desktop/images/31012025/15/39/image_31012025_15_39_25_10379.jpg
/home/pi/Desktop/images/31012025/15/39/image_31012025_15_39_35_10391.jpg
/home/pi/Desktop/images/31012025/15/39/image_31012025_15_39_44_9345.jpg
/home/pi/Desktop/images/31012025/15/39/image_31012025_15_39_55_10343.jpg
/home/pi/Desktop/images/31012025/15/39/image_31012025_15_40_05_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":["1333440814","1333440805","1333440825","1333440819","1333440810","1333440828"],"photo_ids_order":["1333440805","1333440810","1333440814","1333440819","1333440825","1333440828"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9d1d458d000473bc8444275a8a3b73af.jpg","text":"TemporaryFile(/tmp/multipartBody3683105158793910207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352073440,"filename":"image_31012025_15_39_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/1/31/af97d36463170d9f516e67c5d329f9b2.jpg","text":"TemporaryFile(/tmp/multipartBody914705072138116859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352073440,"filename":"image_31012025_15_39_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/1/31/0e85aea36ad1e8bcf8880f7620870cea.jpg","text":"TemporaryFile(/tmp/multipartBody1288993571561487188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352073440,"filename":"image_31012025_15_39_55_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aabff6df937370927e2dab0f5ca14b84.jpg","text":"TemporaryFile(/tmp/multipartBody769896813685500426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352073440,"filename":"image_31012025_15_39_44_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9d1f9b388ffe481db54be04a60d0e49a.jpg","text":"TemporaryFile(/tmp/multipartBody3524441414004393440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352073440,"filename":"image_31012025_15_39_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/1/31/10bfb1f9c2848bab35116dc8085c6e80.jpg","text":"TemporaryFile(/tmp/multipartBody3448978271075448498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352073440,"filename":"image_31012025_15_40_05_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333440814","file1":"1333440810","file0":"1333440805","file4":"1333440825","file5":"1333440828","file3":"1333440819"},"map_files_photo_id_array":[{"photo_id":"1333440828","filename":"file5"},{"photo_id":"1333440814","filename":"file2"},{"photo_id":"1333440825","filename":"file4"},{"photo_id":"1333440810","filename":"file1"},{"photo_id":"1333440805","filename":"file0"},{"photo_id":"1333440819","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333440814":["hashtag1","hashtag2"]},{"1333440805":["hashtag1","hashtag2"]},{"1333440825":["hashtag1","hashtag2"]},{"1333440819":["hashtag1","hashtag2"]},{"1333440810":["hashtag1","hashtag2"]},{"1333440828":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333440814, 1333440805, 1333440825, 1333440819, 1333440810, 1333440828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.182319402694702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:34:33.025842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/40/image_31012025_15_40_25_10496.jpg', '/home/pi/Desktop/images/31012025/15/40/image_31012025_15_40_34_9414.jpg', '/home/pi/Desktop/images/31012025/15/40/image_31012025_15_40_45_10443.jpg', '/home/pi/Desktop/images/31012025/15/40/image_31012025_15_40_54_9374.jpg', '/home/pi/Desktop/images/31012025/15/41/image_31012025_15_41_24_9348.jpg', '/home/pi/Desktop/images/31012025/15/41/image_31012025_15_41_45_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/40/image_31012025_15_40_25_10496.jpg
/home/pi/Desktop/images/31012025/15/40/image_31012025_15_40_34_9414.jpg
/home/pi/Desktop/images/31012025/15/40/image_31012025_15_40_45_10443.jpg
/home/pi/Desktop/images/31012025/15/40/image_31012025_15_40_54_9374.jpg
/home/pi/Desktop/images/31012025/15/41/image_31012025_15_41_24_9348.jpg
/home/pi/Desktop/images/31012025/15/41/image_31012025_15_41_45_10337.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.4614269733428955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 20:34:43.058862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/40/image_31012025_15_40_25_10496.jpg', '/home/pi/Desktop/images/31012025/15/40/image_31012025_15_40_34_9414.jpg', '/home/pi/Desktop/images/31012025/15/40/image_31012025_15_40_45_10443.jpg', '/home/pi/Desktop/images/31012025/15/40/image_31012025_15_40_54_9374.jpg', '/home/pi/Desktop/images/31012025/15/41/image_31012025_15_41_24_9348.jpg', '/home/pi/Desktop/images/31012025/15/41/image_31012025_15_41_45_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/40/image_31012025_15_40_25_10496.jpg
/home/pi/Desktop/images/31012025/15/40/image_31012025_15_40_34_9414.jpg
/home/pi/Desktop/images/31012025/15/40/image_31012025_15_40_45_10443.jpg
/home/pi/Desktop/images/31012025/15/40/image_31012025_15_40_54_9374.jpg
/home/pi/Desktop/images/31012025/15/41/image_31012025_15_41_24_9348.jpg
/home/pi/Desktop/images/31012025/15/41/image_31012025_15_41_45_10337.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":["1333440898","1333440910","1333440913","1333440966","1333440963","1333440906"],"photo_ids_order":["1333440898","1333440906","1333440910","1333440913","1333440963","1333440966"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b9fb733bf74475bc8371937366e5a4e3.jpg","text":"TemporaryFile(/tmp/multipartBody7376420308074016919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352143541,"filename":"image_31012025_15_40_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/1/31/c68aa12433246934157320e9dee6c6ef.jpg","text":"TemporaryFile(/tmp/multipartBody4481799762544822482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352143541,"filename":"image_31012025_15_40_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/1/31/c5537939d2be52105850d660c2d5c0d1.jpg","text":"TemporaryFile(/tmp/multipartBody7415028227687395944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352143541,"filename":"image_31012025_15_40_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/1/31/20e7d93d4d77e30a4ee29d82489aa37b.jpg","text":"TemporaryFile(/tmp/multipartBody968047992517072625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352143541,"filename":"image_31012025_15_41_45_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3e7826b785b5fecf68721c5f22faba0a.jpg","text":"TemporaryFile(/tmp/multipartBody2968168472924109176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352143541,"filename":"image_31012025_15_41_24_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fa677919a9b2f00c57feb8092889250c.jpg","text":"TemporaryFile(/tmp/multipartBody4638952961668771697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352143541,"filename":"image_31012025_15_40_34_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333440910","file1":"1333440906","file0":"1333440898","file4":"1333440963","file5":"1333440966","file3":"1333440913"},"map_files_photo_id_array":[{"photo_id":"1333440966","filename":"file5"},{"photo_id":"1333440910","filename":"file2"},{"photo_id":"1333440963","filename":"file4"},{"photo_id":"1333440906","filename":"file1"},{"photo_id":"1333440898","filename":"file0"},{"photo_id":"1333440913","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333440898":["hashtag1","hashtag2"]},{"1333440910":["hashtag1","hashtag2"]},{"1333440913":["hashtag1","hashtag2"]},{"1333440966":["hashtag1","hashtag2"]},{"1333440963":["hashtag1","hashtag2"]},{"1333440906":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333440898, 1333440910, 1333440913, 1333440966, 1333440963, 1333440906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.96164298057556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:35:32.213375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/41/image_31012025_15_42_05_10360.jpg', '/home/pi/Desktop/images/31012025/15/42/image_31012025_15_42_15_10399.jpg', '/home/pi/Desktop/images/31012025/15/42/image_31012025_15_42_24_9412.jpg', '/home/pi/Desktop/images/31012025/15/42/image_31012025_15_42_35_10412.jpg', '/home/pi/Desktop/images/31012025/15/42/image_31012025_15_42_44_9327.jpg', '/home/pi/Desktop/images/31012025/15/43/image_31012025_15_43_14_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/41/image_31012025_15_42_05_10360.jpg
/home/pi/Desktop/images/31012025/15/42/image_31012025_15_42_15_10399.jpg
/home/pi/Desktop/images/31012025/15/42/image_31012025_15_42_24_9412.jpg
/home/pi/Desktop/images/31012025/15/42/image_31012025_15_42_35_10412.jpg
/home/pi/Desktop/images/31012025/15/42/image_31012025_15_42_44_9327.jpg
/home/pi/Desktop/images/31012025/15/43/image_31012025_15_43_14_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":["1333441023","1333441032","1333441043","1333441040","1333441028","1333441037"],"photo_ids_order":["1333441023","1333441028","1333441032","1333441037","1333441040","1333441043"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/74288a9c0dad2c890fa69286894ec995.jpg","text":"TemporaryFile(/tmp/multipartBody2421174404625663684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352192791,"filename":"image_31012025_15_42_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/1/31/ecc0e22a2329bcf062ed0ed0a492c573.jpg","text":"TemporaryFile(/tmp/multipartBody4036958239689829550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352192791,"filename":"image_31012025_15_42_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/1/31/86abf20bd5398d4e80af6a719a90a1e5.jpg","text":"TemporaryFile(/tmp/multipartBody7624371019056954174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352192791,"filename":"image_31012025_15_43_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/1/31/7da42de5c463c13e2ecae12b8d8b7f54.jpg","text":"TemporaryFile(/tmp/multipartBody7307993429947245337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352192791,"filename":"image_31012025_15_42_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/1/31/5a3eb6ca5c1a654d4a2e44386e87d2c9.jpg","text":"TemporaryFile(/tmp/multipartBody127249191101439461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352192791,"filename":"image_31012025_15_42_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/1/31/f79fb61e2308f7115b07fab92a10d245.jpg","text":"TemporaryFile(/tmp/multipartBody1346558930799556249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352192791,"filename":"image_31012025_15_42_35_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333441032","file1":"1333441028","file0":"1333441023","file4":"1333441040","file5":"1333441043","file3":"1333441037"},"map_files_photo_id_array":[{"photo_id":"1333441043","filename":"file5"},{"photo_id":"1333441032","filename":"file2"},{"photo_id":"1333441040","filename":"file4"},{"photo_id":"1333441028","filename":"file1"},{"photo_id":"1333441023","filename":"file0"},{"photo_id":"1333441037","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333441023":["hashtag1","hashtag2"]},{"1333441032":["hashtag1","hashtag2"]},{"1333441043":["hashtag1","hashtag2"]},{"1333441040":["hashtag1","hashtag2"]},{"1333441028":["hashtag1","hashtag2"]},{"1333441037":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333441023, 1333441032, 1333441043, 1333441040, 1333441028, 1333441037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.901371240615845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:36:32.549524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/43/image_31012025_15_43_25_10578.jpg', '/home/pi/Desktop/images/31012025/15/43/image_31012025_15_43_34_9416.jpg', '/home/pi/Desktop/images/31012025/15/43/image_31012025_15_43_45_10397.jpg', '/home/pi/Desktop/images/31012025/15/43/image_31012025_15_43_54_9434.jpg', '/home/pi/Desktop/images/31012025/15/43/image_31012025_15_44_05_10447.jpg', '/home/pi/Desktop/images/31012025/15/44/image_31012025_15_44_15_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/43/image_31012025_15_43_25_10578.jpg
/home/pi/Desktop/images/31012025/15/43/image_31012025_15_43_34_9416.jpg
/home/pi/Desktop/images/31012025/15/43/image_31012025_15_43_45_10397.jpg
/home/pi/Desktop/images/31012025/15/43/image_31012025_15_43_54_9434.jpg
/home/pi/Desktop/images/31012025/15/43/image_31012025_15_44_05_10447.jpg
/home/pi/Desktop/images/31012025/15/44/image_31012025_15_44_15_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":["1333441225","1333441188","1333441183","1333441192","1333441246","1333441249"],"photo_ids_order":["1333441183","1333441188","1333441192","1333441225","1333441246","1333441249"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7ad350c89f40f4c522aaf7dcea895a4a.jpg","text":"TemporaryFile(/tmp/multipartBody7585455475292649543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352253293,"filename":"image_31012025_15_43_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/1/31/47696004bb94c6443550405fd167c053.jpg","text":"TemporaryFile(/tmp/multipartBody6336541444334947981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352253293,"filename":"image_31012025_15_43_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/1/31/451defcf2c548b01ec60c371be5ca3d5.jpg","text":"TemporaryFile(/tmp/multipartBody4231892204240472692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352253293,"filename":"image_31012025_15_43_25_10578.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2ed6cfb613993b2b8d532f89e0c4bd63.jpg","text":"TemporaryFile(/tmp/multipartBody3898103087073254428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352253293,"filename":"image_31012025_15_43_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/1/31/822fc1cf016727bc35e00028df7229ab.jpg","text":"TemporaryFile(/tmp/multipartBody3427669298998542709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352253293,"filename":"image_31012025_15_44_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/1/31/dba06e5342412f6d5d1b9814478873c9.jpg","text":"TemporaryFile(/tmp/multipartBody2181422979540946426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352253293,"filename":"image_31012025_15_44_15_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333441192","file1":"1333441188","file0":"1333441183","file4":"1333441246","file5":"1333441249","file3":"1333441225"},"map_files_photo_id_array":[{"photo_id":"1333441249","filename":"file5"},{"photo_id":"1333441192","filename":"file2"},{"photo_id":"1333441246","filename":"file4"},{"photo_id":"1333441188","filename":"file1"},{"photo_id":"1333441183","filename":"file0"},{"photo_id":"1333441225","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333441225":["hashtag1","hashtag2"]},{"1333441188":["hashtag1","hashtag2"]},{"1333441183":["hashtag1","hashtag2"]},{"1333441192":["hashtag1","hashtag2"]},{"1333441246":["hashtag1","hashtag2"]},{"1333441249":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333441225, 1333441188, 1333441183, 1333441192, 1333441246, 1333441249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.838857650756836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:37:32.715862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/44/image_31012025_15_44_24_9340.jpg', '/home/pi/Desktop/images/31012025/15/44/image_31012025_15_44_35_10390.jpg', '/home/pi/Desktop/images/31012025/15/44/image_31012025_15_44_44_9341.jpg', '/home/pi/Desktop/images/31012025/15/44/image_31012025_15_44_54_10360.jpg', '/home/pi/Desktop/images/31012025/15/44/image_31012025_15_45_05_10412.jpg', '/home/pi/Desktop/images/31012025/15/45/image_31012025_15_45_14_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/44/image_31012025_15_44_24_9340.jpg
/home/pi/Desktop/images/31012025/15/44/image_31012025_15_44_35_10390.jpg
/home/pi/Desktop/images/31012025/15/44/image_31012025_15_44_44_9341.jpg
/home/pi/Desktop/images/31012025/15/44/image_31012025_15_44_54_10360.jpg
/home/pi/Desktop/images/31012025/15/44/image_31012025_15_45_05_10412.jpg
/home/pi/Desktop/images/31012025/15/45/image_31012025_15_45_14_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":["1333441306","1333441320","1333441314","1333441302","1333441325","1333441310"],"photo_ids_order":["1333441302","1333441306","1333441310","1333441314","1333441320","1333441325"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fa667f483aa92a9e24bd35b89404ea4e.jpg","text":"TemporaryFile(/tmp/multipartBody3228341520367907450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352313257,"filename":"image_31012025_15_44_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/1/31/b7e544583a55b389856dff9474046e8a.jpg","text":"TemporaryFile(/tmp/multipartBody4173343350767366230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352313257,"filename":"image_31012025_15_45_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/1/31/39f0f4e1eaf36801cc5ec421ff70b5a9.jpg","text":"TemporaryFile(/tmp/multipartBody7486757556433754743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352313257,"filename":"image_31012025_15_44_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/1/31/c0bea64f838005de9cf50a954019a83d.jpg","text":"TemporaryFile(/tmp/multipartBody123030230694910181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352313257,"filename":"image_31012025_15_44_24_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/06705e258bc42e46f82a81ab291b40b6.jpg","text":"TemporaryFile(/tmp/multipartBody463364902241509162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352313257,"filename":"image_31012025_15_45_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/1/31/c26995e657dd08a1e7bd0ef57530c6e0.jpg","text":"TemporaryFile(/tmp/multipartBody4290374317022165323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352313257,"filename":"image_31012025_15_44_44_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333441310","file1":"1333441306","file0":"1333441302","file4":"1333441320","file5":"1333441325","file3":"1333441314"},"map_files_photo_id_array":[{"photo_id":"1333441325","filename":"file5"},{"photo_id":"1333441310","filename":"file2"},{"photo_id":"1333441320","filename":"file4"},{"photo_id":"1333441306","filename":"file1"},{"photo_id":"1333441302","filename":"file0"},{"photo_id":"1333441314","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333441306":["hashtag1","hashtag2"]},{"1333441320":["hashtag1","hashtag2"]},{"1333441314":["hashtag1","hashtag2"]},{"1333441302":["hashtag1","hashtag2"]},{"1333441325":["hashtag1","hashtag2"]},{"1333441310":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333441306, 1333441320, 1333441314, 1333441302, 1333441325, 1333441310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.180344104766846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:38:33.072978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/45/image_31012025_15_45_25_10370.jpg', '/home/pi/Desktop/images/31012025/15/45/image_31012025_15_45_35_10348.jpg', '/home/pi/Desktop/images/31012025/15/45/image_31012025_15_45_44_9337.jpg', '/home/pi/Desktop/images/31012025/15/45/image_31012025_15_45_55_10343.jpg', '/home/pi/Desktop/images/31012025/15/46/image_31012025_15_46_14_10337.jpg', '/home/pi/Desktop/images/31012025/15/46/image_31012025_15_46_25_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/45/image_31012025_15_45_25_10370.jpg
/home/pi/Desktop/images/31012025/15/45/image_31012025_15_45_35_10348.jpg
/home/pi/Desktop/images/31012025/15/45/image_31012025_15_45_44_9337.jpg
/home/pi/Desktop/images/31012025/15/45/image_31012025_15_45_55_10343.jpg
/home/pi/Desktop/images/31012025/15/46/image_31012025_15_46_14_10337.jpg
/home/pi/Desktop/images/31012025/15/46/image_31012025_15_46_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":["1333441441","1333441402","1333441448","1333441480","1333441483","1333441444"],"photo_ids_order":["1333441402","1333441441","1333441444","1333441448","1333441480","1333441483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4cf14fcc035d5fac9637989c8d869277.jpg","text":"TemporaryFile(/tmp/multipartBody8561271838374489895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352373614,"filename":"image_31012025_15_45_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8b431172a98122bc0a6e650903627bd1.jpg","text":"TemporaryFile(/tmp/multipartBody5638150670830484776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352373614,"filename":"image_31012025_15_45_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/1/31/aca3ed84b1342de4c1774c798f1c99af.jpg","text":"TemporaryFile(/tmp/multipartBody5629057413451419738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352373614,"filename":"image_31012025_15_45_55_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2b1f11ca27ee30a6430703b3148f8e43.jpg","text":"TemporaryFile(/tmp/multipartBody8307697362759208833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352373614,"filename":"image_31012025_15_46_14_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bc5d84b79d7de0d6c104103ee508e1f2.jpg","text":"TemporaryFile(/tmp/multipartBody1913172097091283454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352373614,"filename":"image_31012025_15_46_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/1/31/e00848bfa68a5ef6f045bb5e34a06696.jpg","text":"TemporaryFile(/tmp/multipartBody1605201061655961188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352373614,"filename":"image_31012025_15_45_44_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333441444","file1":"1333441441","file0":"1333441402","file4":"1333441480","file5":"1333441483","file3":"1333441448"},"map_files_photo_id_array":[{"photo_id":"1333441483","filename":"file5"},{"photo_id":"1333441444","filename":"file2"},{"photo_id":"1333441480","filename":"file4"},{"photo_id":"1333441441","filename":"file1"},{"photo_id":"1333441402","filename":"file0"},{"photo_id":"1333441448","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333441441":["hashtag1","hashtag2"]},{"1333441402":["hashtag1","hashtag2"]},{"1333441448":["hashtag1","hashtag2"]},{"1333441480":["hashtag1","hashtag2"]},{"1333441483":["hashtag1","hashtag2"]},{"1333441444":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333441441, 1333441402, 1333441448, 1333441480, 1333441483, 1333441444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.58336639404297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:39:32.343998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/46/image_31012025_15_46_34_9339.jpg', '/home/pi/Desktop/images/31012025/15/46/image_31012025_15_46_44_10335.jpg', '/home/pi/Desktop/images/31012025/15/46/image_31012025_15_46_55_10436.jpg', '/home/pi/Desktop/images/31012025/15/47/image_31012025_15_47_15_10355.jpg', '/home/pi/Desktop/images/31012025/15/47/image_31012025_15_47_25_10344.jpg', '/home/pi/Desktop/images/31012025/15/47/image_31012025_15_47_54_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/46/image_31012025_15_46_34_9339.jpg
/home/pi/Desktop/images/31012025/15/46/image_31012025_15_46_44_10335.jpg
/home/pi/Desktop/images/31012025/15/46/image_31012025_15_46_55_10436.jpg
/home/pi/Desktop/images/31012025/15/47/image_31012025_15_47_15_10355.jpg
/home/pi/Desktop/images/31012025/15/47/image_31012025_15_47_25_10344.jpg
/home/pi/Desktop/images/31012025/15/47/image_31012025_15_47_54_9436.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":["1333441656","1333441641","1333441617","1333441611","1333441660","1333441651"],"photo_ids_order":["1333441611","1333441617","1333441641","1333441651","1333441656","1333441660"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/29b8a7db43c4433c3236e3b43b741282.jpg","text":"TemporaryFile(/tmp/multipartBody483465414079442509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352432894,"filename":"image_31012025_15_47_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a1f330211eff7a4b12fda6889dd5587f.jpg","text":"TemporaryFile(/tmp/multipartBody5091502845568945304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352432894,"filename":"image_31012025_15_46_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/1/31/8fb1bfb738d26d29dc56b70d356d02e2.jpg","text":"TemporaryFile(/tmp/multipartBody833063596599612629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352432894,"filename":"image_31012025_15_46_44_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f61b394bc484f6ce3014b99419443ff7.jpg","text":"TemporaryFile(/tmp/multipartBody5596268871161042013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352432894,"filename":"image_31012025_15_46_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/1/31/9ff8616711d8f50ea77abe834ca7098c.jpg","text":"TemporaryFile(/tmp/multipartBody6741060096409989519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352432894,"filename":"image_31012025_15_47_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/1/31/2265ace7a57c3030a1b4bf9e4cf5becc.jpg","text":"TemporaryFile(/tmp/multipartBody2503591993090461116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352432894,"filename":"image_31012025_15_47_15_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333441641","file1":"1333441617","file0":"1333441611","file4":"1333441656","file5":"1333441660","file3":"1333441651"},"map_files_photo_id_array":[{"photo_id":"1333441660","filename":"file5"},{"photo_id":"1333441641","filename":"file2"},{"photo_id":"1333441656","filename":"file4"},{"photo_id":"1333441617","filename":"file1"},{"photo_id":"1333441611","filename":"file0"},{"photo_id":"1333441651","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333441656":["hashtag1","hashtag2"]},{"1333441641":["hashtag1","hashtag2"]},{"1333441617":["hashtag1","hashtag2"]},{"1333441611":["hashtag1","hashtag2"]},{"1333441660":["hashtag1","hashtag2"]},{"1333441651":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333441656, 1333441641, 1333441617, 1333441611, 1333441660, 1333441651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 28.987820148468018 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-01-31 20:40:32.602477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/48/image_31012025_15_48_24_9463.jpg', '/home/pi/Desktop/images/31012025/15/48/image_31012025_15_48_54_9395.jpg', '/home/pi/Desktop/images/31012025/15/49/image_31012025_15_49_24_10325.jpg', '/home/pi/Desktop/images/31012025/15/49/image_31012025_15_49_44_9345.jpg', '/home/pi/Desktop/images/31012025/15/49/image_31012025_15_50_05_10354.jpg', '/home/pi/Desktop/images/31012025/15/50/image_31012025_15_50_14_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/48/image_31012025_15_48_24_9463.jpg
/home/pi/Desktop/images/31012025/15/48/image_31012025_15_48_54_9395.jpg
/home/pi/Desktop/images/31012025/15/49/image_31012025_15_49_24_10325.jpg
/home/pi/Desktop/images/31012025/15/49/image_31012025_15_49_44_9345.jpg
/home/pi/Desktop/images/31012025/15/49/image_31012025_15_50_05_10354.jpg
/home/pi/Desktop/images/31012025/15/50/image_31012025_15_50_14_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":["1333441905","1333441889","1333441898","1333441901","1333441894","1333441882"],"photo_ids_order":["1333441882","1333441889","1333441894","1333441898","1333441901","1333441905"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/26cbc9ff47cd13dc8f35aaa4a9c1989f.jpg","text":"TemporaryFile(/tmp/multipartBody6233477184939782712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352493174,"filename":"image_31012025_15_50_14_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e6c8fd8596fc50c6a27d4fdf1128bb2f.jpg","text":"TemporaryFile(/tmp/multipartBody5835698059591561413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352493174,"filename":"image_31012025_15_48_54_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c21671325d5aa188760ab9062e98152e.jpg","text":"TemporaryFile(/tmp/multipartBody5980472991146488673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352493174,"filename":"image_31012025_15_49_44_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a070411280759e8072b0b9bd30fbc007.jpg","text":"TemporaryFile(/tmp/multipartBody926474269662261179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352493174,"filename":"image_31012025_15_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/1/31/ede9672535c7cfdf181ef3c66fb6575f.jpg","text":"TemporaryFile(/tmp/multipartBody3277076164873430527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352493174,"filename":"image_31012025_15_49_24_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/063f4810d59235c42ee170a40067063d.jpg","text":"TemporaryFile(/tmp/multipartBody1000115578942095173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352493174,"filename":"image_31012025_15_48_24_9463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333441894","file1":"1333441889","file0":"1333441882","file4":"1333441901","file5":"1333441905","file3":"1333441898"},"map_files_photo_id_array":[{"photo_id":"1333441905","filename":"file5"},{"photo_id":"1333441894","filename":"file2"},{"photo_id":"1333441901","filename":"file4"},{"photo_id":"1333441889","filename":"file1"},{"photo_id":"1333441882","filename":"file0"},{"photo_id":"1333441898","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333441905":["hashtag1","hashtag2"]},{"1333441889":["hashtag1","hashtag2"]},{"1333441898":["hashtag1","hashtag2"]},{"1333441901":["hashtag1","hashtag2"]},{"1333441894":["hashtag1","hashtag2"]},{"1333441882":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333441905, 1333441889, 1333441898, 1333441901, 1333441894, 1333441882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.18629741668701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:41:32.701420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/50/image_31012025_15_50_25_10500.jpg', '/home/pi/Desktop/images/31012025/15/50/image_31012025_15_50_34_9332.jpg', '/home/pi/Desktop/images/31012025/15/50/image_31012025_15_50_55_10348.jpg', '/home/pi/Desktop/images/31012025/15/51/image_31012025_15_51_15_10482.jpg', '/home/pi/Desktop/images/31012025/15/51/image_31012025_15_51_45_10403.jpg', '/home/pi/Desktop/images/31012025/15/51/image_31012025_15_51_54_9330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/50/image_31012025_15_50_25_10500.jpg
/home/pi/Desktop/images/31012025/15/50/image_31012025_15_50_34_9332.jpg
/home/pi/Desktop/images/31012025/15/50/image_31012025_15_50_55_10348.jpg
/home/pi/Desktop/images/31012025/15/51/image_31012025_15_51_15_10482.jpg
/home/pi/Desktop/images/31012025/15/51/image_31012025_15_51_45_10403.jpg
/home/pi/Desktop/images/31012025/15/51/image_31012025_15_51_54_9330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333442048","1333442045","1333442033","1333442041","1333442029","1333442038"],"photo_ids_order":["1333442029","1333442033","1333442038","1333442041","1333442045","1333442048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aed58ecc44b70eeb62dfc7bf86fd2d5b.jpg","text":"TemporaryFile(/tmp/multipartBody2991457937922410258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352553256,"filename":"image_31012025_15_51_54_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7ef65e26c5fdf5e71f8da517c9a9bab6.jpg","text":"TemporaryFile(/tmp/multipartBody7646538091585739175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352553256,"filename":"image_31012025_15_51_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/1/31/7276e33e2e908b1be2c2c43adbf5197b.jpg","text":"TemporaryFile(/tmp/multipartBody1730718910515576453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352553256,"filename":"image_31012025_15_50_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/1/31/22aa5bbcc34ed891fdcee5ca1b0c01ff.jpg","text":"TemporaryFile(/tmp/multipartBody5891468729100019081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352553256,"filename":"image_31012025_15_51_15_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1b427b85798b90ce9057c5d14fe8db56.jpg","text":"TemporaryFile(/tmp/multipartBody3812103175069263274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352553256,"filename":"image_31012025_15_50_25_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ae7d5aca005f2748763c756b23a42ecd.jpg","text":"TemporaryFile(/tmp/multipartBody1894526710268158264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352553256,"filename":"image_31012025_15_50_55_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333442038","file1":"1333442033","file0":"1333442029","file4":"1333442045","file5":"1333442048","file3":"1333442041"},"map_files_photo_id_array":[{"photo_id":"1333442048","filename":"file5"},{"photo_id":"1333442038","filename":"file2"},{"photo_id":"1333442045","filename":"file4"},{"photo_id":"1333442033","filename":"file1"},{"photo_id":"1333442029","filename":"file0"},{"photo_id":"1333442041","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333442048":["hashtag1","hashtag2"]},{"1333442045":["hashtag1","hashtag2"]},{"1333442033":["hashtag1","hashtag2"]},{"1333442041":["hashtag1","hashtag2"]},{"1333442029":["hashtag1","hashtag2"]},{"1333442038":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333442048, 1333442045, 1333442033, 1333442041, 1333442029, 1333442038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.601970434188843 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:42:32.911985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/51/image_31012025_15_52_05_10409.jpg', '/home/pi/Desktop/images/31012025/15/52/image_31012025_15_52_35_10358.jpg', '/home/pi/Desktop/images/31012025/15/52/image_31012025_15_52_44_9329.jpg', '/home/pi/Desktop/images/31012025/15/52/image_31012025_15_52_55_10423.jpg', '/home/pi/Desktop/images/31012025/15/52/image_31012025_15_53_05_10424.jpg', '/home/pi/Desktop/images/31012025/15/53/image_31012025_15_53_14_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/51/image_31012025_15_52_05_10409.jpg
/home/pi/Desktop/images/31012025/15/52/image_31012025_15_52_35_10358.jpg
/home/pi/Desktop/images/31012025/15/52/image_31012025_15_52_44_9329.jpg
/home/pi/Desktop/images/31012025/15/52/image_31012025_15_52_55_10423.jpg
/home/pi/Desktop/images/31012025/15/52/image_31012025_15_53_05_10424.jpg
/home/pi/Desktop/images/31012025/15/53/image_31012025_15_53_14_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":["1333442072","1333442078","1333442083","1333442089","1333442074","1333442094"],"photo_ids_order":["1333442072","1333442074","1333442078","1333442083","1333442089","1333442094"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bc949d0ca3639abc89c15c515158b55e.jpg","text":"TemporaryFile(/tmp/multipartBody2689790470149955657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352613439,"filename":"image_31012025_15_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/1/31/59452f73f736440b150bb45f05c02389.jpg","text":"TemporaryFile(/tmp/multipartBody6649079096157876331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352613439,"filename":"image_31012025_15_52_44_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/45e1ce47d0e4a034685b21fed4a6067d.jpg","text":"TemporaryFile(/tmp/multipartBody8517114652346531124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352613439,"filename":"image_31012025_15_52_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/1/31/aa3a960a49f25bcfd640ffdc660dbcbe.jpg","text":"TemporaryFile(/tmp/multipartBody5865596871107171025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352613439,"filename":"image_31012025_15_53_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/1/31/b0665f8edaf78e42acca396767e44783.jpg","text":"TemporaryFile(/tmp/multipartBody5325941303127815169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352613439,"filename":"image_31012025_15_52_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/1/31/0bfb620590611b36186cc115167a7ee0.jpg","text":"TemporaryFile(/tmp/multipartBody232832175868897900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352613439,"filename":"image_31012025_15_53_14_9456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333442078","file1":"1333442074","file0":"1333442072","file4":"1333442089","file5":"1333442094","file3":"1333442083"},"map_files_photo_id_array":[{"photo_id":"1333442094","filename":"file5"},{"photo_id":"1333442078","filename":"file2"},{"photo_id":"1333442089","filename":"file4"},{"photo_id":"1333442074","filename":"file1"},{"photo_id":"1333442072","filename":"file0"},{"photo_id":"1333442083","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333442072":["hashtag1","hashtag2"]},{"1333442078":["hashtag1","hashtag2"]},{"1333442083":["hashtag1","hashtag2"]},{"1333442089":["hashtag1","hashtag2"]},{"1333442074":["hashtag1","hashtag2"]},{"1333442094":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333442072, 1333442078, 1333442083, 1333442089, 1333442074, 1333442094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.0305917263031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:43:33.107484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/53/image_31012025_15_53_25_10462.jpg', '/home/pi/Desktop/images/31012025/15/53/image_31012025_15_53_45_10345.jpg', '/home/pi/Desktop/images/31012025/15/53/image_31012025_15_53_55_10458.jpg', '/home/pi/Desktop/images/31012025/15/53/image_31012025_15_54_04_9344.jpg', '/home/pi/Desktop/images/31012025/15/54/image_31012025_15_54_15_10501.jpg', '/home/pi/Desktop/images/31012025/15/54/image_31012025_15_54_24_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/53/image_31012025_15_53_25_10462.jpg
/home/pi/Desktop/images/31012025/15/53/image_31012025_15_53_45_10345.jpg
/home/pi/Desktop/images/31012025/15/53/image_31012025_15_53_55_10458.jpg
/home/pi/Desktop/images/31012025/15/53/image_31012025_15_54_04_9344.jpg
/home/pi/Desktop/images/31012025/15/54/image_31012025_15_54_15_10501.jpg
/home/pi/Desktop/images/31012025/15/54/image_31012025_15_54_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":["1333442196","1333442184","1333442172","1333442148","1333442192","1333442117"],"photo_ids_order":["1333442117","1333442148","1333442172","1333442184","1333442192","1333442196"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a22ac0d2e6aad084dcbe442dff73ff19.jpg","text":"TemporaryFile(/tmp/multipartBody995648245829151980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352673671,"filename":"image_31012025_15_54_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/1/31/0c568ce435da039ac0cf8b13d12c0e3e.jpg","text":"TemporaryFile(/tmp/multipartBody8059826784688566612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352673671,"filename":"image_31012025_15_54_04_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ee8366948f1dbddbb2c51a9d46a09680.jpg","text":"TemporaryFile(/tmp/multipartBody3154234294253360678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352673671,"filename":"image_31012025_15_53_55_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7033ccb19de9f0023bf2e757b7803cd2.jpg","text":"TemporaryFile(/tmp/multipartBody3674140870732393871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352673671,"filename":"image_31012025_15_53_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/1/31/5373cc35955ac871ea9c1796ab0a647e.jpg","text":"TemporaryFile(/tmp/multipartBody1036640832216306808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352673671,"filename":"image_31012025_15_54_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/1/31/d1288734378f64857a944d5d2f15c086.jpg","text":"TemporaryFile(/tmp/multipartBody7733852319057871714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352673671,"filename":"image_31012025_15_53_25_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333442172","file1":"1333442148","file0":"1333442117","file4":"1333442192","file5":"1333442196","file3":"1333442184"},"map_files_photo_id_array":[{"photo_id":"1333442196","filename":"file5"},{"photo_id":"1333442172","filename":"file2"},{"photo_id":"1333442192","filename":"file4"},{"photo_id":"1333442148","filename":"file1"},{"photo_id":"1333442117","filename":"file0"},{"photo_id":"1333442184","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333442196":["hashtag1","hashtag2"]},{"1333442184":["hashtag1","hashtag2"]},{"1333442172":["hashtag1","hashtag2"]},{"1333442148":["hashtag1","hashtag2"]},{"1333442192":["hashtag1","hashtag2"]},{"1333442117":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333442196, 1333442184, 1333442172, 1333442148, 1333442192, 1333442117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.670528650283813 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:44:32.360093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/55/image_31012025_15_55_14_9421.jpg', '/home/pi/Desktop/images/31012025/15/55/image_31012025_15_55_24_10337.jpg', '/home/pi/Desktop/images/31012025/15/55/image_31012025_15_55_35_10481.jpg', '/home/pi/Desktop/images/31012025/15/55/image_31012025_15_55_44_9409.jpg', '/home/pi/Desktop/images/31012025/15/55/image_31012025_15_55_55_10352.jpg', '/home/pi/Desktop/images/31012025/15/55/image_31012025_15_56_05_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/55/image_31012025_15_55_14_9421.jpg
/home/pi/Desktop/images/31012025/15/55/image_31012025_15_55_24_10337.jpg
/home/pi/Desktop/images/31012025/15/55/image_31012025_15_55_35_10481.jpg
/home/pi/Desktop/images/31012025/15/55/image_31012025_15_55_44_9409.jpg
/home/pi/Desktop/images/31012025/15/55/image_31012025_15_55_55_10352.jpg
/home/pi/Desktop/images/31012025/15/55/image_31012025_15_56_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":["1333442355","1333442358","1333442368","1333442557","1333442443","1333442302"],"photo_ids_order":["1333442302","1333442355","1333442358","1333442368","1333442443","1333442557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a5dd95d3f0ea12e9372ef7a33c02a4e8.jpg","text":"TemporaryFile(/tmp/multipartBody1255587605520423421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352732925,"filename":"image_31012025_15_55_24_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c54b38887d1eea143bf47f2976846817.jpg","text":"TemporaryFile(/tmp/multipartBody5023452979600528975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352732925,"filename":"image_31012025_15_55_35_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/71013c732ec26e963ba8d267af018050.jpg","text":"TemporaryFile(/tmp/multipartBody1835287969598702435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352732925,"filename":"image_31012025_15_55_44_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e0c8614ffe730edd8ac1407ca4989fb3.jpg","text":"TemporaryFile(/tmp/multipartBody6767553502591102804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352732925,"filename":"image_31012025_15_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/1/31/f79330a87dc32676d084b3a88503781d.jpg","text":"TemporaryFile(/tmp/multipartBody6891340965023666692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352732925,"filename":"image_31012025_15_55_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/1/31/9b621bc09b82cef93dc973edaf77f0fa.jpg","text":"TemporaryFile(/tmp/multipartBody1204662707207067830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352732925,"filename":"image_31012025_15_55_14_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333442358","file1":"1333442355","file0":"1333442302","file4":"1333442443","file5":"1333442557","file3":"1333442368"},"map_files_photo_id_array":[{"photo_id":"1333442557","filename":"file5"},{"photo_id":"1333442358","filename":"file2"},{"photo_id":"1333442443","filename":"file4"},{"photo_id":"1333442355","filename":"file1"},{"photo_id":"1333442302","filename":"file0"},{"photo_id":"1333442368","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333442355":["hashtag1","hashtag2"]},{"1333442358":["hashtag1","hashtag2"]},{"1333442368":["hashtag1","hashtag2"]},{"1333442557":["hashtag1","hashtag2"]},{"1333442443":["hashtag1","hashtag2"]},{"1333442302":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333442355, 1333442358, 1333442368, 1333442557, 1333442443, 1333442302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.656009912490845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:45:32.531036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/56/image_31012025_15_56_14_9340.jpg', '/home/pi/Desktop/images/31012025/15/56/image_31012025_15_56_25_10458.jpg', '/home/pi/Desktop/images/31012025/15/56/image_31012025_15_56_34_9413.jpg', '/home/pi/Desktop/images/31012025/15/56/image_31012025_15_56_45_10344.jpg', '/home/pi/Desktop/images/31012025/15/56/image_31012025_15_57_05_9719.jpg', '/home/pi/Desktop/images/31012025/15/57/image_31012025_15_57_14_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/56/image_31012025_15_56_14_9340.jpg
/home/pi/Desktop/images/31012025/15/56/image_31012025_15_56_25_10458.jpg
/home/pi/Desktop/images/31012025/15/56/image_31012025_15_56_34_9413.jpg
/home/pi/Desktop/images/31012025/15/56/image_31012025_15_56_45_10344.jpg
/home/pi/Desktop/images/31012025/15/56/image_31012025_15_57_05_9719.jpg
/home/pi/Desktop/images/31012025/15/57/image_31012025_15_57_14_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":["1333443402","1333443392","1333443397","1333443388","1333443460","1333443457"],"photo_ids_order":["1333443388","1333443392","1333443397","1333443402","1333443457","1333443460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dcefd9136349d704b9eccd7a247ffdff.jpg","text":"TemporaryFile(/tmp/multipartBody7405025138243038122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352793155,"filename":"image_31012025_15_56_45_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/666490fbc48ad30a4b29357ca1e52a88.jpg","text":"TemporaryFile(/tmp/multipartBody6137927254686981875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352793155,"filename":"image_31012025_15_56_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/1/31/5522872fdf0e1248538ae79a1d8c8fa5.jpg","text":"TemporaryFile(/tmp/multipartBody6820379058283938650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352793155,"filename":"image_31012025_15_56_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/1/31/08d006fd1d8e33c53ec11d9c23bfd15e.jpg","text":"TemporaryFile(/tmp/multipartBody815428182795973805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352793155,"filename":"image_31012025_15_56_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/1/31/fdf51be0b1712825b7a83006ac1c58f6.jpg","text":"TemporaryFile(/tmp/multipartBody7703093474874425871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352793155,"filename":"image_31012025_15_57_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/1/31/0a6b8f8b093b9a0922c0ad9b85ba6a38.jpg","text":"TemporaryFile(/tmp/multipartBody6615925887981654279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352793155,"filename":"image_31012025_15_57_05_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333443397","file1":"1333443392","file0":"1333443388","file4":"1333443457","file5":"1333443460","file3":"1333443402"},"map_files_photo_id_array":[{"photo_id":"1333443460","filename":"file5"},{"photo_id":"1333443397","filename":"file2"},{"photo_id":"1333443457","filename":"file4"},{"photo_id":"1333443392","filename":"file1"},{"photo_id":"1333443388","filename":"file0"},{"photo_id":"1333443402","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333443402":["hashtag1","hashtag2"]},{"1333443392":["hashtag1","hashtag2"]},{"1333443397":["hashtag1","hashtag2"]},{"1333443388":["hashtag1","hashtag2"]},{"1333443460":["hashtag1","hashtag2"]},{"1333443457":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333443402, 1333443392, 1333443397, 1333443388, 1333443460, 1333443457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.11366271972656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:46:32.735204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/57/image_31012025_15_57_25_10415.jpg', '/home/pi/Desktop/images/31012025/15/57/image_31012025_15_57_35_10333.jpg', '/home/pi/Desktop/images/31012025/15/57/image_31012025_15_57_44_9367.jpg', '/home/pi/Desktop/images/31012025/15/57/image_31012025_15_57_55_10458.jpg', '/home/pi/Desktop/images/31012025/15/57/image_31012025_15_58_04_9339.jpg', '/home/pi/Desktop/images/31012025/15/58/image_31012025_15_58_14_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/57/image_31012025_15_57_25_10415.jpg
/home/pi/Desktop/images/31012025/15/57/image_31012025_15_57_35_10333.jpg
/home/pi/Desktop/images/31012025/15/57/image_31012025_15_57_44_9367.jpg
/home/pi/Desktop/images/31012025/15/57/image_31012025_15_57_55_10458.jpg
/home/pi/Desktop/images/31012025/15/57/image_31012025_15_58_04_9339.jpg
/home/pi/Desktop/images/31012025/15/58/image_31012025_15_58_14_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":["1333443516","1333443536","1333443700","1333443861","1333443783","1333443618"],"photo_ids_order":["1333443516","1333443536","1333443618","1333443700","1333443783","1333443861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7cccac575e7fc81f02d2fea8d0e08430.jpg","text":"TemporaryFile(/tmp/multipartBody6581002551280419654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352853283,"filename":"image_31012025_15_57_25_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7022916c39273fcd2f87e05db021ccb7.jpg","text":"TemporaryFile(/tmp/multipartBody7595962219879384898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352853283,"filename":"image_31012025_15_57_35_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a8e52aaf22fef661efa4fb6d95268dd0.jpg","text":"TemporaryFile(/tmp/multipartBody7089098960219727825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352853283,"filename":"image_31012025_15_57_55_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/238cab2c6f28eba25f7908d7096c40ec.jpg","text":"TemporaryFile(/tmp/multipartBody5311589123977057679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352853283,"filename":"image_31012025_15_58_14_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3e11593620ad4c70d2e651cd1e639a30.jpg","text":"TemporaryFile(/tmp/multipartBody446210688491298882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352853283,"filename":"image_31012025_15_58_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/1/31/9d361642370f4e99d6355ee3ac2162f1.jpg","text":"TemporaryFile(/tmp/multipartBody425685262528817940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352853283,"filename":"image_31012025_15_57_44_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333443618","file1":"1333443536","file0":"1333443516","file4":"1333443783","file5":"1333443861","file3":"1333443700"},"map_files_photo_id_array":[{"photo_id":"1333443861","filename":"file5"},{"photo_id":"1333443618","filename":"file2"},{"photo_id":"1333443783","filename":"file4"},{"photo_id":"1333443536","filename":"file1"},{"photo_id":"1333443516","filename":"file0"},{"photo_id":"1333443700","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333443516":["hashtag1","hashtag2"]},{"1333443536":["hashtag1","hashtag2"]},{"1333443700":["hashtag1","hashtag2"]},{"1333443861":["hashtag1","hashtag2"]},{"1333443783":["hashtag1","hashtag2"]},{"1333443618":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333443516, 1333443536, 1333443700, 1333443861, 1333443783, 1333443618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.59549570083618 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:47:32.911487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/15/58/image_31012025_15_58_25_10455.jpg', '/home/pi/Desktop/images/31012025/15/58/image_31012025_15_58_34_9403.jpg', '/home/pi/Desktop/images/31012025/15/58/image_31012025_15_59_04_9337.jpg', '/home/pi/Desktop/images/31012025/15/59/image_31012025_15_59_15_10461.jpg', '/home/pi/Desktop/images/31012025/15/59/image_31012025_15_59_24_9352.jpg', '/home/pi/Desktop/images/31012025/15/59/image_31012025_15_59_45_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/15/58/image_31012025_15_58_25_10455.jpg
/home/pi/Desktop/images/31012025/15/58/image_31012025_15_58_34_9403.jpg
/home/pi/Desktop/images/31012025/15/58/image_31012025_15_59_04_9337.jpg
/home/pi/Desktop/images/31012025/15/59/image_31012025_15_59_15_10461.jpg
/home/pi/Desktop/images/31012025/15/59/image_31012025_15_59_24_9352.jpg
/home/pi/Desktop/images/31012025/15/59/image_31012025_15_59_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":["1333444463","1333444310","1333444315","1333444380","1333444263","1333444212"],"photo_ids_order":["1333444212","1333444263","1333444310","1333444315","1333444380","1333444463"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/74f4e7e0ebe87a8cebddde5147c4ce0b.jpg","text":"TemporaryFile(/tmp/multipartBody5321628276061348156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352913446,"filename":"image_31012025_15_59_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/1/31/b9aa06e9a70d9ed00218fcb5d342b09b.jpg","text":"TemporaryFile(/tmp/multipartBody3074035605802491687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352913446,"filename":"image_31012025_15_59_04_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/20bbe8862537752b1deb7ee56b5837cc.jpg","text":"TemporaryFile(/tmp/multipartBody9219684878016746314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352913446,"filename":"image_31012025_15_59_15_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b549b2c32684b242d85ef80af9a23400.jpg","text":"TemporaryFile(/tmp/multipartBody7639601655055774553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352913446,"filename":"image_31012025_15_59_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/1/31/021186fa13fbf9481310fe4876908823.jpg","text":"TemporaryFile(/tmp/multipartBody2731689611179259590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352913446,"filename":"image_31012025_15_58_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/1/31/3cad3f244fd29b120b48117068fdcbf2.jpg","text":"TemporaryFile(/tmp/multipartBody3715128628486253764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352913446,"filename":"image_31012025_15_58_25_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333444310","file1":"1333444263","file0":"1333444212","file4":"1333444380","file5":"1333444463","file3":"1333444315"},"map_files_photo_id_array":[{"photo_id":"1333444463","filename":"file5"},{"photo_id":"1333444310","filename":"file2"},{"photo_id":"1333444380","filename":"file4"},{"photo_id":"1333444263","filename":"file1"},{"photo_id":"1333444212","filename":"file0"},{"photo_id":"1333444315","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333444463":["hashtag1","hashtag2"]},{"1333444310":["hashtag1","hashtag2"]},{"1333444315":["hashtag1","hashtag2"]},{"1333444380":["hashtag1","hashtag2"]},{"1333444263":["hashtag1","hashtag2"]},{"1333444212":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333444463, 1333444310, 1333444315, 1333444380, 1333444263, 1333444212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.015878200531006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:48:33.154893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/01/image_31012025_16_01_15_10084.jpg', '/home/pi/Desktop/images/31012025/16/01/image_31012025_16_01_35_10372.jpg', '/home/pi/Desktop/images/31012025/16/01/image_31012025_16_02_04_9366.jpg', '/home/pi/Desktop/images/31012025/16/02/image_31012025_16_02_15_10442.jpg', '/home/pi/Desktop/images/31012025/16/02/image_31012025_16_02_25_10346.jpg', '/home/pi/Desktop/images/31012025/16/02/image_31012025_16_02_55_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/01/image_31012025_16_01_15_10084.jpg
/home/pi/Desktop/images/31012025/16/01/image_31012025_16_01_35_10372.jpg
/home/pi/Desktop/images/31012025/16/01/image_31012025_16_02_04_9366.jpg
/home/pi/Desktop/images/31012025/16/02/image_31012025_16_02_15_10442.jpg
/home/pi/Desktop/images/31012025/16/02/image_31012025_16_02_25_10346.jpg
/home/pi/Desktop/images/31012025/16/02/image_31012025_16_02_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":["1333446055","1333445740","1333445530","1333445937","1333445850","1333445649"],"photo_ids_order":["1333445530","1333445649","1333445740","1333445850","1333445937","1333446055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/05f769a1615926c58d4cd47032695db6.jpg","text":"TemporaryFile(/tmp/multipartBody4484265042143897941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352973750,"filename":"image_31012025_16_02_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/1/31/145991e2718b1959e8404684c1983fca.jpg","text":"TemporaryFile(/tmp/multipartBody7805453557429042460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352973750,"filename":"image_31012025_16_02_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/1/31/eb6d11ecdbe279303e48cb66dcba4b53.jpg","text":"TemporaryFile(/tmp/multipartBody779901054220739310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352973750,"filename":"image_31012025_16_01_15_10084.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aa4531d99c02089b2fca76a844817ae5.jpg","text":"TemporaryFile(/tmp/multipartBody493200677521280160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352973750,"filename":"image_31012025_16_02_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/1/31/acb89db2221c8e927528e2cf0a2ed6bf.jpg","text":"TemporaryFile(/tmp/multipartBody5228171975869541251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352973750,"filename":"image_31012025_16_02_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/1/31/81f2d28ede54c5105f7146d03aada662.jpg","text":"TemporaryFile(/tmp/multipartBody9137859313492069762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738352973750,"filename":"image_31012025_16_01_35_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333445740","file1":"1333445649","file0":"1333445530","file4":"1333445937","file5":"1333446055","file3":"1333445850"},"map_files_photo_id_array":[{"photo_id":"1333446055","filename":"file5"},{"photo_id":"1333445740","filename":"file2"},{"photo_id":"1333445937","filename":"file4"},{"photo_id":"1333445649","filename":"file1"},{"photo_id":"1333445530","filename":"file0"},{"photo_id":"1333445850","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333446055":["hashtag1","hashtag2"]},{"1333445740":["hashtag1","hashtag2"]},{"1333445530":["hashtag1","hashtag2"]},{"1333445937":["hashtag1","hashtag2"]},{"1333445850":["hashtag1","hashtag2"]},{"1333445649":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333446055, 1333445740, 1333445530, 1333445937, 1333445850, 1333445649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83991575241089 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:49:32.364385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/02/image_31012025_16_03_05_9433.jpg', '/home/pi/Desktop/images/31012025/16/03/image_31012025_16_03_15_10365.jpg', '/home/pi/Desktop/images/31012025/16/03/image_31012025_16_03_25_9350.jpg', '/home/pi/Desktop/images/31012025/16/03/image_31012025_16_03_35_10428.jpg', '/home/pi/Desktop/images/31012025/16/03/image_31012025_16_03_45_10337.jpg', '/home/pi/Desktop/images/31012025/16/03/image_31012025_16_03_55_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/02/image_31012025_16_03_05_9433.jpg
/home/pi/Desktop/images/31012025/16/03/image_31012025_16_03_15_10365.jpg
/home/pi/Desktop/images/31012025/16/03/image_31012025_16_03_25_9350.jpg
/home/pi/Desktop/images/31012025/16/03/image_31012025_16_03_35_10428.jpg
/home/pi/Desktop/images/31012025/16/03/image_31012025_16_03_45_10337.jpg
/home/pi/Desktop/images/31012025/16/03/image_31012025_16_03_55_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":["1333447210","1333446838","1333447025","1333447297","1333447121","1333446929"],"photo_ids_order":["1333446838","1333446929","1333447025","1333447121","1333447210","1333447297"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dec926eb492dec7b365f683acb3650f4.jpg","text":"TemporaryFile(/tmp/multipartBody871252448633475153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353032916,"filename":"image_31012025_16_03_45_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e23134d712379c8542cbba23d765759c.jpg","text":"TemporaryFile(/tmp/multipartBody3283447488943912415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353032916,"filename":"image_31012025_16_03_05_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/14fb65eb6fd4a573bbe7bd44704e59c6.jpg","text":"TemporaryFile(/tmp/multipartBody5234246889248712976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353032916,"filename":"image_31012025_16_03_25_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/24ecfc18d55b8dd4ae7dc59f4ef3b32e.jpg","text":"TemporaryFile(/tmp/multipartBody3841812594354877784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353032916,"filename":"image_31012025_16_03_55_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1d5576b4fa7aefa9f75f9b2aaecfee5e.jpg","text":"TemporaryFile(/tmp/multipartBody1878208250399134551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353032916,"filename":"image_31012025_16_03_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/1/31/e051e13beafa4c27d9dd0c0244d68da2.jpg","text":"TemporaryFile(/tmp/multipartBody8255187544067785342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353032916,"filename":"image_31012025_16_03_15_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333447025","file1":"1333446929","file0":"1333446838","file4":"1333447210","file5":"1333447297","file3":"1333447121"},"map_files_photo_id_array":[{"photo_id":"1333447297","filename":"file5"},{"photo_id":"1333447025","filename":"file2"},{"photo_id":"1333447210","filename":"file4"},{"photo_id":"1333446929","filename":"file1"},{"photo_id":"1333446838","filename":"file0"},{"photo_id":"1333447121","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333447210":["hashtag1","hashtag2"]},{"1333446838":["hashtag1","hashtag2"]},{"1333447025":["hashtag1","hashtag2"]},{"1333447297":["hashtag1","hashtag2"]},{"1333447121":["hashtag1","hashtag2"]},{"1333446929":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333447210, 1333446838, 1333447025, 1333447297, 1333447121, 1333446929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.990936040878296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:50:32.830554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/03/image_31012025_16_04_05_10347.jpg', '/home/pi/Desktop/images/31012025/16/04/image_31012025_16_04_15_10346.jpg', '/home/pi/Desktop/images/31012025/16/04/image_31012025_16_04_25_9361.jpg', '/home/pi/Desktop/images/31012025/16/04/image_31012025_16_04_35_10329.jpg', '/home/pi/Desktop/images/31012025/16/04/image_31012025_16_04_45_10358.jpg', '/home/pi/Desktop/images/31012025/16/04/image_31012025_16_04_55_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/03/image_31012025_16_04_05_10347.jpg
/home/pi/Desktop/images/31012025/16/04/image_31012025_16_04_15_10346.jpg
/home/pi/Desktop/images/31012025/16/04/image_31012025_16_04_25_9361.jpg
/home/pi/Desktop/images/31012025/16/04/image_31012025_16_04_35_10329.jpg
/home/pi/Desktop/images/31012025/16/04/image_31012025_16_04_45_10358.jpg
/home/pi/Desktop/images/31012025/16/04/image_31012025_16_04_55_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333448288","1333448374","1333448641","1333448458","1333448200","1333448556"],"photo_ids_order":["1333448200","1333448288","1333448374","1333448458","1333448556","1333448641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/46c933d3f522af39487c4967cd6f021f.jpg","text":"TemporaryFile(/tmp/multipartBody8699719412218970320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353093380,"filename":"image_31012025_16_04_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/1/31/0d9c7d8360c470e090bb0fec6f3b6297.jpg","text":"TemporaryFile(/tmp/multipartBody7599583687517988005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353093380,"filename":"image_31012025_16_04_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/1/31/e29a14656a337955b707bd12ba51403d.jpg","text":"TemporaryFile(/tmp/multipartBody5876752878847381294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353093380,"filename":"image_31012025_16_04_55_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c732b0f5e4bfd41ba2c6e78acd757ed3.jpg","text":"TemporaryFile(/tmp/multipartBody2499391802877825903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353093380,"filename":"image_31012025_16_04_35_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3b1ad16a80c70f8df3755d9048cc4577.jpg","text":"TemporaryFile(/tmp/multipartBody9081795990861864664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353093380,"filename":"image_31012025_16_04_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/1/31/370f83f02acdb8edae7ddd047524ec8f.jpg","text":"TemporaryFile(/tmp/multipartBody224438253314158769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353093380,"filename":"image_31012025_16_04_45_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333448374","file1":"1333448288","file0":"1333448200","file4":"1333448556","file5":"1333448641","file3":"1333448458"},"map_files_photo_id_array":[{"photo_id":"1333448641","filename":"file5"},{"photo_id":"1333448374","filename":"file2"},{"photo_id":"1333448556","filename":"file4"},{"photo_id":"1333448288","filename":"file1"},{"photo_id":"1333448200","filename":"file0"},{"photo_id":"1333448458","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333448288":["hashtag1","hashtag2"]},{"1333448374":["hashtag1","hashtag2"]},{"1333448641":["hashtag1","hashtag2"]},{"1333448458":["hashtag1","hashtag2"]},{"1333448200":["hashtag1","hashtag2"]},{"1333448556":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333448288, 1333448374, 1333448641, 1333448458, 1333448200, 1333448556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.88573908805847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:51:33.161185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/04/image_31012025_16_05_05_10345.jpg', '/home/pi/Desktop/images/31012025/16/05/image_31012025_16_05_15_9389.jpg', '/home/pi/Desktop/images/31012025/16/05/image_31012025_16_05_25_10422.jpg', '/home/pi/Desktop/images/31012025/16/05/image_31012025_16_05_35_10348.jpg', '/home/pi/Desktop/images/31012025/16/05/image_31012025_16_05_45_9410.jpg', '/home/pi/Desktop/images/31012025/16/05/image_31012025_16_05_55_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/04/image_31012025_16_05_05_10345.jpg
/home/pi/Desktop/images/31012025/16/05/image_31012025_16_05_15_9389.jpg
/home/pi/Desktop/images/31012025/16/05/image_31012025_16_05_25_10422.jpg
/home/pi/Desktop/images/31012025/16/05/image_31012025_16_05_35_10348.jpg
/home/pi/Desktop/images/31012025/16/05/image_31012025_16_05_45_9410.jpg
/home/pi/Desktop/images/31012025/16/05/image_31012025_16_05_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":["1333449705","1333449680","1333449692","1333449709","1333449700","1333449687"],"photo_ids_order":["1333449680","1333449687","1333449692","1333449700","1333449705","1333449709"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5d25faf873e1bb4e71dbdfd3d6f71ae4.jpg","text":"TemporaryFile(/tmp/multipartBody8621646143658595300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353153949,"filename":"image_31012025_16_05_45_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0990a63bf9dd30c8405b0ebf53b68f5c.jpg","text":"TemporaryFile(/tmp/multipartBody5018472996270553448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353153949,"filename":"image_31012025_16_05_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fa2bc2bd298569e57739e207fdc50e9f.jpg","text":"TemporaryFile(/tmp/multipartBody1696242993169287777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353153949,"filename":"image_31012025_16_05_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/1/31/c71fe4ab009f22a6eae95cf568ca03bd.jpg","text":"TemporaryFile(/tmp/multipartBody7487350642763772195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353153949,"filename":"image_31012025_16_05_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/1/31/600e5d9a705407ff8269f3778c2ae0cc.jpg","text":"TemporaryFile(/tmp/multipartBody960591400483752980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353153949,"filename":"image_31012025_16_05_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/77b3c7d10d5a88250066a204657e82c0.jpg","text":"TemporaryFile(/tmp/multipartBody5592282657827647083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353153949,"filename":"image_31012025_16_05_15_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333449692","file1":"1333449687","file0":"1333449680","file4":"1333449705","file5":"1333449709","file3":"1333449700"},"map_files_photo_id_array":[{"photo_id":"1333449709","filename":"file5"},{"photo_id":"1333449692","filename":"file2"},{"photo_id":"1333449705","filename":"file4"},{"photo_id":"1333449687","filename":"file1"},{"photo_id":"1333449680","filename":"file0"},{"photo_id":"1333449700","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333449705":["hashtag1","hashtag2"]},{"1333449680":["hashtag1","hashtag2"]},{"1333449692":["hashtag1","hashtag2"]},{"1333449709":["hashtag1","hashtag2"]},{"1333449700":["hashtag1","hashtag2"]},{"1333449687":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333449705, 1333449680, 1333449692, 1333449709, 1333449700, 1333449687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16062784194946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:52:32.314379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/05/image_31012025_16_06_05_10357.jpg', '/home/pi/Desktop/images/31012025/16/06/image_31012025_16_06_15_9348.jpg', '/home/pi/Desktop/images/31012025/16/06/image_31012025_16_06_25_10343.jpg', '/home/pi/Desktop/images/31012025/16/06/image_31012025_16_06_35_9407.jpg', '/home/pi/Desktop/images/31012025/16/06/image_31012025_16_06_45_10423.jpg', '/home/pi/Desktop/images/31012025/16/06/image_31012025_16_06_55_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/05/image_31012025_16_06_05_10357.jpg
/home/pi/Desktop/images/31012025/16/06/image_31012025_16_06_15_9348.jpg
/home/pi/Desktop/images/31012025/16/06/image_31012025_16_06_25_10343.jpg
/home/pi/Desktop/images/31012025/16/06/image_31012025_16_06_35_9407.jpg
/home/pi/Desktop/images/31012025/16/06/image_31012025_16_06_45_10423.jpg
/home/pi/Desktop/images/31012025/16/06/image_31012025_16_06_55_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":["1333450263","1333450229","1333450232","1333450279","1333450270","1333450267"],"photo_ids_order":["1333450229","1333450232","1333450263","1333450267","1333450270","1333450279"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b1e4847c0ef586d6ff7ec8ba10787d9e.jpg","text":"TemporaryFile(/tmp/multipartBody4030001743898297496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353212906,"filename":"image_31012025_16_06_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e9092545c9649ea51bf09f357de9fc64.jpg","text":"TemporaryFile(/tmp/multipartBody2866229940342252841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353212906,"filename":"image_31012025_16_06_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/1/31/4f99e09bc65447ef308d765c79f51970.jpg","text":"TemporaryFile(/tmp/multipartBody90369093941007076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353212906,"filename":"image_31012025_16_06_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/1/31/467f5d9808407bda4d61aed5c70633da.jpg","text":"TemporaryFile(/tmp/multipartBody5035798456439028764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353212906,"filename":"image_31012025_16_06_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/1/31/6510da74cf7cd7f761b704f6b554a077.jpg","text":"TemporaryFile(/tmp/multipartBody2224767336952567342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353212906,"filename":"image_31012025_16_06_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/1/31/7ff4ff102cd259aaf6d0c16313e9c2c6.jpg","text":"TemporaryFile(/tmp/multipartBody2642504295298767242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353212906,"filename":"image_31012025_16_06_35_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333450263","file1":"1333450232","file0":"1333450229","file4":"1333450270","file5":"1333450279","file3":"1333450267"},"map_files_photo_id_array":[{"photo_id":"1333450279","filename":"file5"},{"photo_id":"1333450263","filename":"file2"},{"photo_id":"1333450270","filename":"file4"},{"photo_id":"1333450232","filename":"file1"},{"photo_id":"1333450229","filename":"file0"},{"photo_id":"1333450267","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333450263":["hashtag1","hashtag2"]},{"1333450229":["hashtag1","hashtag2"]},{"1333450232":["hashtag1","hashtag2"]},{"1333450279":["hashtag1","hashtag2"]},{"1333450270":["hashtag1","hashtag2"]},{"1333450267":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333450263, 1333450229, 1333450232, 1333450279, 1333450270, 1333450267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.694741249084473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:53:32.538111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/06/image_31012025_16_07_05_9382.jpg', '/home/pi/Desktop/images/31012025/16/07/image_31012025_16_07_15_10366.jpg', '/home/pi/Desktop/images/31012025/16/07/image_31012025_16_07_25_10345.jpg', '/home/pi/Desktop/images/31012025/16/07/image_31012025_16_07_45_10436.jpg', '/home/pi/Desktop/images/31012025/16/07/image_31012025_16_07_55_9378.jpg', '/home/pi/Desktop/images/31012025/16/08/image_31012025_16_08_25_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/06/image_31012025_16_07_05_9382.jpg
/home/pi/Desktop/images/31012025/16/07/image_31012025_16_07_15_10366.jpg
/home/pi/Desktop/images/31012025/16/07/image_31012025_16_07_25_10345.jpg
/home/pi/Desktop/images/31012025/16/07/image_31012025_16_07_45_10436.jpg
/home/pi/Desktop/images/31012025/16/07/image_31012025_16_07_55_9378.jpg
/home/pi/Desktop/images/31012025/16/08/image_31012025_16_08_25_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":["1333450653","1333450940","1333450937","1333450925","1333450837","1333450738"],"photo_ids_order":["1333450653","1333450738","1333450837","1333450925","1333450937","1333450940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e409ad76094153105dece08893a80915.jpg","text":"TemporaryFile(/tmp/multipartBody8196899128475702000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353273077,"filename":"image_31012025_16_07_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/1/31/7cee6175ecb7c05aa4b899f88cd41d68.jpg","text":"TemporaryFile(/tmp/multipartBody2047756823792331917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353273077,"filename":"image_31012025_16_08_25_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3073c62c96af0e8619d0ca925dbb30f0.jpg","text":"TemporaryFile(/tmp/multipartBody1794803459769841749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353273077,"filename":"image_31012025_16_07_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/1/31/83493ad92b66b6aae82ebe7e05be4a46.jpg","text":"TemporaryFile(/tmp/multipartBody1006062149759821786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353273077,"filename":"image_31012025_16_07_45_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a60e1d4e6c6e2c34ea220086b1617470.jpg","text":"TemporaryFile(/tmp/multipartBody6424906095176449256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353273077,"filename":"image_31012025_16_07_25_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9534d231d291d4ed605599643b81146d.jpg","text":"TemporaryFile(/tmp/multipartBody6945274481295751358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353273077,"filename":"image_31012025_16_07_15_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333450837","file1":"1333450738","file0":"1333450653","file4":"1333450937","file5":"1333450940","file3":"1333450925"},"map_files_photo_id_array":[{"photo_id":"1333450940","filename":"file5"},{"photo_id":"1333450837","filename":"file2"},{"photo_id":"1333450937","filename":"file4"},{"photo_id":"1333450738","filename":"file1"},{"photo_id":"1333450653","filename":"file0"},{"photo_id":"1333450925","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333450653":["hashtag1","hashtag2"]},{"1333450940":["hashtag1","hashtag2"]},{"1333450937":["hashtag1","hashtag2"]},{"1333450925":["hashtag1","hashtag2"]},{"1333450837":["hashtag1","hashtag2"]},{"1333450738":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333450653, 1333450940, 1333450937, 1333450925, 1333450837, 1333450738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.76577138900757 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:54:32.776272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/08/image_31012025_16_08_35_10353.jpg', '/home/pi/Desktop/images/31012025/16/08/image_31012025_16_08_55_9393.jpg', '/home/pi/Desktop/images/31012025/16/09/image_31012025_16_09_15_9360.jpg', '/home/pi/Desktop/images/31012025/16/09/image_31012025_16_09_35_10346.jpg', '/home/pi/Desktop/images/31012025/16/09/image_31012025_16_09_45_9496.jpg', '/home/pi/Desktop/images/31012025/16/09/image_31012025_16_09_55_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/08/image_31012025_16_08_35_10353.jpg
/home/pi/Desktop/images/31012025/16/08/image_31012025_16_08_55_9393.jpg
/home/pi/Desktop/images/31012025/16/09/image_31012025_16_09_15_9360.jpg
/home/pi/Desktop/images/31012025/16/09/image_31012025_16_09_35_10346.jpg
/home/pi/Desktop/images/31012025/16/09/image_31012025_16_09_45_9496.jpg
/home/pi/Desktop/images/31012025/16/09/image_31012025_16_09_55_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":["1333451390","1333451386","1333451389","1333451353","1333451350","1333451343"],"photo_ids_order":["1333451343","1333451350","1333451353","1333451386","1333451389","1333451390"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/30e3c4c8fdd5be52933b54407e13a756.jpg","text":"TemporaryFile(/tmp/multipartBody6392485390545915091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353333464,"filename":"image_31012025_16_09_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/1/31/daf5bd008b3901c4cce0b835862e029c.jpg","text":"TemporaryFile(/tmp/multipartBody4526722695749633066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353333464,"filename":"image_31012025_16_09_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/1/31/6ea4b12111e4c616864f3a24195d27a9.jpg","text":"TemporaryFile(/tmp/multipartBody1843370226230008763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353333464,"filename":"image_31012025_16_09_45_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/084c174811ba2dda9af83cda02005816.jpg","text":"TemporaryFile(/tmp/multipartBody6797028179011397501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353333464,"filename":"image_31012025_16_09_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/1/31/3bbf2a759af03508f79048b1317d3099.jpg","text":"TemporaryFile(/tmp/multipartBody1068238907348394596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353333464,"filename":"image_31012025_16_08_55_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/24209a916f8a7e6bf8551267c0674576.jpg","text":"TemporaryFile(/tmp/multipartBody6874984146845119649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353333464,"filename":"image_31012025_16_08_35_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333451353","file1":"1333451350","file0":"1333451343","file4":"1333451389","file5":"1333451390","file3":"1333451386"},"map_files_photo_id_array":[{"photo_id":"1333451390","filename":"file5"},{"photo_id":"1333451353","filename":"file2"},{"photo_id":"1333451389","filename":"file4"},{"photo_id":"1333451350","filename":"file1"},{"photo_id":"1333451343","filename":"file0"},{"photo_id":"1333451386","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333451390":["hashtag1","hashtag2"]},{"1333451386":["hashtag1","hashtag2"]},{"1333451389":["hashtag1","hashtag2"]},{"1333451353":["hashtag1","hashtag2"]},{"1333451350":["hashtag1","hashtag2"]},{"1333451343":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333451390, 1333451386, 1333451389, 1333451353, 1333451350, 1333451343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.563074827194214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:55:33.025247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/09/image_31012025_16_10_05_9426.jpg', '/home/pi/Desktop/images/31012025/16/10/image_31012025_16_10_25_10416.jpg', '/home/pi/Desktop/images/31012025/16/10/image_31012025_16_10_45_10366.jpg', '/home/pi/Desktop/images/31012025/16/10/image_31012025_16_10_54_9360.jpg', '/home/pi/Desktop/images/31012025/16/10/image_31012025_16_11_05_10404.jpg', '/home/pi/Desktop/images/31012025/16/11/image_31012025_16_11_35_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/09/image_31012025_16_10_05_9426.jpg
/home/pi/Desktop/images/31012025/16/10/image_31012025_16_10_25_10416.jpg
/home/pi/Desktop/images/31012025/16/10/image_31012025_16_10_45_10366.jpg
/home/pi/Desktop/images/31012025/16/10/image_31012025_16_10_54_9360.jpg
/home/pi/Desktop/images/31012025/16/10/image_31012025_16_11_05_10404.jpg
/home/pi/Desktop/images/31012025/16/11/image_31012025_16_11_35_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":["1333451622","1333451672","1333451729","1333451663","1333451659","1333451668"],"photo_ids_order":["1333451622","1333451659","1333451663","1333451668","1333451672","1333451729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4616bebe95c7a7e700de00ba2a827643.jpg","text":"TemporaryFile(/tmp/multipartBody3317519529758712689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353393586,"filename":"image_31012025_16_10_05_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a64dc8d37390ffe992d6f6db72228e03.jpg","text":"TemporaryFile(/tmp/multipartBody8564595471382113555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353393586,"filename":"image_31012025_16_11_05_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e19f1361de6a029eb674c713cac5ec5f.jpg","text":"TemporaryFile(/tmp/multipartBody2062283032705998802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353393586,"filename":"image_31012025_16_11_35_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e39c1def8ec6ef53d64ca067b89535b9.jpg","text":"TemporaryFile(/tmp/multipartBody9039074299281064608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353393586,"filename":"image_31012025_16_10_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/1/31/1cd7d7a9792de0f9c9782c3752311248.jpg","text":"TemporaryFile(/tmp/multipartBody1678260509828648540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353393586,"filename":"image_31012025_16_10_25_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e2e8bb34dade7b4985459173b7b0ef4f.jpg","text":"TemporaryFile(/tmp/multipartBody4165639447335884900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353393586,"filename":"image_31012025_16_10_54_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333451663","file1":"1333451659","file0":"1333451622","file4":"1333451672","file5":"1333451729","file3":"1333451668"},"map_files_photo_id_array":[{"photo_id":"1333451729","filename":"file5"},{"photo_id":"1333451663","filename":"file2"},{"photo_id":"1333451672","filename":"file4"},{"photo_id":"1333451659","filename":"file1"},{"photo_id":"1333451622","filename":"file0"},{"photo_id":"1333451668","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333451622":["hashtag1","hashtag2"]},{"1333451672":["hashtag1","hashtag2"]},{"1333451729":["hashtag1","hashtag2"]},{"1333451663":["hashtag1","hashtag2"]},{"1333451659":["hashtag1","hashtag2"]},{"1333451668":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333451622, 1333451672, 1333451729, 1333451663, 1333451659, 1333451668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96132683753967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:56:32.182164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/11/image_31012025_16_11_45_10370.jpg', '/home/pi/Desktop/images/31012025/16/11/image_31012025_16_11_55_9349.jpg', '/home/pi/Desktop/images/31012025/16/11/image_31012025_16_12_05_10417.jpg', '/home/pi/Desktop/images/31012025/16/12/image_31012025_16_12_15_9342.jpg', '/home/pi/Desktop/images/31012025/16/12/image_31012025_16_12_25_10463.jpg', '/home/pi/Desktop/images/31012025/16/12/image_31012025_16_12_35_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/11/image_31012025_16_11_45_10370.jpg
/home/pi/Desktop/images/31012025/16/11/image_31012025_16_11_55_9349.jpg
/home/pi/Desktop/images/31012025/16/11/image_31012025_16_12_05_10417.jpg
/home/pi/Desktop/images/31012025/16/12/image_31012025_16_12_15_9342.jpg
/home/pi/Desktop/images/31012025/16/12/image_31012025_16_12_25_10463.jpg
/home/pi/Desktop/images/31012025/16/12/image_31012025_16_12_35_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":["1333452196","1333452202","1333452034","1333452192","1333451994","1333452207"],"photo_ids_order":["1333451994","1333452034","1333452192","1333452196","1333452202","1333452207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/391ead26dc22220a79b4378ae38faedd.jpg","text":"TemporaryFile(/tmp/multipartBody6626426312892897926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353453012,"filename":"image_31012025_16_12_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/1/31/f79758de6a6b3871c75afb3e479fc42e.jpg","text":"TemporaryFile(/tmp/multipartBody101574594647840713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353453012,"filename":"image_31012025_16_12_25_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1e8d6f0adf4ed3543c03dd148fbb028b.jpg","text":"TemporaryFile(/tmp/multipartBody3157085538916540617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353453012,"filename":"image_31012025_16_11_55_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ead9631aa5ecd16b0ff2470c3bff66cb.jpg","text":"TemporaryFile(/tmp/multipartBody2974005205700520650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353453012,"filename":"image_31012025_16_12_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/1/31/ca84046d5e1c179f721d768199ba1de2.jpg","text":"TemporaryFile(/tmp/multipartBody9051038505653388513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353453012,"filename":"image_31012025_16_11_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/1/31/6e9d7ce7e414b80521b99be3131d01c4.jpg","text":"TemporaryFile(/tmp/multipartBody6146433937429813683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353453012,"filename":"image_31012025_16_12_35_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333452192","file1":"1333452034","file0":"1333451994","file4":"1333452202","file5":"1333452207","file3":"1333452196"},"map_files_photo_id_array":[{"photo_id":"1333452207","filename":"file5"},{"photo_id":"1333452192","filename":"file2"},{"photo_id":"1333452202","filename":"file4"},{"photo_id":"1333452034","filename":"file1"},{"photo_id":"1333451994","filename":"file0"},{"photo_id":"1333452196","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333452196":["hashtag1","hashtag2"]},{"1333452202":["hashtag1","hashtag2"]},{"1333452034":["hashtag1","hashtag2"]},{"1333452192":["hashtag1","hashtag2"]},{"1333451994":["hashtag1","hashtag2"]},{"1333452207":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333452196, 1333452202, 1333452034, 1333452192, 1333451994, 1333452207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.07328510284424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 20:57:32.348899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/13/image_31012025_16_13_15_10437.jpg', '/home/pi/Desktop/images/31012025/16/13/image_31012025_16_13_25_10361.jpg', '/home/pi/Desktop/images/31012025/16/13/image_31012025_16_13_45_10372.jpg', '/home/pi/Desktop/images/31012025/16/13/image_31012025_16_13_55_9438.jpg', '/home/pi/Desktop/images/31012025/16/13/image_31012025_16_14_05_10455.jpg', '/home/pi/Desktop/images/31012025/16/14/image_31012025_16_14_15_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/13/image_31012025_16_13_15_10437.jpg
/home/pi/Desktop/images/31012025/16/13/image_31012025_16_13_25_10361.jpg
/home/pi/Desktop/images/31012025/16/13/image_31012025_16_13_45_10372.jpg
/home/pi/Desktop/images/31012025/16/13/image_31012025_16_13_55_9438.jpg
/home/pi/Desktop/images/31012025/16/13/image_31012025_16_14_05_10455.jpg
/home/pi/Desktop/images/31012025/16/14/image_31012025_16_14_15_10334.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-01-31 20:59:04.832154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/13/image_31012025_16_13_15_10437.jpg', '/home/pi/Desktop/images/31012025/16/13/image_31012025_16_13_25_10361.jpg', '/home/pi/Desktop/images/31012025/16/13/image_31012025_16_13_45_10372.jpg', '/home/pi/Desktop/images/31012025/16/13/image_31012025_16_13_55_9438.jpg', '/home/pi/Desktop/images/31012025/16/13/image_31012025_16_14_05_10455.jpg', '/home/pi/Desktop/images/31012025/16/14/image_31012025_16_14_15_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/13/image_31012025_16_13_15_10437.jpg
/home/pi/Desktop/images/31012025/16/13/image_31012025_16_13_25_10361.jpg
/home/pi/Desktop/images/31012025/16/13/image_31012025_16_13_45_10372.jpg
/home/pi/Desktop/images/31012025/16/13/image_31012025_16_13_55_9438.jpg
/home/pi/Desktop/images/31012025/16/13/image_31012025_16_14_05_10455.jpg
/home/pi/Desktop/images/31012025/16/14/image_31012025_16_14_15_10334.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333452410","1333452388","1333452400","1333452398","1333452392","1333452395"],"photo_ids_order":["1333452388","1333452392","1333452395","1333452398","1333452400","1333452410"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d63ec9a133c5c38e380366865e31f91f.jpg","text":"TemporaryFile(/tmp/multipartBody2804178140147959292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353605457,"filename":"image_31012025_16_14_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2af01cdde0382ad4ac90371a52e7ed48.jpg","text":"TemporaryFile(/tmp/multipartBody4670064936846811699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353605457,"filename":"image_31012025_16_13_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/1/31/201149650b00b7ffa7b81c8603a8897b.jpg","text":"TemporaryFile(/tmp/multipartBody3462261432456001503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353605457,"filename":"image_31012025_16_14_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/1/31/1143c706a2ae3bb3952710128a9457cb.jpg","text":"TemporaryFile(/tmp/multipartBody2522180616145260511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353605457,"filename":"image_31012025_16_13_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/1/31/c78aec0512fe692fd572c311e5ce879e.jpg","text":"TemporaryFile(/tmp/multipartBody1383076812179644489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353605457,"filename":"image_31012025_16_13_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/1/31/cdfe5aee0920221ed60693e2a06afc4e.jpg","text":"TemporaryFile(/tmp/multipartBody1709300942478359379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353605457,"filename":"image_31012025_16_13_45_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333452395","file1":"1333452392","file0":"1333452388","file4":"1333452400","file5":"1333452410","file3":"1333452398"},"map_files_photo_id_array":[{"photo_id":"1333452410","filename":"file5"},{"photo_id":"1333452395","filename":"file2"},{"photo_id":"1333452400","filename":"file4"},{"photo_id":"1333452392","filename":"file1"},{"photo_id":"1333452388","filename":"file0"},{"photo_id":"1333452398","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333452410":["hashtag1","hashtag2"]},{"1333452388":["hashtag1","hashtag2"]},{"1333452400":["hashtag1","hashtag2"]},{"1333452398":["hashtag1","hashtag2"]},{"1333452392":["hashtag1","hashtag2"]},{"1333452395":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333452410, 1333452388, 1333452400, 1333452398, 1333452392, 1333452395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.597124099731445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 20:59:43.169479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/14/image_31012025_16_14_55_9424.jpg', '/home/pi/Desktop/images/31012025/16/15/image_31012025_16_15_15_9343.jpg', '/home/pi/Desktop/images/31012025/16/15/image_31012025_16_15_35_10347.jpg', '/home/pi/Desktop/images/31012025/16/15/image_31012025_16_15_45_9381.jpg', '/home/pi/Desktop/images/31012025/16/15/image_31012025_16_15_55_10551.jpg', '/home/pi/Desktop/images/31012025/16/15/image_31012025_16_16_05_9465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/14/image_31012025_16_14_55_9424.jpg
/home/pi/Desktop/images/31012025/16/15/image_31012025_16_15_15_9343.jpg
/home/pi/Desktop/images/31012025/16/15/image_31012025_16_15_35_10347.jpg
/home/pi/Desktop/images/31012025/16/15/image_31012025_16_15_45_9381.jpg
/home/pi/Desktop/images/31012025/16/15/image_31012025_16_15_55_10551.jpg
/home/pi/Desktop/images/31012025/16/15/image_31012025_16_16_05_9465.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":["1333452929","1333452562","1333452931","1333452858","1333452927","1333452711"],"photo_ids_order":["1333452562","1333452711","1333452858","1333452927","1333452929","1333452931"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b4b269f9e549db4fa66cffb84c641bf6.jpg","text":"TemporaryFile(/tmp/multipartBody6458689455123203534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353643715,"filename":"image_31012025_16_15_55_10551.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8d7bfbf142dda3c024156fd61496fb4f.jpg","text":"TemporaryFile(/tmp/multipartBody5845762389275699801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353643715,"filename":"image_31012025_16_14_55_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/28dd2e7da5b0ab4c578079ca079c7ceb.jpg","text":"TemporaryFile(/tmp/multipartBody3889999521444554044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353643715,"filename":"image_31012025_16_16_05_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9489b2b8072b03a568a3bcab4584fa0f.jpg","text":"TemporaryFile(/tmp/multipartBody4319668181214692223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353643715,"filename":"image_31012025_16_15_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/1/31/4494be31ad9803cff2d1f025dd1c22bd.jpg","text":"TemporaryFile(/tmp/multipartBody3700682563354464999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353643715,"filename":"image_31012025_16_15_45_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9d59679b2d806776cd529f6ea3f23821.jpg","text":"TemporaryFile(/tmp/multipartBody702186316223932867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353643715,"filename":"image_31012025_16_15_15_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333452858","file1":"1333452711","file0":"1333452562","file4":"1333452929","file5":"1333452931","file3":"1333452927"},"map_files_photo_id_array":[{"photo_id":"1333452931","filename":"file5"},{"photo_id":"1333452858","filename":"file2"},{"photo_id":"1333452929","filename":"file4"},{"photo_id":"1333452711","filename":"file1"},{"photo_id":"1333452562","filename":"file0"},{"photo_id":"1333452927","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333452929":["hashtag1","hashtag2"]},{"1333452562":["hashtag1","hashtag2"]},{"1333452931":["hashtag1","hashtag2"]},{"1333452858":["hashtag1","hashtag2"]},{"1333452927":["hashtag1","hashtag2"]},{"1333452711":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333452929, 1333452562, 1333452931, 1333452858, 1333452927, 1333452711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.85030961036682 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:00:32.405747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/16/image_31012025_16_16_15_10345.jpg', '/home/pi/Desktop/images/31012025/16/16/image_31012025_16_16_25_10343.jpg', '/home/pi/Desktop/images/31012025/16/16/image_31012025_16_16_35_9455.jpg', '/home/pi/Desktop/images/31012025/16/16/image_31012025_16_16_45_10356.jpg', '/home/pi/Desktop/images/31012025/16/16/image_31012025_16_16_55_9334.jpg', '/home/pi/Desktop/images/31012025/16/17/image_31012025_16_17_15_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/16/image_31012025_16_16_15_10345.jpg
/home/pi/Desktop/images/31012025/16/16/image_31012025_16_16_25_10343.jpg
/home/pi/Desktop/images/31012025/16/16/image_31012025_16_16_35_9455.jpg
/home/pi/Desktop/images/31012025/16/16/image_31012025_16_16_45_10356.jpg
/home/pi/Desktop/images/31012025/16/16/image_31012025_16_16_55_9334.jpg
/home/pi/Desktop/images/31012025/16/17/image_31012025_16_17_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":["1333453106","1333453132","1333453135","1333453158","1333453163","1333453103"],"photo_ids_order":["1333453103","1333453106","1333453132","1333453135","1333453158","1333453163"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2a6db73b83d5ac92b33875795202848b.jpg","text":"TemporaryFile(/tmp/multipartBody2816107180270533458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353692981,"filename":"image_31012025_16_16_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/819bfeedb9f7a78ce886f3b7973ebfeb.jpg","text":"TemporaryFile(/tmp/multipartBody8375787155405569641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353692981,"filename":"image_31012025_16_16_35_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0d529c8f63695fd306191e2804a386f1.jpg","text":"TemporaryFile(/tmp/multipartBody492154907773175988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353692981,"filename":"image_31012025_16_16_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/1/31/c6500609e248ed2b1826bb7276202412.jpg","text":"TemporaryFile(/tmp/multipartBody8091226460369206862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353692981,"filename":"image_31012025_16_16_55_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/928617478b06553768cc25e3bd641885.jpg","text":"TemporaryFile(/tmp/multipartBody8385250409656878566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353692981,"filename":"image_31012025_16_17_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/1/31/6fc814cedebab8a4750697ec41b94377.jpg","text":"TemporaryFile(/tmp/multipartBody5525301002215972251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353692981,"filename":"image_31012025_16_16_15_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333453132","file1":"1333453106","file0":"1333453103","file4":"1333453158","file5":"1333453163","file3":"1333453135"},"map_files_photo_id_array":[{"photo_id":"1333453163","filename":"file5"},{"photo_id":"1333453132","filename":"file2"},{"photo_id":"1333453158","filename":"file4"},{"photo_id":"1333453106","filename":"file1"},{"photo_id":"1333453103","filename":"file0"},{"photo_id":"1333453135","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333453106":["hashtag1","hashtag2"]},{"1333453132":["hashtag1","hashtag2"]},{"1333453135":["hashtag1","hashtag2"]},{"1333453158":["hashtag1","hashtag2"]},{"1333453163":["hashtag1","hashtag2"]},{"1333453103":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333453106, 1333453132, 1333453135, 1333453158, 1333453163, 1333453103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.91750693321228 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:01:32.658316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/17/image_31012025_16_17_25_9556.jpg', '/home/pi/Desktop/images/31012025/16/17/image_31012025_16_17_35_10357.jpg', '/home/pi/Desktop/images/31012025/16/17/image_31012025_16_17_45_9342.jpg', '/home/pi/Desktop/images/31012025/16/17/image_31012025_16_18_05_10336.jpg', '/home/pi/Desktop/images/31012025/16/18/image_31012025_16_18_15_9465.jpg', '/home/pi/Desktop/images/31012025/16/18/image_31012025_16_18_25_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/17/image_31012025_16_17_25_9556.jpg
/home/pi/Desktop/images/31012025/16/17/image_31012025_16_17_35_10357.jpg
/home/pi/Desktop/images/31012025/16/17/image_31012025_16_17_45_9342.jpg
/home/pi/Desktop/images/31012025/16/17/image_31012025_16_18_05_10336.jpg
/home/pi/Desktop/images/31012025/16/18/image_31012025_16_18_15_9465.jpg
/home/pi/Desktop/images/31012025/16/18/image_31012025_16_18_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":["1333453687","1333454076","1333453842","1333453767","1333454001","1333453932"],"photo_ids_order":["1333453687","1333453767","1333453842","1333453932","1333454001","1333454076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1a822d846b52f5071120f60a65c3c009.jpg","text":"TemporaryFile(/tmp/multipartBody6837835273438894570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353753213,"filename":"image_31012025_16_17_25_9556.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3911e963394f8cb04ee41514edefa51b.jpg","text":"TemporaryFile(/tmp/multipartBody1661349604754448590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353753213,"filename":"image_31012025_16_18_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/1/31/0f5383702b78522a708b8cf7994a5b6b.jpg","text":"TemporaryFile(/tmp/multipartBody8038831662810079960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353753213,"filename":"image_31012025_16_17_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/1/31/2ac28aaccb57bf48029ce5968120ebe2.jpg","text":"TemporaryFile(/tmp/multipartBody6080396053844618014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353753213,"filename":"image_31012025_16_17_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/1/31/1aa4eb7512f89018a6cc6bf14765b21d.jpg","text":"TemporaryFile(/tmp/multipartBody6690965797672529057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353753213,"filename":"image_31012025_16_18_15_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4d6be08874994d474e1d29ce52875a5f.jpg","text":"TemporaryFile(/tmp/multipartBody4430814206925957774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353753213,"filename":"image_31012025_16_18_05_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333453842","file1":"1333453767","file0":"1333453687","file4":"1333454001","file5":"1333454076","file3":"1333453932"},"map_files_photo_id_array":[{"photo_id":"1333454076","filename":"file5"},{"photo_id":"1333453842","filename":"file2"},{"photo_id":"1333454001","filename":"file4"},{"photo_id":"1333453767","filename":"file1"},{"photo_id":"1333453687","filename":"file0"},{"photo_id":"1333453932","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333453687":["hashtag1","hashtag2"]},{"1333454076":["hashtag1","hashtag2"]},{"1333453842":["hashtag1","hashtag2"]},{"1333453767":["hashtag1","hashtag2"]},{"1333454001":["hashtag1","hashtag2"]},{"1333453932":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333453687, 1333454076, 1333453842, 1333453767, 1333454001, 1333453932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.95384955406189 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:02:32.925037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/18/image_31012025_16_18_35_9356.jpg', '/home/pi/Desktop/images/31012025/16/18/image_31012025_16_18_45_10465.jpg', '/home/pi/Desktop/images/31012025/16/18/image_31012025_16_18_55_10340.jpg', '/home/pi/Desktop/images/31012025/16/18/image_31012025_16_19_05_9459.jpg', '/home/pi/Desktop/images/31012025/16/19/image_31012025_16_19_15_10341.jpg', '/home/pi/Desktop/images/31012025/16/19/image_31012025_16_19_35_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/18/image_31012025_16_18_35_9356.jpg
/home/pi/Desktop/images/31012025/16/18/image_31012025_16_18_45_10465.jpg
/home/pi/Desktop/images/31012025/16/18/image_31012025_16_18_55_10340.jpg
/home/pi/Desktop/images/31012025/16/18/image_31012025_16_19_05_9459.jpg
/home/pi/Desktop/images/31012025/16/19/image_31012025_16_19_15_10341.jpg
/home/pi/Desktop/images/31012025/16/19/image_31012025_16_19_35_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":["1333454385","1333454379","1333454367","1333454393","1333454372","1333454389"],"photo_ids_order":["1333454367","1333454372","1333454379","1333454385","1333454389","1333454393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9c8308e7464717bb20b6e316b29ed223.jpg","text":"TemporaryFile(/tmp/multipartBody3146446860908304380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353813470,"filename":"image_31012025_16_19_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/1/31/7082b5177a577634ccc31870512a00cf.jpg","text":"TemporaryFile(/tmp/multipartBody8379548471838389709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353813470,"filename":"image_31012025_16_18_55_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2141dd3559edd23295c4f63b59b9ed48.jpg","text":"TemporaryFile(/tmp/multipartBody3547311621394048937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353813470,"filename":"image_31012025_16_18_35_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1d839670eb3cf84ca38c2890e42a0086.jpg","text":"TemporaryFile(/tmp/multipartBody247665841550932770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353813470,"filename":"image_31012025_16_19_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/1/31/8403533e618235746dd8e9448cce512d.jpg","text":"TemporaryFile(/tmp/multipartBody5432098933095840942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353813470,"filename":"image_31012025_16_18_45_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1693e879de204357d86b720595972bad.jpg","text":"TemporaryFile(/tmp/multipartBody8893170086823218475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353813470,"filename":"image_31012025_16_19_15_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333454379","file1":"1333454372","file0":"1333454367","file4":"1333454389","file5":"1333454393","file3":"1333454385"},"map_files_photo_id_array":[{"photo_id":"1333454393","filename":"file5"},{"photo_id":"1333454379","filename":"file2"},{"photo_id":"1333454389","filename":"file4"},{"photo_id":"1333454372","filename":"file1"},{"photo_id":"1333454367","filename":"file0"},{"photo_id":"1333454385","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333454385":["hashtag1","hashtag2"]},{"1333454379":["hashtag1","hashtag2"]},{"1333454367":["hashtag1","hashtag2"]},{"1333454393":["hashtag1","hashtag2"]},{"1333454372":["hashtag1","hashtag2"]},{"1333454389":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333454385, 1333454379, 1333454367, 1333454393, 1333454372, 1333454389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.424280166625977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:03:32.286201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/19/image_31012025_16_19_45_10342.jpg', '/home/pi/Desktop/images/31012025/16/19/image_31012025_16_19_55_9356.jpg', '/home/pi/Desktop/images/31012025/16/19/image_31012025_16_20_05_10355.jpg', '/home/pi/Desktop/images/31012025/16/20/image_31012025_16_20_15_10359.jpg', '/home/pi/Desktop/images/31012025/16/20/image_31012025_16_20_25_9499.jpg', '/home/pi/Desktop/images/31012025/16/20/image_31012025_16_20_35_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/19/image_31012025_16_19_45_10342.jpg
/home/pi/Desktop/images/31012025/16/19/image_31012025_16_19_55_9356.jpg
/home/pi/Desktop/images/31012025/16/19/image_31012025_16_20_05_10355.jpg
/home/pi/Desktop/images/31012025/16/20/image_31012025_16_20_15_10359.jpg
/home/pi/Desktop/images/31012025/16/20/image_31012025_16_20_25_9499.jpg
/home/pi/Desktop/images/31012025/16/20/image_31012025_16_20_35_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333454734","1333454544","1333454610","1333454469","1333454415","1333454692"],"photo_ids_order":["1333454415","1333454469","1333454544","1333454610","1333454692","1333454734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ad395613176b2dd56ffd5b45c9bc0319.jpg","text":"TemporaryFile(/tmp/multipartBody5668538107453676497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353872824,"filename":"image_31012025_16_20_35_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4dda03c627b253e9ecd91328aa4467bb.jpg","text":"TemporaryFile(/tmp/multipartBody7661651948451718512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353872824,"filename":"image_31012025_16_20_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/1/31/a92d7866d2e810420c52fae5870f19ad.jpg","text":"TemporaryFile(/tmp/multipartBody2024922481055302646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353872824,"filename":"image_31012025_16_20_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/1/31/c114bf7ba11abe07b68c1d774e7c5614.jpg","text":"TemporaryFile(/tmp/multipartBody8706774982893754948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353872824,"filename":"image_31012025_16_19_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/1/31/a5a042f0dd1032f76c084e5cac6606ad.jpg","text":"TemporaryFile(/tmp/multipartBody5827455069538124740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353872824,"filename":"image_31012025_16_19_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/1/31/f5ba688175f15144d5b9acafc50e6949.jpg","text":"TemporaryFile(/tmp/multipartBody1201143534885379885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353872824,"filename":"image_31012025_16_20_25_9499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333454544","file1":"1333454469","file0":"1333454415","file4":"1333454692","file5":"1333454734","file3":"1333454610"},"map_files_photo_id_array":[{"photo_id":"1333454734","filename":"file5"},{"photo_id":"1333454544","filename":"file2"},{"photo_id":"1333454692","filename":"file4"},{"photo_id":"1333454469","filename":"file1"},{"photo_id":"1333454415","filename":"file0"},{"photo_id":"1333454610","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333454734":["hashtag1","hashtag2"]},{"1333454544":["hashtag1","hashtag2"]},{"1333454610":["hashtag1","hashtag2"]},{"1333454469":["hashtag1","hashtag2"]},{"1333454415":["hashtag1","hashtag2"]},{"1333454692":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333454734, 1333454544, 1333454610, 1333454469, 1333454415, 1333454692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59407925605774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:04:32.581412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/20/image_31012025_16_20_44_9344.jpg', '/home/pi/Desktop/images/31012025/16/20/image_31012025_16_20_55_10456.jpg', '/home/pi/Desktop/images/31012025/16/21/image_31012025_16_22_05_9384.jpg', '/home/pi/Desktop/images/31012025/16/22/image_31012025_16_22_15_10425.jpg', '/home/pi/Desktop/images/31012025/16/22/image_31012025_16_22_25_9331.jpg', '/home/pi/Desktop/images/31012025/16/22/image_31012025_16_22_35_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/20/image_31012025_16_20_44_9344.jpg
/home/pi/Desktop/images/31012025/16/20/image_31012025_16_20_55_10456.jpg
/home/pi/Desktop/images/31012025/16/21/image_31012025_16_22_05_9384.jpg
/home/pi/Desktop/images/31012025/16/22/image_31012025_16_22_15_10425.jpg
/home/pi/Desktop/images/31012025/16/22/image_31012025_16_22_25_9331.jpg
/home/pi/Desktop/images/31012025/16/22/image_31012025_16_22_35_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333455048","1333454952","1333455050","1333455026","1333455043","1333455046"],"photo_ids_order":["1333454952","1333455026","1333455043","1333455046","1333455048","1333455050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/690791611d8814532bbe797d0ce3950e.jpg","text":"TemporaryFile(/tmp/multipartBody1876500449539074330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353933144,"filename":"image_31012025_16_22_25_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1eba0659899ee88992ee525940ebad46.jpg","text":"TemporaryFile(/tmp/multipartBody4284372806306856226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353933144,"filename":"image_31012025_16_20_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/1/31/5e05292e72f62ddd08eec40df5d13471.jpg","text":"TemporaryFile(/tmp/multipartBody4426774076310676815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353933144,"filename":"image_31012025_16_22_35_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/41376f7a736e333a9375f48df4d29ac0.jpg","text":"TemporaryFile(/tmp/multipartBody1000424251951003583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353933144,"filename":"image_31012025_16_20_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/1/31/cea904a3f304c50a9f75360a8b4e8bed.jpg","text":"TemporaryFile(/tmp/multipartBody4913467752589804801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353933144,"filename":"image_31012025_16_22_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/1/31/eb6cb1eec89aa9d74dd0522d6ec5ad47.jpg","text":"TemporaryFile(/tmp/multipartBody991008866636922097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353933144,"filename":"image_31012025_16_22_15_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333455043","file1":"1333455026","file0":"1333454952","file4":"1333455048","file5":"1333455050","file3":"1333455046"},"map_files_photo_id_array":[{"photo_id":"1333455050","filename":"file5"},{"photo_id":"1333455043","filename":"file2"},{"photo_id":"1333455048","filename":"file4"},{"photo_id":"1333455026","filename":"file1"},{"photo_id":"1333454952","filename":"file0"},{"photo_id":"1333455046","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333455048":["hashtag1","hashtag2"]},{"1333454952":["hashtag1","hashtag2"]},{"1333455050":["hashtag1","hashtag2"]},{"1333455026":["hashtag1","hashtag2"]},{"1333455043":["hashtag1","hashtag2"]},{"1333455046":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333455048, 1333454952, 1333455050, 1333455026, 1333455043, 1333455046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.173084020614624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:05:32.761225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/22/image_31012025_16_22_45_10338.jpg', '/home/pi/Desktop/images/31012025/16/22/image_31012025_16_22_55_9414.jpg', '/home/pi/Desktop/images/31012025/16/22/image_31012025_16_23_05_10400.jpg', '/home/pi/Desktop/images/31012025/16/23/image_31012025_16_23_25_9388.jpg', '/home/pi/Desktop/images/31012025/16/23/image_31012025_16_23_35_10352.jpg', '/home/pi/Desktop/images/31012025/16/23/image_31012025_16_23_45_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/22/image_31012025_16_22_45_10338.jpg
/home/pi/Desktop/images/31012025/16/22/image_31012025_16_22_55_9414.jpg
/home/pi/Desktop/images/31012025/16/22/image_31012025_16_23_05_10400.jpg
/home/pi/Desktop/images/31012025/16/23/image_31012025_16_23_25_9388.jpg
/home/pi/Desktop/images/31012025/16/23/image_31012025_16_23_35_10352.jpg
/home/pi/Desktop/images/31012025/16/23/image_31012025_16_23_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":["1333455087","1333455095","1333455098","1333455091","1333455082","1333455103"],"photo_ids_order":["1333455082","1333455087","1333455091","1333455095","1333455098","1333455103"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/172868cb078a6509751a725d4af7d0db.jpg","text":"TemporaryFile(/tmp/multipartBody8131200359743882521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353993308,"filename":"image_31012025_16_22_55_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f812dabf5f0ce2fc8e6a2a807aa4576a.jpg","text":"TemporaryFile(/tmp/multipartBody5845731288114082961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353993308,"filename":"image_31012025_16_23_25_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/75d6207ef69a9a794860be694b4e87aa.jpg","text":"TemporaryFile(/tmp/multipartBody2061716465694919214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353993308,"filename":"image_31012025_16_23_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/1/31/7baa1f15e529e9f24dced16cebc37e82.jpg","text":"TemporaryFile(/tmp/multipartBody113940082897441265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353993308,"filename":"image_31012025_16_23_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/1/31/2d6a2a7bbf3466043636fbb7f3d4c994.jpg","text":"TemporaryFile(/tmp/multipartBody3281466740816462407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353993308,"filename":"image_31012025_16_22_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/1/31/0737ec407b369180bf504d3707af2e2a.jpg","text":"TemporaryFile(/tmp/multipartBody315009631600618204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738353993308,"filename":"image_31012025_16_23_45_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333455091","file1":"1333455087","file0":"1333455082","file4":"1333455098","file5":"1333455103","file3":"1333455095"},"map_files_photo_id_array":[{"photo_id":"1333455103","filename":"file5"},{"photo_id":"1333455091","filename":"file2"},{"photo_id":"1333455098","filename":"file4"},{"photo_id":"1333455087","filename":"file1"},{"photo_id":"1333455082","filename":"file0"},{"photo_id":"1333455095","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333455087":["hashtag1","hashtag2"]},{"1333455095":["hashtag1","hashtag2"]},{"1333455098":["hashtag1","hashtag2"]},{"1333455091":["hashtag1","hashtag2"]},{"1333455082":["hashtag1","hashtag2"]},{"1333455103":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333455087, 1333455095, 1333455098, 1333455091, 1333455082, 1333455103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.904374837875366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:06:32.962145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/23/image_31012025_16_23_55_9346.jpg', '/home/pi/Desktop/images/31012025/16/23/image_31012025_16_24_05_10452.jpg', '/home/pi/Desktop/images/31012025/16/24/image_31012025_16_24_15_9342.jpg', '/home/pi/Desktop/images/31012025/16/24/image_31012025_16_24_25_10388.jpg', '/home/pi/Desktop/images/31012025/16/26/image_31012025_16_26_25_9360.jpg', '/home/pi/Desktop/images/31012025/16/26/image_31012025_16_26_35_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/23/image_31012025_16_23_55_9346.jpg
/home/pi/Desktop/images/31012025/16/23/image_31012025_16_24_05_10452.jpg
/home/pi/Desktop/images/31012025/16/24/image_31012025_16_24_15_9342.jpg
/home/pi/Desktop/images/31012025/16/24/image_31012025_16_24_25_10388.jpg
/home/pi/Desktop/images/31012025/16/26/image_31012025_16_26_25_9360.jpg
/home/pi/Desktop/images/31012025/16/26/image_31012025_16_26_35_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":["1333455161","1333455215","1333455166","1333455169","1333455163","1333455157"],"photo_ids_order":["1333455157","1333455161","1333455163","1333455166","1333455169","1333455215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cc23c9d6705eaba68881558f66680f87.jpg","text":"TemporaryFile(/tmp/multipartBody1663233810169128419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354053508,"filename":"image_31012025_16_24_05_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7ceb4d8fff1b331c530348f09651ba50.jpg","text":"TemporaryFile(/tmp/multipartBody6632808098470769166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354053508,"filename":"image_31012025_16_26_35_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d262e2df8ac66a17953c19f4c49757ca.jpg","text":"TemporaryFile(/tmp/multipartBody3623257956001944467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354053508,"filename":"image_31012025_16_24_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/1/31/21310e721e21c89648a5745c33e74a99.jpg","text":"TemporaryFile(/tmp/multipartBody2578227825281292150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354053508,"filename":"image_31012025_16_26_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/1/31/33dc77e76da5890746aff24db4121f64.jpg","text":"TemporaryFile(/tmp/multipartBody8953911282695308313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354053508,"filename":"image_31012025_16_24_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/1/31/d68a18685b9622b312622830b399eb83.jpg","text":"TemporaryFile(/tmp/multipartBody2715236166802054126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354053508,"filename":"image_31012025_16_23_55_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333455163","file1":"1333455161","file0":"1333455157","file4":"1333455169","file5":"1333455215","file3":"1333455166"},"map_files_photo_id_array":[{"photo_id":"1333455215","filename":"file5"},{"photo_id":"1333455163","filename":"file2"},{"photo_id":"1333455169","filename":"file4"},{"photo_id":"1333455161","filename":"file1"},{"photo_id":"1333455157","filename":"file0"},{"photo_id":"1333455166","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333455161":["hashtag1","hashtag2"]},{"1333455215":["hashtag1","hashtag2"]},{"1333455166":["hashtag1","hashtag2"]},{"1333455169":["hashtag1","hashtag2"]},{"1333455163":["hashtag1","hashtag2"]},{"1333455157":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333455161, 1333455215, 1333455166, 1333455169, 1333455163, 1333455157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.657185077667236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:07:32.245810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/26/image_31012025_16_26_45_10345.jpg', '/home/pi/Desktop/images/31012025/16/26/image_31012025_16_26_55_9425.jpg', '/home/pi/Desktop/images/31012025/16/26/image_31012025_16_27_05_10364.jpg', '/home/pi/Desktop/images/31012025/16/27/image_31012025_16_27_15_9355.jpg', '/home/pi/Desktop/images/31012025/16/27/image_31012025_16_27_25_10435.jpg', '/home/pi/Desktop/images/31012025/16/27/image_31012025_16_27_35_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/26/image_31012025_16_26_45_10345.jpg
/home/pi/Desktop/images/31012025/16/26/image_31012025_16_26_55_9425.jpg
/home/pi/Desktop/images/31012025/16/26/image_31012025_16_27_05_10364.jpg
/home/pi/Desktop/images/31012025/16/27/image_31012025_16_27_15_9355.jpg
/home/pi/Desktop/images/31012025/16/27/image_31012025_16_27_25_10435.jpg
/home/pi/Desktop/images/31012025/16/27/image_31012025_16_27_35_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":["1333455462","1333455465","1333455600","1333455458","1333455472","1333455526"],"photo_ids_order":["1333455458","1333455462","1333455465","1333455472","1333455526","1333455600"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1e943d9477dde140ef53fd416cf738c7.jpg","text":"TemporaryFile(/tmp/multipartBody8431470281039394179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354112802,"filename":"image_31012025_16_26_55_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/459f412f06e1365981e26761c2683946.jpg","text":"TemporaryFile(/tmp/multipartBody1253525198074638154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354112802,"filename":"image_31012025_16_27_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/1/31/defd99839f6aa5fa51f34e14f2cba257.jpg","text":"TemporaryFile(/tmp/multipartBody4021133963894246432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354112802,"filename":"image_31012025_16_27_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/1/31/383c7208e11e807946e4d52fe7c619a2.jpg","text":"TemporaryFile(/tmp/multipartBody5580373975209063465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354112802,"filename":"image_31012025_16_26_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/1/31/a5a63f902b171c9593fd90f2d8267c24.jpg","text":"TemporaryFile(/tmp/multipartBody2082223981292914408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354112802,"filename":"image_31012025_16_27_15_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b98900f9dd03cdcfc54c537adf51daf7.jpg","text":"TemporaryFile(/tmp/multipartBody1987880264486149069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354112802,"filename":"image_31012025_16_27_25_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333455465","file1":"1333455462","file0":"1333455458","file4":"1333455526","file5":"1333455600","file3":"1333455472"},"map_files_photo_id_array":[{"photo_id":"1333455600","filename":"file5"},{"photo_id":"1333455465","filename":"file2"},{"photo_id":"1333455526","filename":"file4"},{"photo_id":"1333455462","filename":"file1"},{"photo_id":"1333455458","filename":"file0"},{"photo_id":"1333455472","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333455462":["hashtag1","hashtag2"]},{"1333455465":["hashtag1","hashtag2"]},{"1333455600":["hashtag1","hashtag2"]},{"1333455458":["hashtag1","hashtag2"]},{"1333455472":["hashtag1","hashtag2"]},{"1333455526":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333455462, 1333455465, 1333455600, 1333455458, 1333455472, 1333455526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.931626796722412 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:08:32.348940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/27/image_31012025_16_27_45_9400.jpg', '/home/pi/Desktop/images/31012025/16/27/image_31012025_16_28_05_9343.jpg', '/home/pi/Desktop/images/31012025/16/28/image_31012025_16_28_15_10341.jpg', '/home/pi/Desktop/images/31012025/16/28/image_31012025_16_28_25_10355.jpg', '/home/pi/Desktop/images/31012025/16/28/image_31012025_16_28_35_9331.jpg', '/home/pi/Desktop/images/31012025/16/28/image_31012025_16_28_45_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/27/image_31012025_16_27_45_9400.jpg
/home/pi/Desktop/images/31012025/16/27/image_31012025_16_28_05_9343.jpg
/home/pi/Desktop/images/31012025/16/28/image_31012025_16_28_15_10341.jpg
/home/pi/Desktop/images/31012025/16/28/image_31012025_16_28_25_10355.jpg
/home/pi/Desktop/images/31012025/16/28/image_31012025_16_28_35_9331.jpg
/home/pi/Desktop/images/31012025/16/28/image_31012025_16_28_45_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":["1333456866","1333456911","1333456716","1333456605","1333456795","1333456522"],"photo_ids_order":["1333456522","1333456605","1333456716","1333456795","1333456866","1333456911"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ef8fbad02b6e2183c235305e13f5019b.jpg","text":"TemporaryFile(/tmp/multipartBody8656456038744178586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354172929,"filename":"image_31012025_16_28_35_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/478ee5d8ce2faa296bf9e935b68d2b91.jpg","text":"TemporaryFile(/tmp/multipartBody966051862284748707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354172929,"filename":"image_31012025_16_28_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/1/31/b1c9b7d66ef6d25ccbe2d4d89bcfde5a.jpg","text":"TemporaryFile(/tmp/multipartBody8669842629700280440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354172929,"filename":"image_31012025_16_28_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/1/31/431f94a12b3c81069f6b9824d8c112fe.jpg","text":"TemporaryFile(/tmp/multipartBody2127692090856736348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354172929,"filename":"image_31012025_16_28_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/1/31/15b48a0d783a5fb5d6eb93cfbbea1729.jpg","text":"TemporaryFile(/tmp/multipartBody6190539009724863793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354172929,"filename":"image_31012025_16_28_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/1/31/b27f8ccb1b6bc4b304788376a13185c0.jpg","text":"TemporaryFile(/tmp/multipartBody4619983440388728674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354172929,"filename":"image_31012025_16_27_45_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333456716","file1":"1333456605","file0":"1333456522","file4":"1333456866","file5":"1333456911","file3":"1333456795"},"map_files_photo_id_array":[{"photo_id":"1333456911","filename":"file5"},{"photo_id":"1333456716","filename":"file2"},{"photo_id":"1333456866","filename":"file4"},{"photo_id":"1333456605","filename":"file1"},{"photo_id":"1333456522","filename":"file0"},{"photo_id":"1333456795","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333456866":["hashtag1","hashtag2"]},{"1333456911":["hashtag1","hashtag2"]},{"1333456716":["hashtag1","hashtag2"]},{"1333456605":["hashtag1","hashtag2"]},{"1333456795":["hashtag1","hashtag2"]},{"1333456522":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333456866, 1333456911, 1333456716, 1333456605, 1333456795, 1333456522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82272124290466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:09:32.664333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/28/image_31012025_16_28_55_10368.jpg', '/home/pi/Desktop/images/31012025/16/28/image_31012025_16_29_05_9443.jpg', '/home/pi/Desktop/images/31012025/16/29/image_31012025_16_29_15_10347.jpg', '/home/pi/Desktop/images/31012025/16/29/image_31012025_16_29_25_10343.jpg', '/home/pi/Desktop/images/31012025/16/29/image_31012025_16_29_35_9462.jpg', '/home/pi/Desktop/images/31012025/16/29/image_31012025_16_29_45_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/28/image_31012025_16_28_55_10368.jpg
/home/pi/Desktop/images/31012025/16/28/image_31012025_16_29_05_9443.jpg
/home/pi/Desktop/images/31012025/16/29/image_31012025_16_29_15_10347.jpg
/home/pi/Desktop/images/31012025/16/29/image_31012025_16_29_25_10343.jpg
/home/pi/Desktop/images/31012025/16/29/image_31012025_16_29_35_9462.jpg
/home/pi/Desktop/images/31012025/16/29/image_31012025_16_29_45_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":["1333457153","1333457092","1333457095","1333457089","1333457134","1333457082"],"photo_ids_order":["1333457082","1333457089","1333457092","1333457095","1333457134","1333457153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/34fab17326f897ffd0240599c6eeaa85.jpg","text":"TemporaryFile(/tmp/multipartBody5971813834306571543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354233215,"filename":"image_31012025_16_29_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/1/31/daab266b3bd1e117cb3bc3eb6f0b8be9.jpg","text":"TemporaryFile(/tmp/multipartBody2657242287034207072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354233215,"filename":"image_31012025_16_29_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/1/31/46cf5fa6d93c9aa35049e8884980dfb7.jpg","text":"TemporaryFile(/tmp/multipartBody4597427930305873165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354233215,"filename":"image_31012025_16_29_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f1d8349d0a4667fe602f28d7299d7d0b.jpg","text":"TemporaryFile(/tmp/multipartBody9116904141497695722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354233215,"filename":"image_31012025_16_29_05_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/318938bd2e946da4f5dc966101def76f.jpg","text":"TemporaryFile(/tmp/multipartBody4093010155784845917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354233215,"filename":"image_31012025_16_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/1/31/4338f1f2e875a41c54b1ea8e13563d68.jpg","text":"TemporaryFile(/tmp/multipartBody7694934769000631645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354233215,"filename":"image_31012025_16_28_55_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333457092","file1":"1333457089","file0":"1333457082","file4":"1333457134","file5":"1333457153","file3":"1333457095"},"map_files_photo_id_array":[{"photo_id":"1333457153","filename":"file5"},{"photo_id":"1333457092","filename":"file2"},{"photo_id":"1333457134","filename":"file4"},{"photo_id":"1333457089","filename":"file1"},{"photo_id":"1333457082","filename":"file0"},{"photo_id":"1333457095","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333457153":["hashtag1","hashtag2"]},{"1333457092":["hashtag1","hashtag2"]},{"1333457095":["hashtag1","hashtag2"]},{"1333457089":["hashtag1","hashtag2"]},{"1333457134":["hashtag1","hashtag2"]},{"1333457082":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333457153, 1333457092, 1333457095, 1333457089, 1333457134, 1333457082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.374753952026367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:10:32.794198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/29/image_31012025_16_29_55_9409.jpg', '/home/pi/Desktop/images/31012025/16/29/image_31012025_16_30_05_10343.jpg', '/home/pi/Desktop/images/31012025/16/30/image_31012025_16_30_25_9374.jpg', '/home/pi/Desktop/images/31012025/16/30/image_31012025_16_30_35_10363.jpg', '/home/pi/Desktop/images/31012025/16/30/image_31012025_16_30_44_9351.jpg', '/home/pi/Desktop/images/31012025/16/30/image_31012025_16_30_55_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/29/image_31012025_16_29_55_9409.jpg
/home/pi/Desktop/images/31012025/16/29/image_31012025_16_30_05_10343.jpg
/home/pi/Desktop/images/31012025/16/30/image_31012025_16_30_25_9374.jpg
/home/pi/Desktop/images/31012025/16/30/image_31012025_16_30_35_10363.jpg
/home/pi/Desktop/images/31012025/16/30/image_31012025_16_30_44_9351.jpg
/home/pi/Desktop/images/31012025/16/30/image_31012025_16_30_55_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":["1333457715","1333457684","1333457726","1333457731","1333457710","1333457722"],"photo_ids_order":["1333457684","1333457710","1333457715","1333457722","1333457726","1333457731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f724f185e40ea45096c5a68744e59bfc.jpg","text":"TemporaryFile(/tmp/multipartBody3852742031938519593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354293352,"filename":"image_31012025_16_30_25_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5d6c54ac449397fce475a28eceaf5613.jpg","text":"TemporaryFile(/tmp/multipartBody4458147609335316216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354293352,"filename":"image_31012025_16_29_55_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3787e51e5fb5152b5c04d93dea6b23bf.jpg","text":"TemporaryFile(/tmp/multipartBody3434444642644628198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354293352,"filename":"image_31012025_16_30_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/1/31/dacedcae820282b5f011abacb706968d.jpg","text":"TemporaryFile(/tmp/multipartBody1897272004513053051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354293352,"filename":"image_31012025_16_30_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/1/31/a599c18ca584f21af7dc1a92358f6a32.jpg","text":"TemporaryFile(/tmp/multipartBody882938499020403829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354293352,"filename":"image_31012025_16_30_05_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8428dda8d91326b9a8f654a5c59eca3f.jpg","text":"TemporaryFile(/tmp/multipartBody6927224398412612673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354293352,"filename":"image_31012025_16_30_35_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333457715","file1":"1333457710","file0":"1333457684","file4":"1333457726","file5":"1333457731","file3":"1333457722"},"map_files_photo_id_array":[{"photo_id":"1333457731","filename":"file5"},{"photo_id":"1333457715","filename":"file2"},{"photo_id":"1333457726","filename":"file4"},{"photo_id":"1333457710","filename":"file1"},{"photo_id":"1333457684","filename":"file0"},{"photo_id":"1333457722","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333457715":["hashtag1","hashtag2"]},{"1333457684":["hashtag1","hashtag2"]},{"1333457726":["hashtag1","hashtag2"]},{"1333457731":["hashtag1","hashtag2"]},{"1333457710":["hashtag1","hashtag2"]},{"1333457722":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333457715, 1333457684, 1333457726, 1333457731, 1333457710, 1333457722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.104467153549194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:11:32.991901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/30/image_31012025_16_31_05_10368.jpg', '/home/pi/Desktop/images/31012025/16/31/image_31012025_16_31_25_10408.jpg', '/home/pi/Desktop/images/31012025/16/31/image_31012025_16_31_35_10340.jpg', '/home/pi/Desktop/images/31012025/16/31/image_31012025_16_31_45_9432.jpg', '/home/pi/Desktop/images/31012025/16/31/image_31012025_16_31_55_10370.jpg', '/home/pi/Desktop/images/31012025/16/31/image_31012025_16_32_04_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/30/image_31012025_16_31_05_10368.jpg
/home/pi/Desktop/images/31012025/16/31/image_31012025_16_31_25_10408.jpg
/home/pi/Desktop/images/31012025/16/31/image_31012025_16_31_35_10340.jpg
/home/pi/Desktop/images/31012025/16/31/image_31012025_16_31_45_9432.jpg
/home/pi/Desktop/images/31012025/16/31/image_31012025_16_31_55_10370.jpg
/home/pi/Desktop/images/31012025/16/31/image_31012025_16_32_04_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":["1333458143","1333458419","1333458079","1333458217","1333458312","1333458513"],"photo_ids_order":["1333458079","1333458143","1333458217","1333458312","1333458419","1333458513"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/97c1f2e5b427e52227420fd684251b66.jpg","text":"TemporaryFile(/tmp/multipartBody2681494315722264961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354353544,"filename":"image_31012025_16_31_25_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0c95fcc2314341d9807c42e77c8aa479.jpg","text":"TemporaryFile(/tmp/multipartBody6219728102444261732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354353544,"filename":"image_31012025_16_31_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/1/31/8203e5420341cd4270e5c284dc038a77.jpg","text":"TemporaryFile(/tmp/multipartBody5033140324594732822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354353544,"filename":"image_31012025_16_31_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/1/31/d9ef12b6eeeadaad43077a4eedcf3755.jpg","text":"TemporaryFile(/tmp/multipartBody3334415046732163741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354353544,"filename":"image_31012025_16_31_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/1/31/3b185552fd3e0436be1be33308964ec4.jpg","text":"TemporaryFile(/tmp/multipartBody2883298734983550715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354353544,"filename":"image_31012025_16_31_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/1/31/274e5b078a8436648a4a8da42dd0ec7e.jpg","text":"TemporaryFile(/tmp/multipartBody3188304514366957685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354353544,"filename":"image_31012025_16_32_04_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333458217","file1":"1333458143","file0":"1333458079","file4":"1333458419","file5":"1333458513","file3":"1333458312"},"map_files_photo_id_array":[{"photo_id":"1333458513","filename":"file5"},{"photo_id":"1333458217","filename":"file2"},{"photo_id":"1333458419","filename":"file4"},{"photo_id":"1333458143","filename":"file1"},{"photo_id":"1333458079","filename":"file0"},{"photo_id":"1333458312","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333458143":["hashtag1","hashtag2"]},{"1333458419":["hashtag1","hashtag2"]},{"1333458079":["hashtag1","hashtag2"]},{"1333458217":["hashtag1","hashtag2"]},{"1333458312":["hashtag1","hashtag2"]},{"1333458513":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333458143, 1333458419, 1333458079, 1333458217, 1333458312, 1333458513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.03911304473877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:12:32.177538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/32/image_31012025_16_32_15_10342.jpg', '/home/pi/Desktop/images/31012025/16/32/image_31012025_16_32_25_10362.jpg', '/home/pi/Desktop/images/31012025/16/32/image_31012025_16_32_35_9342.jpg', '/home/pi/Desktop/images/31012025/16/32/image_31012025_16_32_45_10404.jpg', '/home/pi/Desktop/images/31012025/16/32/image_31012025_16_32_55_10358.jpg', '/home/pi/Desktop/images/31012025/16/32/image_31012025_16_33_05_9473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/32/image_31012025_16_32_15_10342.jpg
/home/pi/Desktop/images/31012025/16/32/image_31012025_16_32_25_10362.jpg
/home/pi/Desktop/images/31012025/16/32/image_31012025_16_32_35_9342.jpg
/home/pi/Desktop/images/31012025/16/32/image_31012025_16_32_45_10404.jpg
/home/pi/Desktop/images/31012025/16/32/image_31012025_16_32_55_10358.jpg
/home/pi/Desktop/images/31012025/16/32/image_31012025_16_33_05_9473.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333460027","1333459486","1333459912","1333459558","1333459691","1333459805"],"photo_ids_order":["1333459486","1333459558","1333459691","1333459805","1333459912","1333460027"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f30581379bdaf6ad325403eda2f74cb6.jpg","text":"TemporaryFile(/tmp/multipartBody213553227182034686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354412749,"filename":"image_31012025_16_33_05_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9445c5a3b1aba39935837b05b61a38b6.jpg","text":"TemporaryFile(/tmp/multipartBody3943346146877520356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354412749,"filename":"image_31012025_16_32_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/1/31/cbc290081ccd3cbfa79e65d29732e304.jpg","text":"TemporaryFile(/tmp/multipartBody3319158596265323999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354412749,"filename":"image_31012025_16_32_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/1/31/5e695d36be5f5a9e2196c48a2e641a7e.jpg","text":"TemporaryFile(/tmp/multipartBody8553909000169878264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354412749,"filename":"image_31012025_16_32_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/1/31/f50c305418966dc573f91879b1d6d9ee.jpg","text":"TemporaryFile(/tmp/multipartBody519617441131185749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354412749,"filename":"image_31012025_16_32_35_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c516bd253412abdf4de925779033dde9.jpg","text":"TemporaryFile(/tmp/multipartBody4664397138080594513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354412749,"filename":"image_31012025_16_32_45_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333459691","file1":"1333459558","file0":"1333459486","file4":"1333459912","file5":"1333460027","file3":"1333459805"},"map_files_photo_id_array":[{"photo_id":"1333460027","filename":"file5"},{"photo_id":"1333459691","filename":"file2"},{"photo_id":"1333459912","filename":"file4"},{"photo_id":"1333459558","filename":"file1"},{"photo_id":"1333459486","filename":"file0"},{"photo_id":"1333459805","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333460027":["hashtag1","hashtag2"]},{"1333459486":["hashtag1","hashtag2"]},{"1333459912":["hashtag1","hashtag2"]},{"1333459558":["hashtag1","hashtag2"]},{"1333459691":["hashtag1","hashtag2"]},{"1333459805":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333460027, 1333459486, 1333459912, 1333459558, 1333459691, 1333459805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95148730278015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:13:32.398631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/33/image_31012025_16_33_15_10354.jpg', '/home/pi/Desktop/images/31012025/16/33/image_31012025_16_33_25_10352.jpg', '/home/pi/Desktop/images/31012025/16/33/image_31012025_16_33_55_9405.jpg', '/home/pi/Desktop/images/31012025/16/33/image_31012025_16_34_05_10351.jpg', '/home/pi/Desktop/images/31012025/16/34/image_31012025_16_34_15_10356.jpg', '/home/pi/Desktop/images/31012025/16/34/image_31012025_16_34_25_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/33/image_31012025_16_33_15_10354.jpg
/home/pi/Desktop/images/31012025/16/33/image_31012025_16_33_25_10352.jpg
/home/pi/Desktop/images/31012025/16/33/image_31012025_16_33_55_9405.jpg
/home/pi/Desktop/images/31012025/16/33/image_31012025_16_34_05_10351.jpg
/home/pi/Desktop/images/31012025/16/34/image_31012025_16_34_15_10356.jpg
/home/pi/Desktop/images/31012025/16/34/image_31012025_16_34_25_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":["1333460303","1333460530","1333460322","1333460316","1333460418","1333460307"],"photo_ids_order":["1333460303","1333460307","1333460316","1333460322","1333460418","1333460530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/db0688e35de0a802807b030113420a4f.jpg","text":"TemporaryFile(/tmp/multipartBody5309152082740511236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354472944,"filename":"image_31012025_16_33_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/1/31/845ea8a1e676e9b08dd79927c7bc6f36.jpg","text":"TemporaryFile(/tmp/multipartBody4598457899615668753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354472944,"filename":"image_31012025_16_34_25_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5639a8741c839f56019466bb770a222d.jpg","text":"TemporaryFile(/tmp/multipartBody2590919047464936663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354472944,"filename":"image_31012025_16_34_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/1/31/d9c25cefc0a10f6a1517b990b646c4f5.jpg","text":"TemporaryFile(/tmp/multipartBody797197650192460539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354472944,"filename":"image_31012025_16_33_55_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4747a63d864023b882ad0077e0dd6490.jpg","text":"TemporaryFile(/tmp/multipartBody8868977555678232794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354472944,"filename":"image_31012025_16_34_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/1/31/dcc7f36d355b82169b7440efa62637aa.jpg","text":"TemporaryFile(/tmp/multipartBody2455058675202769139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354472944,"filename":"image_31012025_16_33_25_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333460316","file1":"1333460307","file0":"1333460303","file4":"1333460418","file5":"1333460530","file3":"1333460322"},"map_files_photo_id_array":[{"photo_id":"1333460530","filename":"file5"},{"photo_id":"1333460316","filename":"file2"},{"photo_id":"1333460418","filename":"file4"},{"photo_id":"1333460307","filename":"file1"},{"photo_id":"1333460303","filename":"file0"},{"photo_id":"1333460322","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333460303":["hashtag1","hashtag2"]},{"1333460530":["hashtag1","hashtag2"]},{"1333460322":["hashtag1","hashtag2"]},{"1333460316":["hashtag1","hashtag2"]},{"1333460418":["hashtag1","hashtag2"]},{"1333460307":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333460303, 1333460530, 1333460322, 1333460316, 1333460418, 1333460307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39610719680786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:14:32.628017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/34/image_31012025_16_34_35_10369.jpg', '/home/pi/Desktop/images/31012025/16/34/image_31012025_16_34_45_9451.jpg', '/home/pi/Desktop/images/31012025/16/34/image_31012025_16_34_55_10422.jpg', '/home/pi/Desktop/images/31012025/16/34/image_31012025_16_35_05_10390.jpg', '/home/pi/Desktop/images/31012025/16/35/image_31012025_16_35_15_9367.jpg', '/home/pi/Desktop/images/31012025/16/35/image_31012025_16_35_25_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/34/image_31012025_16_34_35_10369.jpg
/home/pi/Desktop/images/31012025/16/34/image_31012025_16_34_45_9451.jpg
/home/pi/Desktop/images/31012025/16/34/image_31012025_16_34_55_10422.jpg
/home/pi/Desktop/images/31012025/16/34/image_31012025_16_35_05_10390.jpg
/home/pi/Desktop/images/31012025/16/35/image_31012025_16_35_15_9367.jpg
/home/pi/Desktop/images/31012025/16/35/image_31012025_16_35_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":["1333460849","1333460834","1333460830","1333460824","1333460827","1333460820"],"photo_ids_order":["1333460820","1333460824","1333460827","1333460830","1333460834","1333460849"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ea6f25c8a543712f7c1911f2f2e91806.jpg","text":"TemporaryFile(/tmp/multipartBody3016649856763261473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354533179,"filename":"image_31012025_16_35_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/1/31/9be48bf16cc680d86d1288324fbc3c2f.jpg","text":"TemporaryFile(/tmp/multipartBody3023111807670621305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354533179,"filename":"image_31012025_16_35_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/1/31/bcfe2ad5e894b07afc1f2caff34387c9.jpg","text":"TemporaryFile(/tmp/multipartBody3151720271803924948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354533179,"filename":"image_31012025_16_35_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/1/31/2c7acf5b380ce0f50f6822629db7fa4d.jpg","text":"TemporaryFile(/tmp/multipartBody7108596792818449357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354533179,"filename":"image_31012025_16_34_45_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/06812dadb6aea44c1f775d3add20dca4.jpg","text":"TemporaryFile(/tmp/multipartBody83319575688765775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354533179,"filename":"image_31012025_16_34_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/1/31/18b35a181acb90cc119e091ee2710b99.jpg","text":"TemporaryFile(/tmp/multipartBody1144259030516908532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354533179,"filename":"image_31012025_16_34_35_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333460827","file1":"1333460824","file0":"1333460820","file4":"1333460834","file5":"1333460849","file3":"1333460830"},"map_files_photo_id_array":[{"photo_id":"1333460849","filename":"file5"},{"photo_id":"1333460827","filename":"file2"},{"photo_id":"1333460834","filename":"file4"},{"photo_id":"1333460824","filename":"file1"},{"photo_id":"1333460820","filename":"file0"},{"photo_id":"1333460830","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333460849":["hashtag1","hashtag2"]},{"1333460834":["hashtag1","hashtag2"]},{"1333460830":["hashtag1","hashtag2"]},{"1333460824":["hashtag1","hashtag2"]},{"1333460827":["hashtag1","hashtag2"]},{"1333460820":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333460849, 1333460834, 1333460830, 1333460824, 1333460827, 1333460820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.41082501411438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:15:32.919925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/35/image_31012025_16_35_35_9351.jpg', '/home/pi/Desktop/images/31012025/16/35/image_31012025_16_35_45_10439.jpg', '/home/pi/Desktop/images/31012025/16/35/image_31012025_16_35_55_10343.jpg', '/home/pi/Desktop/images/31012025/16/35/image_31012025_16_36_05_9378.jpg', '/home/pi/Desktop/images/31012025/16/36/image_31012025_16_36_15_10482.jpg', '/home/pi/Desktop/images/31012025/16/36/image_31012025_16_36_25_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/35/image_31012025_16_35_35_9351.jpg
/home/pi/Desktop/images/31012025/16/35/image_31012025_16_35_45_10439.jpg
/home/pi/Desktop/images/31012025/16/35/image_31012025_16_35_55_10343.jpg
/home/pi/Desktop/images/31012025/16/35/image_31012025_16_36_05_9378.jpg
/home/pi/Desktop/images/31012025/16/36/image_31012025_16_36_15_10482.jpg
/home/pi/Desktop/images/31012025/16/36/image_31012025_16_36_25_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":["1333461215","1333461352","1333461355","1333461126","1333461122","1333461394"],"photo_ids_order":["1333461122","1333461126","1333461215","1333461352","1333461355","1333461394"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/190f9ab553d97507430a8e88c912b282.jpg","text":"TemporaryFile(/tmp/multipartBody5589288796666273642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354593466,"filename":"image_31012025_16_35_55_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bcc5df1156990994649e8bf2c83977ab.jpg","text":"TemporaryFile(/tmp/multipartBody6384257304578901371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354593466,"filename":"image_31012025_16_36_05_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/74ac8b4418aaf674568ccc5206cd2f94.jpg","text":"TemporaryFile(/tmp/multipartBody9204081444198010114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354593466,"filename":"image_31012025_16_36_15_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/356ee2504f599d07c7314d5baf109d45.jpg","text":"TemporaryFile(/tmp/multipartBody481402720200252258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354593466,"filename":"image_31012025_16_35_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/1/31/011c081da8a937357b24afe0e762a50c.jpg","text":"TemporaryFile(/tmp/multipartBody4181932192606124983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354593466,"filename":"image_31012025_16_35_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/1/31/1bcc20c6afc5d0e69b6b4656847052dd.jpg","text":"TemporaryFile(/tmp/multipartBody3543299318791501058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354593466,"filename":"image_31012025_16_36_25_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333461215","file1":"1333461126","file0":"1333461122","file4":"1333461355","file5":"1333461394","file3":"1333461352"},"map_files_photo_id_array":[{"photo_id":"1333461394","filename":"file5"},{"photo_id":"1333461215","filename":"file2"},{"photo_id":"1333461355","filename":"file4"},{"photo_id":"1333461126","filename":"file1"},{"photo_id":"1333461122","filename":"file0"},{"photo_id":"1333461352","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333461215":["hashtag1","hashtag2"]},{"1333461352":["hashtag1","hashtag2"]},{"1333461355":["hashtag1","hashtag2"]},{"1333461126":["hashtag1","hashtag2"]},{"1333461122":["hashtag1","hashtag2"]},{"1333461394":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333461215, 1333461352, 1333461355, 1333461126, 1333461122, 1333461394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.84896659851074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:16:33.154035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/36/image_31012025_16_36_35_10347.jpg', '/home/pi/Desktop/images/31012025/16/36/image_31012025_16_36_45_10426.jpg', '/home/pi/Desktop/images/31012025/16/36/image_31012025_16_36_55_9564.jpg', '/home/pi/Desktop/images/31012025/16/37/image_31012025_16_37_15_9463.jpg', '/home/pi/Desktop/images/31012025/16/37/image_31012025_16_37_25_10372.jpg', '/home/pi/Desktop/images/31012025/16/37/image_31012025_16_37_35_9855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/36/image_31012025_16_36_35_10347.jpg
/home/pi/Desktop/images/31012025/16/36/image_31012025_16_36_45_10426.jpg
/home/pi/Desktop/images/31012025/16/36/image_31012025_16_36_55_9564.jpg
/home/pi/Desktop/images/31012025/16/37/image_31012025_16_37_15_9463.jpg
/home/pi/Desktop/images/31012025/16/37/image_31012025_16_37_25_10372.jpg
/home/pi/Desktop/images/31012025/16/37/image_31012025_16_37_35_9855.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333461970","1333462092","1333462241","1333461947","1333462165","1333461997"],"photo_ids_order":["1333461947","1333461970","1333461997","1333462092","1333462165","1333462241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a0174b23ed82dc46e3af84868ffe81fd.jpg","text":"TemporaryFile(/tmp/multipartBody7352539375135221690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354653711,"filename":"image_31012025_16_36_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/1/31/65fed15c8779e3beddc4536629664f5e.jpg","text":"TemporaryFile(/tmp/multipartBody6747468454779052024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354653711,"filename":"image_31012025_16_37_15_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c24273f9bab1345717ee92cb7a12e035.jpg","text":"TemporaryFile(/tmp/multipartBody8606611397892772323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354653711,"filename":"image_31012025_16_37_35_9855.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/07be856c2f2991e8829bf9652ac96864.jpg","text":"TemporaryFile(/tmp/multipartBody8245427983018201283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354653711,"filename":"image_31012025_16_36_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/1/31/f267c92b0db23100bc20f92a2de824e8.jpg","text":"TemporaryFile(/tmp/multipartBody4589184004564956822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354653711,"filename":"image_31012025_16_37_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/1/31/b6641700fb563a7ac9efb7a38f0218ec.jpg","text":"TemporaryFile(/tmp/multipartBody8894251626266325687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354653711,"filename":"image_31012025_16_36_55_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333461997","file1":"1333461970","file0":"1333461947","file4":"1333462165","file5":"1333462241","file3":"1333462092"},"map_files_photo_id_array":[{"photo_id":"1333462241","filename":"file5"},{"photo_id":"1333461997","filename":"file2"},{"photo_id":"1333462165","filename":"file4"},{"photo_id":"1333461970","filename":"file1"},{"photo_id":"1333461947","filename":"file0"},{"photo_id":"1333462092","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333461970":["hashtag1","hashtag2"]},{"1333462092":["hashtag1","hashtag2"]},{"1333462241":["hashtag1","hashtag2"]},{"1333461947":["hashtag1","hashtag2"]},{"1333462165":["hashtag1","hashtag2"]},{"1333461997":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333461970, 1333462092, 1333462241, 1333461947, 1333462165, 1333461997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.122535705566406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:17:32.359552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/37/image_31012025_16_37_45_10444.jpg', '/home/pi/Desktop/images/31012025/16/37/image_31012025_16_37_55_9477.jpg', '/home/pi/Desktop/images/31012025/16/38/image_31012025_16_38_15_9493.jpg', '/home/pi/Desktop/images/31012025/16/39/image_31012025_16_39_55_9345.jpg', '/home/pi/Desktop/images/31012025/16/40/image_31012025_16_40_15_10348.jpg', '/home/pi/Desktop/images/31012025/16/40/image_31012025_16_40_25_9507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/37/image_31012025_16_37_45_10444.jpg
/home/pi/Desktop/images/31012025/16/37/image_31012025_16_37_55_9477.jpg
/home/pi/Desktop/images/31012025/16/38/image_31012025_16_38_15_9493.jpg
/home/pi/Desktop/images/31012025/16/39/image_31012025_16_39_55_9345.jpg
/home/pi/Desktop/images/31012025/16/40/image_31012025_16_40_15_10348.jpg
/home/pi/Desktop/images/31012025/16/40/image_31012025_16_40_25_9507.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333462465","1333462596","1333462572","1333462556","1333462505","1333462570"],"photo_ids_order":["1333462465","1333462505","1333462556","1333462570","1333462572","1333462596"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f58c68b84625c8528b825630c487739a.jpg","text":"TemporaryFile(/tmp/multipartBody1252968855630736405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354712900,"filename":"image_31012025_16_37_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/1/31/16600f1389d80130a84cddb3a6d4b413.jpg","text":"TemporaryFile(/tmp/multipartBody6203892928461771903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354712900,"filename":"image_31012025_16_40_25_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/332b74af59727be31992c7dc036a7371.jpg","text":"TemporaryFile(/tmp/multipartBody4307976520829191675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354712900,"filename":"image_31012025_16_40_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/1/31/6718605aa388453d5012d47528db6423.jpg","text":"TemporaryFile(/tmp/multipartBody6474088674478871995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354712900,"filename":"image_31012025_16_38_15_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2151befa35a5f7228d71e65b6b595d11.jpg","text":"TemporaryFile(/tmp/multipartBody5462440260882096498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354712900,"filename":"image_31012025_16_37_55_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ecbee4a5131d54a78d458db1f6876b87.jpg","text":"TemporaryFile(/tmp/multipartBody8296978775969929626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354712900,"filename":"image_31012025_16_39_55_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333462556","file1":"1333462505","file0":"1333462465","file4":"1333462572","file5":"1333462596","file3":"1333462570"},"map_files_photo_id_array":[{"photo_id":"1333462596","filename":"file5"},{"photo_id":"1333462556","filename":"file2"},{"photo_id":"1333462572","filename":"file4"},{"photo_id":"1333462505","filename":"file1"},{"photo_id":"1333462465","filename":"file0"},{"photo_id":"1333462570","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333462465":["hashtag1","hashtag2"]},{"1333462596":["hashtag1","hashtag2"]},{"1333462572":["hashtag1","hashtag2"]},{"1333462556":["hashtag1","hashtag2"]},{"1333462505":["hashtag1","hashtag2"]},{"1333462570":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333462465, 1333462596, 1333462572, 1333462556, 1333462505, 1333462570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.531885147094727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:18:32.751099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/40/image_31012025_16_40_45_9335.jpg', '/home/pi/Desktop/images/31012025/16/41/image_31012025_16_41_35_9356.jpg', '/home/pi/Desktop/images/31012025/16/41/image_31012025_16_41_45_10440.jpg', '/home/pi/Desktop/images/31012025/16/41/image_31012025_16_41_55_10412.jpg', '/home/pi/Desktop/images/31012025/16/42/image_31012025_16_42_15_10349.jpg', '/home/pi/Desktop/images/31012025/16/42/image_31012025_16_42_25_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/40/image_31012025_16_40_45_9335.jpg
/home/pi/Desktop/images/31012025/16/41/image_31012025_16_41_35_9356.jpg
/home/pi/Desktop/images/31012025/16/41/image_31012025_16_41_45_10440.jpg
/home/pi/Desktop/images/31012025/16/41/image_31012025_16_41_55_10412.jpg
/home/pi/Desktop/images/31012025/16/42/image_31012025_16_42_15_10349.jpg
/home/pi/Desktop/images/31012025/16/42/image_31012025_16_42_25_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":["1333462662","1333462656","1333462659","1333462644","1333462652","1333462648"],"photo_ids_order":["1333462644","1333462648","1333462652","1333462656","1333462659","1333462662"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7bf33c278ab0cead623e2e65671c0246.jpg","text":"TemporaryFile(/tmp/multipartBody288713274582346711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354773300,"filename":"image_31012025_16_42_25_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/77c7cf3d0cbe1c45c44afe1dc53b3d2d.jpg","text":"TemporaryFile(/tmp/multipartBody3905347302084199128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354773300,"filename":"image_31012025_16_41_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/1/31/e0f208ab8367b6dc0b2e1ff7df738c9a.jpg","text":"TemporaryFile(/tmp/multipartBody6910808193076145433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354773300,"filename":"image_31012025_16_42_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/1/31/4b46ab1e46e93b506dbd5eda3c08167c.jpg","text":"TemporaryFile(/tmp/multipartBody8852050073743158293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354773300,"filename":"image_31012025_16_40_45_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d8e6fa6adfaf453e06f029934591f6dd.jpg","text":"TemporaryFile(/tmp/multipartBody7774055416580586176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354773300,"filename":"image_31012025_16_41_45_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/28bad68686da8aef0a1f2516ebc37fc4.jpg","text":"TemporaryFile(/tmp/multipartBody1778486200272553833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354773300,"filename":"image_31012025_16_41_35_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333462652","file1":"1333462648","file0":"1333462644","file4":"1333462659","file5":"1333462662","file3":"1333462656"},"map_files_photo_id_array":[{"photo_id":"1333462662","filename":"file5"},{"photo_id":"1333462652","filename":"file2"},{"photo_id":"1333462659","filename":"file4"},{"photo_id":"1333462648","filename":"file1"},{"photo_id":"1333462644","filename":"file0"},{"photo_id":"1333462656","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333462662":["hashtag1","hashtag2"]},{"1333462656":["hashtag1","hashtag2"]},{"1333462659":["hashtag1","hashtag2"]},{"1333462644":["hashtag1","hashtag2"]},{"1333462652":["hashtag1","hashtag2"]},{"1333462648":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333462662, 1333462656, 1333462659, 1333462644, 1333462652, 1333462648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.510234594345093 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:19:33.006124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/42/image_31012025_16_42_35_10346.jpg', '/home/pi/Desktop/images/31012025/16/42/image_31012025_16_42_45_10353.jpg', '/home/pi/Desktop/images/31012025/16/42/image_31012025_16_43_05_10418.jpg', '/home/pi/Desktop/images/31012025/16/43/image_31012025_16_43_35_10404.jpg', '/home/pi/Desktop/images/31012025/16/43/image_31012025_16_43_45_9432.jpg', '/home/pi/Desktop/images/31012025/16/44/image_31012025_16_44_45_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/42/image_31012025_16_42_35_10346.jpg
/home/pi/Desktop/images/31012025/16/42/image_31012025_16_42_45_10353.jpg
/home/pi/Desktop/images/31012025/16/42/image_31012025_16_43_05_10418.jpg
/home/pi/Desktop/images/31012025/16/43/image_31012025_16_43_35_10404.jpg
/home/pi/Desktop/images/31012025/16/43/image_31012025_16_43_45_9432.jpg
/home/pi/Desktop/images/31012025/16/44/image_31012025_16_44_45_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":["1333462741","1333462698","1333462758","1333462752","1333462746","1333462760"],"photo_ids_order":["1333462698","1333462741","1333462746","1333462752","1333462758","1333462760"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/674713c773ad01441d36827d3e6497c5.jpg","text":"TemporaryFile(/tmp/multipartBody6658496137781344723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354833577,"filename":"image_31012025_16_42_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/1/31/5d536809383f49e3d9cbacb503d243f7.jpg","text":"TemporaryFile(/tmp/multipartBody2510536549310478931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354833577,"filename":"image_31012025_16_42_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/1/31/de411ded804a20783adf158f501826d9.jpg","text":"TemporaryFile(/tmp/multipartBody8706599715170058274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354833577,"filename":"image_31012025_16_43_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/1/31/19bc069ae40280d43bd1be53142e207c.jpg","text":"TemporaryFile(/tmp/multipartBody7471544623801741294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354833577,"filename":"image_31012025_16_43_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/1/31/64d0b7d611056dd9f4cf75ff02cb8d9d.jpg","text":"TemporaryFile(/tmp/multipartBody3358137061751264050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354833577,"filename":"image_31012025_16_43_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/1/31/c84cccd96fca53b37fe36c7ef9a69b6c.jpg","text":"TemporaryFile(/tmp/multipartBody180851117729395432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354833577,"filename":"image_31012025_16_44_45_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333462746","file1":"1333462741","file0":"1333462698","file4":"1333462758","file5":"1333462760","file3":"1333462752"},"map_files_photo_id_array":[{"photo_id":"1333462760","filename":"file5"},{"photo_id":"1333462746","filename":"file2"},{"photo_id":"1333462758","filename":"file4"},{"photo_id":"1333462741","filename":"file1"},{"photo_id":"1333462698","filename":"file0"},{"photo_id":"1333462752","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333462741":["hashtag1","hashtag2"]},{"1333462698":["hashtag1","hashtag2"]},{"1333462758":["hashtag1","hashtag2"]},{"1333462752":["hashtag1","hashtag2"]},{"1333462746":["hashtag1","hashtag2"]},{"1333462760":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333462741, 1333462698, 1333462758, 1333462752, 1333462746, 1333462760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.377100944519043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:20:33.155067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/44/image_31012025_16_44_55_10357.jpg', '/home/pi/Desktop/images/31012025/16/44/image_31012025_16_45_05_9365.jpg', '/home/pi/Desktop/images/31012025/16/45/image_31012025_16_45_15_10463.jpg', '/home/pi/Desktop/images/31012025/16/45/image_31012025_16_45_25_9342.jpg', '/home/pi/Desktop/images/31012025/16/45/image_31012025_16_45_35_10387.jpg', '/home/pi/Desktop/images/31012025/16/45/image_31012025_16_45_45_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/44/image_31012025_16_44_55_10357.jpg
/home/pi/Desktop/images/31012025/16/44/image_31012025_16_45_05_9365.jpg
/home/pi/Desktop/images/31012025/16/45/image_31012025_16_45_15_10463.jpg
/home/pi/Desktop/images/31012025/16/45/image_31012025_16_45_25_9342.jpg
/home/pi/Desktop/images/31012025/16/45/image_31012025_16_45_35_10387.jpg
/home/pi/Desktop/images/31012025/16/45/image_31012025_16_45_45_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":["1333462794","1333462806","1333462809","1333462799","1333462787","1333462802"],"photo_ids_order":["1333462787","1333462794","1333462799","1333462802","1333462806","1333462809"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/10201279cf975f97c068bbae32bc0e04.jpg","text":"TemporaryFile(/tmp/multipartBody4667158932436875860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354893710,"filename":"image_31012025_16_45_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/1/31/677cdc3156eba7486523b36c5193af26.jpg","text":"TemporaryFile(/tmp/multipartBody5503989694056951756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354893710,"filename":"image_31012025_16_45_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/1/31/b26df320842876337fe3bcf4861d7047.jpg","text":"TemporaryFile(/tmp/multipartBody7723778064921852674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354893710,"filename":"image_31012025_16_45_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/1/31/23103fee5b1df0524efe3ea32c1f0f52.jpg","text":"TemporaryFile(/tmp/multipartBody7656976130069687896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354893710,"filename":"image_31012025_16_45_15_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c37a4415857c085ea9bdce66e4ac930f.jpg","text":"TemporaryFile(/tmp/multipartBody1334290636026556240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354893710,"filename":"image_31012025_16_44_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/1/31/223444f4467d976392d3b3e85735f233.jpg","text":"TemporaryFile(/tmp/multipartBody8586734940550291679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354893710,"filename":"image_31012025_16_45_25_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333462799","file1":"1333462794","file0":"1333462787","file4":"1333462806","file5":"1333462809","file3":"1333462802"},"map_files_photo_id_array":[{"photo_id":"1333462809","filename":"file5"},{"photo_id":"1333462799","filename":"file2"},{"photo_id":"1333462806","filename":"file4"},{"photo_id":"1333462794","filename":"file1"},{"photo_id":"1333462787","filename":"file0"},{"photo_id":"1333462802","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333462794":["hashtag1","hashtag2"]},{"1333462806":["hashtag1","hashtag2"]},{"1333462809":["hashtag1","hashtag2"]},{"1333462799":["hashtag1","hashtag2"]},{"1333462787":["hashtag1","hashtag2"]},{"1333462802":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333462794, 1333462806, 1333462809, 1333462799, 1333462787, 1333462802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.088783502578735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:21:32.374221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/45/image_31012025_16_45_55_9438.jpg', '/home/pi/Desktop/images/31012025/16/45/image_31012025_16_46_05_10338.jpg', '/home/pi/Desktop/images/31012025/16/46/image_31012025_16_46_15_10356.jpg', '/home/pi/Desktop/images/31012025/16/46/image_31012025_16_46_25_9421.jpg', '/home/pi/Desktop/images/31012025/16/46/image_31012025_16_46_35_10349.jpg', '/home/pi/Desktop/images/31012025/16/46/image_31012025_16_46_45_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/45/image_31012025_16_45_55_9438.jpg
/home/pi/Desktop/images/31012025/16/45/image_31012025_16_46_05_10338.jpg
/home/pi/Desktop/images/31012025/16/46/image_31012025_16_46_15_10356.jpg
/home/pi/Desktop/images/31012025/16/46/image_31012025_16_46_25_9421.jpg
/home/pi/Desktop/images/31012025/16/46/image_31012025_16_46_35_10349.jpg
/home/pi/Desktop/images/31012025/16/46/image_31012025_16_46_45_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":["1333462855","1333462837","1333462918","1333462842","1333462851","1333462847"],"photo_ids_order":["1333462837","1333462842","1333462847","1333462851","1333462855","1333462918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b6a8d030ca1c3b4474c753d5642129a1.jpg","text":"TemporaryFile(/tmp/multipartBody399683256444940590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354952928,"filename":"image_31012025_16_46_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/1/31/3c1304b558da0b6c3246efb080798e4a.jpg","text":"TemporaryFile(/tmp/multipartBody8089563126615466583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354952928,"filename":"image_31012025_16_45_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/1/31/818633dce58fa4014258148b21457df6.jpg","text":"TemporaryFile(/tmp/multipartBody888650259576123887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354952928,"filename":"image_31012025_16_46_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/1/31/e81986f7a163ca75d549470c1d67d483.jpg","text":"TemporaryFile(/tmp/multipartBody5588113273704183423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354952928,"filename":"image_31012025_16_46_05_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9f36fc694311e527d356fad9b09b351c.jpg","text":"TemporaryFile(/tmp/multipartBody775220782078335788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354952928,"filename":"image_31012025_16_46_25_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/17cd3836a559d2af5964c859dad1a4b4.jpg","text":"TemporaryFile(/tmp/multipartBody7051913935425980453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738354952928,"filename":"image_31012025_16_46_15_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333462847","file1":"1333462842","file0":"1333462837","file4":"1333462855","file5":"1333462918","file3":"1333462851"},"map_files_photo_id_array":[{"photo_id":"1333462918","filename":"file5"},{"photo_id":"1333462847","filename":"file2"},{"photo_id":"1333462855","filename":"file4"},{"photo_id":"1333462842","filename":"file1"},{"photo_id":"1333462837","filename":"file0"},{"photo_id":"1333462851","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333462855":["hashtag1","hashtag2"]},{"1333462837":["hashtag1","hashtag2"]},{"1333462918":["hashtag1","hashtag2"]},{"1333462842":["hashtag1","hashtag2"]},{"1333462851":["hashtag1","hashtag2"]},{"1333462847":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333462855, 1333462837, 1333462918, 1333462842, 1333462851, 1333462847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.246728658676147 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:22:32.596669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/46/image_31012025_16_46_55_10389.jpg', '/home/pi/Desktop/images/31012025/16/46/image_31012025_16_47_05_10359.jpg', '/home/pi/Desktop/images/31012025/16/47/image_31012025_16_47_15_9470.jpg', '/home/pi/Desktop/images/31012025/16/47/image_31012025_16_47_25_10365.jpg', '/home/pi/Desktop/images/31012025/16/47/image_31012025_16_47_35_9356.jpg', '/home/pi/Desktop/images/31012025/16/47/image_31012025_16_47_45_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/46/image_31012025_16_46_55_10389.jpg
/home/pi/Desktop/images/31012025/16/46/image_31012025_16_47_05_10359.jpg
/home/pi/Desktop/images/31012025/16/47/image_31012025_16_47_15_9470.jpg
/home/pi/Desktop/images/31012025/16/47/image_31012025_16_47_25_10365.jpg
/home/pi/Desktop/images/31012025/16/47/image_31012025_16_47_35_9356.jpg
/home/pi/Desktop/images/31012025/16/47/image_31012025_16_47_45_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":["1333463382","1333463307","1333463415","1333463480","1333463374","1333463461"],"photo_ids_order":["1333463307","1333463374","1333463382","1333463415","1333463461","1333463480"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fff45c3da603f69c5115613f46906ece.jpg","text":"TemporaryFile(/tmp/multipartBody2981167974464628156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355013153,"filename":"image_31012025_16_47_15_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2b4e0eac5f785738fff25e86b335945c.jpg","text":"TemporaryFile(/tmp/multipartBody4809466451670544754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355013153,"filename":"image_31012025_16_46_55_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c05bc6b30b60925c3d918a92564e0854.jpg","text":"TemporaryFile(/tmp/multipartBody1151307526739442448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355013153,"filename":"image_31012025_16_47_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/1/31/0042fcbf221dccafcfeaa8e84f164788.jpg","text":"TemporaryFile(/tmp/multipartBody5181030817746807068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355013153,"filename":"image_31012025_16_47_45_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/775f7fa63b758d4587e7cadc6bd84fb4.jpg","text":"TemporaryFile(/tmp/multipartBody1279265799956366348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355013153,"filename":"image_31012025_16_47_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/1/31/b8e98c013bdb5ea568227360a4e7144a.jpg","text":"TemporaryFile(/tmp/multipartBody4540294737979142393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355013153,"filename":"image_31012025_16_47_35_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333463382","file1":"1333463374","file0":"1333463307","file4":"1333463461","file5":"1333463480","file3":"1333463415"},"map_files_photo_id_array":[{"photo_id":"1333463480","filename":"file5"},{"photo_id":"1333463382","filename":"file2"},{"photo_id":"1333463461","filename":"file4"},{"photo_id":"1333463374","filename":"file1"},{"photo_id":"1333463307","filename":"file0"},{"photo_id":"1333463415","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333463382":["hashtag1","hashtag2"]},{"1333463307":["hashtag1","hashtag2"]},{"1333463415":["hashtag1","hashtag2"]},{"1333463480":["hashtag1","hashtag2"]},{"1333463374":["hashtag1","hashtag2"]},{"1333463461":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333463382, 1333463307, 1333463415, 1333463480, 1333463374, 1333463461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.64515781402588 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:23:32.733460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/47/image_31012025_16_47_55_10364.jpg', '/home/pi/Desktop/images/31012025/16/47/image_31012025_16_48_05_9389.jpg', '/home/pi/Desktop/images/31012025/16/48/image_31012025_16_48_15_10367.jpg', '/home/pi/Desktop/images/31012025/16/48/image_31012025_16_48_25_9538.jpg', '/home/pi/Desktop/images/31012025/16/48/image_31012025_16_48_35_10558.jpg', '/home/pi/Desktop/images/31012025/16/48/image_31012025_16_48_45_9568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/47/image_31012025_16_47_55_10364.jpg
/home/pi/Desktop/images/31012025/16/47/image_31012025_16_48_05_9389.jpg
/home/pi/Desktop/images/31012025/16/48/image_31012025_16_48_15_10367.jpg
/home/pi/Desktop/images/31012025/16/48/image_31012025_16_48_25_9538.jpg
/home/pi/Desktop/images/31012025/16/48/image_31012025_16_48_35_10558.jpg
/home/pi/Desktop/images/31012025/16/48/image_31012025_16_48_45_9568.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.4721486568450928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 21:23:42.739349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/47/image_31012025_16_47_55_10364.jpg', '/home/pi/Desktop/images/31012025/16/47/image_31012025_16_48_05_9389.jpg', '/home/pi/Desktop/images/31012025/16/48/image_31012025_16_48_15_10367.jpg', '/home/pi/Desktop/images/31012025/16/48/image_31012025_16_48_25_9538.jpg', '/home/pi/Desktop/images/31012025/16/48/image_31012025_16_48_35_10558.jpg', '/home/pi/Desktop/images/31012025/16/48/image_31012025_16_48_45_9568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/47/image_31012025_16_47_55_10364.jpg
/home/pi/Desktop/images/31012025/16/47/image_31012025_16_48_05_9389.jpg
/home/pi/Desktop/images/31012025/16/48/image_31012025_16_48_15_10367.jpg
/home/pi/Desktop/images/31012025/16/48/image_31012025_16_48_25_9538.jpg
/home/pi/Desktop/images/31012025/16/48/image_31012025_16_48_35_10558.jpg
/home/pi/Desktop/images/31012025/16/48/image_31012025_16_48_45_9568.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":["1333463760","1333463762","1333463755","1333463749","1333463758","1333463752"],"photo_ids_order":["1333463749","1333463752","1333463755","1333463758","1333463760","1333463762"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e2cde221d20f4bc22917c81cbd6f4aa6.jpg","text":"TemporaryFile(/tmp/multipartBody3369714825747835459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355083212,"filename":"image_31012025_16_48_35_10558.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b531122eccff3ef83b39e9362675962f.jpg","text":"TemporaryFile(/tmp/multipartBody8206328285644555978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355083212,"filename":"image_31012025_16_48_45_9568.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2ed39d8281901a43ec5542651c42fb82.jpg","text":"TemporaryFile(/tmp/multipartBody4353907750251195072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355083212,"filename":"image_31012025_16_48_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/1/31/ba22f23517564da07ae604dbcd16670e.jpg","text":"TemporaryFile(/tmp/multipartBody1663051779444521354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355083212,"filename":"image_31012025_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/1/31/b7db7ea18404eb217d7922fb9f3d69d3.jpg","text":"TemporaryFile(/tmp/multipartBody394907609784666731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355083212,"filename":"image_31012025_16_48_25_9538.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/14fe03e63c1ac28d230b20ef21ea9f31.jpg","text":"TemporaryFile(/tmp/multipartBody5688826488693286738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355083212,"filename":"image_31012025_16_48_05_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333463755","file1":"1333463752","file0":"1333463749","file4":"1333463760","file5":"1333463762","file3":"1333463758"},"map_files_photo_id_array":[{"photo_id":"1333463762","filename":"file5"},{"photo_id":"1333463755","filename":"file2"},{"photo_id":"1333463760","filename":"file4"},{"photo_id":"1333463752","filename":"file1"},{"photo_id":"1333463749","filename":"file0"},{"photo_id":"1333463758","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333463760":["hashtag1","hashtag2"]},{"1333463762":["hashtag1","hashtag2"]},{"1333463755":["hashtag1","hashtag2"]},{"1333463749":["hashtag1","hashtag2"]},{"1333463758":["hashtag1","hashtag2"]},{"1333463752":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333463760, 1333463762, 1333463755, 1333463749, 1333463758, 1333463752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42586612701416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:24:33.127152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/48/image_31012025_16_48_55_10344.jpg', '/home/pi/Desktop/images/31012025/16/48/image_31012025_16_49_05_10346.jpg', '/home/pi/Desktop/images/31012025/16/49/image_31012025_16_49_15_9371.jpg', '/home/pi/Desktop/images/31012025/16/49/image_31012025_16_49_25_10372.jpg', '/home/pi/Desktop/images/31012025/16/49/image_31012025_16_49_35_9343.jpg', '/home/pi/Desktop/images/31012025/16/49/image_31012025_16_49_55_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/48/image_31012025_16_48_55_10344.jpg
/home/pi/Desktop/images/31012025/16/48/image_31012025_16_49_05_10346.jpg
/home/pi/Desktop/images/31012025/16/49/image_31012025_16_49_15_9371.jpg
/home/pi/Desktop/images/31012025/16/49/image_31012025_16_49_25_10372.jpg
/home/pi/Desktop/images/31012025/16/49/image_31012025_16_49_35_9343.jpg
/home/pi/Desktop/images/31012025/16/49/image_31012025_16_49_55_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":["1333463795","1333463798","1333463783","1333463792","1333463788","1333463800"],"photo_ids_order":["1333463783","1333463788","1333463792","1333463795","1333463798","1333463800"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/672364c87d06c5d7aab39fea118e9bc1.jpg","text":"TemporaryFile(/tmp/multipartBody1579034058518117799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355133680,"filename":"image_31012025_16_49_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/1/31/6811b1443e2b05859538b7b9656386e6.jpg","text":"TemporaryFile(/tmp/multipartBody645079649321678946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355133680,"filename":"image_31012025_16_49_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/230ed642bf7cf596db3133ce2c0f986c.jpg","text":"TemporaryFile(/tmp/multipartBody5043556868389598734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355133680,"filename":"image_31012025_16_48_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/317f47358981473f58bc667d7f0acd37.jpg","text":"TemporaryFile(/tmp/multipartBody3669103183188108623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355133680,"filename":"image_31012025_16_49_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/1/31/f047432d8101ee7c0588fe0bc04ecf9f.jpg","text":"TemporaryFile(/tmp/multipartBody9095016778691532468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355133680,"filename":"image_31012025_16_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/1/31/e4c8161b5437a82febf8167ffe20f9c8.jpg","text":"TemporaryFile(/tmp/multipartBody1412444907783245282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355133680,"filename":"image_31012025_16_49_55_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333463792","file1":"1333463788","file0":"1333463783","file4":"1333463798","file5":"1333463800","file3":"1333463795"},"map_files_photo_id_array":[{"photo_id":"1333463800","filename":"file5"},{"photo_id":"1333463792","filename":"file2"},{"photo_id":"1333463798","filename":"file4"},{"photo_id":"1333463788","filename":"file1"},{"photo_id":"1333463783","filename":"file0"},{"photo_id":"1333463795","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333463795":["hashtag1","hashtag2"]},{"1333463798":["hashtag1","hashtag2"]},{"1333463783":["hashtag1","hashtag2"]},{"1333463792":["hashtag1","hashtag2"]},{"1333463788":["hashtag1","hashtag2"]},{"1333463800":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333463795, 1333463798, 1333463783, 1333463792, 1333463788, 1333463800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.574225902557373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:25:32.251595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/49/image_31012025_16_50_05_9471.jpg', '/home/pi/Desktop/images/31012025/16/50/image_31012025_16_50_15_10380.jpg', '/home/pi/Desktop/images/31012025/16/50/image_31012025_16_50_25_9415.jpg', '/home/pi/Desktop/images/31012025/16/50/image_31012025_16_50_35_10349.jpg', '/home/pi/Desktop/images/31012025/16/50/image_31012025_16_50_45_10392.jpg', '/home/pi/Desktop/images/31012025/16/50/image_31012025_16_50_55_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/49/image_31012025_16_50_05_9471.jpg
/home/pi/Desktop/images/31012025/16/50/image_31012025_16_50_15_10380.jpg
/home/pi/Desktop/images/31012025/16/50/image_31012025_16_50_25_9415.jpg
/home/pi/Desktop/images/31012025/16/50/image_31012025_16_50_35_10349.jpg
/home/pi/Desktop/images/31012025/16/50/image_31012025_16_50_45_10392.jpg
/home/pi/Desktop/images/31012025/16/50/image_31012025_16_50_55_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":["1333463892","1333463874","1333463826","1333463897","1333463885","1333463902"],"photo_ids_order":["1333463826","1333463874","1333463885","1333463892","1333463897","1333463902"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8b9fe34809ffbb38beda190c70b4e9c1.jpg","text":"TemporaryFile(/tmp/multipartBody9172938752640218180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355192806,"filename":"image_31012025_16_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/1/31/2d798f2b2acd84d73e4ea7a201065ea0.jpg","text":"TemporaryFile(/tmp/multipartBody4992803195667826321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355192806,"filename":"image_31012025_16_50_15_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c85fb7a8f6156610aab91d1007f0aa5a.jpg","text":"TemporaryFile(/tmp/multipartBody2700685938614366423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355192806,"filename":"image_31012025_16_50_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/1/31/cb2550f6ee46e0eb59caaf8d627a27dd.jpg","text":"TemporaryFile(/tmp/multipartBody4717584811676079631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355192806,"filename":"image_31012025_16_50_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/1/31/784fd1c75f0d21992f0e3ab746a3295b.jpg","text":"TemporaryFile(/tmp/multipartBody5096535803317774238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355192806,"filename":"image_31012025_16_50_25_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/78fab8854b267928fe3114d26190279f.jpg","text":"TemporaryFile(/tmp/multipartBody2645859790714493911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355192806,"filename":"image_31012025_16_50_55_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333463885","file1":"1333463874","file0":"1333463826","file4":"1333463897","file5":"1333463902","file3":"1333463892"},"map_files_photo_id_array":[{"photo_id":"1333463902","filename":"file5"},{"photo_id":"1333463885","filename":"file2"},{"photo_id":"1333463897","filename":"file4"},{"photo_id":"1333463874","filename":"file1"},{"photo_id":"1333463826","filename":"file0"},{"photo_id":"1333463892","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333463892":["hashtag1","hashtag2"]},{"1333463874":["hashtag1","hashtag2"]},{"1333463826":["hashtag1","hashtag2"]},{"1333463897":["hashtag1","hashtag2"]},{"1333463885":["hashtag1","hashtag2"]},{"1333463902":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333463892, 1333463874, 1333463826, 1333463897, 1333463885, 1333463902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.97479009628296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:26:32.532073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/51/image_31012025_16_51_25_10428.jpg', '/home/pi/Desktop/images/31012025/16/51/image_31012025_16_51_35_10348.jpg', '/home/pi/Desktop/images/31012025/16/51/image_31012025_16_51_45_9411.jpg', '/home/pi/Desktop/images/31012025/16/51/image_31012025_16_51_55_10431.jpg', '/home/pi/Desktop/images/31012025/16/51/image_31012025_16_52_04_9347.jpg', '/home/pi/Desktop/images/31012025/16/52/image_31012025_16_52_15_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/51/image_31012025_16_51_25_10428.jpg
/home/pi/Desktop/images/31012025/16/51/image_31012025_16_51_35_10348.jpg
/home/pi/Desktop/images/31012025/16/51/image_31012025_16_51_45_9411.jpg
/home/pi/Desktop/images/31012025/16/51/image_31012025_16_51_55_10431.jpg
/home/pi/Desktop/images/31012025/16/51/image_31012025_16_52_04_9347.jpg
/home/pi/Desktop/images/31012025/16/52/image_31012025_16_52_15_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":["1333463973","1333463981","1333463990","1333463984","1333464022","1333463977"],"photo_ids_order":["1333463973","1333463977","1333463981","1333463984","1333463990","1333464022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d0d9efdb81df1b3520712cc32bd8d9b9.jpg","text":"TemporaryFile(/tmp/multipartBody3121406324114474401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355253089,"filename":"image_31012025_16_51_25_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2fbed10f2316d27c0266907e3377cde2.jpg","text":"TemporaryFile(/tmp/multipartBody7023026156030236636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355253089,"filename":"image_31012025_16_51_45_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6c1da081a489f7ccc6bc3d8bd5bc7adf.jpg","text":"TemporaryFile(/tmp/multipartBody482720941173048031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355253089,"filename":"image_31012025_16_52_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/1/31/9802494b0427a7e753b1218ba4ae7d63.jpg","text":"TemporaryFile(/tmp/multipartBody6050285609107040938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355253089,"filename":"image_31012025_16_51_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/1/31/76eaa6cce0db84cf4d5247798d5af47e.jpg","text":"TemporaryFile(/tmp/multipartBody2589257318212248430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355253089,"filename":"image_31012025_16_52_15_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a71f117bb59f944a462b45e76a6eed79.jpg","text":"TemporaryFile(/tmp/multipartBody8332710958718100619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355253089,"filename":"image_31012025_16_51_35_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333463981","file1":"1333463977","file0":"1333463973","file4":"1333463990","file5":"1333464022","file3":"1333463984"},"map_files_photo_id_array":[{"photo_id":"1333464022","filename":"file5"},{"photo_id":"1333463981","filename":"file2"},{"photo_id":"1333463990","filename":"file4"},{"photo_id":"1333463977","filename":"file1"},{"photo_id":"1333463973","filename":"file0"},{"photo_id":"1333463984","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333463973":["hashtag1","hashtag2"]},{"1333463981":["hashtag1","hashtag2"]},{"1333463990":["hashtag1","hashtag2"]},{"1333463984":["hashtag1","hashtag2"]},{"1333464022":["hashtag1","hashtag2"]},{"1333463977":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333463973, 1333463981, 1333463990, 1333463984, 1333464022, 1333463977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.0734179019928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:27:32.805956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/52/image_31012025_16_52_25_10377.jpg', '/home/pi/Desktop/images/31012025/16/52/image_31012025_16_52_35_9432.jpg', '/home/pi/Desktop/images/31012025/16/52/image_31012025_16_52_45_10348.jpg', '/home/pi/Desktop/images/31012025/16/52/image_31012025_16_52_55_10361.jpg', '/home/pi/Desktop/images/31012025/16/52/image_31012025_16_53_05_9390.jpg', '/home/pi/Desktop/images/31012025/16/53/image_31012025_16_53_15_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/52/image_31012025_16_52_25_10377.jpg
/home/pi/Desktop/images/31012025/16/52/image_31012025_16_52_35_9432.jpg
/home/pi/Desktop/images/31012025/16/52/image_31012025_16_52_45_10348.jpg
/home/pi/Desktop/images/31012025/16/52/image_31012025_16_52_55_10361.jpg
/home/pi/Desktop/images/31012025/16/52/image_31012025_16_53_05_9390.jpg
/home/pi/Desktop/images/31012025/16/53/image_31012025_16_53_15_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":["1333464048","1333464089","1333464053","1333464052","1333464075","1333464078"],"photo_ids_order":["1333464048","1333464052","1333464053","1333464075","1333464078","1333464089"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e4e058f1d0136982594b115651084d9f.jpg","text":"TemporaryFile(/tmp/multipartBody1128910574720951609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355313381,"filename":"image_31012025_16_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/1/31/3c226a93109d5d8a4c365c40c990e4ee.jpg","text":"TemporaryFile(/tmp/multipartBody8215659216188797392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355313381,"filename":"image_31012025_16_53_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/1/31/d6162e93ba6f95640a4aa649a8e5e687.jpg","text":"TemporaryFile(/tmp/multipartBody3635668275532721535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355313381,"filename":"image_31012025_16_52_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/1/31/75f1d9c86956fce2f3cb8602af770d7d.jpg","text":"TemporaryFile(/tmp/multipartBody6793360993387295402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355313381,"filename":"image_31012025_16_52_35_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a349f2f16c53d6fcec75a0bdaddeacda.jpg","text":"TemporaryFile(/tmp/multipartBody5658590369997684924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355313381,"filename":"image_31012025_16_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/1/31/6d050abd2fcd96e2a9b349bc46914a09.jpg","text":"TemporaryFile(/tmp/multipartBody4459831787015510889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355313381,"filename":"image_31012025_16_53_05_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333464053","file1":"1333464052","file0":"1333464048","file4":"1333464078","file5":"1333464089","file3":"1333464075"},"map_files_photo_id_array":[{"photo_id":"1333464089","filename":"file5"},{"photo_id":"1333464053","filename":"file2"},{"photo_id":"1333464078","filename":"file4"},{"photo_id":"1333464052","filename":"file1"},{"photo_id":"1333464048","filename":"file0"},{"photo_id":"1333464075","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333464048":["hashtag1","hashtag2"]},{"1333464089":["hashtag1","hashtag2"]},{"1333464053":["hashtag1","hashtag2"]},{"1333464052":["hashtag1","hashtag2"]},{"1333464075":["hashtag1","hashtag2"]},{"1333464078":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333464048, 1333464089, 1333464053, 1333464052, 1333464075, 1333464078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.285529375076294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:28:32.982609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/53/image_31012025_16_53_25_9351.jpg', '/home/pi/Desktop/images/31012025/16/53/image_31012025_16_53_35_10438.jpg', '/home/pi/Desktop/images/31012025/16/53/image_31012025_16_53_45_10404.jpg', '/home/pi/Desktop/images/31012025/16/53/image_31012025_16_53_55_9459.jpg', '/home/pi/Desktop/images/31012025/16/53/image_31012025_16_54_05_10397.jpg', '/home/pi/Desktop/images/31012025/16/54/image_31012025_16_54_15_9466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/53/image_31012025_16_53_25_9351.jpg
/home/pi/Desktop/images/31012025/16/53/image_31012025_16_53_35_10438.jpg
/home/pi/Desktop/images/31012025/16/53/image_31012025_16_53_45_10404.jpg
/home/pi/Desktop/images/31012025/16/53/image_31012025_16_53_55_9459.jpg
/home/pi/Desktop/images/31012025/16/53/image_31012025_16_54_05_10397.jpg
/home/pi/Desktop/images/31012025/16/54/image_31012025_16_54_15_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":["1333464168","1333464128","1333464166","1333464145","1333464121","1333464112"],"photo_ids_order":["1333464112","1333464121","1333464128","1333464145","1333464166","1333464168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5009d3fb3c496f1eda213f8435d909db.jpg","text":"TemporaryFile(/tmp/multipartBody7171280410837121962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355374200,"filename":"image_31012025_16_54_15_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/33ae0ba8c230245fa20cce7967ab8730.jpg","text":"TemporaryFile(/tmp/multipartBody7331607794968462203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355374200,"filename":"image_31012025_16_53_45_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ae5c6dbaf79118d11ed1c34dc52abe71.jpg","text":"TemporaryFile(/tmp/multipartBody6931593987151647135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355374200,"filename":"image_31012025_16_54_05_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/024d25aab6d55755f8366f4a346bf9c3.jpg","text":"TemporaryFile(/tmp/multipartBody8113458349251167246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355374200,"filename":"image_31012025_16_53_55_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d0a8f4d099a69fec69a4f19e4d1f6b89.jpg","text":"TemporaryFile(/tmp/multipartBody3586200077902380300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355374200,"filename":"image_31012025_16_53_35_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/48072822b6517ccb6fe96e69f808293c.jpg","text":"TemporaryFile(/tmp/multipartBody5099887917704804884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355374200,"filename":"image_31012025_16_53_25_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333464128","file1":"1333464121","file0":"1333464112","file4":"1333464166","file5":"1333464168","file3":"1333464145"},"map_files_photo_id_array":[{"photo_id":"1333464168","filename":"file5"},{"photo_id":"1333464128","filename":"file2"},{"photo_id":"1333464166","filename":"file4"},{"photo_id":"1333464121","filename":"file1"},{"photo_id":"1333464112","filename":"file0"},{"photo_id":"1333464145","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333464168":["hashtag1","hashtag2"]},{"1333464128":["hashtag1","hashtag2"]},{"1333464166":["hashtag1","hashtag2"]},{"1333464145":["hashtag1","hashtag2"]},{"1333464121":["hashtag1","hashtag2"]},{"1333464112":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333464168, 1333464128, 1333464166, 1333464145, 1333464121, 1333464112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38056230545044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:29:32.269052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/54/image_31012025_16_54_25_10436.jpg', '/home/pi/Desktop/images/31012025/16/54/image_31012025_16_54_35_9345.jpg', '/home/pi/Desktop/images/31012025/16/54/image_31012025_16_54_45_10378.jpg', '/home/pi/Desktop/images/31012025/16/54/image_31012025_16_54_55_10352.jpg', '/home/pi/Desktop/images/31012025/16/54/image_31012025_16_55_05_9344.jpg', '/home/pi/Desktop/images/31012025/16/55/image_31012025_16_55_15_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/54/image_31012025_16_54_25_10436.jpg
/home/pi/Desktop/images/31012025/16/54/image_31012025_16_54_35_9345.jpg
/home/pi/Desktop/images/31012025/16/54/image_31012025_16_54_45_10378.jpg
/home/pi/Desktop/images/31012025/16/54/image_31012025_16_54_55_10352.jpg
/home/pi/Desktop/images/31012025/16/54/image_31012025_16_55_05_9344.jpg
/home/pi/Desktop/images/31012025/16/55/image_31012025_16_55_15_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":["1333464207","1333464197","1333464201","1333464204","1333464200","1333464193"],"photo_ids_order":["1333464193","1333464197","1333464200","1333464201","1333464204","1333464207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2f47e8a953c0da182ff162ad8785d96e.jpg","text":"TemporaryFile(/tmp/multipartBody2978727399733565894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355432828,"filename":"image_31012025_16_55_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/1/31/021975e675550bcfa3b0e636e0ab11d0.jpg","text":"TemporaryFile(/tmp/multipartBody8344473575319960366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355432828,"filename":"image_31012025_16_54_35_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9765ceca189ac23dd089d17e2c2e438d.jpg","text":"TemporaryFile(/tmp/multipartBody8636677675447510287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355432828,"filename":"image_31012025_16_54_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/1/31/ec9078c5c43550c04c57a4f67477d861.jpg","text":"TemporaryFile(/tmp/multipartBody2406884030753805457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355432828,"filename":"image_31012025_16_55_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/1/31/ff4023d10fa9833c17a8143dbb349f3b.jpg","text":"TemporaryFile(/tmp/multipartBody1833718597449487683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355432828,"filename":"image_31012025_16_54_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/1/31/c2b6ba360d7bf4d252b881149c559d61.jpg","text":"TemporaryFile(/tmp/multipartBody5223792798535880947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355432828,"filename":"image_31012025_16_54_25_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333464200","file1":"1333464197","file0":"1333464193","file4":"1333464204","file5":"1333464207","file3":"1333464201"},"map_files_photo_id_array":[{"photo_id":"1333464207","filename":"file5"},{"photo_id":"1333464200","filename":"file2"},{"photo_id":"1333464204","filename":"file4"},{"photo_id":"1333464197","filename":"file1"},{"photo_id":"1333464193","filename":"file0"},{"photo_id":"1333464201","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333464207":["hashtag1","hashtag2"]},{"1333464197":["hashtag1","hashtag2"]},{"1333464201":["hashtag1","hashtag2"]},{"1333464204":["hashtag1","hashtag2"]},{"1333464200":["hashtag1","hashtag2"]},{"1333464193":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333464207, 1333464197, 1333464201, 1333464204, 1333464200, 1333464193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.10124373435974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:30:32.537447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/55/image_31012025_16_55_25_10367.jpg', '/home/pi/Desktop/images/31012025/16/55/image_31012025_16_55_35_9429.jpg', '/home/pi/Desktop/images/31012025/16/55/image_31012025_16_55_45_10337.jpg', '/home/pi/Desktop/images/31012025/16/55/image_31012025_16_55_54_9340.jpg', '/home/pi/Desktop/images/31012025/16/55/image_31012025_16_56_05_10429.jpg', '/home/pi/Desktop/images/31012025/16/56/image_31012025_16_56_15_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/55/image_31012025_16_55_25_10367.jpg
/home/pi/Desktop/images/31012025/16/55/image_31012025_16_55_35_9429.jpg
/home/pi/Desktop/images/31012025/16/55/image_31012025_16_55_45_10337.jpg
/home/pi/Desktop/images/31012025/16/55/image_31012025_16_55_54_9340.jpg
/home/pi/Desktop/images/31012025/16/55/image_31012025_16_56_05_10429.jpg
/home/pi/Desktop/images/31012025/16/56/image_31012025_16_56_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":["1333464351","1333464300","1333464305","1333464358","1333464355","1333464360"],"photo_ids_order":["1333464300","1333464305","1333464351","1333464355","1333464358","1333464360"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e7da9b62414722a57f42fe9e15b9d522.jpg","text":"TemporaryFile(/tmp/multipartBody1698100494762043005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355493236,"filename":"image_31012025_16_55_45_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c52b1bbea3522be1f05d335e1e6c1174.jpg","text":"TemporaryFile(/tmp/multipartBody7677749003799036302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355493236,"filename":"image_31012025_16_55_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/1/31/02bec37dc5f4f0dafb2af093ec9b428e.jpg","text":"TemporaryFile(/tmp/multipartBody737465876728382169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355493236,"filename":"image_31012025_16_55_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/1/31/a91320cdb622ead58965c3db60452504.jpg","text":"TemporaryFile(/tmp/multipartBody251584123321598740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355493236,"filename":"image_31012025_16_56_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/1/31/3f458c48d01de75bf6c2bab6df70c54a.jpg","text":"TemporaryFile(/tmp/multipartBody3388623709137695916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355493236,"filename":"image_31012025_16_55_54_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/574457e78940c38f15452347283d2a5b.jpg","text":"TemporaryFile(/tmp/multipartBody7005490371250016891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355493236,"filename":"image_31012025_16_56_15_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333464351","file1":"1333464305","file0":"1333464300","file4":"1333464358","file5":"1333464360","file3":"1333464355"},"map_files_photo_id_array":[{"photo_id":"1333464360","filename":"file5"},{"photo_id":"1333464351","filename":"file2"},{"photo_id":"1333464358","filename":"file4"},{"photo_id":"1333464305","filename":"file1"},{"photo_id":"1333464300","filename":"file0"},{"photo_id":"1333464355","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333464351":["hashtag1","hashtag2"]},{"1333464300":["hashtag1","hashtag2"]},{"1333464305":["hashtag1","hashtag2"]},{"1333464358":["hashtag1","hashtag2"]},{"1333464355":["hashtag1","hashtag2"]},{"1333464360":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333464351, 1333464300, 1333464305, 1333464358, 1333464355, 1333464360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37556505203247 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:31:32.925509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/56/image_31012025_16_56_25_9459.jpg', '/home/pi/Desktop/images/31012025/16/56/image_31012025_16_56_35_10331.jpg', '/home/pi/Desktop/images/31012025/16/56/image_31012025_16_56_45_10373.jpg', '/home/pi/Desktop/images/31012025/16/56/image_31012025_16_56_55_9414.jpg', '/home/pi/Desktop/images/31012025/16/56/image_31012025_16_57_05_10416.jpg', '/home/pi/Desktop/images/31012025/16/57/image_31012025_16_57_15_9528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/56/image_31012025_16_56_25_9459.jpg
/home/pi/Desktop/images/31012025/16/56/image_31012025_16_56_35_10331.jpg
/home/pi/Desktop/images/31012025/16/56/image_31012025_16_56_45_10373.jpg
/home/pi/Desktop/images/31012025/16/56/image_31012025_16_56_55_9414.jpg
/home/pi/Desktop/images/31012025/16/56/image_31012025_16_57_05_10416.jpg
/home/pi/Desktop/images/31012025/16/57/image_31012025_16_57_15_9528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333464723","1333464719","1333464443","1333464699","1333464585","1333464774"],"photo_ids_order":["1333464443","1333464585","1333464699","1333464719","1333464723","1333464774"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1ac3a15aeed6a1bf85b5fc2b23f29857.jpg","text":"TemporaryFile(/tmp/multipartBody361371362178578814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355553479,"filename":"image_31012025_16_57_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/1/31/c13000117e161d9a44749e60c6ec9c1c.jpg","text":"TemporaryFile(/tmp/multipartBody5537992218183115057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355553479,"filename":"image_31012025_16_56_55_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3837ee0375b5b59c153dfce4e8cbba05.jpg","text":"TemporaryFile(/tmp/multipartBody3116720336930622628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355553479,"filename":"image_31012025_16_56_25_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/93d5700e9e86d575dcb976c07667ed9d.jpg","text":"TemporaryFile(/tmp/multipartBody7409254520926491473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355553479,"filename":"image_31012025_16_56_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/1/31/2808a2e382a541c2c8b03eb1e41d9b21.jpg","text":"TemporaryFile(/tmp/multipartBody3983081975304411023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355553479,"filename":"image_31012025_16_56_35_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/64c2798b27aaf441bfbdff6fd104086b.jpg","text":"TemporaryFile(/tmp/multipartBody4839302759075207705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355553479,"filename":"image_31012025_16_57_15_9528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333464699","file1":"1333464585","file0":"1333464443","file4":"1333464723","file5":"1333464774","file3":"1333464719"},"map_files_photo_id_array":[{"photo_id":"1333464774","filename":"file5"},{"photo_id":"1333464699","filename":"file2"},{"photo_id":"1333464723","filename":"file4"},{"photo_id":"1333464585","filename":"file1"},{"photo_id":"1333464443","filename":"file0"},{"photo_id":"1333464719","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333464723":["hashtag1","hashtag2"]},{"1333464719":["hashtag1","hashtag2"]},{"1333464443":["hashtag1","hashtag2"]},{"1333464699":["hashtag1","hashtag2"]},{"1333464585":["hashtag1","hashtag2"]},{"1333464774":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333464723, 1333464719, 1333464443, 1333464699, 1333464585, 1333464774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.908291339874268 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:32:33.094500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/57/image_31012025_16_57_25_10346.jpg', '/home/pi/Desktop/images/31012025/16/57/image_31012025_16_57_35_9409.jpg', '/home/pi/Desktop/images/31012025/16/57/image_31012025_16_57_55_10369.jpg', '/home/pi/Desktop/images/31012025/16/57/image_31012025_16_58_05_9471.jpg', '/home/pi/Desktop/images/31012025/16/58/image_31012025_16_58_15_10377.jpg', '/home/pi/Desktop/images/31012025/16/58/image_31012025_16_58_25_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/57/image_31012025_16_57_25_10346.jpg
/home/pi/Desktop/images/31012025/16/57/image_31012025_16_57_35_9409.jpg
/home/pi/Desktop/images/31012025/16/57/image_31012025_16_57_55_10369.jpg
/home/pi/Desktop/images/31012025/16/57/image_31012025_16_58_05_9471.jpg
/home/pi/Desktop/images/31012025/16/58/image_31012025_16_58_15_10377.jpg
/home/pi/Desktop/images/31012025/16/58/image_31012025_16_58_25_9342.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.5155205726623535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 21:32:43.047447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/57/image_31012025_16_57_25_10346.jpg', '/home/pi/Desktop/images/31012025/16/57/image_31012025_16_57_35_9409.jpg', '/home/pi/Desktop/images/31012025/16/57/image_31012025_16_57_55_10369.jpg', '/home/pi/Desktop/images/31012025/16/57/image_31012025_16_58_05_9471.jpg', '/home/pi/Desktop/images/31012025/16/58/image_31012025_16_58_15_10377.jpg', '/home/pi/Desktop/images/31012025/16/58/image_31012025_16_58_25_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/57/image_31012025_16_57_25_10346.jpg
/home/pi/Desktop/images/31012025/16/57/image_31012025_16_57_35_9409.jpg
/home/pi/Desktop/images/31012025/16/57/image_31012025_16_57_55_10369.jpg
/home/pi/Desktop/images/31012025/16/57/image_31012025_16_58_05_9471.jpg
/home/pi/Desktop/images/31012025/16/58/image_31012025_16_58_15_10377.jpg
/home/pi/Desktop/images/31012025/16/58/image_31012025_16_58_25_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":["1333465916","1333465918","1333465867","1333465872","1333465911","1333465914"],"photo_ids_order":["1333465867","1333465872","1333465911","1333465914","1333465916","1333465918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ab6b03e612370f645ce4ff122d57046a.jpg","text":"TemporaryFile(/tmp/multipartBody5303315492198569382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355623568,"filename":"image_31012025_16_58_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/1/31/fd78c757e8c686aa5f9100f5da0f1468.jpg","text":"TemporaryFile(/tmp/multipartBody2495294383980356766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355623568,"filename":"image_31012025_16_58_25_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/eb99ac66a75b99d6cc69cf04b5b69a19.jpg","text":"TemporaryFile(/tmp/multipartBody6385253152495875056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355623568,"filename":"image_31012025_16_57_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/1/31/8216edc4a6a2290e047bba67c9104220.jpg","text":"TemporaryFile(/tmp/multipartBody8421603108839482549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355623568,"filename":"image_31012025_16_57_35_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1a045ca437bbb6eaa4cbec69f79534e9.jpg","text":"TemporaryFile(/tmp/multipartBody7207312074182013452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355623568,"filename":"image_31012025_16_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/1/31/ca2412514c66b474388aba4f6ba29ec4.jpg","text":"TemporaryFile(/tmp/multipartBody7385340564060345303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355623568,"filename":"image_31012025_16_58_05_9471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333465911","file1":"1333465872","file0":"1333465867","file4":"1333465916","file5":"1333465918","file3":"1333465914"},"map_files_photo_id_array":[{"photo_id":"1333465918","filename":"file5"},{"photo_id":"1333465911","filename":"file2"},{"photo_id":"1333465916","filename":"file4"},{"photo_id":"1333465872","filename":"file1"},{"photo_id":"1333465867","filename":"file0"},{"photo_id":"1333465914","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333465916":["hashtag1","hashtag2"]},{"1333465918":["hashtag1","hashtag2"]},{"1333465867":["hashtag1","hashtag2"]},{"1333465872":["hashtag1","hashtag2"]},{"1333465911":["hashtag1","hashtag2"]},{"1333465914":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333465916, 1333465918, 1333465867, 1333465872, 1333465911, 1333465914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.71801710128784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:33:32.196022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/58/image_31012025_16_58_35_10370.jpg', '/home/pi/Desktop/images/31012025/16/58/image_31012025_16_58_45_10362.jpg', '/home/pi/Desktop/images/31012025/16/58/image_31012025_16_58_55_9441.jpg', '/home/pi/Desktop/images/31012025/16/58/image_31012025_16_59_05_10373.jpg', '/home/pi/Desktop/images/31012025/16/59/image_31012025_16_59_15_10366.jpg', '/home/pi/Desktop/images/31012025/16/59/image_31012025_16_59_25_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/58/image_31012025_16_58_35_10370.jpg
/home/pi/Desktop/images/31012025/16/58/image_31012025_16_58_45_10362.jpg
/home/pi/Desktop/images/31012025/16/58/image_31012025_16_58_55_9441.jpg
/home/pi/Desktop/images/31012025/16/58/image_31012025_16_59_05_10373.jpg
/home/pi/Desktop/images/31012025/16/59/image_31012025_16_59_15_10366.jpg
/home/pi/Desktop/images/31012025/16/59/image_31012025_16_59_25_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":["1333465958","1333465952","1333465949","1333465954","1333465951","1333465944"],"photo_ids_order":["1333465944","1333465949","1333465951","1333465952","1333465954","1333465958"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cd8c06cc35aa6971b788318a39195865.jpg","text":"TemporaryFile(/tmp/multipartBody887485205517711089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355672782,"filename":"image_31012025_16_59_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/1/31/de17e6a4ee8ace8a4f0b9d49e51b1c65.jpg","text":"TemporaryFile(/tmp/multipartBody3115748583286097905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355672782,"filename":"image_31012025_16_59_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/1/31/73079c2cd1f223b8c6d60c75f24a83ae.jpg","text":"TemporaryFile(/tmp/multipartBody7227538762830410079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355672782,"filename":"image_31012025_16_58_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/1/31/d980cd8eb05a54266f5a445ec16df78c.jpg","text":"TemporaryFile(/tmp/multipartBody2741582463911704616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355672782,"filename":"image_31012025_16_59_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/1/31/48098526d284739e606af1d1e50560e4.jpg","text":"TemporaryFile(/tmp/multipartBody4101646855180435855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355672782,"filename":"image_31012025_16_58_55_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/88951ba12e7e7e5529899c3b8c4b7ff1.jpg","text":"TemporaryFile(/tmp/multipartBody6899184496585193117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355672782,"filename":"image_31012025_16_58_35_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333465951","file1":"1333465949","file0":"1333465944","file4":"1333465954","file5":"1333465958","file3":"1333465952"},"map_files_photo_id_array":[{"photo_id":"1333465958","filename":"file5"},{"photo_id":"1333465951","filename":"file2"},{"photo_id":"1333465954","filename":"file4"},{"photo_id":"1333465949","filename":"file1"},{"photo_id":"1333465944","filename":"file0"},{"photo_id":"1333465952","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333465958":["hashtag1","hashtag2"]},{"1333465952":["hashtag1","hashtag2"]},{"1333465949":["hashtag1","hashtag2"]},{"1333465954":["hashtag1","hashtag2"]},{"1333465951":["hashtag1","hashtag2"]},{"1333465944":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333465958, 1333465952, 1333465949, 1333465954, 1333465951, 1333465944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.218810081481934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:34:32.537759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/16/59/image_31012025_16_59_45_9349.jpg', '/home/pi/Desktop/images/31012025/16/59/image_31012025_16_59_55_10356.jpg', '/home/pi/Desktop/images/31012025/17/01/image_31012025_17_01_14_10084.jpg', '/home/pi/Desktop/images/31012025/17/01/image_31012025_17_01_25_10461.jpg', '/home/pi/Desktop/images/31012025/17/01/image_31012025_17_01_35_10365.jpg', '/home/pi/Desktop/images/31012025/17/01/image_31012025_17_01_45_9458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/16/59/image_31012025_16_59_45_9349.jpg
/home/pi/Desktop/images/31012025/16/59/image_31012025_16_59_55_10356.jpg
/home/pi/Desktop/images/31012025/17/01/image_31012025_17_01_14_10084.jpg
/home/pi/Desktop/images/31012025/17/01/image_31012025_17_01_25_10461.jpg
/home/pi/Desktop/images/31012025/17/01/image_31012025_17_01_35_10365.jpg
/home/pi/Desktop/images/31012025/17/01/image_31012025_17_01_45_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":["1333466560","1333466513","1333466553","1333466556","1333466457","1333466534"],"photo_ids_order":["1333466457","1333466513","1333466534","1333466553","1333466556","1333466560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/79fa38e3f7371befdf79b0e4bd342772.jpg","text":"TemporaryFile(/tmp/multipartBody3370465713734150034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355733113,"filename":"image_31012025_17_01_45_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5baeda03ceafb5f221b05dfffe840fd0.jpg","text":"TemporaryFile(/tmp/multipartBody4521727481389599049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355733113,"filename":"image_31012025_16_59_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/1/31/1b5de74ce491da7bfda137ba7607f2b6.jpg","text":"TemporaryFile(/tmp/multipartBody6248536048971041420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355733113,"filename":"image_31012025_17_01_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/1/31/9f6035397f9d0117c7d6b37c96f88b82.jpg","text":"TemporaryFile(/tmp/multipartBody2845410483887198825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355733113,"filename":"image_31012025_17_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/1/31/ebdc87d54961e1c67232350db70241bc.jpg","text":"TemporaryFile(/tmp/multipartBody2694691580375176310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355733113,"filename":"image_31012025_16_59_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/1/31/6128c6c1c1962b9edff05807fa71f155.jpg","text":"TemporaryFile(/tmp/multipartBody7144164545419795212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355733113,"filename":"image_31012025_17_01_14_10084.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333466534","file1":"1333466513","file0":"1333466457","file4":"1333466556","file5":"1333466560","file3":"1333466553"},"map_files_photo_id_array":[{"photo_id":"1333466560","filename":"file5"},{"photo_id":"1333466534","filename":"file2"},{"photo_id":"1333466556","filename":"file4"},{"photo_id":"1333466513","filename":"file1"},{"photo_id":"1333466457","filename":"file0"},{"photo_id":"1333466553","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333466560":["hashtag1","hashtag2"]},{"1333466513":["hashtag1","hashtag2"]},{"1333466553":["hashtag1","hashtag2"]},{"1333466556":["hashtag1","hashtag2"]},{"1333466457":["hashtag1","hashtag2"]},{"1333466534":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333466560, 1333466513, 1333466553, 1333466556, 1333466457, 1333466534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.045340061187744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:35:32.760221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/01/image_31012025_17_01_55_10369.jpg', '/home/pi/Desktop/images/31012025/17/01/image_31012025_17_02_04_9354.jpg', '/home/pi/Desktop/images/31012025/17/02/image_31012025_17_02_15_10454.jpg', '/home/pi/Desktop/images/31012025/17/02/image_31012025_17_02_25_10349.jpg', '/home/pi/Desktop/images/31012025/17/02/image_31012025_17_02_35_9388.jpg', '/home/pi/Desktop/images/31012025/17/02/image_31012025_17_02_45_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/01/image_31012025_17_01_55_10369.jpg
/home/pi/Desktop/images/31012025/17/01/image_31012025_17_02_04_9354.jpg
/home/pi/Desktop/images/31012025/17/02/image_31012025_17_02_15_10454.jpg
/home/pi/Desktop/images/31012025/17/02/image_31012025_17_02_25_10349.jpg
/home/pi/Desktop/images/31012025/17/02/image_31012025_17_02_35_9388.jpg
/home/pi/Desktop/images/31012025/17/02/image_31012025_17_02_45_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":["1333466785","1333466779","1333466770","1333466812","1333466806","1333466790"],"photo_ids_order":["1333466770","1333466779","1333466785","1333466790","1333466806","1333466812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/efc7f16b0fc8b7a77f8efa902da28394.jpg","text":"TemporaryFile(/tmp/multipartBody2676583692616371502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355793320,"filename":"image_31012025_17_02_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/1/31/4ca6d72c6b20227f575f2706f5644eaf.jpg","text":"TemporaryFile(/tmp/multipartBody766650005121111822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355793320,"filename":"image_31012025_17_02_04_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/64dfed3cfc2ab831b99e0f08320d0f26.jpg","text":"TemporaryFile(/tmp/multipartBody2300083690604785769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355793320,"filename":"image_31012025_17_01_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/1/31/7cee5d2aa575a20e8523d29f59e3f9b3.jpg","text":"TemporaryFile(/tmp/multipartBody8317656184194514357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355793320,"filename":"image_31012025_17_02_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/1/31/9c2d86cd1971caca02fc6ad5fe78eb53.jpg","text":"TemporaryFile(/tmp/multipartBody1773107074178929762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355793320,"filename":"image_31012025_17_02_35_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a8535b40617794fb44b45ad7cd8ea312.jpg","text":"TemporaryFile(/tmp/multipartBody6225020694199590755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355793320,"filename":"image_31012025_17_02_25_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333466785","file1":"1333466779","file0":"1333466770","file4":"1333466806","file5":"1333466812","file3":"1333466790"},"map_files_photo_id_array":[{"photo_id":"1333466812","filename":"file5"},{"photo_id":"1333466785","filename":"file2"},{"photo_id":"1333466806","filename":"file4"},{"photo_id":"1333466779","filename":"file1"},{"photo_id":"1333466770","filename":"file0"},{"photo_id":"1333466790","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333466785":["hashtag1","hashtag2"]},{"1333466779":["hashtag1","hashtag2"]},{"1333466770":["hashtag1","hashtag2"]},{"1333466812":["hashtag1","hashtag2"]},{"1333466806":["hashtag1","hashtag2"]},{"1333466790":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333466785, 1333466779, 1333466770, 1333466812, 1333466806, 1333466790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.34049367904663 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:36:32.933642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/02/image_31012025_17_03_05_10358.jpg', '/home/pi/Desktop/images/31012025/17/03/image_31012025_17_03_15_10360.jpg', '/home/pi/Desktop/images/31012025/17/03/image_31012025_17_03_24_9359.jpg', '/home/pi/Desktop/images/31012025/17/03/image_31012025_17_03_35_10342.jpg', '/home/pi/Desktop/images/31012025/17/03/image_31012025_17_03_45_10359.jpg', '/home/pi/Desktop/images/31012025/17/03/image_31012025_17_03_55_9480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/02/image_31012025_17_03_05_10358.jpg
/home/pi/Desktop/images/31012025/17/03/image_31012025_17_03_15_10360.jpg
/home/pi/Desktop/images/31012025/17/03/image_31012025_17_03_24_9359.jpg
/home/pi/Desktop/images/31012025/17/03/image_31012025_17_03_35_10342.jpg
/home/pi/Desktop/images/31012025/17/03/image_31012025_17_03_45_10359.jpg
/home/pi/Desktop/images/31012025/17/03/image_31012025_17_03_55_9480.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.49335741996765137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 21:36:42.898264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/02/image_31012025_17_03_05_10358.jpg', '/home/pi/Desktop/images/31012025/17/03/image_31012025_17_03_15_10360.jpg', '/home/pi/Desktop/images/31012025/17/03/image_31012025_17_03_24_9359.jpg', '/home/pi/Desktop/images/31012025/17/03/image_31012025_17_03_35_10342.jpg', '/home/pi/Desktop/images/31012025/17/03/image_31012025_17_03_45_10359.jpg', '/home/pi/Desktop/images/31012025/17/03/image_31012025_17_03_55_9480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/02/image_31012025_17_03_05_10358.jpg
/home/pi/Desktop/images/31012025/17/03/image_31012025_17_03_15_10360.jpg
/home/pi/Desktop/images/31012025/17/03/image_31012025_17_03_24_9359.jpg
/home/pi/Desktop/images/31012025/17/03/image_31012025_17_03_35_10342.jpg
/home/pi/Desktop/images/31012025/17/03/image_31012025_17_03_45_10359.jpg
/home/pi/Desktop/images/31012025/17/03/image_31012025_17_03_55_9480.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":["1333466896","1333466890","1333466893","1333466902","1333466914","1333466882"],"photo_ids_order":["1333466882","1333466890","1333466893","1333466896","1333466902","1333466914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4bcc487b46ad0468ebbe2bc3762fd7a1.jpg","text":"TemporaryFile(/tmp/multipartBody7913666601053242579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355863517,"filename":"image_31012025_17_03_35_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b99ec87a3c858919d42fd24fbe87ea87.jpg","text":"TemporaryFile(/tmp/multipartBody6318545717729727634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355863517,"filename":"image_31012025_17_03_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/1/31/0fc45aac1e61b1b926773c9a32bb4999.jpg","text":"TemporaryFile(/tmp/multipartBody2967398777576036791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355863517,"filename":"image_31012025_17_03_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/1/31/40d61d741c2b8f666fb4c8301d577d41.jpg","text":"TemporaryFile(/tmp/multipartBody8274898928996941076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355863517,"filename":"image_31012025_17_03_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/1/31/8e7a2206616fbbf78d6ea95e09bd35ae.jpg","text":"TemporaryFile(/tmp/multipartBody4731454693405355942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355863517,"filename":"image_31012025_17_03_55_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ff62bd99cd6ce855e359826bfc68ee1a.jpg","text":"TemporaryFile(/tmp/multipartBody2466653676344296428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355863517,"filename":"image_31012025_17_03_05_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333466893","file1":"1333466890","file0":"1333466882","file4":"1333466902","file5":"1333466914","file3":"1333466896"},"map_files_photo_id_array":[{"photo_id":"1333466914","filename":"file5"},{"photo_id":"1333466893","filename":"file2"},{"photo_id":"1333466902","filename":"file4"},{"photo_id":"1333466890","filename":"file1"},{"photo_id":"1333466882","filename":"file0"},{"photo_id":"1333466896","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333466896":["hashtag1","hashtag2"]},{"1333466890":["hashtag1","hashtag2"]},{"1333466893":["hashtag1","hashtag2"]},{"1333466902":["hashtag1","hashtag2"]},{"1333466914":["hashtag1","hashtag2"]},{"1333466882":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333466896, 1333466890, 1333466893, 1333466902, 1333466914, 1333466882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.799161911010742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:37:33.248940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/03/image_31012025_17_04_05_10361.jpg', '/home/pi/Desktop/images/31012025/17/04/image_31012025_17_04_15_10364.jpg', '/home/pi/Desktop/images/31012025/17/04/image_31012025_17_04_25_9412.jpg', '/home/pi/Desktop/images/31012025/17/04/image_31012025_17_04_55_10427.jpg', '/home/pi/Desktop/images/31012025/17/05/image_31012025_17_05_15_10398.jpg', '/home/pi/Desktop/images/31012025/17/05/image_31012025_17_05_25_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/03/image_31012025_17_04_05_10361.jpg
/home/pi/Desktop/images/31012025/17/04/image_31012025_17_04_15_10364.jpg
/home/pi/Desktop/images/31012025/17/04/image_31012025_17_04_25_9412.jpg
/home/pi/Desktop/images/31012025/17/04/image_31012025_17_04_55_10427.jpg
/home/pi/Desktop/images/31012025/17/05/image_31012025_17_05_15_10398.jpg
/home/pi/Desktop/images/31012025/17/05/image_31012025_17_05_25_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":["1333466959","1333467033","1333467012","1333466964","1333466967","1333467018"],"photo_ids_order":["1333466959","1333466964","1333466967","1333467012","1333467018","1333467033"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a1a73fdfd6044da5e87739497659f366.jpg","text":"TemporaryFile(/tmp/multipartBody5238742549359629522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355913810,"filename":"image_31012025_17_04_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/1/31/ff30a1a42ab9163efb423e15decf3db8.jpg","text":"TemporaryFile(/tmp/multipartBody1147877232409056711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355913810,"filename":"image_31012025_17_05_25_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2359ee4ab18bacc551af9e0723b90d78.jpg","text":"TemporaryFile(/tmp/multipartBody2449582298424516896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355913810,"filename":"image_31012025_17_04_55_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1f208b2046403d24245a723220695854.jpg","text":"TemporaryFile(/tmp/multipartBody5432014473689877629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355913810,"filename":"image_31012025_17_04_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/1/31/11c804662b93d1749ccbdedb2540c717.jpg","text":"TemporaryFile(/tmp/multipartBody1297468924219030964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355913810,"filename":"image_31012025_17_04_25_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1f210ebd631cdc669d90cd43225c5b97.jpg","text":"TemporaryFile(/tmp/multipartBody8036573761536432249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355913810,"filename":"image_31012025_17_05_15_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333466967","file1":"1333466964","file0":"1333466959","file4":"1333467018","file5":"1333467033","file3":"1333467012"},"map_files_photo_id_array":[{"photo_id":"1333467033","filename":"file5"},{"photo_id":"1333466967","filename":"file2"},{"photo_id":"1333467018","filename":"file4"},{"photo_id":"1333466964","filename":"file1"},{"photo_id":"1333466959","filename":"file0"},{"photo_id":"1333467012","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333466959":["hashtag1","hashtag2"]},{"1333467033":["hashtag1","hashtag2"]},{"1333467012":["hashtag1","hashtag2"]},{"1333466964":["hashtag1","hashtag2"]},{"1333466967":["hashtag1","hashtag2"]},{"1333467018":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333466959, 1333467033, 1333467012, 1333466964, 1333466967, 1333467018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.660924911499023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:38:32.318492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/05/image_31012025_17_05_35_9490.jpg', '/home/pi/Desktop/images/31012025/17/05/image_31012025_17_05_45_10376.jpg', '/home/pi/Desktop/images/31012025/17/05/image_31012025_17_06_05_10371.jpg', '/home/pi/Desktop/images/31012025/17/06/image_31012025_17_06_15_10366.jpg', '/home/pi/Desktop/images/31012025/17/06/image_31012025_17_06_25_9351.jpg', '/home/pi/Desktop/images/31012025/17/06/image_31012025_17_06_45_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/05/image_31012025_17_05_35_9490.jpg
/home/pi/Desktop/images/31012025/17/05/image_31012025_17_05_45_10376.jpg
/home/pi/Desktop/images/31012025/17/05/image_31012025_17_06_05_10371.jpg
/home/pi/Desktop/images/31012025/17/06/image_31012025_17_06_15_10366.jpg
/home/pi/Desktop/images/31012025/17/06/image_31012025_17_06_25_9351.jpg
/home/pi/Desktop/images/31012025/17/06/image_31012025_17_06_45_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":["1333467079","1333467100","1333467084","1333467104","1333467094","1333467107"],"photo_ids_order":["1333467079","1333467084","1333467094","1333467100","1333467104","1333467107"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b16abf5c4dbd89e9839d0d47f3b4902e.jpg","text":"TemporaryFile(/tmp/multipartBody4857034638538602017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355972816,"filename":"image_31012025_17_05_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/1/31/583501bd5b73671f346d220c565fe20d.jpg","text":"TemporaryFile(/tmp/multipartBody4993298125839777345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355972816,"filename":"image_31012025_17_06_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/1/31/c3421b26d4b8abf6769c3056727d5c50.jpg","text":"TemporaryFile(/tmp/multipartBody649350579399191055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355972816,"filename":"image_31012025_17_05_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/1/31/4647f5ca4c11c5b0ca9337bd11e2d8ae.jpg","text":"TemporaryFile(/tmp/multipartBody2262251708515569239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355972816,"filename":"image_31012025_17_06_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/1/31/ef00c2238836bf8f1c888ab57f604f9d.jpg","text":"TemporaryFile(/tmp/multipartBody8893918692331077782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355972816,"filename":"image_31012025_17_06_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/1/31/146b1b22688678f10495c456e6d1878d.jpg","text":"TemporaryFile(/tmp/multipartBody7775594284606755078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738355972816,"filename":"image_31012025_17_06_45_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333467094","file1":"1333467084","file0":"1333467079","file4":"1333467104","file5":"1333467107","file3":"1333467100"},"map_files_photo_id_array":[{"photo_id":"1333467107","filename":"file5"},{"photo_id":"1333467094","filename":"file2"},{"photo_id":"1333467104","filename":"file4"},{"photo_id":"1333467084","filename":"file1"},{"photo_id":"1333467079","filename":"file0"},{"photo_id":"1333467100","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333467079":["hashtag1","hashtag2"]},{"1333467100":["hashtag1","hashtag2"]},{"1333467084":["hashtag1","hashtag2"]},{"1333467104":["hashtag1","hashtag2"]},{"1333467094":["hashtag1","hashtag2"]},{"1333467107":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333467079, 1333467100, 1333467084, 1333467104, 1333467094, 1333467107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.225292921066284 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-01-31 21:39:32.522953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/06/image_31012025_17_06_55_9341.jpg', '/home/pi/Desktop/images/31012025/17/07/image_31012025_17_07_14_9363.jpg', '/home/pi/Desktop/images/31012025/17/07/image_31012025_17_07_35_10332.jpg', '/home/pi/Desktop/images/31012025/17/07/image_31012025_17_07_45_9368.jpg', '/home/pi/Desktop/images/31012025/17/07/image_31012025_17_07_55_10399.jpg', '/home/pi/Desktop/images/31012025/17/07/image_31012025_17_08_05_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/06/image_31012025_17_06_55_9341.jpg
/home/pi/Desktop/images/31012025/17/07/image_31012025_17_07_14_9363.jpg
/home/pi/Desktop/images/31012025/17/07/image_31012025_17_07_35_10332.jpg
/home/pi/Desktop/images/31012025/17/07/image_31012025_17_07_45_9368.jpg
/home/pi/Desktop/images/31012025/17/07/image_31012025_17_07_55_10399.jpg
/home/pi/Desktop/images/31012025/17/07/image_31012025_17_08_05_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":["1333467211","1333467208","1333467217","1333467202","1333467205","1333467196"],"photo_ids_order":["1333467196","1333467202","1333467205","1333467208","1333467211","1333467217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9a59313553083674a9cece13185fa046.jpg","text":"TemporaryFile(/tmp/multipartBody8899178110559451476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356032998,"filename":"image_31012025_17_07_55_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d8d770e39ff147b4a81e46795a068501.jpg","text":"TemporaryFile(/tmp/multipartBody1802453131529055559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356032998,"filename":"image_31012025_17_07_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/1/31/74ed18e0e9285bab82341a568eaea6bb.jpg","text":"TemporaryFile(/tmp/multipartBody7912242024424070725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356032998,"filename":"image_31012025_17_08_05_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/95370099be089d692412ab8ebc27fdbc.jpg","text":"TemporaryFile(/tmp/multipartBody725114224111395370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356032998,"filename":"image_31012025_17_07_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/1/31/6eadc40d094656b2197c3d79642d24f9.jpg","text":"TemporaryFile(/tmp/multipartBody8226939806761273748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356032998,"filename":"image_31012025_17_07_35_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aa83dad0dc2d669adb8a25326b2c05db.jpg","text":"TemporaryFile(/tmp/multipartBody6243849807200628866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356032998,"filename":"image_31012025_17_06_55_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333467205","file1":"1333467202","file0":"1333467196","file4":"1333467211","file5":"1333467217","file3":"1333467208"},"map_files_photo_id_array":[{"photo_id":"1333467217","filename":"file5"},{"photo_id":"1333467205","filename":"file2"},{"photo_id":"1333467211","filename":"file4"},{"photo_id":"1333467202","filename":"file1"},{"photo_id":"1333467196","filename":"file0"},{"photo_id":"1333467208","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333467211":["hashtag1","hashtag2"]},{"1333467208":["hashtag1","hashtag2"]},{"1333467217":["hashtag1","hashtag2"]},{"1333467202":["hashtag1","hashtag2"]},{"1333467205":["hashtag1","hashtag2"]},{"1333467196":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333467211, 1333467208, 1333467217, 1333467202, 1333467205, 1333467196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.220133066177368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:40:32.894147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/08/image_31012025_17_08_25_10369.jpg', '/home/pi/Desktop/images/31012025/17/08/image_31012025_17_08_34_9353.jpg', '/home/pi/Desktop/images/31012025/17/08/image_31012025_17_08_45_10359.jpg', '/home/pi/Desktop/images/31012025/17/08/image_31012025_17_08_55_10364.jpg', '/home/pi/Desktop/images/31012025/17/08/image_31012025_17_09_04_9322.jpg', '/home/pi/Desktop/images/31012025/17/09/image_31012025_17_09_15_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/08/image_31012025_17_08_25_10369.jpg
/home/pi/Desktop/images/31012025/17/08/image_31012025_17_08_34_9353.jpg
/home/pi/Desktop/images/31012025/17/08/image_31012025_17_08_45_10359.jpg
/home/pi/Desktop/images/31012025/17/08/image_31012025_17_08_55_10364.jpg
/home/pi/Desktop/images/31012025/17/08/image_31012025_17_09_04_9322.jpg
/home/pi/Desktop/images/31012025/17/09/image_31012025_17_09_15_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":["1333467298","1333467264","1333467269","1333467292","1333467305","1333467295"],"photo_ids_order":["1333467264","1333467269","1333467292","1333467295","1333467298","1333467305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0638b2df62a7fc6b0ef0347ca8c430b6.jpg","text":"TemporaryFile(/tmp/multipartBody8394177468827605474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356093370,"filename":"image_31012025_17_09_04_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/085722faeae30b53ab21aa65a0892136.jpg","text":"TemporaryFile(/tmp/multipartBody8033252574810625511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356093370,"filename":"image_31012025_17_08_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/1/31/3f47a00cc21c72a950faade779c71d6a.jpg","text":"TemporaryFile(/tmp/multipartBody5783846991613792423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356093370,"filename":"image_31012025_17_08_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/1/31/e15b814460d3b24af4ac1c98059f36cd.jpg","text":"TemporaryFile(/tmp/multipartBody1180817402878953144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356093370,"filename":"image_31012025_17_08_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/1/31/662952e2ff07ba4ad1d6fd1cd63eccf5.jpg","text":"TemporaryFile(/tmp/multipartBody1720551538741791716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356093370,"filename":"image_31012025_17_09_15_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/873d92382b7849c6baa56235f391891b.jpg","text":"TemporaryFile(/tmp/multipartBody8415186760465717972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356093370,"filename":"image_31012025_17_08_55_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333467292","file1":"1333467269","file0":"1333467264","file4":"1333467298","file5":"1333467305","file3":"1333467295"},"map_files_photo_id_array":[{"photo_id":"1333467305","filename":"file5"},{"photo_id":"1333467292","filename":"file2"},{"photo_id":"1333467298","filename":"file4"},{"photo_id":"1333467269","filename":"file1"},{"photo_id":"1333467264","filename":"file0"},{"photo_id":"1333467295","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333467298":["hashtag1","hashtag2"]},{"1333467264":["hashtag1","hashtag2"]},{"1333467269":["hashtag1","hashtag2"]},{"1333467292":["hashtag1","hashtag2"]},{"1333467305":["hashtag1","hashtag2"]},{"1333467295":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333467298, 1333467264, 1333467269, 1333467292, 1333467305, 1333467295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.22147798538208 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:41:33.016852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/10/image_31012025_17_10_25_9337.jpg', '/home/pi/Desktop/images/31012025/17/10/image_31012025_17_10_45_10365.jpg', '/home/pi/Desktop/images/31012025/17/11/image_31012025_17_11_25_10425.jpg', '/home/pi/Desktop/images/31012025/17/11/image_31012025_17_12_04_9325.jpg', '/home/pi/Desktop/images/31012025/17/12/image_31012025_17_12_15_10463.jpg', '/home/pi/Desktop/images/31012025/17/12/image_31012025_17_12_45_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/10/image_31012025_17_10_25_9337.jpg
/home/pi/Desktop/images/31012025/17/10/image_31012025_17_10_45_10365.jpg
/home/pi/Desktop/images/31012025/17/11/image_31012025_17_11_25_10425.jpg
/home/pi/Desktop/images/31012025/17/11/image_31012025_17_12_04_9325.jpg
/home/pi/Desktop/images/31012025/17/12/image_31012025_17_12_15_10463.jpg
/home/pi/Desktop/images/31012025/17/12/image_31012025_17_12_45_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":["1333467457","1333467451","1333467430","1333467435","1333467438","1333467449"],"photo_ids_order":["1333467430","1333467435","1333467438","1333467449","1333467451","1333467457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9b3f54fabb04ad9c115477514095121a.jpg","text":"TemporaryFile(/tmp/multipartBody3717729279557440365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356153493,"filename":"image_31012025_17_12_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/1/31/dfcc102040558abb167be09e782b4935.jpg","text":"TemporaryFile(/tmp/multipartBody701682299256664661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356153493,"filename":"image_31012025_17_12_15_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/402e68a85bf5cb5030e8515192fc97d4.jpg","text":"TemporaryFile(/tmp/multipartBody1093536720970331037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356153493,"filename":"image_31012025_17_10_25_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3d558a02c257dd01a2748993926dc441.jpg","text":"TemporaryFile(/tmp/multipartBody5667863763158786489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356153493,"filename":"image_31012025_17_10_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/1/31/d104eabe9929f060771e021ee7bf56b3.jpg","text":"TemporaryFile(/tmp/multipartBody6753272982716058358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356153493,"filename":"image_31012025_17_11_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/1/31/7da50479e998dd4630c76d03eb75c6d8.jpg","text":"TemporaryFile(/tmp/multipartBody5254645765890695322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356153493,"filename":"image_31012025_17_12_04_9325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333467438","file1":"1333467435","file0":"1333467430","file4":"1333467451","file5":"1333467457","file3":"1333467449"},"map_files_photo_id_array":[{"photo_id":"1333467457","filename":"file5"},{"photo_id":"1333467438","filename":"file2"},{"photo_id":"1333467451","filename":"file4"},{"photo_id":"1333467435","filename":"file1"},{"photo_id":"1333467430","filename":"file0"},{"photo_id":"1333467449","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333467457":["hashtag1","hashtag2"]},{"1333467451":["hashtag1","hashtag2"]},{"1333467430":["hashtag1","hashtag2"]},{"1333467435":["hashtag1","hashtag2"]},{"1333467438":["hashtag1","hashtag2"]},{"1333467449":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333467457, 1333467451, 1333467430, 1333467435, 1333467438, 1333467449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.57893419265747 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:42:32.292578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/13/image_31012025_17_13_15_10367.jpg', '/home/pi/Desktop/images/31012025/17/13/image_31012025_17_13_25_9417.jpg', '/home/pi/Desktop/images/31012025/17/13/image_31012025_17_13_35_10346.jpg', '/home/pi/Desktop/images/31012025/17/13/image_31012025_17_13_55_10435.jpg', '/home/pi/Desktop/images/31012025/17/13/image_31012025_17_14_05_10358.jpg', '/home/pi/Desktop/images/31012025/17/14/image_31012025_17_14_15_9508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/13/image_31012025_17_13_15_10367.jpg
/home/pi/Desktop/images/31012025/17/13/image_31012025_17_13_25_9417.jpg
/home/pi/Desktop/images/31012025/17/13/image_31012025_17_13_35_10346.jpg
/home/pi/Desktop/images/31012025/17/13/image_31012025_17_13_55_10435.jpg
/home/pi/Desktop/images/31012025/17/13/image_31012025_17_14_05_10358.jpg
/home/pi/Desktop/images/31012025/17/14/image_31012025_17_14_15_9508.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333467577","1333467579","1333467570","1333467560","1333467557","1333467586"],"photo_ids_order":["1333467557","1333467560","1333467570","1333467577","1333467579","1333467586"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/946bb954cf5afe56ccf2f0b4f27db96d.jpg","text":"TemporaryFile(/tmp/multipartBody6121136085895093547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356212788,"filename":"image_31012025_17_13_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/1/31/afdd1b37fb404a4a92d88613ceff8165.jpg","text":"TemporaryFile(/tmp/multipartBody3356567566646145763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356212788,"filename":"image_31012025_17_14_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/1/31/39166fb038076c76715ae5b62a41f16d.jpg","text":"TemporaryFile(/tmp/multipartBody5375825251509965435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356212788,"filename":"image_31012025_17_13_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/1/31/d6a53d061331a869aa64422a947201a9.jpg","text":"TemporaryFile(/tmp/multipartBody4297771848026291529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356212788,"filename":"image_31012025_17_13_25_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b38a960e4297e4695d6e39e1124c72fd.jpg","text":"TemporaryFile(/tmp/multipartBody8919396131208263805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356212788,"filename":"image_31012025_17_13_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/1/31/2ef77c9bb1c16efe81e4d83f9df9cc10.jpg","text":"TemporaryFile(/tmp/multipartBody3543799178839283815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356212788,"filename":"image_31012025_17_14_15_9508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333467570","file1":"1333467560","file0":"1333467557","file4":"1333467579","file5":"1333467586","file3":"1333467577"},"map_files_photo_id_array":[{"photo_id":"1333467586","filename":"file5"},{"photo_id":"1333467570","filename":"file2"},{"photo_id":"1333467579","filename":"file4"},{"photo_id":"1333467560","filename":"file1"},{"photo_id":"1333467557","filename":"file0"},{"photo_id":"1333467577","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333467577":["hashtag1","hashtag2"]},{"1333467579":["hashtag1","hashtag2"]},{"1333467570":["hashtag1","hashtag2"]},{"1333467560":["hashtag1","hashtag2"]},{"1333467557":["hashtag1","hashtag2"]},{"1333467586":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333467577, 1333467579, 1333467570, 1333467560, 1333467557, 1333467586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.922021627426147 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:43:32.622442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/14/image_31012025_17_14_25_10372.jpg', '/home/pi/Desktop/images/31012025/17/14/image_31012025_17_14_34_9348.jpg', '/home/pi/Desktop/images/31012025/17/14/image_31012025_17_14_55_10362.jpg', '/home/pi/Desktop/images/31012025/17/14/image_31012025_17_15_05_9352.jpg', '/home/pi/Desktop/images/31012025/17/15/image_31012025_17_15_15_10433.jpg', '/home/pi/Desktop/images/31012025/17/15/image_31012025_17_15_25_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/14/image_31012025_17_14_25_10372.jpg
/home/pi/Desktop/images/31012025/17/14/image_31012025_17_14_34_9348.jpg
/home/pi/Desktop/images/31012025/17/14/image_31012025_17_14_55_10362.jpg
/home/pi/Desktop/images/31012025/17/14/image_31012025_17_15_05_9352.jpg
/home/pi/Desktop/images/31012025/17/15/image_31012025_17_15_15_10433.jpg
/home/pi/Desktop/images/31012025/17/15/image_31012025_17_15_25_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":["1333467814","1333467808","1333467805","1333467810","1333467812","1333467815"],"photo_ids_order":["1333467805","1333467808","1333467810","1333467812","1333467814","1333467815"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7726b59cd6c0e7171d163e3606bd0aaa.jpg","text":"TemporaryFile(/tmp/multipartBody8973208688970944151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356273092,"filename":"image_31012025_17_15_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/1/31/7e1ac1cbca11139fa6652158a3b287dc.jpg","text":"TemporaryFile(/tmp/multipartBody1869451899399820506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356273092,"filename":"image_31012025_17_14_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/1/31/e065b05bf74092ac9f5aea7457c9d1a6.jpg","text":"TemporaryFile(/tmp/multipartBody3087507914240326319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356273092,"filename":"image_31012025_17_14_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/1/31/067d390604752f130995c426e97c78fe.jpg","text":"TemporaryFile(/tmp/multipartBody4742305373069540490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356273092,"filename":"image_31012025_17_14_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/1/31/bec1216f9b3ec18a3e0cc3485286b485.jpg","text":"TemporaryFile(/tmp/multipartBody1108168031513580273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356273092,"filename":"image_31012025_17_15_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/1/31/f83cd5ad4836910cd73304dc2ca8cf1e.jpg","text":"TemporaryFile(/tmp/multipartBody3390027382298249742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356273092,"filename":"image_31012025_17_15_25_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333467810","file1":"1333467808","file0":"1333467805","file4":"1333467814","file5":"1333467815","file3":"1333467812"},"map_files_photo_id_array":[{"photo_id":"1333467815","filename":"file5"},{"photo_id":"1333467810","filename":"file2"},{"photo_id":"1333467814","filename":"file4"},{"photo_id":"1333467808","filename":"file1"},{"photo_id":"1333467805","filename":"file0"},{"photo_id":"1333467812","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333467814":["hashtag1","hashtag2"]},{"1333467808":["hashtag1","hashtag2"]},{"1333467805":["hashtag1","hashtag2"]},{"1333467810":["hashtag1","hashtag2"]},{"1333467812":["hashtag1","hashtag2"]},{"1333467815":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333467814, 1333467808, 1333467805, 1333467810, 1333467812, 1333467815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.417981386184692 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:44:32.688489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/15/image_31012025_17_15_35_9474.jpg', '/home/pi/Desktop/images/31012025/17/15/image_31012025_17_15_45_10349.jpg', '/home/pi/Desktop/images/31012025/17/15/image_31012025_17_15_55_9319.jpg', '/home/pi/Desktop/images/31012025/17/15/image_31012025_17_16_05_10374.jpg', '/home/pi/Desktop/images/31012025/17/16/image_31012025_17_16_15_10335.jpg', '/home/pi/Desktop/images/31012025/17/16/image_31012025_17_16_25_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/15/image_31012025_17_15_35_9474.jpg
/home/pi/Desktop/images/31012025/17/15/image_31012025_17_15_45_10349.jpg
/home/pi/Desktop/images/31012025/17/15/image_31012025_17_15_55_9319.jpg
/home/pi/Desktop/images/31012025/17/15/image_31012025_17_16_05_10374.jpg
/home/pi/Desktop/images/31012025/17/16/image_31012025_17_16_15_10335.jpg
/home/pi/Desktop/images/31012025/17/16/image_31012025_17_16_25_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":["1333467871","1333467868","1333467861","1333467858","1333467852","1333467863"],"photo_ids_order":["1333467852","1333467858","1333467861","1333467863","1333467868","1333467871"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/65b3c8d8653c62a49e91fc03bd1f9e2d.jpg","text":"TemporaryFile(/tmp/multipartBody6841330314326796471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356333159,"filename":"image_31012025_17_16_25_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fd09f53995e4f001b5eb5fb357362ff3.jpg","text":"TemporaryFile(/tmp/multipartBody8604784884342211750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356333159,"filename":"image_31012025_17_16_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6c0865df1906d85462e3f982e35b251b.jpg","text":"TemporaryFile(/tmp/multipartBody3412895364766506784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356333159,"filename":"image_31012025_17_15_55_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/af98f38db36d5935b86fbbdf9294ecd2.jpg","text":"TemporaryFile(/tmp/multipartBody7165372508931115819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356333159,"filename":"image_31012025_17_15_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/1/31/603ac7b2008165e1573ccadd8149a2a7.jpg","text":"TemporaryFile(/tmp/multipartBody2765918854209129668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356333159,"filename":"image_31012025_17_15_35_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9dff42553b0f19af3ff30076d31645c1.jpg","text":"TemporaryFile(/tmp/multipartBody8054958229247543659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356333159,"filename":"image_31012025_17_16_05_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333467861","file1":"1333467858","file0":"1333467852","file4":"1333467868","file5":"1333467871","file3":"1333467863"},"map_files_photo_id_array":[{"photo_id":"1333467871","filename":"file5"},{"photo_id":"1333467861","filename":"file2"},{"photo_id":"1333467868","filename":"file4"},{"photo_id":"1333467858","filename":"file1"},{"photo_id":"1333467852","filename":"file0"},{"photo_id":"1333467863","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333467871":["hashtag1","hashtag2"]},{"1333467868":["hashtag1","hashtag2"]},{"1333467861":["hashtag1","hashtag2"]},{"1333467858":["hashtag1","hashtag2"]},{"1333467852":["hashtag1","hashtag2"]},{"1333467863":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333467871, 1333467868, 1333467861, 1333467858, 1333467852, 1333467863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 28.972392559051514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 21:45:04.522607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/16/image_31012025_17_16_35_10419.jpg', '/home/pi/Desktop/images/31012025/17/16/image_31012025_17_16_45_10353.jpg', '/home/pi/Desktop/images/31012025/17/16/image_31012025_17_16_55_9397.jpg', '/home/pi/Desktop/images/31012025/17/16/image_31012025_17_17_05_10366.jpg', '/home/pi/Desktop/images/31012025/17/17/image_31012025_17_17_14_9409.jpg', '/home/pi/Desktop/images/31012025/17/17/image_31012025_17_17_25_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/16/image_31012025_17_16_35_10419.jpg
/home/pi/Desktop/images/31012025/17/16/image_31012025_17_16_45_10353.jpg
/home/pi/Desktop/images/31012025/17/16/image_31012025_17_16_55_9397.jpg
/home/pi/Desktop/images/31012025/17/16/image_31012025_17_17_05_10366.jpg
/home/pi/Desktop/images/31012025/17/17/image_31012025_17_17_14_9409.jpg
/home/pi/Desktop/images/31012025/17/17/image_31012025_17_17_25_10437.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333467874","1333467894","1333467888","1333467878","1333467872","1333467883"],"photo_ids_order":["1333467872","1333467874","1333467878","1333467883","1333467888","1333467894"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b37dea15f74c569fc3f6eff67fdfa3b8.jpg","text":"TemporaryFile(/tmp/multipartBody2849848245786526322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356365135,"filename":"image_31012025_17_16_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/1/31/48a03edd4cdc356a6790906ff05aefbd.jpg","text":"TemporaryFile(/tmp/multipartBody6115848130618921804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356365135,"filename":"image_31012025_17_17_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/1/31/45970cd13b620487327037bf6c340c04.jpg","text":"TemporaryFile(/tmp/multipartBody6960606633482300686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356365135,"filename":"image_31012025_17_17_14_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2e012d236ca532ad6a601d90ae4e6305.jpg","text":"TemporaryFile(/tmp/multipartBody3164349818577178320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356365135,"filename":"image_31012025_17_16_55_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/af4d52cc4ea53ee852e6e70f8c723554.jpg","text":"TemporaryFile(/tmp/multipartBody7220765776302532126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356365135,"filename":"image_31012025_17_16_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/1/31/480462a44dc1a6626d5bab9b0cd5a0ad.jpg","text":"TemporaryFile(/tmp/multipartBody4245127696007622160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356365135,"filename":"image_31012025_17_17_05_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333467878","file1":"1333467874","file0":"1333467872","file4":"1333467888","file5":"1333467894","file3":"1333467883"},"map_files_photo_id_array":[{"photo_id":"1333467894","filename":"file5"},{"photo_id":"1333467878","filename":"file2"},{"photo_id":"1333467888","filename":"file4"},{"photo_id":"1333467874","filename":"file1"},{"photo_id":"1333467872","filename":"file0"},{"photo_id":"1333467883","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333467874":["hashtag1","hashtag2"]},{"1333467894":["hashtag1","hashtag2"]},{"1333467888":["hashtag1","hashtag2"]},{"1333467878":["hashtag1","hashtag2"]},{"1333467872":["hashtag1","hashtag2"]},{"1333467883":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333467874, 1333467894, 1333467888, 1333467878, 1333467872, 1333467883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.816908597946167 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 21:45:43.021619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/17/image_31012025_17_17_35_10417.jpg', '/home/pi/Desktop/images/31012025/17/17/image_31012025_17_17_45_9439.jpg', '/home/pi/Desktop/images/31012025/17/17/image_31012025_17_17_55_10353.jpg', '/home/pi/Desktop/images/31012025/17/17/image_31012025_17_18_05_9364.jpg', '/home/pi/Desktop/images/31012025/17/18/image_31012025_17_18_15_10413.jpg', '/home/pi/Desktop/images/31012025/17/18/image_31012025_17_18_25_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/17/image_31012025_17_17_35_10417.jpg
/home/pi/Desktop/images/31012025/17/17/image_31012025_17_17_45_9439.jpg
/home/pi/Desktop/images/31012025/17/17/image_31012025_17_17_55_10353.jpg
/home/pi/Desktop/images/31012025/17/17/image_31012025_17_18_05_9364.jpg
/home/pi/Desktop/images/31012025/17/18/image_31012025_17_18_15_10413.jpg
/home/pi/Desktop/images/31012025/17/18/image_31012025_17_18_25_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":["1333467970","1333467993","1333467987","1333467912","1333467986","1333467982"],"photo_ids_order":["1333467912","1333467970","1333467982","1333467986","1333467987","1333467993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/23bdc7b5186f979cf999d34c798051f2.jpg","text":"TemporaryFile(/tmp/multipartBody8857848221027752353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356403485,"filename":"image_31012025_17_17_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/1/31/a977d0f2e65a0739b1086a82a6ceda05.jpg","text":"TemporaryFile(/tmp/multipartBody6579417025539372383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356403485,"filename":"image_31012025_17_18_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/1/31/40460d6e2260d26431a8c7b10e189ad4.jpg","text":"TemporaryFile(/tmp/multipartBody6260821222288098202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356403485,"filename":"image_31012025_17_18_15_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0b1b3c056704763ae5442256dbc6f84e.jpg","text":"TemporaryFile(/tmp/multipartBody568076375210719280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356403485,"filename":"image_31012025_17_17_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/1/31/28d1965fb953305d3087dee8447ed386.jpg","text":"TemporaryFile(/tmp/multipartBody5496444934865538081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356403485,"filename":"image_31012025_17_18_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/1/31/f2d9a6a30d83eb60e55750d9569ab74a.jpg","text":"TemporaryFile(/tmp/multipartBody1653224181833037251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356403485,"filename":"image_31012025_17_17_55_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333467982","file1":"1333467970","file0":"1333467912","file4":"1333467987","file5":"1333467993","file3":"1333467986"},"map_files_photo_id_array":[{"photo_id":"1333467993","filename":"file5"},{"photo_id":"1333467982","filename":"file2"},{"photo_id":"1333467987","filename":"file4"},{"photo_id":"1333467970","filename":"file1"},{"photo_id":"1333467912","filename":"file0"},{"photo_id":"1333467986","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333467970":["hashtag1","hashtag2"]},{"1333467993":["hashtag1","hashtag2"]},{"1333467987":["hashtag1","hashtag2"]},{"1333467912":["hashtag1","hashtag2"]},{"1333467986":["hashtag1","hashtag2"]},{"1333467982":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333467970, 1333467993, 1333467987, 1333467912, 1333467986, 1333467982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34954857826233 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:46:32.209259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/18/image_31012025_17_18_35_9511.jpg', '/home/pi/Desktop/images/31012025/17/18/image_31012025_17_18_45_10438.jpg', '/home/pi/Desktop/images/31012025/17/18/image_31012025_17_18_55_9483.jpg', '/home/pi/Desktop/images/31012025/17/18/image_31012025_17_19_05_10342.jpg', '/home/pi/Desktop/images/31012025/17/19/image_31012025_17_19_15_10347.jpg', '/home/pi/Desktop/images/31012025/17/19/image_31012025_17_19_25_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/18/image_31012025_17_18_35_9511.jpg
/home/pi/Desktop/images/31012025/17/18/image_31012025_17_18_45_10438.jpg
/home/pi/Desktop/images/31012025/17/18/image_31012025_17_18_55_9483.jpg
/home/pi/Desktop/images/31012025/17/18/image_31012025_17_19_05_10342.jpg
/home/pi/Desktop/images/31012025/17/19/image_31012025_17_19_15_10347.jpg
/home/pi/Desktop/images/31012025/17/19/image_31012025_17_19_25_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":["1333468330","1333468327","1333468392","1333468287","1333468334","1333468282"],"photo_ids_order":["1333468282","1333468287","1333468327","1333468330","1333468334","1333468392"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d9b770d0d372da0f8563dc3bc9e7c658.jpg","text":"TemporaryFile(/tmp/multipartBody6155080696611277093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356452669,"filename":"image_31012025_17_19_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/1/31/5f1f81e903c0f367bfb7a98870079ef7.jpg","text":"TemporaryFile(/tmp/multipartBody2734555933720819972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356452669,"filename":"image_31012025_17_18_55_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5dd0735d23c5fe0678390f8d0d40f82a.jpg","text":"TemporaryFile(/tmp/multipartBody8545424687414467002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356452669,"filename":"image_31012025_17_19_25_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7ef18bb710278b175ae68cb3ab66ad6a.jpg","text":"TemporaryFile(/tmp/multipartBody1869907559841358381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356452669,"filename":"image_31012025_17_18_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/1/31/8f48a2c8ae8ba9db8914622cd0632f3e.jpg","text":"TemporaryFile(/tmp/multipartBody593741043946678016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356452669,"filename":"image_31012025_17_19_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/1/31/8e5f91c70064892bb3591f2b56eef01a.jpg","text":"TemporaryFile(/tmp/multipartBody3159289170498765723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356452669,"filename":"image_31012025_17_18_35_9511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333468327","file1":"1333468287","file0":"1333468282","file4":"1333468334","file5":"1333468392","file3":"1333468330"},"map_files_photo_id_array":[{"photo_id":"1333468392","filename":"file5"},{"photo_id":"1333468327","filename":"file2"},{"photo_id":"1333468334","filename":"file4"},{"photo_id":"1333468287","filename":"file1"},{"photo_id":"1333468282","filename":"file0"},{"photo_id":"1333468330","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333468330":["hashtag1","hashtag2"]},{"1333468327":["hashtag1","hashtag2"]},{"1333468392":["hashtag1","hashtag2"]},{"1333468287":["hashtag1","hashtag2"]},{"1333468334":["hashtag1","hashtag2"]},{"1333468282":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333468330, 1333468327, 1333468392, 1333468287, 1333468334, 1333468282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.666630744934082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:47:32.547026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/19/image_31012025_17_19_35_10350.jpg', '/home/pi/Desktop/images/31012025/17/19/image_31012025_17_19_45_9342.jpg', '/home/pi/Desktop/images/31012025/17/19/image_31012025_17_19_55_10414.jpg', '/home/pi/Desktop/images/31012025/17/19/image_31012025_17_20_05_10325.jpg', '/home/pi/Desktop/images/31012025/17/20/image_31012025_17_20_15_9329.jpg', '/home/pi/Desktop/images/31012025/17/20/image_31012025_17_20_25_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/19/image_31012025_17_19_35_10350.jpg
/home/pi/Desktop/images/31012025/17/19/image_31012025_17_19_45_9342.jpg
/home/pi/Desktop/images/31012025/17/19/image_31012025_17_19_55_10414.jpg
/home/pi/Desktop/images/31012025/17/19/image_31012025_17_20_05_10325.jpg
/home/pi/Desktop/images/31012025/17/20/image_31012025_17_20_15_9329.jpg
/home/pi/Desktop/images/31012025/17/20/image_31012025_17_20_25_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":["1333468438","1333468446","1333468425","1333468422","1333468460","1333468459"],"photo_ids_order":["1333468422","1333468425","1333468438","1333468446","1333468459","1333468460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cfd275b779c8f1c490ad5df7ff9cf493.jpg","text":"TemporaryFile(/tmp/multipartBody9021805114738837411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356513021,"filename":"image_31012025_17_19_55_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4da9f83072ea7d26076d2c3c8f29916c.jpg","text":"TemporaryFile(/tmp/multipartBody3265455520585731664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356513021,"filename":"image_31012025_17_20_05_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a09694e983095446883fca7c0bd098dc.jpg","text":"TemporaryFile(/tmp/multipartBody3568594976651483906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356513021,"filename":"image_31012025_17_19_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/1/31/0d04b0951e255c85fe947442909410d2.jpg","text":"TemporaryFile(/tmp/multipartBody8708334926943380527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356513021,"filename":"image_31012025_17_19_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/1/31/bb35adcb912c9b42a131f1a3be299010.jpg","text":"TemporaryFile(/tmp/multipartBody6035949329734874109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356513021,"filename":"image_31012025_17_20_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/1/31/e3f99e30cd0f118000beed78efc2d465.jpg","text":"TemporaryFile(/tmp/multipartBody7194942335078028586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356513021,"filename":"image_31012025_17_20_15_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333468438","file1":"1333468425","file0":"1333468422","file4":"1333468459","file5":"1333468460","file3":"1333468446"},"map_files_photo_id_array":[{"photo_id":"1333468460","filename":"file5"},{"photo_id":"1333468438","filename":"file2"},{"photo_id":"1333468459","filename":"file4"},{"photo_id":"1333468425","filename":"file1"},{"photo_id":"1333468422","filename":"file0"},{"photo_id":"1333468446","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333468438":["hashtag1","hashtag2"]},{"1333468446":["hashtag1","hashtag2"]},{"1333468425":["hashtag1","hashtag2"]},{"1333468422":["hashtag1","hashtag2"]},{"1333468460":["hashtag1","hashtag2"]},{"1333468459":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333468438, 1333468446, 1333468425, 1333468422, 1333468460, 1333468459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52715063095093 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:48:32.776254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/20/image_31012025_17_20_35_10333.jpg', '/home/pi/Desktop/images/31012025/17/20/image_31012025_17_20_45_9411.jpg', '/home/pi/Desktop/images/31012025/17/20/image_31012025_17_20_55_10390.jpg', '/home/pi/Desktop/images/31012025/17/21/image_31012025_17_21_15_10331.jpg', '/home/pi/Desktop/images/31012025/17/21/image_31012025_17_21_25_10419.jpg', '/home/pi/Desktop/images/31012025/17/21/image_31012025_17_21_35_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/20/image_31012025_17_20_35_10333.jpg
/home/pi/Desktop/images/31012025/17/20/image_31012025_17_20_45_9411.jpg
/home/pi/Desktop/images/31012025/17/20/image_31012025_17_20_55_10390.jpg
/home/pi/Desktop/images/31012025/17/21/image_31012025_17_21_15_10331.jpg
/home/pi/Desktop/images/31012025/17/21/image_31012025_17_21_25_10419.jpg
/home/pi/Desktop/images/31012025/17/21/image_31012025_17_21_35_9443.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: 3.3976964950561523 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 21:48:42.704928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/20/image_31012025_17_20_35_10333.jpg', '/home/pi/Desktop/images/31012025/17/20/image_31012025_17_20_45_9411.jpg', '/home/pi/Desktop/images/31012025/17/20/image_31012025_17_20_55_10390.jpg', '/home/pi/Desktop/images/31012025/17/21/image_31012025_17_21_15_10331.jpg', '/home/pi/Desktop/images/31012025/17/21/image_31012025_17_21_25_10419.jpg', '/home/pi/Desktop/images/31012025/17/21/image_31012025_17_21_35_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/20/image_31012025_17_20_35_10333.jpg
/home/pi/Desktop/images/31012025/17/20/image_31012025_17_20_45_9411.jpg
/home/pi/Desktop/images/31012025/17/20/image_31012025_17_20_55_10390.jpg
/home/pi/Desktop/images/31012025/17/21/image_31012025_17_21_15_10331.jpg
/home/pi/Desktop/images/31012025/17/21/image_31012025_17_21_25_10419.jpg
/home/pi/Desktop/images/31012025/17/21/image_31012025_17_21_35_9443.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":["1333468641","1333468590","1333468638","1333468598","1333468634","1333468570"],"photo_ids_order":["1333468570","1333468590","1333468598","1333468634","1333468638","1333468641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/13ccc3ab32ccf4c7d4c91bb8b9f05daf.jpg","text":"TemporaryFile(/tmp/multipartBody2115903266455973042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356583214,"filename":"image_31012025_17_21_35_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ce71805d5528c4a29e27c5ab647088c3.jpg","text":"TemporaryFile(/tmp/multipartBody4433877779423494787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356583214,"filename":"image_31012025_17_20_45_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/99679fa8f10b7bb98d990bbeebed5434.jpg","text":"TemporaryFile(/tmp/multipartBody8895694829103395470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356583214,"filename":"image_31012025_17_21_25_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c4cf15ef5d496678c6e5d2d5e2b99b47.jpg","text":"TemporaryFile(/tmp/multipartBody4919661369571627803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356583214,"filename":"image_31012025_17_20_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/1/31/a63a8ccfeab9bfb70ea187bfa9507c5d.jpg","text":"TemporaryFile(/tmp/multipartBody3974049413484717224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356583214,"filename":"image_31012025_17_21_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/1/31/d940e18cc6aefbeaffe6528acd57504d.jpg","text":"TemporaryFile(/tmp/multipartBody2991588107423201690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356583214,"filename":"image_31012025_17_20_35_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333468598","file1":"1333468590","file0":"1333468570","file4":"1333468638","file5":"1333468641","file3":"1333468634"},"map_files_photo_id_array":[{"photo_id":"1333468641","filename":"file5"},{"photo_id":"1333468598","filename":"file2"},{"photo_id":"1333468638","filename":"file4"},{"photo_id":"1333468590","filename":"file1"},{"photo_id":"1333468570","filename":"file0"},{"photo_id":"1333468634","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333468641":["hashtag1","hashtag2"]},{"1333468590":["hashtag1","hashtag2"]},{"1333468638":["hashtag1","hashtag2"]},{"1333468598":["hashtag1","hashtag2"]},{"1333468634":["hashtag1","hashtag2"]},{"1333468570":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333468641, 1333468590, 1333468638, 1333468598, 1333468634, 1333468570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.03336787223816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:49:32.949898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/21/image_31012025_17_21_45_10354.jpg', '/home/pi/Desktop/images/31012025/17/21/image_31012025_17_22_05_10468.jpg', '/home/pi/Desktop/images/31012025/17/22/image_31012025_17_22_15_10407.jpg', '/home/pi/Desktop/images/31012025/17/22/image_31012025_17_22_25_9426.jpg', '/home/pi/Desktop/images/31012025/17/22/image_31012025_17_22_35_9906.jpg', '/home/pi/Desktop/images/31012025/17/22/image_31012025_17_22_45_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/21/image_31012025_17_21_45_10354.jpg
/home/pi/Desktop/images/31012025/17/21/image_31012025_17_22_05_10468.jpg
/home/pi/Desktop/images/31012025/17/22/image_31012025_17_22_15_10407.jpg
/home/pi/Desktop/images/31012025/17/22/image_31012025_17_22_25_9426.jpg
/home/pi/Desktop/images/31012025/17/22/image_31012025_17_22_35_9906.jpg
/home/pi/Desktop/images/31012025/17/22/image_31012025_17_22_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":["1333468668","1333468682","1333468685","1333468688","1333468742","1333468744"],"photo_ids_order":["1333468668","1333468682","1333468685","1333468688","1333468742","1333468744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0a9840186e5a468132fd1760f83e6e73.jpg","text":"TemporaryFile(/tmp/multipartBody6180178331384295442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356633418,"filename":"image_31012025_17_21_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/1/31/d80746e8b4642458cc523bb45e6d1266.jpg","text":"TemporaryFile(/tmp/multipartBody6618388662527102725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356633418,"filename":"image_31012025_17_22_05_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1eda3ba4b142f23f683f94c9ccdc216d.jpg","text":"TemporaryFile(/tmp/multipartBody1174823008042010083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356633418,"filename":"image_31012025_17_22_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/1/31/a1d16c7e02deae7b0e748cb70c2aa6f4.jpg","text":"TemporaryFile(/tmp/multipartBody7473980308867869653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356633418,"filename":"image_31012025_17_22_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/1/31/7271bb845dedc70eff8cec6421f17602.jpg","text":"TemporaryFile(/tmp/multipartBody6078696469984707056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356633418,"filename":"image_31012025_17_22_35_9906.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/980ecd28443ddd43ac86ec1c8b10e69e.jpg","text":"TemporaryFile(/tmp/multipartBody8171140095363423814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356633418,"filename":"image_31012025_17_22_45_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333468685","file1":"1333468682","file0":"1333468668","file4":"1333468742","file5":"1333468744","file3":"1333468688"},"map_files_photo_id_array":[{"photo_id":"1333468744","filename":"file5"},{"photo_id":"1333468685","filename":"file2"},{"photo_id":"1333468742","filename":"file4"},{"photo_id":"1333468682","filename":"file1"},{"photo_id":"1333468668","filename":"file0"},{"photo_id":"1333468688","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333468668":["hashtag1","hashtag2"]},{"1333468682":["hashtag1","hashtag2"]},{"1333468685":["hashtag1","hashtag2"]},{"1333468688":["hashtag1","hashtag2"]},{"1333468742":["hashtag1","hashtag2"]},{"1333468744":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333468668, 1333468682, 1333468685, 1333468688, 1333468742, 1333468744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.304507970809937 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:50:32.368117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/22/image_31012025_17_22_54_9424.jpg', '/home/pi/Desktop/images/31012025/17/22/image_31012025_17_23_05_10456.jpg', '/home/pi/Desktop/images/31012025/17/23/image_31012025_17_23_15_10325.jpg', '/home/pi/Desktop/images/31012025/17/23/image_31012025_17_23_25_9357.jpg', '/home/pi/Desktop/images/31012025/17/23/image_31012025_17_23_35_10435.jpg', '/home/pi/Desktop/images/31012025/17/23/image_31012025_17_23_55_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/22/image_31012025_17_22_54_9424.jpg
/home/pi/Desktop/images/31012025/17/22/image_31012025_17_23_05_10456.jpg
/home/pi/Desktop/images/31012025/17/23/image_31012025_17_23_15_10325.jpg
/home/pi/Desktop/images/31012025/17/23/image_31012025_17_23_25_9357.jpg
/home/pi/Desktop/images/31012025/17/23/image_31012025_17_23_35_10435.jpg
/home/pi/Desktop/images/31012025/17/23/image_31012025_17_23_55_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":["1333468933","1333468899","1333469036","1333468955","1333468990","1333469023"],"photo_ids_order":["1333468899","1333468933","1333468955","1333468990","1333469023","1333469036"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/141dc5bb737c86b79636b2bf8cad1ad2.jpg","text":"TemporaryFile(/tmp/multipartBody1604510715461305064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356692838,"filename":"image_31012025_17_23_05_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6f7080966324a3b521a494de0f5ac6b7.jpg","text":"TemporaryFile(/tmp/multipartBody4186123096189117629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356692838,"filename":"image_31012025_17_22_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/1/31/77c55117d4891cf3955bdfec69f68618.jpg","text":"TemporaryFile(/tmp/multipartBody670267148654480979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356692838,"filename":"image_31012025_17_23_55_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4bfa8e4122d189f1d3a9382268459fa0.jpg","text":"TemporaryFile(/tmp/multipartBody7185436638756950630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356692838,"filename":"image_31012025_17_23_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/1/31/eba3733bfc25aea029b079eeae33ed7b.jpg","text":"TemporaryFile(/tmp/multipartBody3839990125973058552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356692838,"filename":"image_31012025_17_23_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/1/31/da102b4d4e2886db8bc6110c7c51219c.jpg","text":"TemporaryFile(/tmp/multipartBody7061816527381414685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356692838,"filename":"image_31012025_17_23_35_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333468955","file1":"1333468933","file0":"1333468899","file4":"1333469023","file5":"1333469036","file3":"1333468990"},"map_files_photo_id_array":[{"photo_id":"1333469036","filename":"file5"},{"photo_id":"1333468955","filename":"file2"},{"photo_id":"1333469023","filename":"file4"},{"photo_id":"1333468933","filename":"file1"},{"photo_id":"1333468899","filename":"file0"},{"photo_id":"1333468990","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333468933":["hashtag1","hashtag2"]},{"1333468899":["hashtag1","hashtag2"]},{"1333469036":["hashtag1","hashtag2"]},{"1333468955":["hashtag1","hashtag2"]},{"1333468990":["hashtag1","hashtag2"]},{"1333469023":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333468933, 1333468899, 1333469036, 1333468955, 1333468990, 1333469023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.322747468948364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:51:32.501408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/24/image_31012025_17_24_25_10428.jpg', '/home/pi/Desktop/images/31012025/17/24/image_31012025_17_24_45_9349.jpg', '/home/pi/Desktop/images/31012025/17/25/image_31012025_17_25_25_10443.jpg', '/home/pi/Desktop/images/31012025/17/25/image_31012025_17_25_35_9464.jpg', '/home/pi/Desktop/images/31012025/17/25/image_31012025_17_25_45_10348.jpg', '/home/pi/Desktop/images/31012025/17/25/image_31012025_17_25_55_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/24/image_31012025_17_24_25_10428.jpg
/home/pi/Desktop/images/31012025/17/24/image_31012025_17_24_45_9349.jpg
/home/pi/Desktop/images/31012025/17/25/image_31012025_17_25_25_10443.jpg
/home/pi/Desktop/images/31012025/17/25/image_31012025_17_25_35_9464.jpg
/home/pi/Desktop/images/31012025/17/25/image_31012025_17_25_45_10348.jpg
/home/pi/Desktop/images/31012025/17/25/image_31012025_17_25_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":["1333469091","1333469093","1333469095","1333469089","1333469097","1333469082"],"photo_ids_order":["1333469082","1333469089","1333469091","1333469093","1333469095","1333469097"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6a0c028c1ce13dc0114cdf5c987b112b.jpg","text":"TemporaryFile(/tmp/multipartBody8125385846850517836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356753001,"filename":"image_31012025_17_25_25_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ecd67262b7cd92a696db8cd7ddc1634d.jpg","text":"TemporaryFile(/tmp/multipartBody5544304956201368638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356753001,"filename":"image_31012025_17_25_35_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dd386a0ba4d7f43e75ab8a655c97a423.jpg","text":"TemporaryFile(/tmp/multipartBody293275540566430770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356753001,"filename":"image_31012025_17_25_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/1/31/028321710c2f955ed09c748655bdae5c.jpg","text":"TemporaryFile(/tmp/multipartBody577834987322225291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356753001,"filename":"image_31012025_17_24_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/1/31/86806cf21babb2abce8220b6577a550f.jpg","text":"TemporaryFile(/tmp/multipartBody2890799193864840105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356753001,"filename":"image_31012025_17_25_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/1/31/eccce6bce204795f393af867424596d5.jpg","text":"TemporaryFile(/tmp/multipartBody6684966534642880419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356753001,"filename":"image_31012025_17_24_25_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333469091","file1":"1333469089","file0":"1333469082","file4":"1333469095","file5":"1333469097","file3":"1333469093"},"map_files_photo_id_array":[{"photo_id":"1333469097","filename":"file5"},{"photo_id":"1333469091","filename":"file2"},{"photo_id":"1333469095","filename":"file4"},{"photo_id":"1333469089","filename":"file1"},{"photo_id":"1333469082","filename":"file0"},{"photo_id":"1333469093","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333469091":["hashtag1","hashtag2"]},{"1333469093":["hashtag1","hashtag2"]},{"1333469095":["hashtag1","hashtag2"]},{"1333469089":["hashtag1","hashtag2"]},{"1333469097":["hashtag1","hashtag2"]},{"1333469082":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333469091, 1333469093, 1333469095, 1333469089, 1333469097, 1333469082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.799396276474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:52:32.834858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/25/image_31012025_17_26_05_9428.jpg', '/home/pi/Desktop/images/31012025/17/26/image_31012025_17_26_15_10410.jpg', '/home/pi/Desktop/images/31012025/17/26/image_31012025_17_26_25_9348.jpg', '/home/pi/Desktop/images/31012025/17/26/image_31012025_17_26_35_10351.jpg', '/home/pi/Desktop/images/31012025/17/26/image_31012025_17_26_45_10366.jpg', '/home/pi/Desktop/images/31012025/17/26/image_31012025_17_26_55_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/25/image_31012025_17_26_05_9428.jpg
/home/pi/Desktop/images/31012025/17/26/image_31012025_17_26_15_10410.jpg
/home/pi/Desktop/images/31012025/17/26/image_31012025_17_26_25_9348.jpg
/home/pi/Desktop/images/31012025/17/26/image_31012025_17_26_35_10351.jpg
/home/pi/Desktop/images/31012025/17/26/image_31012025_17_26_45_10366.jpg
/home/pi/Desktop/images/31012025/17/26/image_31012025_17_26_55_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":["1333469127","1333469138","1333469123","1333469135","1333469131","1333469119"],"photo_ids_order":["1333469119","1333469123","1333469127","1333469131","1333469135","1333469138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/736f30aa5bf14cea9a62b0e3a33cb83d.jpg","text":"TemporaryFile(/tmp/multipartBody4814622412596425855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356813310,"filename":"image_31012025_17_26_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/1/31/3540e0e7d8846e2128869a126e663e4c.jpg","text":"TemporaryFile(/tmp/multipartBody6118933596180956045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356813310,"filename":"image_31012025_17_26_55_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a0b922636cab42f1633a6eedf61a5d07.jpg","text":"TemporaryFile(/tmp/multipartBody4153594713085889050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356813310,"filename":"image_31012025_17_26_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/1/31/d57f633f7a251fe73a004928bf126b91.jpg","text":"TemporaryFile(/tmp/multipartBody3838058778353815491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356813310,"filename":"image_31012025_17_26_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/1/31/21fc2004abf2e2535a1f6cf78012f5ce.jpg","text":"TemporaryFile(/tmp/multipartBody3570421820639286903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356813310,"filename":"image_31012025_17_26_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/1/31/32710a8ca3d1c1972e3a78740500261e.jpg","text":"TemporaryFile(/tmp/multipartBody3625332209014326903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356813310,"filename":"image_31012025_17_26_05_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333469127","file1":"1333469123","file0":"1333469119","file4":"1333469135","file5":"1333469138","file3":"1333469131"},"map_files_photo_id_array":[{"photo_id":"1333469138","filename":"file5"},{"photo_id":"1333469127","filename":"file2"},{"photo_id":"1333469135","filename":"file4"},{"photo_id":"1333469123","filename":"file1"},{"photo_id":"1333469119","filename":"file0"},{"photo_id":"1333469131","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333469127":["hashtag1","hashtag2"]},{"1333469138":["hashtag1","hashtag2"]},{"1333469123":["hashtag1","hashtag2"]},{"1333469135":["hashtag1","hashtag2"]},{"1333469131":["hashtag1","hashtag2"]},{"1333469119":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333469127, 1333469138, 1333469123, 1333469135, 1333469131, 1333469119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.901644229888916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:53:32.868789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/26/image_31012025_17_27_05_10356.jpg', '/home/pi/Desktop/images/31012025/17/27/image_31012025_17_27_15_9396.jpg', '/home/pi/Desktop/images/31012025/17/27/image_31012025_17_27_25_10421.jpg', '/home/pi/Desktop/images/31012025/17/27/image_31012025_17_27_35_10357.jpg', '/home/pi/Desktop/images/31012025/17/27/image_31012025_17_27_45_9410.jpg', '/home/pi/Desktop/images/31012025/17/27/image_31012025_17_27_55_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/26/image_31012025_17_27_05_10356.jpg
/home/pi/Desktop/images/31012025/17/27/image_31012025_17_27_15_9396.jpg
/home/pi/Desktop/images/31012025/17/27/image_31012025_17_27_25_10421.jpg
/home/pi/Desktop/images/31012025/17/27/image_31012025_17_27_35_10357.jpg
/home/pi/Desktop/images/31012025/17/27/image_31012025_17_27_45_9410.jpg
/home/pi/Desktop/images/31012025/17/27/image_31012025_17_27_55_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":["1333469376","1333469298","1333469189","1333469543","1333469438","1333469245"],"photo_ids_order":["1333469189","1333469245","1333469298","1333469376","1333469438","1333469543"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ba4d70b4f0f82c5a8db4d4900ef19b31.jpg","text":"TemporaryFile(/tmp/multipartBody3848800087728649260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356873356,"filename":"image_31012025_17_27_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/1/31/f1522d771bda17001db4e1bbd36c1606.jpg","text":"TemporaryFile(/tmp/multipartBody3615458077309667910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356873356,"filename":"image_31012025_17_27_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/1/31/8ce48e706325808eb7b344ccaf7b3cb3.jpg","text":"TemporaryFile(/tmp/multipartBody5629008308531587175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356873356,"filename":"image_31012025_17_27_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/1/31/58594128cb292223cc77956f72fb3501.jpg","text":"TemporaryFile(/tmp/multipartBody5694122911819244575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356873356,"filename":"image_31012025_17_27_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/1/31/1dc7900be7f6ab4499e7447b2684c895.jpg","text":"TemporaryFile(/tmp/multipartBody5524258352811646847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356873356,"filename":"image_31012025_17_27_45_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5f0335f8d9ec40483720d52a90682283.jpg","text":"TemporaryFile(/tmp/multipartBody8350358087306023094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356873356,"filename":"image_31012025_17_27_15_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333469298","file1":"1333469245","file0":"1333469189","file4":"1333469438","file5":"1333469543","file3":"1333469376"},"map_files_photo_id_array":[{"photo_id":"1333469543","filename":"file5"},{"photo_id":"1333469298","filename":"file2"},{"photo_id":"1333469438","filename":"file4"},{"photo_id":"1333469245","filename":"file1"},{"photo_id":"1333469189","filename":"file0"},{"photo_id":"1333469376","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333469376":["hashtag1","hashtag2"]},{"1333469298":["hashtag1","hashtag2"]},{"1333469189":["hashtag1","hashtag2"]},{"1333469543":["hashtag1","hashtag2"]},{"1333469438":["hashtag1","hashtag2"]},{"1333469245":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333469376, 1333469298, 1333469189, 1333469543, 1333469438, 1333469245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9504292011261 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:54:32.378445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/27/image_31012025_17_28_05_10340.jpg', '/home/pi/Desktop/images/31012025/17/28/image_31012025_17_28_15_9364.jpg', '/home/pi/Desktop/images/31012025/17/28/image_31012025_17_28_25_10363.jpg', '/home/pi/Desktop/images/31012025/17/28/image_31012025_17_28_45_10451.jpg', '/home/pi/Desktop/images/31012025/17/28/image_31012025_17_28_55_10385.jpg', '/home/pi/Desktop/images/31012025/17/28/image_31012025_17_29_05_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/27/image_31012025_17_28_05_10340.jpg
/home/pi/Desktop/images/31012025/17/28/image_31012025_17_28_15_9364.jpg
/home/pi/Desktop/images/31012025/17/28/image_31012025_17_28_25_10363.jpg
/home/pi/Desktop/images/31012025/17/28/image_31012025_17_28_45_10451.jpg
/home/pi/Desktop/images/31012025/17/28/image_31012025_17_28_55_10385.jpg
/home/pi/Desktop/images/31012025/17/28/image_31012025_17_29_05_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":["1333470214","1333470192","1333470004","1333470255","1333470129","1333470055"],"photo_ids_order":["1333470004","1333470055","1333470129","1333470192","1333470214","1333470255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a6f7f7140a81159fefedcc86fdf05c6f.jpg","text":"TemporaryFile(/tmp/multipartBody5666070240568220013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356932862,"filename":"image_31012025_17_28_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/1/31/72f28ea489b4adfcb74684ea7d1c18ae.jpg","text":"TemporaryFile(/tmp/multipartBody3532746828984070593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356932862,"filename":"image_31012025_17_28_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/1/31/6d52c4b0e5a0433cb20ff56a78d41d0e.jpg","text":"TemporaryFile(/tmp/multipartBody4870315929691346918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356932862,"filename":"image_31012025_17_28_05_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/92e151b6684443101a5ba4201340fa74.jpg","text":"TemporaryFile(/tmp/multipartBody6511121959841901590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356932862,"filename":"image_31012025_17_29_05_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9475829a7922ec3c9bf591e5fa30f68b.jpg","text":"TemporaryFile(/tmp/multipartBody4403621246446415087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356932862,"filename":"image_31012025_17_28_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/1/31/78b398778328afa88d300f72e596c660.jpg","text":"TemporaryFile(/tmp/multipartBody3140303316215984178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356932862,"filename":"image_31012025_17_28_15_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333470129","file1":"1333470055","file0":"1333470004","file4":"1333470214","file5":"1333470255","file3":"1333470192"},"map_files_photo_id_array":[{"photo_id":"1333470255","filename":"file5"},{"photo_id":"1333470129","filename":"file2"},{"photo_id":"1333470214","filename":"file4"},{"photo_id":"1333470055","filename":"file1"},{"photo_id":"1333470004","filename":"file0"},{"photo_id":"1333470192","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333470214":["hashtag1","hashtag2"]},{"1333470192":["hashtag1","hashtag2"]},{"1333470004":["hashtag1","hashtag2"]},{"1333470255":["hashtag1","hashtag2"]},{"1333470129":["hashtag1","hashtag2"]},{"1333470055":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333470214, 1333470192, 1333470004, 1333470255, 1333470129, 1333470055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.608118772506714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:55:32.586115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/29/image_31012025_17_29_15_10329.jpg', '/home/pi/Desktop/images/31012025/17/29/image_31012025_17_29_24_9364.jpg', '/home/pi/Desktop/images/31012025/17/29/image_31012025_17_29_35_10424.jpg', '/home/pi/Desktop/images/31012025/17/29/image_31012025_17_29_45_10362.jpg', '/home/pi/Desktop/images/31012025/17/29/image_31012025_17_30_05_10407.jpg', '/home/pi/Desktop/images/31012025/17/30/image_31012025_17_30_25_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/29/image_31012025_17_29_15_10329.jpg
/home/pi/Desktop/images/31012025/17/29/image_31012025_17_29_24_9364.jpg
/home/pi/Desktop/images/31012025/17/29/image_31012025_17_29_35_10424.jpg
/home/pi/Desktop/images/31012025/17/29/image_31012025_17_29_45_10362.jpg
/home/pi/Desktop/images/31012025/17/29/image_31012025_17_30_05_10407.jpg
/home/pi/Desktop/images/31012025/17/30/image_31012025_17_30_25_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":["1333471221","1333470945","1333471070","1333471379","1333471121","1333471294"],"photo_ids_order":["1333470945","1333471070","1333471121","1333471221","1333471294","1333471379"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a8f075744f0d4f15ceba286650a9d025.jpg","text":"TemporaryFile(/tmp/multipartBody3449327121395857245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356993152,"filename":"image_31012025_17_29_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/1/31/2b21b4d39a11d6c51163d5771fdc6d89.jpg","text":"TemporaryFile(/tmp/multipartBody3239825370020697203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356993152,"filename":"image_31012025_17_29_15_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f01f6234f1bcec30d011f4c95e87d6d3.jpg","text":"TemporaryFile(/tmp/multipartBody562190158851662406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356993152,"filename":"image_31012025_17_29_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/1/31/5c5ad610eff04e7b94d869419e172006.jpg","text":"TemporaryFile(/tmp/multipartBody6357969628272809758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356993152,"filename":"image_31012025_17_30_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/38e115db49c2ffffa3e94926147ae909.jpg","text":"TemporaryFile(/tmp/multipartBody8516681429648291710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356993152,"filename":"image_31012025_17_29_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/1/31/988229d8e30f4fac355759338f6cda96.jpg","text":"TemporaryFile(/tmp/multipartBody2775218453941014791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738356993152,"filename":"image_31012025_17_30_05_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333471121","file1":"1333471070","file0":"1333470945","file4":"1333471294","file5":"1333471379","file3":"1333471221"},"map_files_photo_id_array":[{"photo_id":"1333471379","filename":"file5"},{"photo_id":"1333471121","filename":"file2"},{"photo_id":"1333471294","filename":"file4"},{"photo_id":"1333471070","filename":"file1"},{"photo_id":"1333470945","filename":"file0"},{"photo_id":"1333471221","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333471221":["hashtag1","hashtag2"]},{"1333470945":["hashtag1","hashtag2"]},{"1333471070":["hashtag1","hashtag2"]},{"1333471379":["hashtag1","hashtag2"]},{"1333471121":["hashtag1","hashtag2"]},{"1333471294":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333471221, 1333470945, 1333471070, 1333471379, 1333471121, 1333471294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.76518702507019 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:56:32.664564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/30/image_31012025_17_30_35_10443.jpg', '/home/pi/Desktop/images/31012025/17/31/image_31012025_17_31_25_10346.jpg', '/home/pi/Desktop/images/31012025/17/31/image_31012025_17_31_35_9348.jpg', '/home/pi/Desktop/images/31012025/17/32/image_31012025_17_32_55_9434.jpg', '/home/pi/Desktop/images/31012025/17/33/image_31012025_17_33_14_9331.jpg', '/home/pi/Desktop/images/31012025/17/33/image_31012025_17_33_25_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/30/image_31012025_17_30_35_10443.jpg
/home/pi/Desktop/images/31012025/17/31/image_31012025_17_31_25_10346.jpg
/home/pi/Desktop/images/31012025/17/31/image_31012025_17_31_35_9348.jpg
/home/pi/Desktop/images/31012025/17/32/image_31012025_17_32_55_9434.jpg
/home/pi/Desktop/images/31012025/17/33/image_31012025_17_33_14_9331.jpg
/home/pi/Desktop/images/31012025/17/33/image_31012025_17_33_25_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333471920","1333471925","1333471916","1333471912","1333471906","1333471909"],"photo_ids_order":["1333471906","1333471909","1333471912","1333471916","1333471920","1333471925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/51db31b639ffbd25e5b04e7f6c3cb296.jpg","text":"TemporaryFile(/tmp/multipartBody1251408973553773812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357053210,"filename":"image_31012025_17_33_14_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c592efb33e544eb4874677976074562c.jpg","text":"TemporaryFile(/tmp/multipartBody3226048913864251118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357053210,"filename":"image_31012025_17_33_25_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/93a8c6c392a0bae3313be3881d10130c.jpg","text":"TemporaryFile(/tmp/multipartBody2000504630073227584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357053210,"filename":"image_31012025_17_32_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/1/31/e1354dc1a9688291de60a682414f4dde.jpg","text":"TemporaryFile(/tmp/multipartBody7555554870387310829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357053210,"filename":"image_31012025_17_31_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/1/31/22af9310ec2cb7342216670e63fd74f5.jpg","text":"TemporaryFile(/tmp/multipartBody8949618933517423613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357053210,"filename":"image_31012025_17_30_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/1/31/20dee01645984f40e5f8dc92a755026a.jpg","text":"TemporaryFile(/tmp/multipartBody1025357215438153124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357053210,"filename":"image_31012025_17_31_25_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333471912","file1":"1333471909","file0":"1333471906","file4":"1333471920","file5":"1333471925","file3":"1333471916"},"map_files_photo_id_array":[{"photo_id":"1333471925","filename":"file5"},{"photo_id":"1333471912","filename":"file2"},{"photo_id":"1333471920","filename":"file4"},{"photo_id":"1333471909","filename":"file1"},{"photo_id":"1333471906","filename":"file0"},{"photo_id":"1333471916","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333471920":["hashtag1","hashtag2"]},{"1333471925":["hashtag1","hashtag2"]},{"1333471916":["hashtag1","hashtag2"]},{"1333471912":["hashtag1","hashtag2"]},{"1333471906":["hashtag1","hashtag2"]},{"1333471909":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333471920, 1333471925, 1333471916, 1333471912, 1333471906, 1333471909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.606584548950195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 21:57:32.965520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/33/image_31012025_17_33_35_10363.jpg', '/home/pi/Desktop/images/31012025/17/33/image_31012025_17_33_45_9342.jpg', '/home/pi/Desktop/images/31012025/17/33/image_31012025_17_33_55_10478.jpg', '/home/pi/Desktop/images/31012025/17/33/image_31012025_17_34_04_9412.jpg', '/home/pi/Desktop/images/31012025/17/34/image_31012025_17_34_15_10407.jpg', '/home/pi/Desktop/images/31012025/17/34/image_31012025_17_34_35_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/33/image_31012025_17_33_35_10363.jpg
/home/pi/Desktop/images/31012025/17/33/image_31012025_17_33_45_9342.jpg
/home/pi/Desktop/images/31012025/17/33/image_31012025_17_33_55_10478.jpg
/home/pi/Desktop/images/31012025/17/33/image_31012025_17_34_04_9412.jpg
/home/pi/Desktop/images/31012025/17/34/image_31012025_17_34_15_10407.jpg
/home/pi/Desktop/images/31012025/17/34/image_31012025_17_34_35_9373.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-01-31 21:59:04.230487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/33/image_31012025_17_33_35_10363.jpg', '/home/pi/Desktop/images/31012025/17/33/image_31012025_17_33_45_9342.jpg', '/home/pi/Desktop/images/31012025/17/33/image_31012025_17_33_55_10478.jpg', '/home/pi/Desktop/images/31012025/17/33/image_31012025_17_34_04_9412.jpg', '/home/pi/Desktop/images/31012025/17/34/image_31012025_17_34_15_10407.jpg', '/home/pi/Desktop/images/31012025/17/34/image_31012025_17_34_35_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/33/image_31012025_17_33_35_10363.jpg
/home/pi/Desktop/images/31012025/17/33/image_31012025_17_33_45_9342.jpg
/home/pi/Desktop/images/31012025/17/33/image_31012025_17_33_55_10478.jpg
/home/pi/Desktop/images/31012025/17/33/image_31012025_17_34_04_9412.jpg
/home/pi/Desktop/images/31012025/17/34/image_31012025_17_34_15_10407.jpg
/home/pi/Desktop/images/31012025/17/34/image_31012025_17_34_35_9373.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333472390","1333472301","1333472459","1333472468","1333472207","1333472464"],"photo_ids_order":["1333472207","1333472301","1333472390","1333472459","1333472464","1333472468"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/90ebe9878a87daa625a5a3dbb9828331.jpg","text":"TemporaryFile(/tmp/multipartBody8153390458578663342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357204895,"filename":"image_31012025_17_33_55_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3f1e264d13bd0a7d704750be6fdeed3c.jpg","text":"TemporaryFile(/tmp/multipartBody2385014633373681769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357204895,"filename":"image_31012025_17_33_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/1/31/7a55543f076aff5161c80dd3cd0ad848.jpg","text":"TemporaryFile(/tmp/multipartBody1198530774193356971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357204895,"filename":"image_31012025_17_34_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/1/31/04963efe73776f164f714ab289da22f9.jpg","text":"TemporaryFile(/tmp/multipartBody6290741373421629841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357204895,"filename":"image_31012025_17_34_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/1/31/22ac0339e484fcd2ab4ad0cca29c6d1b.jpg","text":"TemporaryFile(/tmp/multipartBody6168340673439925889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357204895,"filename":"image_31012025_17_33_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/1/31/ba7659010d2915cf6094465334f3749a.jpg","text":"TemporaryFile(/tmp/multipartBody5819217104774947030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357204895,"filename":"image_31012025_17_34_15_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333472390","file1":"1333472301","file0":"1333472207","file4":"1333472464","file5":"1333472468","file3":"1333472459"},"map_files_photo_id_array":[{"photo_id":"1333472468","filename":"file5"},{"photo_id":"1333472390","filename":"file2"},{"photo_id":"1333472464","filename":"file4"},{"photo_id":"1333472301","filename":"file1"},{"photo_id":"1333472207","filename":"file0"},{"photo_id":"1333472459","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333472390":["hashtag1","hashtag2"]},{"1333472301":["hashtag1","hashtag2"]},{"1333472459":["hashtag1","hashtag2"]},{"1333472468":["hashtag1","hashtag2"]},{"1333472207":["hashtag1","hashtag2"]},{"1333472464":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333472390, 1333472301, 1333472459, 1333472468, 1333472207, 1333472464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.177263021469116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 21:59:42.729507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/34/image_31012025_17_34_45_10362.jpg', '/home/pi/Desktop/images/31012025/17/34/image_31012025_17_34_55_10354.jpg', '/home/pi/Desktop/images/31012025/17/34/image_31012025_17_35_05_9455.jpg', '/home/pi/Desktop/images/31012025/17/35/image_31012025_17_35_15_10354.jpg', '/home/pi/Desktop/images/31012025/17/35/image_31012025_17_35_24_9353.jpg', '/home/pi/Desktop/images/31012025/17/36/image_31012025_17_36_35_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/34/image_31012025_17_34_45_10362.jpg
/home/pi/Desktop/images/31012025/17/34/image_31012025_17_34_55_10354.jpg
/home/pi/Desktop/images/31012025/17/34/image_31012025_17_35_05_9455.jpg
/home/pi/Desktop/images/31012025/17/35/image_31012025_17_35_15_10354.jpg
/home/pi/Desktop/images/31012025/17/35/image_31012025_17_35_24_9353.jpg
/home/pi/Desktop/images/31012025/17/36/image_31012025_17_36_35_10430.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":["1333472532","1333472526","1333472542","1333472536","1333472521","1333472544"],"photo_ids_order":["1333472521","1333472526","1333472532","1333472536","1333472542","1333472544"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/af698dd0000689cb1b9d18833b430bca.jpg","text":"TemporaryFile(/tmp/multipartBody8476958436692584169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357243283,"filename":"image_31012025_17_35_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/1/31/a4b5575cbb03133587dd80fe5e963c00.jpg","text":"TemporaryFile(/tmp/multipartBody5977460660489457834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357243283,"filename":"image_31012025_17_34_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/1/31/7b849a78f679b596a8ad362dc4a63471.jpg","text":"TemporaryFile(/tmp/multipartBody5602770961843063717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357243283,"filename":"image_31012025_17_35_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/1/31/058aea8ccd2388457f4bf47cb0c98586.jpg","text":"TemporaryFile(/tmp/multipartBody8217708544071454060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357243283,"filename":"image_31012025_17_35_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/1/31/e02263eab366f54df3342dc73397106d.jpg","text":"TemporaryFile(/tmp/multipartBody673179115903040035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357243283,"filename":"image_31012025_17_34_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/1/31/9b5fcad1f335b47adc8b327c34547a37.jpg","text":"TemporaryFile(/tmp/multipartBody7770929131402637997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357243283,"filename":"image_31012025_17_36_35_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333472532","file1":"1333472526","file0":"1333472521","file4":"1333472542","file5":"1333472544","file3":"1333472536"},"map_files_photo_id_array":[{"photo_id":"1333472544","filename":"file5"},{"photo_id":"1333472532","filename":"file2"},{"photo_id":"1333472542","filename":"file4"},{"photo_id":"1333472526","filename":"file1"},{"photo_id":"1333472521","filename":"file0"},{"photo_id":"1333472536","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333472532":["hashtag1","hashtag2"]},{"1333472526":["hashtag1","hashtag2"]},{"1333472542":["hashtag1","hashtag2"]},{"1333472536":["hashtag1","hashtag2"]},{"1333472521":["hashtag1","hashtag2"]},{"1333472544":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333472532, 1333472526, 1333472542, 1333472536, 1333472521, 1333472544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.42917513847351 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:00:32.958473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/36/image_31012025_17_36_55_10440.jpg', '/home/pi/Desktop/images/31012025/17/37/image_31012025_17_37_15_9453.jpg', '/home/pi/Desktop/images/31012025/17/37/image_31012025_17_37_25_10355.jpg', '/home/pi/Desktop/images/31012025/17/37/image_31012025_17_37_45_10442.jpg', '/home/pi/Desktop/images/31012025/17/37/image_31012025_17_38_05_9476.jpg', '/home/pi/Desktop/images/31012025/17/38/image_31012025_17_38_15_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/36/image_31012025_17_36_55_10440.jpg
/home/pi/Desktop/images/31012025/17/37/image_31012025_17_37_15_9453.jpg
/home/pi/Desktop/images/31012025/17/37/image_31012025_17_37_25_10355.jpg
/home/pi/Desktop/images/31012025/17/37/image_31012025_17_37_45_10442.jpg
/home/pi/Desktop/images/31012025/17/37/image_31012025_17_38_05_9476.jpg
/home/pi/Desktop/images/31012025/17/38/image_31012025_17_38_15_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333472669","1333472633","1333472804","1333472749","1333472629","1333472637"],"photo_ids_order":["1333472629","1333472633","1333472637","1333472669","1333472749","1333472804"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8179592a6c834694622bac3bd3302480.jpg","text":"TemporaryFile(/tmp/multipartBody4072231402669807685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357293503,"filename":"image_31012025_17_37_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/1/31/70488197f7e6276eb8df2db064a6f20d.jpg","text":"TemporaryFile(/tmp/multipartBody6408031783854585754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357293503,"filename":"image_31012025_17_37_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/1/31/170d8468055726aed1d4779ce8c665e8.jpg","text":"TemporaryFile(/tmp/multipartBody7168050435733946719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357293503,"filename":"image_31012025_17_38_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ba335b9a2ebf002ef4189585fd26ace6.jpg","text":"TemporaryFile(/tmp/multipartBody8057392675218910389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357293503,"filename":"image_31012025_17_38_05_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/87b26831be468d2865bd5e408ed05fc6.jpg","text":"TemporaryFile(/tmp/multipartBody688490589820803894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357293503,"filename":"image_31012025_17_36_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/1/31/cc2798bfc2876241e53885f27b1d0331.jpg","text":"TemporaryFile(/tmp/multipartBody6675412067946399822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357293503,"filename":"image_31012025_17_37_25_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333472637","file1":"1333472633","file0":"1333472629","file4":"1333472749","file5":"1333472804","file3":"1333472669"},"map_files_photo_id_array":[{"photo_id":"1333472804","filename":"file5"},{"photo_id":"1333472637","filename":"file2"},{"photo_id":"1333472749","filename":"file4"},{"photo_id":"1333472633","filename":"file1"},{"photo_id":"1333472629","filename":"file0"},{"photo_id":"1333472669","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333472669":["hashtag1","hashtag2"]},{"1333472633":["hashtag1","hashtag2"]},{"1333472804":["hashtag1","hashtag2"]},{"1333472749":["hashtag1","hashtag2"]},{"1333472629":["hashtag1","hashtag2"]},{"1333472637":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333472669, 1333472633, 1333472804, 1333472749, 1333472629, 1333472637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.091814517974854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:01:32.256163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/38/image_31012025_17_38_35_10434.jpg', '/home/pi/Desktop/images/31012025/17/38/image_31012025_17_39_05_10437.jpg', '/home/pi/Desktop/images/31012025/17/39/image_31012025_17_39_14_9311.jpg', '/home/pi/Desktop/images/31012025/17/39/image_31012025_17_39_25_10362.jpg', '/home/pi/Desktop/images/31012025/17/39/image_31012025_17_39_55_10358.jpg', '/home/pi/Desktop/images/31012025/17/40/image_31012025_17_40_45_9472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/38/image_31012025_17_38_35_10434.jpg
/home/pi/Desktop/images/31012025/17/38/image_31012025_17_39_05_10437.jpg
/home/pi/Desktop/images/31012025/17/39/image_31012025_17_39_14_9311.jpg
/home/pi/Desktop/images/31012025/17/39/image_31012025_17_39_25_10362.jpg
/home/pi/Desktop/images/31012025/17/39/image_31012025_17_39_55_10358.jpg
/home/pi/Desktop/images/31012025/17/40/image_31012025_17_40_45_9472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333472981","1333472977","1333472992","1333472988","1333472985","1333472973"],"photo_ids_order":["1333472973","1333472977","1333472981","1333472985","1333472988","1333472992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3262db1f317cadaeeefdd004d4f3c403.jpg","text":"TemporaryFile(/tmp/multipartBody6045897902070451532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357352804,"filename":"image_31012025_17_39_14_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2379a4cb418629eec6af6eb379dfd0ca.jpg","text":"TemporaryFile(/tmp/multipartBody295737271136018387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357352804,"filename":"image_31012025_17_39_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/1/31/285d3fd09053d86e85975dd17326b34b.jpg","text":"TemporaryFile(/tmp/multipartBody4762521927001301475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357352804,"filename":"image_31012025_17_40_45_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/843f1f8d08c769b97c357a9cebcda79c.jpg","text":"TemporaryFile(/tmp/multipartBody907798741070290276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357352804,"filename":"image_31012025_17_39_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/1/31/292cdb69a4b3ef80aeecca1929f515f1.jpg","text":"TemporaryFile(/tmp/multipartBody5360627572435608709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357352804,"filename":"image_31012025_17_39_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/1/31/a640a8392f76a18616caeb392aa03615.jpg","text":"TemporaryFile(/tmp/multipartBody9005699972937101216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357352804,"filename":"image_31012025_17_38_35_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333472981","file1":"1333472977","file0":"1333472973","file4":"1333472988","file5":"1333472992","file3":"1333472985"},"map_files_photo_id_array":[{"photo_id":"1333472992","filename":"file5"},{"photo_id":"1333472981","filename":"file2"},{"photo_id":"1333472988","filename":"file4"},{"photo_id":"1333472977","filename":"file1"},{"photo_id":"1333472973","filename":"file0"},{"photo_id":"1333472985","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333472981":["hashtag1","hashtag2"]},{"1333472977":["hashtag1","hashtag2"]},{"1333472992":["hashtag1","hashtag2"]},{"1333472988":["hashtag1","hashtag2"]},{"1333472985":["hashtag1","hashtag2"]},{"1333472973":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333472981, 1333472977, 1333472992, 1333472988, 1333472985, 1333472973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.847951889038086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:02:32.561297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/40/image_31012025_17_40_55_10448.jpg', '/home/pi/Desktop/images/31012025/17/41/image_31012025_17_41_25_9740.jpg', '/home/pi/Desktop/images/31012025/17/41/image_31012025_17_41_35_10279.jpg', '/home/pi/Desktop/images/31012025/17/41/image_31012025_17_41_45_10343.jpg', '/home/pi/Desktop/images/31012025/17/41/image_31012025_17_41_55_9426.jpg', '/home/pi/Desktop/images/31012025/17/41/image_31012025_17_42_05_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/40/image_31012025_17_40_55_10448.jpg
/home/pi/Desktop/images/31012025/17/41/image_31012025_17_41_25_9740.jpg
/home/pi/Desktop/images/31012025/17/41/image_31012025_17_41_35_10279.jpg
/home/pi/Desktop/images/31012025/17/41/image_31012025_17_41_45_10343.jpg
/home/pi/Desktop/images/31012025/17/41/image_31012025_17_41_55_9426.jpg
/home/pi/Desktop/images/31012025/17/41/image_31012025_17_42_05_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":["1333473053","1333473157","1333473060","1333473057","1333473147","1333473182"],"photo_ids_order":["1333473053","1333473057","1333473060","1333473147","1333473157","1333473182"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2f7a8cd88bc916c8635d0416f012317e.jpg","text":"TemporaryFile(/tmp/multipartBody930933330813620924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357413130,"filename":"image_31012025_17_40_55_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fa969c742b8818829f6982480ff6bbea.jpg","text":"TemporaryFile(/tmp/multipartBody560269551887428586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357413130,"filename":"image_31012025_17_41_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/1/31/a6fa4687541ce24834fcd68d48558b0a.jpg","text":"TemporaryFile(/tmp/multipartBody4681228384667514684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357413130,"filename":"image_31012025_17_41_35_10279.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c580558d1156db22059ad81a744a99f3.jpg","text":"TemporaryFile(/tmp/multipartBody6843196595999210074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357413130,"filename":"image_31012025_17_41_25_9740.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/300fb4d13deb0b8401e48c8bb5ce2781.jpg","text":"TemporaryFile(/tmp/multipartBody5059852015796142369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357413130,"filename":"image_31012025_17_41_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/1/31/1c582fc0760b2388ae0d9eb147ba7e5c.jpg","text":"TemporaryFile(/tmp/multipartBody3826623244647485621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357413130,"filename":"image_31012025_17_42_05_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333473060","file1":"1333473057","file0":"1333473053","file4":"1333473157","file5":"1333473182","file3":"1333473147"},"map_files_photo_id_array":[{"photo_id":"1333473182","filename":"file5"},{"photo_id":"1333473060","filename":"file2"},{"photo_id":"1333473157","filename":"file4"},{"photo_id":"1333473057","filename":"file1"},{"photo_id":"1333473053","filename":"file0"},{"photo_id":"1333473147","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333473053":["hashtag1","hashtag2"]},{"1333473157":["hashtag1","hashtag2"]},{"1333473060":["hashtag1","hashtag2"]},{"1333473057":["hashtag1","hashtag2"]},{"1333473147":["hashtag1","hashtag2"]},{"1333473182":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333473053, 1333473157, 1333473060, 1333473057, 1333473147, 1333473182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.329190969467163 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:03:32.721945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/42/image_31012025_17_42_15_9339.jpg', '/home/pi/Desktop/images/31012025/17/42/image_31012025_17_42_25_10375.jpg', '/home/pi/Desktop/images/31012025/17/42/image_31012025_17_42_35_10341.jpg', '/home/pi/Desktop/images/31012025/17/42/image_31012025_17_42_45_9409.jpg', '/home/pi/Desktop/images/31012025/17/42/image_31012025_17_42_55_10459.jpg', '/home/pi/Desktop/images/31012025/17/42/image_31012025_17_43_04_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/42/image_31012025_17_42_15_9339.jpg
/home/pi/Desktop/images/31012025/17/42/image_31012025_17_42_25_10375.jpg
/home/pi/Desktop/images/31012025/17/42/image_31012025_17_42_35_10341.jpg
/home/pi/Desktop/images/31012025/17/42/image_31012025_17_42_45_9409.jpg
/home/pi/Desktop/images/31012025/17/42/image_31012025_17_42_55_10459.jpg
/home/pi/Desktop/images/31012025/17/42/image_31012025_17_43_04_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":["1333473248","1333473244","1333473235","1333473261","1333473240","1333473237"],"photo_ids_order":["1333473235","1333473237","1333473240","1333473244","1333473248","1333473261"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/987e233c66e2ae3fced3343f135ef82e.jpg","text":"TemporaryFile(/tmp/multipartBody758816626722670487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357473275,"filename":"image_31012025_17_42_55_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/387c33426dd7f2b3c39f1917e12eb9a4.jpg","text":"TemporaryFile(/tmp/multipartBody7599608107477519334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357473275,"filename":"image_31012025_17_42_45_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/047cd842f240a7b346eaa3a4e15858c6.jpg","text":"TemporaryFile(/tmp/multipartBody2742422804726863271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357473275,"filename":"image_31012025_17_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/1/31/960d2d859ea032da45346c09a8dcd948.jpg","text":"TemporaryFile(/tmp/multipartBody5229461184118434239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357473275,"filename":"image_31012025_17_43_04_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/377a8993f8e214ac30bd5ca3cdc9fd54.jpg","text":"TemporaryFile(/tmp/multipartBody337624451874783423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357473275,"filename":"image_31012025_17_42_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/1/31/89c46e335ee86df3e1809d3b07c1443a.jpg","text":"TemporaryFile(/tmp/multipartBody520837095781774108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357473275,"filename":"image_31012025_17_42_25_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333473240","file1":"1333473237","file0":"1333473235","file4":"1333473248","file5":"1333473261","file3":"1333473244"},"map_files_photo_id_array":[{"photo_id":"1333473261","filename":"file5"},{"photo_id":"1333473240","filename":"file2"},{"photo_id":"1333473248","filename":"file4"},{"photo_id":"1333473237","filename":"file1"},{"photo_id":"1333473235","filename":"file0"},{"photo_id":"1333473244","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333473248":["hashtag1","hashtag2"]},{"1333473244":["hashtag1","hashtag2"]},{"1333473235":["hashtag1","hashtag2"]},{"1333473261":["hashtag1","hashtag2"]},{"1333473240":["hashtag1","hashtag2"]},{"1333473237":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333473248, 1333473244, 1333473235, 1333473261, 1333473240, 1333473237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.24404764175415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:04:33.091962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/43/image_31012025_17_43_15_10355.jpg', '/home/pi/Desktop/images/31012025/17/43/image_31012025_17_43_25_10363.jpg', '/home/pi/Desktop/images/31012025/17/43/image_31012025_17_43_35_9336.jpg', '/home/pi/Desktop/images/31012025/17/43/image_31012025_17_43_45_10457.jpg', '/home/pi/Desktop/images/31012025/17/43/image_31012025_17_43_54_9451.jpg', '/home/pi/Desktop/images/31012025/17/43/image_31012025_17_44_05_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/43/image_31012025_17_43_15_10355.jpg
/home/pi/Desktop/images/31012025/17/43/image_31012025_17_43_25_10363.jpg
/home/pi/Desktop/images/31012025/17/43/image_31012025_17_43_35_9336.jpg
/home/pi/Desktop/images/31012025/17/43/image_31012025_17_43_45_10457.jpg
/home/pi/Desktop/images/31012025/17/43/image_31012025_17_43_54_9451.jpg
/home/pi/Desktop/images/31012025/17/43/image_31012025_17_44_05_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":["1333473368","1333473335","1333473384","1333473381","1333473369","1333473417"],"photo_ids_order":["1333473335","1333473368","1333473369","1333473381","1333473384","1333473417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2179f8bcdbfc71a8332843fcaf2fa177.jpg","text":"TemporaryFile(/tmp/multipartBody3898953024546868624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357533653,"filename":"image_31012025_17_43_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/1/31/2eb85a6659132ed8fdee3f8629d8b7ef.jpg","text":"TemporaryFile(/tmp/multipartBody7796478454101347225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357533653,"filename":"image_31012025_17_43_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/1/31/baa423a3bf7fa1ae3d2bda7edfff45d4.jpg","text":"TemporaryFile(/tmp/multipartBody3055918049553542738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357533653,"filename":"image_31012025_17_43_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/1/31/a2e5b93d2b40a28772251dd3b2eacc18.jpg","text":"TemporaryFile(/tmp/multipartBody6027415989486562257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357533653,"filename":"image_31012025_17_43_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/1/31/4a8a498a52afa59a1bb316d1a5e66655.jpg","text":"TemporaryFile(/tmp/multipartBody648998536259125831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357533653,"filename":"image_31012025_17_43_35_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d164e953310d49fb8350b9d20bd57519.jpg","text":"TemporaryFile(/tmp/multipartBody8864863074849373776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357533653,"filename":"image_31012025_17_44_05_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333473369","file1":"1333473368","file0":"1333473335","file4":"1333473384","file5":"1333473417","file3":"1333473381"},"map_files_photo_id_array":[{"photo_id":"1333473417","filename":"file5"},{"photo_id":"1333473369","filename":"file2"},{"photo_id":"1333473384","filename":"file4"},{"photo_id":"1333473368","filename":"file1"},{"photo_id":"1333473335","filename":"file0"},{"photo_id":"1333473381","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333473368":["hashtag1","hashtag2"]},{"1333473335":["hashtag1","hashtag2"]},{"1333473384":["hashtag1","hashtag2"]},{"1333473381":["hashtag1","hashtag2"]},{"1333473369":["hashtag1","hashtag2"]},{"1333473417":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333473368, 1333473335, 1333473384, 1333473381, 1333473369, 1333473417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.47605514526367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:05:32.220807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/44/image_31012025_17_44_15_10366.jpg', '/home/pi/Desktop/images/31012025/17/44/image_31012025_17_44_25_9358.jpg', '/home/pi/Desktop/images/31012025/17/44/image_31012025_17_44_35_10442.jpg', '/home/pi/Desktop/images/31012025/17/44/image_31012025_17_44_45_10364.jpg', '/home/pi/Desktop/images/31012025/17/44/image_31012025_17_45_05_10442.jpg', '/home/pi/Desktop/images/31012025/17/45/image_31012025_17_45_15_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/44/image_31012025_17_44_15_10366.jpg
/home/pi/Desktop/images/31012025/17/44/image_31012025_17_44_25_9358.jpg
/home/pi/Desktop/images/31012025/17/44/image_31012025_17_44_35_10442.jpg
/home/pi/Desktop/images/31012025/17/44/image_31012025_17_44_45_10364.jpg
/home/pi/Desktop/images/31012025/17/44/image_31012025_17_45_05_10442.jpg
/home/pi/Desktop/images/31012025/17/45/image_31012025_17_45_15_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":["1333473857","1333473722","1333473502","1333473819","1333473785","1333473674"],"photo_ids_order":["1333473502","1333473674","1333473722","1333473785","1333473819","1333473857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fc3af2838df762be321133ee58b4cf0f.jpg","text":"TemporaryFile(/tmp/multipartBody2742975008288783600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357592784,"filename":"image_31012025_17_45_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/1/31/ef70dc9edc7d73752c45e4305498cb2e.jpg","text":"TemporaryFile(/tmp/multipartBody5302244128001554448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357592784,"filename":"image_31012025_17_44_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/1/31/8afed248abf652924717dfbd351a804f.jpg","text":"TemporaryFile(/tmp/multipartBody4537777508877724860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357592784,"filename":"image_31012025_17_44_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/1/31/b0170b4051159d243af49ead449f0f6c.jpg","text":"TemporaryFile(/tmp/multipartBody5663835724026634699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357592784,"filename":"image_31012025_17_45_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/1/31/60510fc3e97ccf526f14e9fd14524dd0.jpg","text":"TemporaryFile(/tmp/multipartBody873191159882454452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357592784,"filename":"image_31012025_17_44_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/1/31/e8a05577f2deefd3c01bc23777aa8852.jpg","text":"TemporaryFile(/tmp/multipartBody8319033483416858425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357592784,"filename":"image_31012025_17_44_25_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333473722","file1":"1333473674","file0":"1333473502","file4":"1333473819","file5":"1333473857","file3":"1333473785"},"map_files_photo_id_array":[{"photo_id":"1333473857","filename":"file5"},{"photo_id":"1333473722","filename":"file2"},{"photo_id":"1333473819","filename":"file4"},{"photo_id":"1333473674","filename":"file1"},{"photo_id":"1333473502","filename":"file0"},{"photo_id":"1333473785","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333473857":["hashtag1","hashtag2"]},{"1333473722":["hashtag1","hashtag2"]},{"1333473502":["hashtag1","hashtag2"]},{"1333473819":["hashtag1","hashtag2"]},{"1333473785":["hashtag1","hashtag2"]},{"1333473674":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333473857, 1333473722, 1333473502, 1333473819, 1333473785, 1333473674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.534566164016724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:06:32.378476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/45/image_31012025_17_45_25_10355.jpg', '/home/pi/Desktop/images/31012025/17/45/image_31012025_17_45_35_10346.jpg', '/home/pi/Desktop/images/31012025/17/45/image_31012025_17_45_55_10418.jpg', '/home/pi/Desktop/images/31012025/17/46/image_31012025_17_46_15_10450.jpg', '/home/pi/Desktop/images/31012025/17/46/image_31012025_17_46_45_10347.jpg', '/home/pi/Desktop/images/31012025/17/46/image_31012025_17_46_54_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/45/image_31012025_17_45_25_10355.jpg
/home/pi/Desktop/images/31012025/17/45/image_31012025_17_45_35_10346.jpg
/home/pi/Desktop/images/31012025/17/45/image_31012025_17_45_55_10418.jpg
/home/pi/Desktop/images/31012025/17/46/image_31012025_17_46_15_10450.jpg
/home/pi/Desktop/images/31012025/17/46/image_31012025_17_46_45_10347.jpg
/home/pi/Desktop/images/31012025/17/46/image_31012025_17_46_54_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":["1333473881","1333473892","1333473961","1333474140","1333474046","1333473878"],"photo_ids_order":["1333473878","1333473881","1333473892","1333473961","1333474046","1333474140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9afdda748cc4884b6c71654d5cda12b2.jpg","text":"TemporaryFile(/tmp/multipartBody1422566276077649482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357652930,"filename":"image_31012025_17_45_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/1/31/c204f6c52a29e859a57171fa488fbd8d.jpg","text":"TemporaryFile(/tmp/multipartBody8423711357723533548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357652930,"filename":"image_31012025_17_45_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/1/31/5683417a5b38edab5ee6b4d617a8519b.jpg","text":"TemporaryFile(/tmp/multipartBody8017709072840468239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357652930,"filename":"image_31012025_17_46_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/1/31/18ebee8bb1c1d12ad2118c511463f8ba.jpg","text":"TemporaryFile(/tmp/multipartBody8310265819243614022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357652930,"filename":"image_31012025_17_46_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/1/31/f40d1113318dca03a711ceb7b1dd2ce5.jpg","text":"TemporaryFile(/tmp/multipartBody8666989064950506288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357652930,"filename":"image_31012025_17_46_45_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/534f70e62b71e2d3869ce1183636d94a.jpg","text":"TemporaryFile(/tmp/multipartBody1225866890157436437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357652930,"filename":"image_31012025_17_45_25_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333473892","file1":"1333473881","file0":"1333473878","file4":"1333474046","file5":"1333474140","file3":"1333473961"},"map_files_photo_id_array":[{"photo_id":"1333474140","filename":"file5"},{"photo_id":"1333473892","filename":"file2"},{"photo_id":"1333474046","filename":"file4"},{"photo_id":"1333473881","filename":"file1"},{"photo_id":"1333473878","filename":"file0"},{"photo_id":"1333473961","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333473881":["hashtag1","hashtag2"]},{"1333473892":["hashtag1","hashtag2"]},{"1333473961":["hashtag1","hashtag2"]},{"1333474140":["hashtag1","hashtag2"]},{"1333474046":["hashtag1","hashtag2"]},{"1333473878":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333473881, 1333473892, 1333473961, 1333474140, 1333474046, 1333473878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.067527294158936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:07:32.669792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/46/image_31012025_17_47_05_10436.jpg', '/home/pi/Desktop/images/31012025/17/47/image_31012025_17_47_25_9528.jpg', '/home/pi/Desktop/images/31012025/17/47/image_31012025_17_47_35_10345.jpg', '/home/pi/Desktop/images/31012025/17/47/image_31012025_17_47_44_9350.jpg', '/home/pi/Desktop/images/31012025/17/47/image_31012025_17_47_55_10343.jpg', '/home/pi/Desktop/images/31012025/17/48/image_31012025_17_48_14_9319.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/46/image_31012025_17_47_05_10436.jpg
/home/pi/Desktop/images/31012025/17/47/image_31012025_17_47_25_9528.jpg
/home/pi/Desktop/images/31012025/17/47/image_31012025_17_47_35_10345.jpg
/home/pi/Desktop/images/31012025/17/47/image_31012025_17_47_44_9350.jpg
/home/pi/Desktop/images/31012025/17/47/image_31012025_17_47_55_10343.jpg
/home/pi/Desktop/images/31012025/17/48/image_31012025_17_48_14_9319.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.4793412685394287 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 22:07:42.619735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/46/image_31012025_17_47_05_10436.jpg', '/home/pi/Desktop/images/31012025/17/47/image_31012025_17_47_25_9528.jpg', '/home/pi/Desktop/images/31012025/17/47/image_31012025_17_47_35_10345.jpg', '/home/pi/Desktop/images/31012025/17/47/image_31012025_17_47_44_9350.jpg', '/home/pi/Desktop/images/31012025/17/47/image_31012025_17_47_55_10343.jpg', '/home/pi/Desktop/images/31012025/17/48/image_31012025_17_48_14_9319.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/46/image_31012025_17_47_05_10436.jpg
/home/pi/Desktop/images/31012025/17/47/image_31012025_17_47_25_9528.jpg
/home/pi/Desktop/images/31012025/17/47/image_31012025_17_47_35_10345.jpg
/home/pi/Desktop/images/31012025/17/47/image_31012025_17_47_44_9350.jpg
/home/pi/Desktop/images/31012025/17/47/image_31012025_17_47_55_10343.jpg
/home/pi/Desktop/images/31012025/17/48/image_31012025_17_48_14_9319.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":["1333474957","1333474936","1333474870","1333474830","1333474937","1333474766"],"photo_ids_order":["1333474766","1333474830","1333474870","1333474936","1333474937","1333474957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5982903bf66d52dccbd15d2741febd7a.jpg","text":"TemporaryFile(/tmp/multipartBody7670537373013819268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357723086,"filename":"image_31012025_17_48_14_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8969f7ea2bb6bf492e6c2e0d22fee3bb.jpg","text":"TemporaryFile(/tmp/multipartBody25220035208431016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357723086,"filename":"image_31012025_17_47_44_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8db297ad061fc5e6dd8892be9c2d4775.jpg","text":"TemporaryFile(/tmp/multipartBody7512860935493185514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357723086,"filename":"image_31012025_17_47_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/1/31/31317bf573da2e8a0a034e4f84d38f51.jpg","text":"TemporaryFile(/tmp/multipartBody1218643048305866429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357723086,"filename":"image_31012025_17_47_25_9528.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1b413a2be8ce76184679773572d94f4e.jpg","text":"TemporaryFile(/tmp/multipartBody3334490746859876721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357723086,"filename":"image_31012025_17_47_55_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c879e0044d043daf7f6b6c1ff0b2c9a5.jpg","text":"TemporaryFile(/tmp/multipartBody5138456138656536236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357723086,"filename":"image_31012025_17_47_05_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333474870","file1":"1333474830","file0":"1333474766","file4":"1333474937","file5":"1333474957","file3":"1333474936"},"map_files_photo_id_array":[{"photo_id":"1333474957","filename":"file5"},{"photo_id":"1333474870","filename":"file2"},{"photo_id":"1333474937","filename":"file4"},{"photo_id":"1333474830","filename":"file1"},{"photo_id":"1333474766","filename":"file0"},{"photo_id":"1333474936","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333474957":["hashtag1","hashtag2"]},{"1333474936":["hashtag1","hashtag2"]},{"1333474870":["hashtag1","hashtag2"]},{"1333474830":["hashtag1","hashtag2"]},{"1333474937":["hashtag1","hashtag2"]},{"1333474766":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333474957, 1333474936, 1333474870, 1333474830, 1333474937, 1333474766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.187888383865356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:08:32.848944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/48/image_31012025_17_48_25_10474.jpg', '/home/pi/Desktop/images/31012025/17/48/image_31012025_17_48_35_10460.jpg', '/home/pi/Desktop/images/31012025/17/48/image_31012025_17_48_45_9382.jpg', '/home/pi/Desktop/images/31012025/17/48/image_31012025_17_48_55_10348.jpg', '/home/pi/Desktop/images/31012025/17/48/image_31012025_17_49_04_9336.jpg', '/home/pi/Desktop/images/31012025/17/49/image_31012025_17_49_15_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/48/image_31012025_17_48_25_10474.jpg
/home/pi/Desktop/images/31012025/17/48/image_31012025_17_48_35_10460.jpg
/home/pi/Desktop/images/31012025/17/48/image_31012025_17_48_45_9382.jpg
/home/pi/Desktop/images/31012025/17/48/image_31012025_17_48_55_10348.jpg
/home/pi/Desktop/images/31012025/17/48/image_31012025_17_49_04_9336.jpg
/home/pi/Desktop/images/31012025/17/49/image_31012025_17_49_15_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":["1333475082","1333475087","1333475096","1333475075","1333475114","1333475092"],"photo_ids_order":["1333475075","1333475082","1333475087","1333475092","1333475096","1333475114"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b70878684764495bac653c278df78866.jpg","text":"TemporaryFile(/tmp/multipartBody5427812577655754644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357773415,"filename":"image_31012025_17_48_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/1/31/e52bf1e19a0c2086541017480310b4c9.jpg","text":"TemporaryFile(/tmp/multipartBody2497111981761540030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357773415,"filename":"image_31012025_17_48_45_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3a06bd791c9de5347959faee222eada6.jpg","text":"TemporaryFile(/tmp/multipartBody3173293821944271719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357773415,"filename":"image_31012025_17_49_04_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bb4eeb8b1ff4b314c6422231fa9416ed.jpg","text":"TemporaryFile(/tmp/multipartBody9008834226739806377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357773415,"filename":"image_31012025_17_48_25_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6ce4d62d842d8732a7f236a0b9e9b195.jpg","text":"TemporaryFile(/tmp/multipartBody4350135532125830113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357773415,"filename":"image_31012025_17_49_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/1/31/d0bacf9d43fb252ee3e7d16a9fa39093.jpg","text":"TemporaryFile(/tmp/multipartBody2601082114227778201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357773415,"filename":"image_31012025_17_48_55_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333475087","file1":"1333475082","file0":"1333475075","file4":"1333475096","file5":"1333475114","file3":"1333475092"},"map_files_photo_id_array":[{"photo_id":"1333475114","filename":"file5"},{"photo_id":"1333475087","filename":"file2"},{"photo_id":"1333475096","filename":"file4"},{"photo_id":"1333475082","filename":"file1"},{"photo_id":"1333475075","filename":"file0"},{"photo_id":"1333475092","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333475082":["hashtag1","hashtag2"]},{"1333475087":["hashtag1","hashtag2"]},{"1333475096":["hashtag1","hashtag2"]},{"1333475075":["hashtag1","hashtag2"]},{"1333475114":["hashtag1","hashtag2"]},{"1333475092":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333475082, 1333475087, 1333475096, 1333475075, 1333475114, 1333475092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66983509063721 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:09:33.226191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/49/image_31012025_17_49_25_10453.jpg', '/home/pi/Desktop/images/31012025/17/49/image_31012025_17_49_35_9450.jpg', '/home/pi/Desktop/images/31012025/17/49/image_31012025_17_49_45_10424.jpg', '/home/pi/Desktop/images/31012025/17/49/image_31012025_17_49_55_9406.jpg', '/home/pi/Desktop/images/31012025/17/49/image_31012025_17_50_05_10424.jpg', '/home/pi/Desktop/images/31012025/17/50/image_31012025_17_50_15_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/49/image_31012025_17_49_25_10453.jpg
/home/pi/Desktop/images/31012025/17/49/image_31012025_17_49_35_9450.jpg
/home/pi/Desktop/images/31012025/17/49/image_31012025_17_49_45_10424.jpg
/home/pi/Desktop/images/31012025/17/49/image_31012025_17_49_55_9406.jpg
/home/pi/Desktop/images/31012025/17/49/image_31012025_17_50_05_10424.jpg
/home/pi/Desktop/images/31012025/17/50/image_31012025_17_50_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":["1333475386","1333475266","1333475550","1333475612","1333475615","1333475609"],"photo_ids_order":["1333475266","1333475386","1333475550","1333475609","1333475612","1333475615"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/87c2c1cbb87b88363807c1fd42bd73a2.jpg","text":"TemporaryFile(/tmp/multipartBody5449805020498445687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357833769,"filename":"image_31012025_17_49_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/1/31/8d82db40ee97d48c538f00502670ad84.jpg","text":"TemporaryFile(/tmp/multipartBody7417467543128101671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357833769,"filename":"image_31012025_17_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/1/31/2accdf2cf113f89b422be63be51bcf34.jpg","text":"TemporaryFile(/tmp/multipartBody5038049178071309564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357833769,"filename":"image_31012025_17_49_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/1/31/94e7adad036faa5f5e8b318b91c55ba1.jpg","text":"TemporaryFile(/tmp/multipartBody5154384376560177273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357833769,"filename":"image_31012025_17_50_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/1/31/b11a8d1dc20625cba3985ce965d822e2.jpg","text":"TemporaryFile(/tmp/multipartBody4285906567019490719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357833769,"filename":"image_31012025_17_50_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/1/31/68ce4c6220b0d75f503c005213fb1626.jpg","text":"TemporaryFile(/tmp/multipartBody4644925300934334480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357833769,"filename":"image_31012025_17_49_55_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333475550","file1":"1333475386","file0":"1333475266","file4":"1333475612","file5":"1333475615","file3":"1333475609"},"map_files_photo_id_array":[{"photo_id":"1333475615","filename":"file5"},{"photo_id":"1333475550","filename":"file2"},{"photo_id":"1333475612","filename":"file4"},{"photo_id":"1333475386","filename":"file1"},{"photo_id":"1333475266","filename":"file0"},{"photo_id":"1333475609","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333475386":["hashtag1","hashtag2"]},{"1333475266":["hashtag1","hashtag2"]},{"1333475550":["hashtag1","hashtag2"]},{"1333475612":["hashtag1","hashtag2"]},{"1333475615":["hashtag1","hashtag2"]},{"1333475609":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333475386, 1333475266, 1333475550, 1333475612, 1333475615, 1333475609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.95103335380554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:10:32.389877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/50/image_31012025_17_50_25_9471.jpg', '/home/pi/Desktop/images/31012025/17/50/image_31012025_17_50_35_10372.jpg', '/home/pi/Desktop/images/31012025/17/50/image_31012025_17_50_45_9395.jpg', '/home/pi/Desktop/images/31012025/17/50/image_31012025_17_50_55_10393.jpg', '/home/pi/Desktop/images/31012025/17/50/image_31012025_17_51_05_10338.jpg', '/home/pi/Desktop/images/31012025/17/51/image_31012025_17_51_15_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/50/image_31012025_17_50_25_9471.jpg
/home/pi/Desktop/images/31012025/17/50/image_31012025_17_50_35_10372.jpg
/home/pi/Desktop/images/31012025/17/50/image_31012025_17_50_45_9395.jpg
/home/pi/Desktop/images/31012025/17/50/image_31012025_17_50_55_10393.jpg
/home/pi/Desktop/images/31012025/17/50/image_31012025_17_51_05_10338.jpg
/home/pi/Desktop/images/31012025/17/51/image_31012025_17_51_15_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":["1333475761","1333475757","1333475745","1333475754","1333475768","1333475750"],"photo_ids_order":["1333475745","1333475750","1333475754","1333475757","1333475761","1333475768"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b9c3e11598f9e6969d32869051a6e236.jpg","text":"TemporaryFile(/tmp/multipartBody6034857614006777148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357892956,"filename":"image_31012025_17_51_05_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f5cff64d0f7bfddb4caa70b44cc5e9da.jpg","text":"TemporaryFile(/tmp/multipartBody4213068908206152323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357892956,"filename":"image_31012025_17_50_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/1/31/28d8e721a0ec729d21be979786916dc8.jpg","text":"TemporaryFile(/tmp/multipartBody5485737893876037094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357892956,"filename":"image_31012025_17_50_25_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8700563739ad20dad4c3d9e391e0361b.jpg","text":"TemporaryFile(/tmp/multipartBody4506726393902066579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357892956,"filename":"image_31012025_17_50_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/1/31/5fe362a4cf7d60696a2255d18614cc48.jpg","text":"TemporaryFile(/tmp/multipartBody5028513811001591975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357892956,"filename":"image_31012025_17_51_15_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0ef163198a8255839f387615a988bcc9.jpg","text":"TemporaryFile(/tmp/multipartBody7437592317192570224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357892956,"filename":"image_31012025_17_50_35_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333475754","file1":"1333475750","file0":"1333475745","file4":"1333475761","file5":"1333475768","file3":"1333475757"},"map_files_photo_id_array":[{"photo_id":"1333475768","filename":"file5"},{"photo_id":"1333475754","filename":"file2"},{"photo_id":"1333475761","filename":"file4"},{"photo_id":"1333475750","filename":"file1"},{"photo_id":"1333475745","filename":"file0"},{"photo_id":"1333475757","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333475761":["hashtag1","hashtag2"]},{"1333475757":["hashtag1","hashtag2"]},{"1333475745":["hashtag1","hashtag2"]},{"1333475754":["hashtag1","hashtag2"]},{"1333475768":["hashtag1","hashtag2"]},{"1333475750":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333475761, 1333475757, 1333475745, 1333475754, 1333475768, 1333475750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.11944270133972 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:11:32.753664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/51/image_31012025_17_51_25_10345.jpg', '/home/pi/Desktop/images/31012025/17/51/image_31012025_17_51_34_9347.jpg', '/home/pi/Desktop/images/31012025/17/51/image_31012025_17_51_45_10360.jpg', '/home/pi/Desktop/images/31012025/17/51/image_31012025_17_52_05_9355.jpg', '/home/pi/Desktop/images/31012025/17/52/image_31012025_17_52_25_10354.jpg', '/home/pi/Desktop/images/31012025/17/52/image_31012025_17_52_35_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/51/image_31012025_17_51_25_10345.jpg
/home/pi/Desktop/images/31012025/17/51/image_31012025_17_51_34_9347.jpg
/home/pi/Desktop/images/31012025/17/51/image_31012025_17_51_45_10360.jpg
/home/pi/Desktop/images/31012025/17/51/image_31012025_17_52_05_9355.jpg
/home/pi/Desktop/images/31012025/17/52/image_31012025_17_52_25_10354.jpg
/home/pi/Desktop/images/31012025/17/52/image_31012025_17_52_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":["1333476030","1333476047","1333476020","1333476002","1333476026","1333475995"],"photo_ids_order":["1333475995","1333476002","1333476020","1333476026","1333476030","1333476047"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/98b9cafa3289211fcce18ef8fa0bf19a.jpg","text":"TemporaryFile(/tmp/multipartBody4633820368260016444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357953301,"filename":"image_31012025_17_52_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/1/31/df7175aaa262ed25496cd4236fb3483b.jpg","text":"TemporaryFile(/tmp/multipartBody3002545174293736672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357953301,"filename":"image_31012025_17_52_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/1/31/2f32811c0eb0d19c6d5b0b645af450be.jpg","text":"TemporaryFile(/tmp/multipartBody6074798791029865705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357953301,"filename":"image_31012025_17_51_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/1/31/7b067dfae35737d4c1a11844c9845b62.jpg","text":"TemporaryFile(/tmp/multipartBody5689816727855441975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357953301,"filename":"image_31012025_17_51_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/1/31/c458544dc078e8ff6dd15407a8c9a3c8.jpg","text":"TemporaryFile(/tmp/multipartBody5101591062385440507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357953301,"filename":"image_31012025_17_52_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/1/31/0eb03c8e9884035036e8018e122e1b6d.jpg","text":"TemporaryFile(/tmp/multipartBody9169164747614841459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738357953301,"filename":"image_31012025_17_51_25_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333476020","file1":"1333476002","file0":"1333475995","file4":"1333476030","file5":"1333476047","file3":"1333476026"},"map_files_photo_id_array":[{"photo_id":"1333476047","filename":"file5"},{"photo_id":"1333476020","filename":"file2"},{"photo_id":"1333476030","filename":"file4"},{"photo_id":"1333476002","filename":"file1"},{"photo_id":"1333475995","filename":"file0"},{"photo_id":"1333476026","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333476030":["hashtag1","hashtag2"]},{"1333476047":["hashtag1","hashtag2"]},{"1333476020":["hashtag1","hashtag2"]},{"1333476002":["hashtag1","hashtag2"]},{"1333476026":["hashtag1","hashtag2"]},{"1333475995":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333476030, 1333476047, 1333476020, 1333476002, 1333476026, 1333475995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.448676109313965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:12:33.166180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/52/image_31012025_17_52_45_10365.jpg', '/home/pi/Desktop/images/31012025/17/52/image_31012025_17_52_55_9367.jpg', '/home/pi/Desktop/images/31012025/17/52/image_31012025_17_53_05_10422.jpg', '/home/pi/Desktop/images/31012025/17/53/image_31012025_17_53_15_10335.jpg', '/home/pi/Desktop/images/31012025/17/53/image_31012025_17_53_25_9411.jpg', '/home/pi/Desktop/images/31012025/17/53/image_31012025_17_53_35_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/52/image_31012025_17_52_45_10365.jpg
/home/pi/Desktop/images/31012025/17/52/image_31012025_17_52_55_9367.jpg
/home/pi/Desktop/images/31012025/17/52/image_31012025_17_53_05_10422.jpg
/home/pi/Desktop/images/31012025/17/53/image_31012025_17_53_15_10335.jpg
/home/pi/Desktop/images/31012025/17/53/image_31012025_17_53_25_9411.jpg
/home/pi/Desktop/images/31012025/17/53/image_31012025_17_53_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":["1333476153","1333476144","1333476147","1333476149","1333476160","1333476157"],"photo_ids_order":["1333476144","1333476147","1333476149","1333476153","1333476157","1333476160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/90361d3de11fb617e95cb95ece92f012.jpg","text":"TemporaryFile(/tmp/multipartBody1986961358139791302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358013716,"filename":"image_31012025_17_53_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/32f546e7e1262704def1f3646b99edd8.jpg","text":"TemporaryFile(/tmp/multipartBody7712855891394583602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358013716,"filename":"image_31012025_17_52_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/1/31/4b1dd8828b0d2517c3e6cb8705d9063b.jpg","text":"TemporaryFile(/tmp/multipartBody2271066894712278962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358013716,"filename":"image_31012025_17_52_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/1/31/d23d13ba9ed28b5afdc2e66a86c1077b.jpg","text":"TemporaryFile(/tmp/multipartBody8480268406403808642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358013716,"filename":"image_31012025_17_53_05_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/33992e5b610f92055b2fcc2407e6e16f.jpg","text":"TemporaryFile(/tmp/multipartBody4940749881933046887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358013716,"filename":"image_31012025_17_53_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/1/31/c34f1341dcd24d325dbe10304553c396.jpg","text":"TemporaryFile(/tmp/multipartBody8629461392791864230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358013716,"filename":"image_31012025_17_53_25_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333476149","file1":"1333476147","file0":"1333476144","file4":"1333476157","file5":"1333476160","file3":"1333476153"},"map_files_photo_id_array":[{"photo_id":"1333476160","filename":"file5"},{"photo_id":"1333476149","filename":"file2"},{"photo_id":"1333476157","filename":"file4"},{"photo_id":"1333476147","filename":"file1"},{"photo_id":"1333476144","filename":"file0"},{"photo_id":"1333476153","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333476153":["hashtag1","hashtag2"]},{"1333476144":["hashtag1","hashtag2"]},{"1333476147":["hashtag1","hashtag2"]},{"1333476149":["hashtag1","hashtag2"]},{"1333476160":["hashtag1","hashtag2"]},{"1333476157":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333476153, 1333476144, 1333476147, 1333476149, 1333476160, 1333476157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.573564767837524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:13:32.354649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/53/image_31012025_17_53_45_10365.jpg', '/home/pi/Desktop/images/31012025/17/53/image_31012025_17_53_55_9374.jpg', '/home/pi/Desktop/images/31012025/17/53/image_31012025_17_54_05_10354.jpg', '/home/pi/Desktop/images/31012025/17/54/image_31012025_17_54_14_9345.jpg', '/home/pi/Desktop/images/31012025/17/54/image_31012025_17_54_25_10380.jpg', '/home/pi/Desktop/images/31012025/17/54/image_31012025_17_54_35_10323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/53/image_31012025_17_53_45_10365.jpg
/home/pi/Desktop/images/31012025/17/53/image_31012025_17_53_55_9374.jpg
/home/pi/Desktop/images/31012025/17/53/image_31012025_17_54_05_10354.jpg
/home/pi/Desktop/images/31012025/17/54/image_31012025_17_54_14_9345.jpg
/home/pi/Desktop/images/31012025/17/54/image_31012025_17_54_25_10380.jpg
/home/pi/Desktop/images/31012025/17/54/image_31012025_17_54_35_10323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333476246","1333476248","1333476256","1333476241","1333476250","1333476253"],"photo_ids_order":["1333476241","1333476246","1333476248","1333476250","1333476253","1333476256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2995b70c4cb42c4fcd5976176d8a5a95.jpg","text":"TemporaryFile(/tmp/multipartBody5624561866400648714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358072905,"filename":"image_31012025_17_53_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/1/31/b8034a105acd87fb8fc3e3772fd12f85.jpg","text":"TemporaryFile(/tmp/multipartBody6704006171554380571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358072905,"filename":"image_31012025_17_54_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/1/31/d089c5853cc24e69c473361479f19ddd.jpg","text":"TemporaryFile(/tmp/multipartBody8889555407937383495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358072905,"filename":"image_31012025_17_54_35_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9c0767dbd0ea23933c1417e6c1178404.jpg","text":"TemporaryFile(/tmp/multipartBody2355425942246058350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358072905,"filename":"image_31012025_17_53_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/1/31/a106f04fd238c17af128ee10e837de03.jpg","text":"TemporaryFile(/tmp/multipartBody3162384274593216787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358072905,"filename":"image_31012025_17_54_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/1/31/1729af1c33a868bf309aef1dba7c4866.jpg","text":"TemporaryFile(/tmp/multipartBody4036734746011926298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358072905,"filename":"image_31012025_17_54_25_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333476248","file1":"1333476246","file0":"1333476241","file4":"1333476253","file5":"1333476256","file3":"1333476250"},"map_files_photo_id_array":[{"photo_id":"1333476256","filename":"file5"},{"photo_id":"1333476248","filename":"file2"},{"photo_id":"1333476253","filename":"file4"},{"photo_id":"1333476246","filename":"file1"},{"photo_id":"1333476241","filename":"file0"},{"photo_id":"1333476250","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333476246":["hashtag1","hashtag2"]},{"1333476248":["hashtag1","hashtag2"]},{"1333476256":["hashtag1","hashtag2"]},{"1333476241":["hashtag1","hashtag2"]},{"1333476250":["hashtag1","hashtag2"]},{"1333476253":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333476246, 1333476248, 1333476256, 1333476241, 1333476250, 1333476253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.315221071243286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:14:32.632394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/54/image_31012025_17_54_45_9425.jpg', '/home/pi/Desktop/images/31012025/17/54/image_31012025_17_54_55_10391.jpg', '/home/pi/Desktop/images/31012025/17/55/image_31012025_17_55_15_9391.jpg', '/home/pi/Desktop/images/31012025/17/55/image_31012025_17_55_25_10362.jpg', '/home/pi/Desktop/images/31012025/17/55/image_31012025_17_55_34_9357.jpg', '/home/pi/Desktop/images/31012025/17/55/image_31012025_17_55_45_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/54/image_31012025_17_54_45_9425.jpg
/home/pi/Desktop/images/31012025/17/54/image_31012025_17_54_55_10391.jpg
/home/pi/Desktop/images/31012025/17/55/image_31012025_17_55_15_9391.jpg
/home/pi/Desktop/images/31012025/17/55/image_31012025_17_55_25_10362.jpg
/home/pi/Desktop/images/31012025/17/55/image_31012025_17_55_34_9357.jpg
/home/pi/Desktop/images/31012025/17/55/image_31012025_17_55_45_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":["1333476351","1333476360","1333476339","1333476347","1333476355","1333476343"],"photo_ids_order":["1333476339","1333476343","1333476347","1333476351","1333476355","1333476360"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6f502106888b8c64d70a603c21e0fcdd.jpg","text":"TemporaryFile(/tmp/multipartBody3200662716213606139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358133197,"filename":"image_31012025_17_55_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/1/31/7fcee363ea6d5ef41d005a5e31991bfd.jpg","text":"TemporaryFile(/tmp/multipartBody1254574158036530349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358133197,"filename":"image_31012025_17_55_45_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fe6ab3fabe097b86d228a781eec399f3.jpg","text":"TemporaryFile(/tmp/multipartBody487890542904839574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358133197,"filename":"image_31012025_17_54_45_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e446e7992cf1912ff3cad8c7fd1287f2.jpg","text":"TemporaryFile(/tmp/multipartBody3845971152298763079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358133197,"filename":"image_31012025_17_55_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/1/31/90416295a099dfa4dad2183359b1533e.jpg","text":"TemporaryFile(/tmp/multipartBody8776432955734727489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358133197,"filename":"image_31012025_17_55_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/1/31/3d7aeb39e486aaa28d2cf83f0793268c.jpg","text":"TemporaryFile(/tmp/multipartBody21772456251774744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358133197,"filename":"image_31012025_17_54_55_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333476347","file1":"1333476343","file0":"1333476339","file4":"1333476355","file5":"1333476360","file3":"1333476351"},"map_files_photo_id_array":[{"photo_id":"1333476360","filename":"file5"},{"photo_id":"1333476347","filename":"file2"},{"photo_id":"1333476355","filename":"file4"},{"photo_id":"1333476343","filename":"file1"},{"photo_id":"1333476339","filename":"file0"},{"photo_id":"1333476351","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333476351":["hashtag1","hashtag2"]},{"1333476360":["hashtag1","hashtag2"]},{"1333476339":["hashtag1","hashtag2"]},{"1333476347":["hashtag1","hashtag2"]},{"1333476355":["hashtag1","hashtag2"]},{"1333476343":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333476351, 1333476360, 1333476339, 1333476347, 1333476355, 1333476343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.868054389953613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:15:32.914602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/55/image_31012025_17_55_55_10451.jpg', '/home/pi/Desktop/images/31012025/17/55/image_31012025_17_56_05_9355.jpg', '/home/pi/Desktop/images/31012025/17/56/image_31012025_17_56_25_10348.jpg', '/home/pi/Desktop/images/31012025/17/56/image_31012025_17_56_45_10417.jpg', '/home/pi/Desktop/images/31012025/17/56/image_31012025_17_56_55_9411.jpg', '/home/pi/Desktop/images/31012025/17/57/image_31012025_17_57_44_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/55/image_31012025_17_55_55_10451.jpg
/home/pi/Desktop/images/31012025/17/55/image_31012025_17_56_05_9355.jpg
/home/pi/Desktop/images/31012025/17/56/image_31012025_17_56_25_10348.jpg
/home/pi/Desktop/images/31012025/17/56/image_31012025_17_56_45_10417.jpg
/home/pi/Desktop/images/31012025/17/56/image_31012025_17_56_55_9411.jpg
/home/pi/Desktop/images/31012025/17/57/image_31012025_17_57_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":["1333476569","1333476518","1333476595","1333476608","1333476559","1333476514"],"photo_ids_order":["1333476514","1333476518","1333476559","1333476569","1333476595","1333476608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1e8fa151f34b34c4b480056fed219b76.jpg","text":"TemporaryFile(/tmp/multipartBody6006382957210438082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358193470,"filename":"image_31012025_17_56_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/1/31/8c4dccd6f3a1d2a4fa873195a7be7964.jpg","text":"TemporaryFile(/tmp/multipartBody4803300268359057440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358193470,"filename":"image_31012025_17_56_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/1/31/27f3b53281baebb413c64f3dc4dda3bb.jpg","text":"TemporaryFile(/tmp/multipartBody1384879220023500325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358193470,"filename":"image_31012025_17_56_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/1/31/0a697eca826e2d5754296f58e5535dd3.jpg","text":"TemporaryFile(/tmp/multipartBody7122198315720265413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358193470,"filename":"image_31012025_17_57_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/1/31/1d36876937504f236969246a4b2a595b.jpg","text":"TemporaryFile(/tmp/multipartBody8758606773180713900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358193470,"filename":"image_31012025_17_56_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/1/31/304139a37e25902bb0733806e085f206.jpg","text":"TemporaryFile(/tmp/multipartBody3727067542734098277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358193470,"filename":"image_31012025_17_55_55_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333476559","file1":"1333476518","file0":"1333476514","file4":"1333476595","file5":"1333476608","file3":"1333476569"},"map_files_photo_id_array":[{"photo_id":"1333476608","filename":"file5"},{"photo_id":"1333476559","filename":"file2"},{"photo_id":"1333476595","filename":"file4"},{"photo_id":"1333476518","filename":"file1"},{"photo_id":"1333476514","filename":"file0"},{"photo_id":"1333476569","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333476569":["hashtag1","hashtag2"]},{"1333476518":["hashtag1","hashtag2"]},{"1333476595":["hashtag1","hashtag2"]},{"1333476608":["hashtag1","hashtag2"]},{"1333476559":["hashtag1","hashtag2"]},{"1333476514":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333476569, 1333476518, 1333476595, 1333476608, 1333476559, 1333476514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05972743034363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:16:33.208735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/57/image_31012025_17_58_05_10345.jpg', '/home/pi/Desktop/images/31012025/17/58/image_31012025_17_58_15_9349.jpg', '/home/pi/Desktop/images/31012025/17/58/image_31012025_17_58_25_10388.jpg', '/home/pi/Desktop/images/31012025/17/58/image_31012025_17_58_35_10345.jpg', '/home/pi/Desktop/images/31012025/17/58/image_31012025_17_58_45_9347.jpg', '/home/pi/Desktop/images/31012025/17/58/image_31012025_17_58_55_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/57/image_31012025_17_58_05_10345.jpg
/home/pi/Desktop/images/31012025/17/58/image_31012025_17_58_15_9349.jpg
/home/pi/Desktop/images/31012025/17/58/image_31012025_17_58_25_10388.jpg
/home/pi/Desktop/images/31012025/17/58/image_31012025_17_58_35_10345.jpg
/home/pi/Desktop/images/31012025/17/58/image_31012025_17_58_45_9347.jpg
/home/pi/Desktop/images/31012025/17/58/image_31012025_17_58_55_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":["1333476823","1333476833","1333476827","1333476830","1333476824","1333476814"],"photo_ids_order":["1333476814","1333476823","1333476824","1333476827","1333476830","1333476833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/94e2fc56a86a8c4a1f2d9f3aa4f1d736.jpg","text":"TemporaryFile(/tmp/multipartBody6479621313505837673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358253746,"filename":"image_31012025_17_58_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/1/31/2f861f066475fadf7e94a0c1621ad395.jpg","text":"TemporaryFile(/tmp/multipartBody7371817173080403336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358253746,"filename":"image_31012025_17_58_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/1/31/8aee7a08365ae90ef62c50b029bde52b.jpg","text":"TemporaryFile(/tmp/multipartBody4028216071463794065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358253746,"filename":"image_31012025_17_58_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/1/31/762ae01ece24a7dc12bfb67844aa5349.jpg","text":"TemporaryFile(/tmp/multipartBody7745974831560285183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358253746,"filename":"image_31012025_17_58_45_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/066d88429f90620bb974ae70e39021b8.jpg","text":"TemporaryFile(/tmp/multipartBody4748075325944063076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358253746,"filename":"image_31012025_17_58_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/1/31/fd5c10e55372c60ba85eafa0eac3c13a.jpg","text":"TemporaryFile(/tmp/multipartBody2468801302527624860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358253746,"filename":"image_31012025_17_58_05_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333476824","file1":"1333476823","file0":"1333476814","file4":"1333476830","file5":"1333476833","file3":"1333476827"},"map_files_photo_id_array":[{"photo_id":"1333476833","filename":"file5"},{"photo_id":"1333476824","filename":"file2"},{"photo_id":"1333476830","filename":"file4"},{"photo_id":"1333476823","filename":"file1"},{"photo_id":"1333476814","filename":"file0"},{"photo_id":"1333476827","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333476823":["hashtag1","hashtag2"]},{"1333476833":["hashtag1","hashtag2"]},{"1333476827":["hashtag1","hashtag2"]},{"1333476830":["hashtag1","hashtag2"]},{"1333476824":["hashtag1","hashtag2"]},{"1333476814":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333476823, 1333476833, 1333476827, 1333476830, 1333476824, 1333476814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.940488815307617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:17:32.377443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/17/58/image_31012025_17_59_05_10346.jpg', '/home/pi/Desktop/images/31012025/17/59/image_31012025_17_59_25_10357.jpg', '/home/pi/Desktop/images/31012025/17/59/image_31012025_17_59_35_9399.jpg', '/home/pi/Desktop/images/31012025/17/59/image_31012025_17_59_45_10427.jpg', '/home/pi/Desktop/images/31012025/18/01/image_31012025_18_01_14_10064.jpg', '/home/pi/Desktop/images/31012025/18/01/image_31012025_18_01_25_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/17/58/image_31012025_17_59_05_10346.jpg
/home/pi/Desktop/images/31012025/17/59/image_31012025_17_59_25_10357.jpg
/home/pi/Desktop/images/31012025/17/59/image_31012025_17_59_35_9399.jpg
/home/pi/Desktop/images/31012025/17/59/image_31012025_17_59_45_10427.jpg
/home/pi/Desktop/images/31012025/18/01/image_31012025_18_01_14_10064.jpg
/home/pi/Desktop/images/31012025/18/01/image_31012025_18_01_25_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":["1333476873","1333476861","1333476911","1333476905","1333476856","1333476913"],"photo_ids_order":["1333476856","1333476861","1333476873","1333476905","1333476911","1333476913"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ebfdb5d0897d10f615aae6933dc4932d.jpg","text":"TemporaryFile(/tmp/multipartBody3090977751827210664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358312936,"filename":"image_31012025_17_59_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/1/31/aacb9622ca18b811ee9e8c96dee77119.jpg","text":"TemporaryFile(/tmp/multipartBody2877482543712914676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358312936,"filename":"image_31012025_17_59_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/1/31/be92f70153745c4152d0aa5c835def51.jpg","text":"TemporaryFile(/tmp/multipartBody595561888569246799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358312936,"filename":"image_31012025_18_01_14_10064.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/991c7960c878cadc3770be9f5b96c089.jpg","text":"TemporaryFile(/tmp/multipartBody954287009028924690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358312936,"filename":"image_31012025_17_59_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/1/31/605e38a9cefa476e35f86221ae1f0db8.jpg","text":"TemporaryFile(/tmp/multipartBody1719199293313039746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358312936,"filename":"image_31012025_17_59_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/1/31/a246800d987df44be802d73feeef2201.jpg","text":"TemporaryFile(/tmp/multipartBody6886749826848766825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358312936,"filename":"image_31012025_18_01_25_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333476873","file1":"1333476861","file0":"1333476856","file4":"1333476911","file5":"1333476913","file3":"1333476905"},"map_files_photo_id_array":[{"photo_id":"1333476913","filename":"file5"},{"photo_id":"1333476873","filename":"file2"},{"photo_id":"1333476911","filename":"file4"},{"photo_id":"1333476861","filename":"file1"},{"photo_id":"1333476856","filename":"file0"},{"photo_id":"1333476905","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333476873":["hashtag1","hashtag2"]},{"1333476861":["hashtag1","hashtag2"]},{"1333476911":["hashtag1","hashtag2"]},{"1333476905":["hashtag1","hashtag2"]},{"1333476856":["hashtag1","hashtag2"]},{"1333476913":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333476873, 1333476861, 1333476911, 1333476905, 1333476856, 1333476913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.78080439567566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:18:32.644789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/01/image_31012025_18_01_35_10370.jpg', '/home/pi/Desktop/images/31012025/18/01/image_31012025_18_01_44_9352.jpg', '/home/pi/Desktop/images/31012025/18/01/image_31012025_18_01_55_10343.jpg', '/home/pi/Desktop/images/31012025/18/01/image_31012025_18_02_05_10350.jpg', '/home/pi/Desktop/images/31012025/18/02/image_31012025_18_02_14_9325.jpg', '/home/pi/Desktop/images/31012025/18/02/image_31012025_18_02_25_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/01/image_31012025_18_01_35_10370.jpg
/home/pi/Desktop/images/31012025/18/01/image_31012025_18_01_44_9352.jpg
/home/pi/Desktop/images/31012025/18/01/image_31012025_18_01_55_10343.jpg
/home/pi/Desktop/images/31012025/18/01/image_31012025_18_02_05_10350.jpg
/home/pi/Desktop/images/31012025/18/02/image_31012025_18_02_14_9325.jpg
/home/pi/Desktop/images/31012025/18/02/image_31012025_18_02_25_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":["1333477155","1333476998","1333477148","1333477153","1333477150","1333477138"],"photo_ids_order":["1333476998","1333477138","1333477148","1333477150","1333477153","1333477155"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d25cfc735bc2264d662a1b5d52b87b17.jpg","text":"TemporaryFile(/tmp/multipartBody5021506116024683775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358373299,"filename":"image_31012025_18_02_25_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/685a3a45ff5c5fd1cc015311f2ef7543.jpg","text":"TemporaryFile(/tmp/multipartBody6355015997098722840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358373299,"filename":"image_31012025_18_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/1/31/a0da816139351c0d4715bfa6c702c695.jpg","text":"TemporaryFile(/tmp/multipartBody484624397691771622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358373299,"filename":"image_31012025_18_01_55_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0b3343ebfa4c467aece45a1dbf08d99d.jpg","text":"TemporaryFile(/tmp/multipartBody196498655923051077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358373299,"filename":"image_31012025_18_02_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/1/31/a5d1cacbbde3aef71ab4f99c036cb848.jpg","text":"TemporaryFile(/tmp/multipartBody8215392141899741845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358373299,"filename":"image_31012025_18_02_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/1/31/eb7aba6b2e7d5b8e0489fbe268b2f96c.jpg","text":"TemporaryFile(/tmp/multipartBody8354643603158884707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358373299,"filename":"image_31012025_18_01_44_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333477148","file1":"1333477138","file0":"1333476998","file4":"1333477153","file5":"1333477155","file3":"1333477150"},"map_files_photo_id_array":[{"photo_id":"1333477155","filename":"file5"},{"photo_id":"1333477148","filename":"file2"},{"photo_id":"1333477153","filename":"file4"},{"photo_id":"1333477138","filename":"file1"},{"photo_id":"1333476998","filename":"file0"},{"photo_id":"1333477150","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333477155":["hashtag1","hashtag2"]},{"1333476998":["hashtag1","hashtag2"]},{"1333477148":["hashtag1","hashtag2"]},{"1333477153":["hashtag1","hashtag2"]},{"1333477150":["hashtag1","hashtag2"]},{"1333477138":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333477155, 1333476998, 1333477148, 1333477153, 1333477150, 1333477138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01329779624939 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:19:32.963174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/02/image_31012025_18_02_35_10345.jpg', '/home/pi/Desktop/images/31012025/18/02/image_31012025_18_02_44_9411.jpg', '/home/pi/Desktop/images/31012025/18/02/image_31012025_18_02_55_10478.jpg', '/home/pi/Desktop/images/31012025/18/02/image_31012025_18_03_04_9342.jpg', '/home/pi/Desktop/images/31012025/18/03/image_31012025_18_03_15_10451.jpg', '/home/pi/Desktop/images/31012025/18/03/image_31012025_18_03_24_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/02/image_31012025_18_02_35_10345.jpg
/home/pi/Desktop/images/31012025/18/02/image_31012025_18_02_44_9411.jpg
/home/pi/Desktop/images/31012025/18/02/image_31012025_18_02_55_10478.jpg
/home/pi/Desktop/images/31012025/18/02/image_31012025_18_03_04_9342.jpg
/home/pi/Desktop/images/31012025/18/03/image_31012025_18_03_15_10451.jpg
/home/pi/Desktop/images/31012025/18/03/image_31012025_18_03_24_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":["1333477200","1333477193","1333477196","1333477202","1333477189","1333477204"],"photo_ids_order":["1333477189","1333477193","1333477196","1333477200","1333477202","1333477204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5521dd474193d00628513b7e9d2ca319.jpg","text":"TemporaryFile(/tmp/multipartBody2043753960991568002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358433514,"filename":"image_31012025_18_03_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/1/31/eebf7ce9cb685ccff591157477bda083.jpg","text":"TemporaryFile(/tmp/multipartBody297468066612597750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358433514,"filename":"image_31012025_18_02_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/1/31/70020c1f0cfacbd7df92cb1f7445d3e7.jpg","text":"TemporaryFile(/tmp/multipartBody2425918759075234999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358433514,"filename":"image_31012025_18_02_55_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fd79dfa916fb187e4db5d35e57d055d4.jpg","text":"TemporaryFile(/tmp/multipartBody322940340911219086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358433514,"filename":"image_31012025_18_03_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/1/31/9d1f02e9fa540ea7975c53301e316000.jpg","text":"TemporaryFile(/tmp/multipartBody4590411452204614379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358433514,"filename":"image_31012025_18_02_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/1/31/c82d3d795c762f78eb3fa6abc3308986.jpg","text":"TemporaryFile(/tmp/multipartBody8209802249583255779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358433514,"filename":"image_31012025_18_03_24_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333477196","file1":"1333477193","file0":"1333477189","file4":"1333477202","file5":"1333477204","file3":"1333477200"},"map_files_photo_id_array":[{"photo_id":"1333477204","filename":"file5"},{"photo_id":"1333477196","filename":"file2"},{"photo_id":"1333477202","filename":"file4"},{"photo_id":"1333477193","filename":"file1"},{"photo_id":"1333477189","filename":"file0"},{"photo_id":"1333477200","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333477200":["hashtag1","hashtag2"]},{"1333477193":["hashtag1","hashtag2"]},{"1333477196":["hashtag1","hashtag2"]},{"1333477202":["hashtag1","hashtag2"]},{"1333477189":["hashtag1","hashtag2"]},{"1333477204":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333477200, 1333477193, 1333477196, 1333477202, 1333477189, 1333477204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65770888328552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:20:32.210197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/03/image_31012025_18_03_35_10373.jpg', '/home/pi/Desktop/images/31012025/18/03/image_31012025_18_03_45_10427.jpg', '/home/pi/Desktop/images/31012025/18/03/image_31012025_18_03_54_9411.jpg', '/home/pi/Desktop/images/31012025/18/03/image_31012025_18_04_05_10456.jpg', '/home/pi/Desktop/images/31012025/18/04/image_31012025_18_04_14_9392.jpg', '/home/pi/Desktop/images/31012025/18/04/image_31012025_18_04_25_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/03/image_31012025_18_03_35_10373.jpg
/home/pi/Desktop/images/31012025/18/03/image_31012025_18_03_45_10427.jpg
/home/pi/Desktop/images/31012025/18/03/image_31012025_18_03_54_9411.jpg
/home/pi/Desktop/images/31012025/18/03/image_31012025_18_04_05_10456.jpg
/home/pi/Desktop/images/31012025/18/04/image_31012025_18_04_14_9392.jpg
/home/pi/Desktop/images/31012025/18/04/image_31012025_18_04_25_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":["1333477266","1333477269","1333477391","1333477295","1333477268","1333477387"],"photo_ids_order":["1333477266","1333477268","1333477269","1333477295","1333477387","1333477391"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4e3fa7b0453ac82855cb924ac4d0975e.jpg","text":"TemporaryFile(/tmp/multipartBody3160182125164344698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358492763,"filename":"image_31012025_18_03_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/1/31/aaaa49d3f1768d9f18fb233fe56d95fe.jpg","text":"TemporaryFile(/tmp/multipartBody8886231233246696972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358492763,"filename":"image_31012025_18_03_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/1/31/1a8fc58472dcdc3993211a538de34de8.jpg","text":"TemporaryFile(/tmp/multipartBody7237023760457255409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358492763,"filename":"image_31012025_18_04_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/1/31/3a75f09cbb93ce0888a1f3b47c938903.jpg","text":"TemporaryFile(/tmp/multipartBody5083273605131348420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358492763,"filename":"image_31012025_18_04_05_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d6a5503c9ae2845d617c1c0b5e79e4ad.jpg","text":"TemporaryFile(/tmp/multipartBody4992939029522033720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358492763,"filename":"image_31012025_18_03_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/1/31/9ea969cdd4738380cd8a4d9c55b30a81.jpg","text":"TemporaryFile(/tmp/multipartBody3881263386264226801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358492763,"filename":"image_31012025_18_04_14_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333477269","file1":"1333477268","file0":"1333477266","file4":"1333477387","file5":"1333477391","file3":"1333477295"},"map_files_photo_id_array":[{"photo_id":"1333477391","filename":"file5"},{"photo_id":"1333477269","filename":"file2"},{"photo_id":"1333477387","filename":"file4"},{"photo_id":"1333477268","filename":"file1"},{"photo_id":"1333477266","filename":"file0"},{"photo_id":"1333477295","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333477266":["hashtag1","hashtag2"]},{"1333477269":["hashtag1","hashtag2"]},{"1333477391":["hashtag1","hashtag2"]},{"1333477295":["hashtag1","hashtag2"]},{"1333477268":["hashtag1","hashtag2"]},{"1333477387":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333477266, 1333477269, 1333477391, 1333477295, 1333477268, 1333477387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.620227336883545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:21:32.352158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/04/image_31012025_18_04_35_10395.jpg', '/home/pi/Desktop/images/31012025/18/04/image_31012025_18_04_44_9378.jpg', '/home/pi/Desktop/images/31012025/18/04/image_31012025_18_04_55_10389.jpg', '/home/pi/Desktop/images/31012025/18/04/image_31012025_18_05_04_9313.jpg', '/home/pi/Desktop/images/31012025/18/05/image_31012025_18_05_14_10384.jpg', '/home/pi/Desktop/images/31012025/18/05/image_31012025_18_05_25_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/04/image_31012025_18_04_35_10395.jpg
/home/pi/Desktop/images/31012025/18/04/image_31012025_18_04_44_9378.jpg
/home/pi/Desktop/images/31012025/18/04/image_31012025_18_04_55_10389.jpg
/home/pi/Desktop/images/31012025/18/04/image_31012025_18_05_04_9313.jpg
/home/pi/Desktop/images/31012025/18/05/image_31012025_18_05_14_10384.jpg
/home/pi/Desktop/images/31012025/18/05/image_31012025_18_05_25_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":["1333477536","1333477524","1333477532","1333477541","1333477520","1333477528"],"photo_ids_order":["1333477520","1333477524","1333477528","1333477532","1333477536","1333477541"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0c91f21b36b101cdba3eff98d1f7f29d.jpg","text":"TemporaryFile(/tmp/multipartBody654237525825524520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358552890,"filename":"image_31012025_18_05_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/1/31/b1ad5b829ba736dde8dee91b9426bed6.jpg","text":"TemporaryFile(/tmp/multipartBody1405019020548669881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358552890,"filename":"image_31012025_18_04_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/1/31/fa79c942adeab5f1daab3e72a3db66bd.jpg","text":"TemporaryFile(/tmp/multipartBody117910060828662096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358552890,"filename":"image_31012025_18_05_04_9313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/207e31a0dbbfff9e98752c5731534a86.jpg","text":"TemporaryFile(/tmp/multipartBody2073036531199692954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358552890,"filename":"image_31012025_18_05_25_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0b9a0d1ff7ebfc201f6f7d5bc8e87c8b.jpg","text":"TemporaryFile(/tmp/multipartBody63855600078296329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358552890,"filename":"image_31012025_18_04_35_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fd8b656da198014eeb4555cbe55b0560.jpg","text":"TemporaryFile(/tmp/multipartBody7887878790696464419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358552890,"filename":"image_31012025_18_04_55_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333477528","file1":"1333477524","file0":"1333477520","file4":"1333477536","file5":"1333477541","file3":"1333477532"},"map_files_photo_id_array":[{"photo_id":"1333477541","filename":"file5"},{"photo_id":"1333477528","filename":"file2"},{"photo_id":"1333477536","filename":"file4"},{"photo_id":"1333477524","filename":"file1"},{"photo_id":"1333477520","filename":"file0"},{"photo_id":"1333477532","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333477536":["hashtag1","hashtag2"]},{"1333477524":["hashtag1","hashtag2"]},{"1333477532":["hashtag1","hashtag2"]},{"1333477541":["hashtag1","hashtag2"]},{"1333477520":["hashtag1","hashtag2"]},{"1333477528":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333477536, 1333477524, 1333477532, 1333477541, 1333477520, 1333477528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.715903759002686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:22:32.540140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/05/image_31012025_18_05_34_9402.jpg', '/home/pi/Desktop/images/31012025/18/05/image_31012025_18_05_45_10358.jpg', '/home/pi/Desktop/images/31012025/18/05/image_31012025_18_05_55_10411.jpg', '/home/pi/Desktop/images/31012025/18/05/image_31012025_18_06_04_9330.jpg', '/home/pi/Desktop/images/31012025/18/06/image_31012025_18_06_15_10499.jpg', '/home/pi/Desktop/images/31012025/18/06/image_31012025_18_06_24_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/05/image_31012025_18_05_34_9402.jpg
/home/pi/Desktop/images/31012025/18/05/image_31012025_18_05_45_10358.jpg
/home/pi/Desktop/images/31012025/18/05/image_31012025_18_05_55_10411.jpg
/home/pi/Desktop/images/31012025/18/05/image_31012025_18_06_04_9330.jpg
/home/pi/Desktop/images/31012025/18/06/image_31012025_18_06_15_10499.jpg
/home/pi/Desktop/images/31012025/18/06/image_31012025_18_06_24_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":["1333477574","1333477568","1333477576","1333477567","1333477572","1333477566"],"photo_ids_order":["1333477566","1333477567","1333477568","1333477572","1333477574","1333477576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f87b00b308651a213f74fdbde27067dc.jpg","text":"TemporaryFile(/tmp/multipartBody7551633837485924826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358613113,"filename":"image_31012025_18_06_15_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6d7e6718a1705d83f27986ab244f035e.jpg","text":"TemporaryFile(/tmp/multipartBody8427572258346072427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358613113,"filename":"image_31012025_18_05_55_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b6e4eae2e51b208d2d0c04d5af898d42.jpg","text":"TemporaryFile(/tmp/multipartBody1699160251116024718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358613113,"filename":"image_31012025_18_06_24_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a1ee04f7425d85f542e12e21edce284b.jpg","text":"TemporaryFile(/tmp/multipartBody2591535713529481168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358613113,"filename":"image_31012025_18_05_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/1/31/5345af4cc242e324a588abbc1167e0a5.jpg","text":"TemporaryFile(/tmp/multipartBody1632474165251803196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358613113,"filename":"image_31012025_18_06_04_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1e14fa99d45c74497619756ef75cb67d.jpg","text":"TemporaryFile(/tmp/multipartBody1791018414401592739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358613113,"filename":"image_31012025_18_05_34_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333477568","file1":"1333477567","file0":"1333477566","file4":"1333477574","file5":"1333477576","file3":"1333477572"},"map_files_photo_id_array":[{"photo_id":"1333477576","filename":"file5"},{"photo_id":"1333477568","filename":"file2"},{"photo_id":"1333477574","filename":"file4"},{"photo_id":"1333477567","filename":"file1"},{"photo_id":"1333477566","filename":"file0"},{"photo_id":"1333477572","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333477574":["hashtag1","hashtag2"]},{"1333477568":["hashtag1","hashtag2"]},{"1333477576":["hashtag1","hashtag2"]},{"1333477567":["hashtag1","hashtag2"]},{"1333477572":["hashtag1","hashtag2"]},{"1333477566":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333477574, 1333477568, 1333477576, 1333477567, 1333477572, 1333477566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.558263301849365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:23:32.793266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/06/image_31012025_18_06_35_10344.jpg', '/home/pi/Desktop/images/31012025/18/06/image_31012025_18_06_45_10436.jpg', '/home/pi/Desktop/images/31012025/18/06/image_31012025_18_06_54_9330.jpg', '/home/pi/Desktop/images/31012025/18/06/image_31012025_18_07_05_10486.jpg', '/home/pi/Desktop/images/31012025/18/07/image_31012025_18_07_14_9321.jpg', '/home/pi/Desktop/images/31012025/18/07/image_31012025_18_07_24_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/06/image_31012025_18_06_35_10344.jpg
/home/pi/Desktop/images/31012025/18/06/image_31012025_18_06_45_10436.jpg
/home/pi/Desktop/images/31012025/18/06/image_31012025_18_06_54_9330.jpg
/home/pi/Desktop/images/31012025/18/06/image_31012025_18_07_05_10486.jpg
/home/pi/Desktop/images/31012025/18/07/image_31012025_18_07_14_9321.jpg
/home/pi/Desktop/images/31012025/18/07/image_31012025_18_07_24_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":["1333477623","1333477611","1333477605","1333477608","1333477613","1333477616"],"photo_ids_order":["1333477605","1333477608","1333477611","1333477613","1333477616","1333477623"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/18a65373dc545b340097a3a670344bb0.jpg","text":"TemporaryFile(/tmp/multipartBody8261813459062213680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358673318,"filename":"image_31012025_18_07_24_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ac09bd8c7a70d6623301d13aea7b38ce.jpg","text":"TemporaryFile(/tmp/multipartBody5497864106636083949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358673318,"filename":"image_31012025_18_06_54_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1611d5cb327b745092c61ef58c2a7086.jpg","text":"TemporaryFile(/tmp/multipartBody8254196724511134027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358673318,"filename":"image_31012025_18_06_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/1/31/b9cfc0dfd9171430ef46fa5a35552b87.jpg","text":"TemporaryFile(/tmp/multipartBody2031027550156337725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358673318,"filename":"image_31012025_18_06_45_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/31892bba2fa2f2b3e63d9a46bb709a64.jpg","text":"TemporaryFile(/tmp/multipartBody2550686814000681878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358673318,"filename":"image_31012025_18_07_05_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/adc34df943534bf17efcd6a4d7599ee4.jpg","text":"TemporaryFile(/tmp/multipartBody6996043263172023034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358673318,"filename":"image_31012025_18_07_14_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333477611","file1":"1333477608","file0":"1333477605","file4":"1333477616","file5":"1333477623","file3":"1333477613"},"map_files_photo_id_array":[{"photo_id":"1333477623","filename":"file5"},{"photo_id":"1333477611","filename":"file2"},{"photo_id":"1333477616","filename":"file4"},{"photo_id":"1333477608","filename":"file1"},{"photo_id":"1333477605","filename":"file0"},{"photo_id":"1333477613","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333477623":["hashtag1","hashtag2"]},{"1333477611":["hashtag1","hashtag2"]},{"1333477605":["hashtag1","hashtag2"]},{"1333477608":["hashtag1","hashtag2"]},{"1333477613":["hashtag1","hashtag2"]},{"1333477616":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333477623, 1333477611, 1333477605, 1333477608, 1333477613, 1333477616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51045107841492 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:24:33.177012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/07/image_31012025_18_07_35_10342.jpg', '/home/pi/Desktop/images/31012025/18/07/image_31012025_18_07_44_9359.jpg', '/home/pi/Desktop/images/31012025/18/07/image_31012025_18_07_55_10366.jpg', '/home/pi/Desktop/images/31012025/18/07/image_31012025_18_08_05_10350.jpg', '/home/pi/Desktop/images/31012025/18/08/image_31012025_18_08_14_9318.jpg', '/home/pi/Desktop/images/31012025/18/08/image_31012025_18_08_25_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/07/image_31012025_18_07_35_10342.jpg
/home/pi/Desktop/images/31012025/18/07/image_31012025_18_07_44_9359.jpg
/home/pi/Desktop/images/31012025/18/07/image_31012025_18_07_55_10366.jpg
/home/pi/Desktop/images/31012025/18/07/image_31012025_18_08_05_10350.jpg
/home/pi/Desktop/images/31012025/18/08/image_31012025_18_08_14_9318.jpg
/home/pi/Desktop/images/31012025/18/08/image_31012025_18_08_25_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":["1333477656","1333477658","1333477661","1333477663","1333477651","1333477653"],"photo_ids_order":["1333477651","1333477653","1333477656","1333477658","1333477661","1333477663"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7826a822a924569aa0de6135cf6f32b3.jpg","text":"TemporaryFile(/tmp/multipartBody4486720765136356084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358733723,"filename":"image_31012025_18_07_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/1/31/d3078c0974144ff0d97f91323b26ee94.jpg","text":"TemporaryFile(/tmp/multipartBody2985700350528650732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358733723,"filename":"image_31012025_18_08_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/1/31/19cb6da50935688ca3098259ee17e6a2.jpg","text":"TemporaryFile(/tmp/multipartBody2219080714546613755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358733723,"filename":"image_31012025_18_08_14_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8ded6584c98ff661a8593e6675a0efcc.jpg","text":"TemporaryFile(/tmp/multipartBody4783571945424737691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358733723,"filename":"image_31012025_18_08_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/1/31/f7b36bf468bb98a77034cfb4126894b6.jpg","text":"TemporaryFile(/tmp/multipartBody2585979477412749518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358733723,"filename":"image_31012025_18_07_35_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/621e3d5fe14b32ef5d94479d29e18f93.jpg","text":"TemporaryFile(/tmp/multipartBody3988501158781146719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358733723,"filename":"image_31012025_18_07_44_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333477656","file1":"1333477653","file0":"1333477651","file4":"1333477661","file5":"1333477663","file3":"1333477658"},"map_files_photo_id_array":[{"photo_id":"1333477663","filename":"file5"},{"photo_id":"1333477656","filename":"file2"},{"photo_id":"1333477661","filename":"file4"},{"photo_id":"1333477653","filename":"file1"},{"photo_id":"1333477651","filename":"file0"},{"photo_id":"1333477658","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333477656":["hashtag1","hashtag2"]},{"1333477658":["hashtag1","hashtag2"]},{"1333477661":["hashtag1","hashtag2"]},{"1333477663":["hashtag1","hashtag2"]},{"1333477651":["hashtag1","hashtag2"]},{"1333477653":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333477656, 1333477658, 1333477661, 1333477663, 1333477651, 1333477653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.837929010391235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:25:32.348249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/08/image_31012025_18_08_35_10400.jpg', '/home/pi/Desktop/images/31012025/18/08/image_31012025_18_08_44_9347.jpg', '/home/pi/Desktop/images/31012025/18/08/image_31012025_18_08_55_10485.jpg', '/home/pi/Desktop/images/31012025/18/09/image_31012025_18_09_15_10400.jpg', '/home/pi/Desktop/images/31012025/18/09/image_31012025_18_09_25_10427.jpg', '/home/pi/Desktop/images/31012025/18/09/image_31012025_18_09_34_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/08/image_31012025_18_08_35_10400.jpg
/home/pi/Desktop/images/31012025/18/08/image_31012025_18_08_44_9347.jpg
/home/pi/Desktop/images/31012025/18/08/image_31012025_18_08_55_10485.jpg
/home/pi/Desktop/images/31012025/18/09/image_31012025_18_09_15_10400.jpg
/home/pi/Desktop/images/31012025/18/09/image_31012025_18_09_25_10427.jpg
/home/pi/Desktop/images/31012025/18/09/image_31012025_18_09_34_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":["1333477694","1333477685","1333477688","1333477673","1333477699","1333477680"],"photo_ids_order":["1333477673","1333477680","1333477685","1333477688","1333477694","1333477699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cb7a7c423426684ff5324e57689284bf.jpg","text":"TemporaryFile(/tmp/multipartBody2980966441288385479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358792900,"filename":"image_31012025_18_09_25_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/feef726b772e21bdef80454595d77db9.jpg","text":"TemporaryFile(/tmp/multipartBody3531155944468203108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358792900,"filename":"image_31012025_18_08_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/1/31/26eafc45804b24a72668043e7025da84.jpg","text":"TemporaryFile(/tmp/multipartBody8938140282681205800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358792900,"filename":"image_31012025_18_09_15_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/380bacc8409f4bb22c8c4e1172cc28b2.jpg","text":"TemporaryFile(/tmp/multipartBody5528184471971156578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358792900,"filename":"image_31012025_18_08_35_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2736a13677e67c3ca887ff6d4e6c1a6a.jpg","text":"TemporaryFile(/tmp/multipartBody7801992863733863047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358792900,"filename":"image_31012025_18_09_34_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d3352a8765ebc4cef69609992e58ec83.jpg","text":"TemporaryFile(/tmp/multipartBody7822817025138734277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358792900,"filename":"image_31012025_18_08_44_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333477685","file1":"1333477680","file0":"1333477673","file4":"1333477694","file5":"1333477699","file3":"1333477688"},"map_files_photo_id_array":[{"photo_id":"1333477699","filename":"file5"},{"photo_id":"1333477685","filename":"file2"},{"photo_id":"1333477694","filename":"file4"},{"photo_id":"1333477680","filename":"file1"},{"photo_id":"1333477673","filename":"file0"},{"photo_id":"1333477688","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333477694":["hashtag1","hashtag2"]},{"1333477685":["hashtag1","hashtag2"]},{"1333477688":["hashtag1","hashtag2"]},{"1333477673":["hashtag1","hashtag2"]},{"1333477699":["hashtag1","hashtag2"]},{"1333477680":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333477694, 1333477685, 1333477688, 1333477673, 1333477699, 1333477680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.956868410110474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:26:32.536478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/09/image_31012025_18_09_45_10398.jpg', '/home/pi/Desktop/images/31012025/18/09/image_31012025_18_09_55_10348.jpg', '/home/pi/Desktop/images/31012025/18/09/image_31012025_18_10_04_9325.jpg', '/home/pi/Desktop/images/31012025/18/10/image_31012025_18_10_15_10348.jpg', '/home/pi/Desktop/images/31012025/18/10/image_31012025_18_10_24_9323.jpg', '/home/pi/Desktop/images/31012025/18/10/image_31012025_18_10_34_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/09/image_31012025_18_09_45_10398.jpg
/home/pi/Desktop/images/31012025/18/09/image_31012025_18_09_55_10348.jpg
/home/pi/Desktop/images/31012025/18/09/image_31012025_18_10_04_9325.jpg
/home/pi/Desktop/images/31012025/18/10/image_31012025_18_10_15_10348.jpg
/home/pi/Desktop/images/31012025/18/10/image_31012025_18_10_24_9323.jpg
/home/pi/Desktop/images/31012025/18/10/image_31012025_18_10_34_10359.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.5111579895019531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 22:26:42.529121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/09/image_31012025_18_09_45_10398.jpg', '/home/pi/Desktop/images/31012025/18/09/image_31012025_18_09_55_10348.jpg', '/home/pi/Desktop/images/31012025/18/09/image_31012025_18_10_04_9325.jpg', '/home/pi/Desktop/images/31012025/18/10/image_31012025_18_10_15_10348.jpg', '/home/pi/Desktop/images/31012025/18/10/image_31012025_18_10_24_9323.jpg', '/home/pi/Desktop/images/31012025/18/10/image_31012025_18_10_34_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/09/image_31012025_18_09_45_10398.jpg
/home/pi/Desktop/images/31012025/18/09/image_31012025_18_09_55_10348.jpg
/home/pi/Desktop/images/31012025/18/09/image_31012025_18_10_04_9325.jpg
/home/pi/Desktop/images/31012025/18/10/image_31012025_18_10_15_10348.jpg
/home/pi/Desktop/images/31012025/18/10/image_31012025_18_10_24_9323.jpg
/home/pi/Desktop/images/31012025/18/10/image_31012025_18_10_34_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":["1333477740","1333477722","1333477731","1333477744","1333477717","1333477726"],"photo_ids_order":["1333477717","1333477722","1333477726","1333477731","1333477740","1333477744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aa0ef274d175155e82fca5e6699c1289.jpg","text":"TemporaryFile(/tmp/multipartBody539030153257197849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358863001,"filename":"image_31012025_18_10_24_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/27103c68e1733754dcd9847ae27033be.jpg","text":"TemporaryFile(/tmp/multipartBody1291001914321736969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358863001,"filename":"image_31012025_18_09_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/1/31/f4fb310d76b307c39d7a55cff6dde071.jpg","text":"TemporaryFile(/tmp/multipartBody4893235284541456073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358863001,"filename":"image_31012025_18_10_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/1/31/dffb9df00415aa137271656bf6d4df69.jpg","text":"TemporaryFile(/tmp/multipartBody7560760548489901114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358863001,"filename":"image_31012025_18_10_34_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b2b4752aad30733d50e254b71e8e61be.jpg","text":"TemporaryFile(/tmp/multipartBody8077111402714761100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358863001,"filename":"image_31012025_18_09_45_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/301b35e944044314bafed73553c1600c.jpg","text":"TemporaryFile(/tmp/multipartBody653436768333258153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358863001,"filename":"image_31012025_18_10_04_9325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333477726","file1":"1333477722","file0":"1333477717","file4":"1333477740","file5":"1333477744","file3":"1333477731"},"map_files_photo_id_array":[{"photo_id":"1333477744","filename":"file5"},{"photo_id":"1333477726","filename":"file2"},{"photo_id":"1333477740","filename":"file4"},{"photo_id":"1333477722","filename":"file1"},{"photo_id":"1333477717","filename":"file0"},{"photo_id":"1333477731","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333477740":["hashtag1","hashtag2"]},{"1333477722":["hashtag1","hashtag2"]},{"1333477731":["hashtag1","hashtag2"]},{"1333477744":["hashtag1","hashtag2"]},{"1333477717":["hashtag1","hashtag2"]},{"1333477726":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333477740, 1333477722, 1333477731, 1333477744, 1333477717, 1333477726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.5117928981781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:27:32.761177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/10/image_31012025_18_10_45_10451.jpg', '/home/pi/Desktop/images/31012025/18/11/image_31012025_18_11_24_9342.jpg', '/home/pi/Desktop/images/31012025/18/11/image_31012025_18_11_35_10413.jpg', '/home/pi/Desktop/images/31012025/18/11/image_31012025_18_11_44_9369.jpg', '/home/pi/Desktop/images/31012025/18/11/image_31012025_18_11_55_10434.jpg', '/home/pi/Desktop/images/31012025/18/11/image_31012025_18_12_05_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/10/image_31012025_18_10_45_10451.jpg
/home/pi/Desktop/images/31012025/18/11/image_31012025_18_11_24_9342.jpg
/home/pi/Desktop/images/31012025/18/11/image_31012025_18_11_35_10413.jpg
/home/pi/Desktop/images/31012025/18/11/image_31012025_18_11_44_9369.jpg
/home/pi/Desktop/images/31012025/18/11/image_31012025_18_11_55_10434.jpg
/home/pi/Desktop/images/31012025/18/11/image_31012025_18_12_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":["1333477775","1333477769","1333477772","1333477766","1333477764","1333477773"],"photo_ids_order":["1333477764","1333477766","1333477769","1333477772","1333477773","1333477775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9633518d3df7078cfbcc5aa032060e9a.jpg","text":"TemporaryFile(/tmp/multipartBody7575403334725359030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358913324,"filename":"image_31012025_18_12_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/1/31/8863e123199a600f1834d15abac003b9.jpg","text":"TemporaryFile(/tmp/multipartBody5192201175874421267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358913324,"filename":"image_31012025_18_11_35_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e913a7f0a61cab6955dd031ffe9c457e.jpg","text":"TemporaryFile(/tmp/multipartBody6275434565372516167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358913324,"filename":"image_31012025_18_11_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/1/31/0114be3e963f9c3f860b319242d46c8d.jpg","text":"TemporaryFile(/tmp/multipartBody405526556522437056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358913324,"filename":"image_31012025_18_11_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/1/31/273daf9e3da273b78c2fe3093d1e0373.jpg","text":"TemporaryFile(/tmp/multipartBody6019960953463553608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358913324,"filename":"image_31012025_18_10_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/1/31/cf501855fc454612ee6b89bd877fea73.jpg","text":"TemporaryFile(/tmp/multipartBody553996159123464559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358913324,"filename":"image_31012025_18_11_55_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333477769","file1":"1333477766","file0":"1333477764","file4":"1333477773","file5":"1333477775","file3":"1333477772"},"map_files_photo_id_array":[{"photo_id":"1333477775","filename":"file5"},{"photo_id":"1333477769","filename":"file2"},{"photo_id":"1333477773","filename":"file4"},{"photo_id":"1333477766","filename":"file1"},{"photo_id":"1333477764","filename":"file0"},{"photo_id":"1333477772","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333477775":["hashtag1","hashtag2"]},{"1333477769":["hashtag1","hashtag2"]},{"1333477772":["hashtag1","hashtag2"]},{"1333477766":["hashtag1","hashtag2"]},{"1333477764":["hashtag1","hashtag2"]},{"1333477773":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333477775, 1333477769, 1333477772, 1333477766, 1333477764, 1333477773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.45355844497681 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:28:33.140094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/12/image_31012025_18_12_14_9408.jpg', '/home/pi/Desktop/images/31012025/18/12/image_31012025_18_12_25_10424.jpg', '/home/pi/Desktop/images/31012025/18/12/image_31012025_18_12_35_10345.jpg', '/home/pi/Desktop/images/31012025/18/12/image_31012025_18_12_44_9361.jpg', '/home/pi/Desktop/images/31012025/18/12/image_31012025_18_12_55_10343.jpg', '/home/pi/Desktop/images/31012025/18/12/image_31012025_18_13_04_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/12/image_31012025_18_12_14_9408.jpg
/home/pi/Desktop/images/31012025/18/12/image_31012025_18_12_25_10424.jpg
/home/pi/Desktop/images/31012025/18/12/image_31012025_18_12_35_10345.jpg
/home/pi/Desktop/images/31012025/18/12/image_31012025_18_12_44_9361.jpg
/home/pi/Desktop/images/31012025/18/12/image_31012025_18_12_55_10343.jpg
/home/pi/Desktop/images/31012025/18/12/image_31012025_18_13_04_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":["1333477808","1333477802","1333477805","1333477810","1333477804","1333477807"],"photo_ids_order":["1333477802","1333477804","1333477805","1333477807","1333477808","1333477810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/466dcb7b9c618fcd84b341f15efe45f6.jpg","text":"TemporaryFile(/tmp/multipartBody8564023972750344967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358973835,"filename":"image_31012025_18_12_55_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0c8181ff177a41733e24f43e9f1c27c4.jpg","text":"TemporaryFile(/tmp/multipartBody5586034698334821249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358973835,"filename":"image_31012025_18_12_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/1/31/c40d2dc9a98b8d4f51af4508091cfcf5.jpg","text":"TemporaryFile(/tmp/multipartBody7381189995393017846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358973835,"filename":"image_31012025_18_12_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/1/31/db4f04d2b6d5541bbec4146d3f9ef69d.jpg","text":"TemporaryFile(/tmp/multipartBody737972212662256455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358973835,"filename":"image_31012025_18_13_04_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b7990474e488dfb56196be043c720063.jpg","text":"TemporaryFile(/tmp/multipartBody5757269837203829381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358973835,"filename":"image_31012025_18_12_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/1/31/9a439bdf8374c1e8d915bdb64821880b.jpg","text":"TemporaryFile(/tmp/multipartBody1731760885838755250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738358973835,"filename":"image_31012025_18_12_44_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333477805","file1":"1333477804","file0":"1333477802","file4":"1333477808","file5":"1333477810","file3":"1333477807"},"map_files_photo_id_array":[{"photo_id":"1333477810","filename":"file5"},{"photo_id":"1333477805","filename":"file2"},{"photo_id":"1333477808","filename":"file4"},{"photo_id":"1333477804","filename":"file1"},{"photo_id":"1333477802","filename":"file0"},{"photo_id":"1333477807","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333477808":["hashtag1","hashtag2"]},{"1333477802":["hashtag1","hashtag2"]},{"1333477805":["hashtag1","hashtag2"]},{"1333477810":["hashtag1","hashtag2"]},{"1333477804":["hashtag1","hashtag2"]},{"1333477807":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333477808, 1333477802, 1333477805, 1333477810, 1333477804, 1333477807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95420217514038 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:29:32.323718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/13/image_31012025_18_13_14_10313.jpg', '/home/pi/Desktop/images/31012025/18/13/image_31012025_18_13_25_10363.jpg', '/home/pi/Desktop/images/31012025/18/13/image_31012025_18_13_34_9350.jpg', '/home/pi/Desktop/images/31012025/18/13/image_31012025_18_13_44_10356.jpg', '/home/pi/Desktop/images/31012025/18/13/image_31012025_18_13_55_10401.jpg', '/home/pi/Desktop/images/31012025/18/13/image_31012025_18_14_04_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/13/image_31012025_18_13_14_10313.jpg
/home/pi/Desktop/images/31012025/18/13/image_31012025_18_13_25_10363.jpg
/home/pi/Desktop/images/31012025/18/13/image_31012025_18_13_34_9350.jpg
/home/pi/Desktop/images/31012025/18/13/image_31012025_18_13_44_10356.jpg
/home/pi/Desktop/images/31012025/18/13/image_31012025_18_13_55_10401.jpg
/home/pi/Desktop/images/31012025/18/13/image_31012025_18_14_04_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":["1333477856","1333477865","1333477861","1333477855","1333477849","1333477863"],"photo_ids_order":["1333477849","1333477855","1333477856","1333477861","1333477863","1333477865"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dfcc3d57de216dad187c6d71770490e6.jpg","text":"TemporaryFile(/tmp/multipartBody5478595550141804661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359032909,"filename":"image_31012025_18_13_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/1/31/20955a25cdc76ac6b6eb79b2a2a8a215.jpg","text":"TemporaryFile(/tmp/multipartBody4554109912282781367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359032909,"filename":"image_31012025_18_14_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/1/31/b12344a25ca94c625c563fd28b3f1a93.jpg","text":"TemporaryFile(/tmp/multipartBody3446388426541592102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359032909,"filename":"image_31012025_18_13_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/1/31/aecee665338a3b62b3240e46730b5b28.jpg","text":"TemporaryFile(/tmp/multipartBody436888244493689859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359032909,"filename":"image_31012025_18_13_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/1/31/9bcc92b4cb3edf5f3c59864926bf68bc.jpg","text":"TemporaryFile(/tmp/multipartBody8212071926243933530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359032909,"filename":"image_31012025_18_13_14_10313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/74f4d88910d46dad7e05c8ea77351f8e.jpg","text":"TemporaryFile(/tmp/multipartBody2594367725291978000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359032909,"filename":"image_31012025_18_13_55_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333477856","file1":"1333477855","file0":"1333477849","file4":"1333477863","file5":"1333477865","file3":"1333477861"},"map_files_photo_id_array":[{"photo_id":"1333477865","filename":"file5"},{"photo_id":"1333477856","filename":"file2"},{"photo_id":"1333477863","filename":"file4"},{"photo_id":"1333477855","filename":"file1"},{"photo_id":"1333477849","filename":"file0"},{"photo_id":"1333477861","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333477856":["hashtag1","hashtag2"]},{"1333477865":["hashtag1","hashtag2"]},{"1333477861":["hashtag1","hashtag2"]},{"1333477855":["hashtag1","hashtag2"]},{"1333477849":["hashtag1","hashtag2"]},{"1333477863":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333477856, 1333477865, 1333477861, 1333477855, 1333477849, 1333477863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.831643104553223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:30:32.720552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/14/image_31012025_18_14_15_10370.jpg', '/home/pi/Desktop/images/31012025/18/14/image_31012025_18_14_24_9378.jpg', '/home/pi/Desktop/images/31012025/18/14/image_31012025_18_14_34_10345.jpg', '/home/pi/Desktop/images/31012025/18/14/image_31012025_18_14_45_10373.jpg', '/home/pi/Desktop/images/31012025/18/14/image_31012025_18_14_54_9341.jpg', '/home/pi/Desktop/images/31012025/18/14/image_31012025_18_15_05_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/14/image_31012025_18_14_15_10370.jpg
/home/pi/Desktop/images/31012025/18/14/image_31012025_18_14_24_9378.jpg
/home/pi/Desktop/images/31012025/18/14/image_31012025_18_14_34_10345.jpg
/home/pi/Desktop/images/31012025/18/14/image_31012025_18_14_45_10373.jpg
/home/pi/Desktop/images/31012025/18/14/image_31012025_18_14_54_9341.jpg
/home/pi/Desktop/images/31012025/18/14/image_31012025_18_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":["1333478022","1333477974","1333477973","1333477955","1333478009","1333478043"],"photo_ids_order":["1333477955","1333477973","1333477974","1333478009","1333478022","1333478043"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fffc6464f51f667749532a7eeca71daa.jpg","text":"TemporaryFile(/tmp/multipartBody6967206252592785174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359093402,"filename":"image_31012025_18_14_54_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/063aa2639d9935e6a56dae28ecd6ba38.jpg","text":"TemporaryFile(/tmp/multipartBody4406423601164709150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359093402,"filename":"image_31012025_18_14_34_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/78e201e98b0ec7e3c31b441f6768a3c8.jpg","text":"TemporaryFile(/tmp/multipartBody6199357049119827178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359093402,"filename":"image_31012025_18_14_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/1/31/dde18bc66c019f604a026e8c871a5748.jpg","text":"TemporaryFile(/tmp/multipartBody6397873940344322754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359093402,"filename":"image_31012025_18_14_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/1/31/5a096114ae842db8ff2fdd06b26ffb2d.jpg","text":"TemporaryFile(/tmp/multipartBody5153109906085106956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359093402,"filename":"image_31012025_18_14_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/1/31/f96639f2bdb034bb73740da2eda7d2b4.jpg","text":"TemporaryFile(/tmp/multipartBody5695032520192062463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359093402,"filename":"image_31012025_18_15_05_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333477974","file1":"1333477973","file0":"1333477955","file4":"1333478022","file5":"1333478043","file3":"1333478009"},"map_files_photo_id_array":[{"photo_id":"1333478043","filename":"file5"},{"photo_id":"1333477974","filename":"file2"},{"photo_id":"1333478022","filename":"file4"},{"photo_id":"1333477973","filename":"file1"},{"photo_id":"1333477955","filename":"file0"},{"photo_id":"1333478009","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333478022":["hashtag1","hashtag2"]},{"1333477974":["hashtag1","hashtag2"]},{"1333477973":["hashtag1","hashtag2"]},{"1333477955":["hashtag1","hashtag2"]},{"1333478009":["hashtag1","hashtag2"]},{"1333478043":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333478022, 1333477974, 1333477973, 1333477955, 1333478009, 1333478043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.17899012565613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:31:33.099671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/15/image_31012025_18_15_15_10344.jpg', '/home/pi/Desktop/images/31012025/18/15/image_31012025_18_15_24_9343.jpg', '/home/pi/Desktop/images/31012025/18/15/image_31012025_18_15_35_10358.jpg', '/home/pi/Desktop/images/31012025/18/15/image_31012025_18_15_45_10423.jpg', '/home/pi/Desktop/images/31012025/18/15/image_31012025_18_15_54_9342.jpg', '/home/pi/Desktop/images/31012025/18/15/image_31012025_18_16_05_10481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/15/image_31012025_18_15_15_10344.jpg
/home/pi/Desktop/images/31012025/18/15/image_31012025_18_15_24_9343.jpg
/home/pi/Desktop/images/31012025/18/15/image_31012025_18_15_35_10358.jpg
/home/pi/Desktop/images/31012025/18/15/image_31012025_18_15_45_10423.jpg
/home/pi/Desktop/images/31012025/18/15/image_31012025_18_15_54_9342.jpg
/home/pi/Desktop/images/31012025/18/15/image_31012025_18_16_05_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":["1333478121","1333478123","1333478116","1333478110","1333478130","1333478112"],"photo_ids_order":["1333478110","1333478112","1333478116","1333478121","1333478123","1333478130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f905bb3ba499394aeefe8038437ab29f.jpg","text":"TemporaryFile(/tmp/multipartBody5082576586897641052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359153710,"filename":"image_31012025_18_15_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/1/31/b999c62080d836902f0e2dfadf7e109d.jpg","text":"TemporaryFile(/tmp/multipartBody4263902934819023284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359153710,"filename":"image_31012025_18_15_54_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/efb19515d3a0d007df90ae5b6cf9ba8c.jpg","text":"TemporaryFile(/tmp/multipartBody4608790746579498784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359153710,"filename":"image_31012025_18_15_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/1/31/b7dbc005afef47d9ee0b765709ef1510.jpg","text":"TemporaryFile(/tmp/multipartBody1073989472807904279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359153710,"filename":"image_31012025_18_15_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/1/31/69d617cec792aeaae51bfc9d3ead99b8.jpg","text":"TemporaryFile(/tmp/multipartBody160003429257170670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359153710,"filename":"image_31012025_18_16_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/1/31/e3be8c47d3d23d256e7ede49bd4b0a40.jpg","text":"TemporaryFile(/tmp/multipartBody6167661741072312131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359153710,"filename":"image_31012025_18_15_24_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333478116","file1":"1333478112","file0":"1333478110","file4":"1333478123","file5":"1333478130","file3":"1333478121"},"map_files_photo_id_array":[{"photo_id":"1333478130","filename":"file5"},{"photo_id":"1333478116","filename":"file2"},{"photo_id":"1333478123","filename":"file4"},{"photo_id":"1333478112","filename":"file1"},{"photo_id":"1333478110","filename":"file0"},{"photo_id":"1333478121","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333478121":["hashtag1","hashtag2"]},{"1333478123":["hashtag1","hashtag2"]},{"1333478116":["hashtag1","hashtag2"]},{"1333478110":["hashtag1","hashtag2"]},{"1333478130":["hashtag1","hashtag2"]},{"1333478112":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333478121, 1333478123, 1333478116, 1333478110, 1333478130, 1333478112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.620779514312744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:32:33.165553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/16/image_31012025_18_16_14_9335.jpg', '/home/pi/Desktop/images/31012025/18/16/image_31012025_18_16_25_10426.jpg', '/home/pi/Desktop/images/31012025/18/16/image_31012025_18_16_35_10376.jpg', '/home/pi/Desktop/images/31012025/18/16/image_31012025_18_16_44_9335.jpg', '/home/pi/Desktop/images/31012025/18/16/image_31012025_18_16_55_10458.jpg', '/home/pi/Desktop/images/31012025/18/16/image_31012025_18_17_04_9466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/16/image_31012025_18_16_14_9335.jpg
/home/pi/Desktop/images/31012025/18/16/image_31012025_18_16_25_10426.jpg
/home/pi/Desktop/images/31012025/18/16/image_31012025_18_16_35_10376.jpg
/home/pi/Desktop/images/31012025/18/16/image_31012025_18_16_44_9335.jpg
/home/pi/Desktop/images/31012025/18/16/image_31012025_18_16_55_10458.jpg
/home/pi/Desktop/images/31012025/18/16/image_31012025_18_17_04_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":["1333478171","1333478165","1333478177","1333478176","1333478167","1333478175"],"photo_ids_order":["1333478165","1333478167","1333478171","1333478175","1333478176","1333478177"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5d94d3be3a4effbf70052fa32846fc03.jpg","text":"TemporaryFile(/tmp/multipartBody5011385265165673566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359213763,"filename":"image_31012025_18_16_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/1/31/36cefc85449d633a1ce4b7134bedc568.jpg","text":"TemporaryFile(/tmp/multipartBody3667802443471868182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359213763,"filename":"image_31012025_18_16_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/1/31/aef8696b35fd011dea08a02473296e0f.jpg","text":"TemporaryFile(/tmp/multipartBody1155541647817719228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359213763,"filename":"image_31012025_18_17_04_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b1ff7fb396a99165967abd596c056e6c.jpg","text":"TemporaryFile(/tmp/multipartBody105518941251293020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359213763,"filename":"image_31012025_18_16_55_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0ebe95a3220177774973250d712b9b64.jpg","text":"TemporaryFile(/tmp/multipartBody7012135958752417336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359213763,"filename":"image_31012025_18_16_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/1/31/19f754d8c3b507937d9f01b98cb27c81.jpg","text":"TemporaryFile(/tmp/multipartBody6690503586102229246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359213763,"filename":"image_31012025_18_16_44_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333478171","file1":"1333478167","file0":"1333478165","file4":"1333478176","file5":"1333478177","file3":"1333478175"},"map_files_photo_id_array":[{"photo_id":"1333478177","filename":"file5"},{"photo_id":"1333478171","filename":"file2"},{"photo_id":"1333478176","filename":"file4"},{"photo_id":"1333478167","filename":"file1"},{"photo_id":"1333478165","filename":"file0"},{"photo_id":"1333478175","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333478171":["hashtag1","hashtag2"]},{"1333478165":["hashtag1","hashtag2"]},{"1333478177":["hashtag1","hashtag2"]},{"1333478176":["hashtag1","hashtag2"]},{"1333478167":["hashtag1","hashtag2"]},{"1333478175":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333478171, 1333478165, 1333478177, 1333478176, 1333478167, 1333478175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.16389083862305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:33:32.453318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/17/image_31012025_18_17_15_10504.jpg', '/home/pi/Desktop/images/31012025/18/17/image_31012025_18_17_24_9367.jpg', '/home/pi/Desktop/images/31012025/18/17/image_31012025_18_17_34_10344.jpg', '/home/pi/Desktop/images/31012025/18/17/image_31012025_18_17_45_10507.jpg', '/home/pi/Desktop/images/31012025/18/17/image_31012025_18_17_54_9347.jpg', '/home/pi/Desktop/images/31012025/18/17/image_31012025_18_18_05_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/17/image_31012025_18_17_15_10504.jpg
/home/pi/Desktop/images/31012025/18/17/image_31012025_18_17_24_9367.jpg
/home/pi/Desktop/images/31012025/18/17/image_31012025_18_17_34_10344.jpg
/home/pi/Desktop/images/31012025/18/17/image_31012025_18_17_45_10507.jpg
/home/pi/Desktop/images/31012025/18/17/image_31012025_18_17_54_9347.jpg
/home/pi/Desktop/images/31012025/18/17/image_31012025_18_18_05_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":["1333478220","1333478228","1333478219","1333478224","1333478223","1333478226"],"photo_ids_order":["1333478219","1333478220","1333478223","1333478224","1333478226","1333478228"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/88e8de4b902afc98276f45825e51b7d5.jpg","text":"TemporaryFile(/tmp/multipartBody7976728866712875153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359273146,"filename":"image_31012025_18_17_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/1/31/1731b4149482a84d0a615c2038975a82.jpg","text":"TemporaryFile(/tmp/multipartBody7676391440137361804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359273146,"filename":"image_31012025_18_18_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/1/31/9b428ba15e64d17f66f63098e88bf435.jpg","text":"TemporaryFile(/tmp/multipartBody6004287255196675580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359273146,"filename":"image_31012025_18_17_15_10504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cfb66e4c6c5db09091f378e48c251437.jpg","text":"TemporaryFile(/tmp/multipartBody7270453319899808020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359273146,"filename":"image_31012025_18_17_45_10507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aacfdf62772c6361fcf9b20f380a5e26.jpg","text":"TemporaryFile(/tmp/multipartBody5339236988027874808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359273146,"filename":"image_31012025_18_17_34_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2448c351777019b0658767695b3f5f5e.jpg","text":"TemporaryFile(/tmp/multipartBody8802293843531173843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359273146,"filename":"image_31012025_18_17_54_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333478223","file1":"1333478220","file0":"1333478219","file4":"1333478226","file5":"1333478228","file3":"1333478224"},"map_files_photo_id_array":[{"photo_id":"1333478228","filename":"file5"},{"photo_id":"1333478223","filename":"file2"},{"photo_id":"1333478226","filename":"file4"},{"photo_id":"1333478220","filename":"file1"},{"photo_id":"1333478219","filename":"file0"},{"photo_id":"1333478224","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333478220":["hashtag1","hashtag2"]},{"1333478228":["hashtag1","hashtag2"]},{"1333478219":["hashtag1","hashtag2"]},{"1333478224":["hashtag1","hashtag2"]},{"1333478223":["hashtag1","hashtag2"]},{"1333478226":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333478220, 1333478228, 1333478219, 1333478224, 1333478223, 1333478226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.26213073730469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:34:32.804714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/18/image_31012025_18_18_14_9423.jpg', '/home/pi/Desktop/images/31012025/18/18/image_31012025_18_18_24_10344.jpg', '/home/pi/Desktop/images/31012025/18/18/image_31012025_18_18_35_10372.jpg', '/home/pi/Desktop/images/31012025/18/18/image_31012025_18_18_44_9347.jpg', '/home/pi/Desktop/images/31012025/18/18/image_31012025_18_18_55_10400.jpg', '/home/pi/Desktop/images/31012025/18/19/image_31012025_18_19_14_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/18/image_31012025_18_18_14_9423.jpg
/home/pi/Desktop/images/31012025/18/18/image_31012025_18_18_24_10344.jpg
/home/pi/Desktop/images/31012025/18/18/image_31012025_18_18_35_10372.jpg
/home/pi/Desktop/images/31012025/18/18/image_31012025_18_18_44_9347.jpg
/home/pi/Desktop/images/31012025/18/18/image_31012025_18_18_55_10400.jpg
/home/pi/Desktop/images/31012025/18/19/image_31012025_18_19_14_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":["1333478267","1333478276","1333478263","1333478271","1333478274","1333478265"],"photo_ids_order":["1333478263","1333478265","1333478267","1333478271","1333478274","1333478276"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/062066320dd67046c2268d0a9f98500b.jpg","text":"TemporaryFile(/tmp/multipartBody7888378493649778382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359333342,"filename":"image_31012025_18_18_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/1/31/73e1b1705ea422f309a5aa080b819d87.jpg","text":"TemporaryFile(/tmp/multipartBody6357885175247913845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359333342,"filename":"image_31012025_18_19_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/1/31/8a8d07a3f7668d1ce4b201e5809e86a6.jpg","text":"TemporaryFile(/tmp/multipartBody3754368057484640040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359333342,"filename":"image_31012025_18_18_14_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1a307e1f97cbb293ca53880e38486015.jpg","text":"TemporaryFile(/tmp/multipartBody4130356694290487822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359333342,"filename":"image_31012025_18_18_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/1/31/8fb68660f91a7d6c7dfb6ca8f8878777.jpg","text":"TemporaryFile(/tmp/multipartBody2246086618137862362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359333342,"filename":"image_31012025_18_18_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/1/31/901f6f42448268455326ad9ba3692dad.jpg","text":"TemporaryFile(/tmp/multipartBody2969080988800373418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359333342,"filename":"image_31012025_18_18_24_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333478267","file1":"1333478265","file0":"1333478263","file4":"1333478274","file5":"1333478276","file3":"1333478271"},"map_files_photo_id_array":[{"photo_id":"1333478276","filename":"file5"},{"photo_id":"1333478267","filename":"file2"},{"photo_id":"1333478274","filename":"file4"},{"photo_id":"1333478265","filename":"file1"},{"photo_id":"1333478263","filename":"file0"},{"photo_id":"1333478271","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333478267":["hashtag1","hashtag2"]},{"1333478276":["hashtag1","hashtag2"]},{"1333478263":["hashtag1","hashtag2"]},{"1333478271":["hashtag1","hashtag2"]},{"1333478274":["hashtag1","hashtag2"]},{"1333478265":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333478267, 1333478276, 1333478263, 1333478271, 1333478274, 1333478265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.87676000595093 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:35:33.000511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/19/image_31012025_18_19_25_10369.jpg', '/home/pi/Desktop/images/31012025/18/19/image_31012025_18_19_34_9358.jpg', '/home/pi/Desktop/images/31012025/18/19/image_31012025_18_19_44_10347.jpg', '/home/pi/Desktop/images/31012025/18/19/image_31012025_18_19_55_10358.jpg', '/home/pi/Desktop/images/31012025/18/19/image_31012025_18_20_04_9335.jpg', '/home/pi/Desktop/images/31012025/18/20/image_31012025_18_20_15_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/19/image_31012025_18_19_25_10369.jpg
/home/pi/Desktop/images/31012025/18/19/image_31012025_18_19_34_9358.jpg
/home/pi/Desktop/images/31012025/18/19/image_31012025_18_19_44_10347.jpg
/home/pi/Desktop/images/31012025/18/19/image_31012025_18_19_55_10358.jpg
/home/pi/Desktop/images/31012025/18/19/image_31012025_18_20_04_9335.jpg
/home/pi/Desktop/images/31012025/18/20/image_31012025_18_20_15_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":["1333478384","1333478467","1333478464","1333478425","1333478421","1333478424"],"photo_ids_order":["1333478384","1333478421","1333478424","1333478425","1333478464","1333478467"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4297cb5c51bca1ce893982972e9ff2b1.jpg","text":"TemporaryFile(/tmp/multipartBody3732615319816470356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359393826,"filename":"image_31012025_18_19_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/1/31/3b69917e61a7667a57e87b1c06a680e2.jpg","text":"TemporaryFile(/tmp/multipartBody8631487298379290245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359393826,"filename":"image_31012025_18_20_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/1/31/5a7501d0937241a702ed9a59a1bfdd47.jpg","text":"TemporaryFile(/tmp/multipartBody8642779324313336823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359393826,"filename":"image_31012025_18_20_04_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e3f1256cbbb8e146e97be344ce9ac24b.jpg","text":"TemporaryFile(/tmp/multipartBody6196108728836081189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359393826,"filename":"image_31012025_18_19_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/1/31/f65d6411f55670c95e20d4214ad37d76.jpg","text":"TemporaryFile(/tmp/multipartBody2983759716204086972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359393826,"filename":"image_31012025_18_19_34_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3859d4ce6ef299295115e15714525240.jpg","text":"TemporaryFile(/tmp/multipartBody6291690673136467827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359393826,"filename":"image_31012025_18_19_44_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333478424","file1":"1333478421","file0":"1333478384","file4":"1333478464","file5":"1333478467","file3":"1333478425"},"map_files_photo_id_array":[{"photo_id":"1333478467","filename":"file5"},{"photo_id":"1333478424","filename":"file2"},{"photo_id":"1333478464","filename":"file4"},{"photo_id":"1333478421","filename":"file1"},{"photo_id":"1333478384","filename":"file0"},{"photo_id":"1333478425","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333478384":["hashtag1","hashtag2"]},{"1333478467":["hashtag1","hashtag2"]},{"1333478464":["hashtag1","hashtag2"]},{"1333478425":["hashtag1","hashtag2"]},{"1333478421":["hashtag1","hashtag2"]},{"1333478424":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333478384, 1333478467, 1333478464, 1333478425, 1333478421, 1333478424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.826493978500366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:36:32.230787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/20/image_31012025_18_20_25_10430.jpg', '/home/pi/Desktop/images/31012025/18/20/image_31012025_18_20_34_9338.jpg', '/home/pi/Desktop/images/31012025/18/20/image_31012025_18_20_45_10490.jpg', '/home/pi/Desktop/images/31012025/18/20/image_31012025_18_20_54_9355.jpg', '/home/pi/Desktop/images/31012025/18/20/image_31012025_18_21_04_10341.jpg', '/home/pi/Desktop/images/31012025/18/21/image_31012025_18_21_15_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/20/image_31012025_18_20_25_10430.jpg
/home/pi/Desktop/images/31012025/18/20/image_31012025_18_20_34_9338.jpg
/home/pi/Desktop/images/31012025/18/20/image_31012025_18_20_45_10490.jpg
/home/pi/Desktop/images/31012025/18/20/image_31012025_18_20_54_9355.jpg
/home/pi/Desktop/images/31012025/18/20/image_31012025_18_21_04_10341.jpg
/home/pi/Desktop/images/31012025/18/21/image_31012025_18_21_15_10346.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":["1333478489","1333478492","1333478548","1333478551","1333478496","1333478500"],"photo_ids_order":["1333478489","1333478492","1333478496","1333478500","1333478548","1333478551"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0e705fb90e817f9db0f1dff8c9fe1ad5.jpg","text":"TemporaryFile(/tmp/multipartBody8182157030240968254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359452786,"filename":"image_31012025_18_20_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/1/31/f6677668406fced64ce55dd3e6589016.jpg","text":"TemporaryFile(/tmp/multipartBody2013369830412949748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359452786,"filename":"image_31012025_18_20_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/1/31/9d5e1c1560fb24e586d90d03e848d9ec.jpg","text":"TemporaryFile(/tmp/multipartBody1460476745518406500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359452786,"filename":"image_31012025_18_21_04_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6dc2c33daa0b1aaaf5068e0360d89b0f.jpg","text":"TemporaryFile(/tmp/multipartBody6104652522869175937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359452786,"filename":"image_31012025_18_21_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/1/31/3937a23382c2edae6c19868ce7e76ec7.jpg","text":"TemporaryFile(/tmp/multipartBody6259552216808281803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359452786,"filename":"image_31012025_18_20_45_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/652179983337aa510191c480e9489c88.jpg","text":"TemporaryFile(/tmp/multipartBody2560539876720066102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359452786,"filename":"image_31012025_18_20_54_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333478496","file1":"1333478492","file0":"1333478489","file4":"1333478548","file5":"1333478551","file3":"1333478500"},"map_files_photo_id_array":[{"photo_id":"1333478551","filename":"file5"},{"photo_id":"1333478496","filename":"file2"},{"photo_id":"1333478548","filename":"file4"},{"photo_id":"1333478492","filename":"file1"},{"photo_id":"1333478489","filename":"file0"},{"photo_id":"1333478500","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333478489":["hashtag1","hashtag2"]},{"1333478492":["hashtag1","hashtag2"]},{"1333478548":["hashtag1","hashtag2"]},{"1333478551":["hashtag1","hashtag2"]},{"1333478496":["hashtag1","hashtag2"]},{"1333478500":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333478489, 1333478492, 1333478548, 1333478551, 1333478496, 1333478500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.30029821395874 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-01-31 22:37:32.496920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/21/image_31012025_18_21_24_9357.jpg', '/home/pi/Desktop/images/31012025/18/21/image_31012025_18_21_35_10359.jpg', '/home/pi/Desktop/images/31012025/18/21/image_31012025_18_21_45_10361.jpg', '/home/pi/Desktop/images/31012025/18/21/image_31012025_18_21_54_9433.jpg', '/home/pi/Desktop/images/31012025/18/21/image_31012025_18_22_05_10410.jpg', '/home/pi/Desktop/images/31012025/18/22/image_31012025_18_22_14_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/21/image_31012025_18_21_24_9357.jpg
/home/pi/Desktop/images/31012025/18/21/image_31012025_18_21_35_10359.jpg
/home/pi/Desktop/images/31012025/18/21/image_31012025_18_21_45_10361.jpg
/home/pi/Desktop/images/31012025/18/21/image_31012025_18_21_54_9433.jpg
/home/pi/Desktop/images/31012025/18/21/image_31012025_18_22_05_10410.jpg
/home/pi/Desktop/images/31012025/18/22/image_31012025_18_22_14_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":["1333478693","1333478651","1333478695","1333478647","1333478644","1333478697"],"photo_ids_order":["1333478644","1333478647","1333478651","1333478693","1333478695","1333478697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ff00b1104ad1a8a590af1fa6c48fd934.jpg","text":"TemporaryFile(/tmp/multipartBody7941943428426755091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359513046,"filename":"image_31012025_18_21_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/1/31/0407648809ad286d5c4b131e783bf4ea.jpg","text":"TemporaryFile(/tmp/multipartBody8334421544748366397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359513046,"filename":"image_31012025_18_21_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/1/31/efa45941980514e032a2188578c01f04.jpg","text":"TemporaryFile(/tmp/multipartBody4316627097811417269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359513046,"filename":"image_31012025_18_22_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/1/31/862fac6401ad162c4c41028448bd1a3d.jpg","text":"TemporaryFile(/tmp/multipartBody8987860657544788224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359513046,"filename":"image_31012025_18_21_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/1/31/a14231821dca2196ebcf8729c6c13e37.jpg","text":"TemporaryFile(/tmp/multipartBody6942013824193829710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359513046,"filename":"image_31012025_18_21_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/1/31/7df53635a791dbf41173674f09eb3257.jpg","text":"TemporaryFile(/tmp/multipartBody2628583238737667195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359513046,"filename":"image_31012025_18_22_14_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333478651","file1":"1333478647","file0":"1333478644","file4":"1333478695","file5":"1333478697","file3":"1333478693"},"map_files_photo_id_array":[{"photo_id":"1333478697","filename":"file5"},{"photo_id":"1333478651","filename":"file2"},{"photo_id":"1333478695","filename":"file4"},{"photo_id":"1333478647","filename":"file1"},{"photo_id":"1333478644","filename":"file0"},{"photo_id":"1333478693","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333478693":["hashtag1","hashtag2"]},{"1333478651":["hashtag1","hashtag2"]},{"1333478695":["hashtag1","hashtag2"]},{"1333478647":["hashtag1","hashtag2"]},{"1333478644":["hashtag1","hashtag2"]},{"1333478697":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333478693, 1333478651, 1333478695, 1333478647, 1333478644, 1333478697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.5193088054657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:38:32.637442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/22/image_31012025_18_22_25_10398.jpg', '/home/pi/Desktop/images/31012025/18/22/image_31012025_18_22_35_10346.jpg', '/home/pi/Desktop/images/31012025/18/22/image_31012025_18_22_44_9355.jpg', '/home/pi/Desktop/images/31012025/18/22/image_31012025_18_22_55_10371.jpg', '/home/pi/Desktop/images/31012025/18/22/image_31012025_18_23_05_10425.jpg', '/home/pi/Desktop/images/31012025/18/23/image_31012025_18_23_14_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/22/image_31012025_18_22_25_10398.jpg
/home/pi/Desktop/images/31012025/18/22/image_31012025_18_22_35_10346.jpg
/home/pi/Desktop/images/31012025/18/22/image_31012025_18_22_44_9355.jpg
/home/pi/Desktop/images/31012025/18/22/image_31012025_18_22_55_10371.jpg
/home/pi/Desktop/images/31012025/18/22/image_31012025_18_23_05_10425.jpg
/home/pi/Desktop/images/31012025/18/23/image_31012025_18_23_14_9400.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":["1333478807","1333478827","1333478830","1333478803","1333478832","1333478826"],"photo_ids_order":["1333478803","1333478807","1333478826","1333478827","1333478830","1333478832"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c365914b0a32f8330dd28dd2e44e9171.jpg","text":"TemporaryFile(/tmp/multipartBody948296174352114694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359573177,"filename":"image_31012025_18_22_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/1/31/b13e6c0d6e3e245b33494f055034ba69.jpg","text":"TemporaryFile(/tmp/multipartBody4542326549490615077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359573177,"filename":"image_31012025_18_22_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/1/31/c51c885d0399bac2e6996c95edd34284.jpg","text":"TemporaryFile(/tmp/multipartBody4795474327946575760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359573177,"filename":"image_31012025_18_23_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/1/31/e24b39d7250b6c8559b854fa0905bb1f.jpg","text":"TemporaryFile(/tmp/multipartBody6611171723808133928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359573177,"filename":"image_31012025_18_22_25_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/618cfe75058384c99d327e8625bcbe0d.jpg","text":"TemporaryFile(/tmp/multipartBody6414487193902870386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359573177,"filename":"image_31012025_18_23_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/1/31/437fefc0faeb31a33f09bf9227126aee.jpg","text":"TemporaryFile(/tmp/multipartBody8080806188473018818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359573177,"filename":"image_31012025_18_22_44_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333478826","file1":"1333478807","file0":"1333478803","file4":"1333478830","file5":"1333478832","file3":"1333478827"},"map_files_photo_id_array":[{"photo_id":"1333478832","filename":"file5"},{"photo_id":"1333478826","filename":"file2"},{"photo_id":"1333478830","filename":"file4"},{"photo_id":"1333478807","filename":"file1"},{"photo_id":"1333478803","filename":"file0"},{"photo_id":"1333478827","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333478807":["hashtag1","hashtag2"]},{"1333478827":["hashtag1","hashtag2"]},{"1333478830":["hashtag1","hashtag2"]},{"1333478803":["hashtag1","hashtag2"]},{"1333478832":["hashtag1","hashtag2"]},{"1333478826":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333478807, 1333478827, 1333478830, 1333478803, 1333478832, 1333478826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 28.629491329193115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 22:39:04.463120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/23/image_31012025_18_23_25_10371.jpg', '/home/pi/Desktop/images/31012025/18/23/image_31012025_18_23_34_9351.jpg', '/home/pi/Desktop/images/31012025/18/23/image_31012025_18_23_55_10346.jpg', '/home/pi/Desktop/images/31012025/18/23/image_31012025_18_24_04_9387.jpg', '/home/pi/Desktop/images/31012025/18/24/image_31012025_18_24_15_10436.jpg', '/home/pi/Desktop/images/31012025/18/24/image_31012025_18_24_24_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/23/image_31012025_18_23_25_10371.jpg
/home/pi/Desktop/images/31012025/18/23/image_31012025_18_23_34_9351.jpg
/home/pi/Desktop/images/31012025/18/23/image_31012025_18_23_55_10346.jpg
/home/pi/Desktop/images/31012025/18/23/image_31012025_18_24_04_9387.jpg
/home/pi/Desktop/images/31012025/18/24/image_31012025_18_24_15_10436.jpg
/home/pi/Desktop/images/31012025/18/24/image_31012025_18_24_24_9445.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333478915","1333478912","1333478906","1333478909","1333478872","1333478874"],"photo_ids_order":["1333478872","1333478874","1333478906","1333478909","1333478912","1333478915"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/29d8fa07c069ba317582973ae5dbf067.jpg","text":"TemporaryFile(/tmp/multipartBody7493440429199699652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359605390,"filename":"image_31012025_18_24_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/1/31/c15dd65d406121355767e693c63256c4.jpg","text":"TemporaryFile(/tmp/multipartBody9077188357716522264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359605390,"filename":"image_31012025_18_24_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/1/31/1fbe907f7d1b1ae6dc6855768d017ab5.jpg","text":"TemporaryFile(/tmp/multipartBody6287167075186511390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359605390,"filename":"image_31012025_18_23_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/1/31/cb337e2a2f419a2f3cf716d52da0e790.jpg","text":"TemporaryFile(/tmp/multipartBody8647546124376203068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359605390,"filename":"image_31012025_18_24_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/1/31/6cff9db7e06376ddcde65c949f0bcb2b.jpg","text":"TemporaryFile(/tmp/multipartBody1612213965954773891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359605390,"filename":"image_31012025_18_23_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/1/31/4c694cac69715ccd31c21b9805a99232.jpg","text":"TemporaryFile(/tmp/multipartBody4512326871272340176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359605390,"filename":"image_31012025_18_23_34_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333478906","file1":"1333478874","file0":"1333478872","file4":"1333478912","file5":"1333478915","file3":"1333478909"},"map_files_photo_id_array":[{"photo_id":"1333478915","filename":"file5"},{"photo_id":"1333478906","filename":"file2"},{"photo_id":"1333478912","filename":"file4"},{"photo_id":"1333478874","filename":"file1"},{"photo_id":"1333478872","filename":"file0"},{"photo_id":"1333478909","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333478915":["hashtag1","hashtag2"]},{"1333478912":["hashtag1","hashtag2"]},{"1333478906":["hashtag1","hashtag2"]},{"1333478909":["hashtag1","hashtag2"]},{"1333478872":["hashtag1","hashtag2"]},{"1333478874":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333478915, 1333478912, 1333478906, 1333478909, 1333478872, 1333478874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.912509441375732 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 22:39:42.875755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/24/image_31012025_18_24_35_10405.jpg', '/home/pi/Desktop/images/31012025/18/24/image_31012025_18_24_44_9640.jpg', '/home/pi/Desktop/images/31012025/18/24/image_31012025_18_24_55_10403.jpg', '/home/pi/Desktop/images/31012025/18/24/image_31012025_18_25_05_10432.jpg', '/home/pi/Desktop/images/31012025/18/25/image_31012025_18_25_14_9354.jpg', '/home/pi/Desktop/images/31012025/18/25/image_31012025_18_25_25_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/24/image_31012025_18_24_35_10405.jpg
/home/pi/Desktop/images/31012025/18/24/image_31012025_18_24_44_9640.jpg
/home/pi/Desktop/images/31012025/18/24/image_31012025_18_24_55_10403.jpg
/home/pi/Desktop/images/31012025/18/24/image_31012025_18_25_05_10432.jpg
/home/pi/Desktop/images/31012025/18/25/image_31012025_18_25_14_9354.jpg
/home/pi/Desktop/images/31012025/18/25/image_31012025_18_25_25_10451.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":["1333478933","1333478942","1333478945","1333478924","1333478937","1333478928"],"photo_ids_order":["1333478924","1333478928","1333478933","1333478937","1333478942","1333478945"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b51a02a2b152796c43e9f3eac0ae509d.jpg","text":"TemporaryFile(/tmp/multipartBody8326060568905839059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359643484,"filename":"image_31012025_18_24_55_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d561b72e2d93fc0edb419b3da30998c5.jpg","text":"TemporaryFile(/tmp/multipartBody2304602504366896533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359643484,"filename":"image_31012025_18_25_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/1/31/e2b1a78631c5294076e7b802d6c10a3a.jpg","text":"TemporaryFile(/tmp/multipartBody9127797496339228380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359643484,"filename":"image_31012025_18_25_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/1/31/4e285b9fd3be4fd39fa8dfcc10e7706a.jpg","text":"TemporaryFile(/tmp/multipartBody3277035974260419536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359643484,"filename":"image_31012025_18_24_35_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9ebfc6800c3575e1f8a669da15b6853c.jpg","text":"TemporaryFile(/tmp/multipartBody4821705944716067690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359643484,"filename":"image_31012025_18_25_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/1/31/b8f1806241c03ef295ef9fe726cd7dc4.jpg","text":"TemporaryFile(/tmp/multipartBody2361644224924600503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359643484,"filename":"image_31012025_18_24_44_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333478933","file1":"1333478928","file0":"1333478924","file4":"1333478942","file5":"1333478945","file3":"1333478937"},"map_files_photo_id_array":[{"photo_id":"1333478945","filename":"file5"},{"photo_id":"1333478933","filename":"file2"},{"photo_id":"1333478942","filename":"file4"},{"photo_id":"1333478928","filename":"file1"},{"photo_id":"1333478924","filename":"file0"},{"photo_id":"1333478937","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333478933":["hashtag1","hashtag2"]},{"1333478942":["hashtag1","hashtag2"]},{"1333478945":["hashtag1","hashtag2"]},{"1333478924":["hashtag1","hashtag2"]},{"1333478937":["hashtag1","hashtag2"]},{"1333478928":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333478933, 1333478942, 1333478945, 1333478924, 1333478937, 1333478928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.459017753601074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:40:33.163412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/25/image_31012025_18_25_34_9344.jpg', '/home/pi/Desktop/images/31012025/18/25/image_31012025_18_25_45_10351.jpg', '/home/pi/Desktop/images/31012025/18/25/image_31012025_18_25_55_10460.jpg', '/home/pi/Desktop/images/31012025/18/25/image_31012025_18_26_04_9323.jpg', '/home/pi/Desktop/images/31012025/18/26/image_31012025_18_26_15_10471.jpg', '/home/pi/Desktop/images/31012025/18/26/image_31012025_18_26_24_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/25/image_31012025_18_25_34_9344.jpg
/home/pi/Desktop/images/31012025/18/25/image_31012025_18_25_45_10351.jpg
/home/pi/Desktop/images/31012025/18/25/image_31012025_18_25_55_10460.jpg
/home/pi/Desktop/images/31012025/18/25/image_31012025_18_26_04_9323.jpg
/home/pi/Desktop/images/31012025/18/26/image_31012025_18_26_15_10471.jpg
/home/pi/Desktop/images/31012025/18/26/image_31012025_18_26_24_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":["1333478960","1333478963","1333478980","1333478985","1333479000","1333478996"],"photo_ids_order":["1333478960","1333478963","1333478980","1333478985","1333478996","1333479000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/01c1ed32aa9441b2b2a56f48755506d9.jpg","text":"TemporaryFile(/tmp/multipartBody3228053539006145340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359693699,"filename":"image_31012025_18_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/1/31/4beb078e43e90b7cd13bb70b67a96c8a.jpg","text":"TemporaryFile(/tmp/multipartBody7324131933418011453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359693699,"filename":"image_31012025_18_25_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/1/31/adbec294ce148fb99105f5e2b20223a4.jpg","text":"TemporaryFile(/tmp/multipartBody6757874853313386759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359693699,"filename":"image_31012025_18_25_55_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/745e171563819a7b6c8999f6a4865505.jpg","text":"TemporaryFile(/tmp/multipartBody1065083373610466575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359693699,"filename":"image_31012025_18_26_04_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5f28dc7a66d109bb63fb5e4bfef83582.jpg","text":"TemporaryFile(/tmp/multipartBody7220437353495662272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359693699,"filename":"image_31012025_18_26_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/1/31/034c88516fbc8a0b9d8cd3d7c2709e16.jpg","text":"TemporaryFile(/tmp/multipartBody7318573348210273698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359693699,"filename":"image_31012025_18_26_15_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333478980","file1":"1333478963","file0":"1333478960","file4":"1333478996","file5":"1333479000","file3":"1333478985"},"map_files_photo_id_array":[{"photo_id":"1333479000","filename":"file5"},{"photo_id":"1333478980","filename":"file2"},{"photo_id":"1333478996","filename":"file4"},{"photo_id":"1333478963","filename":"file1"},{"photo_id":"1333478960","filename":"file0"},{"photo_id":"1333478985","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333478960":["hashtag1","hashtag2"]},{"1333478963":["hashtag1","hashtag2"]},{"1333478980":["hashtag1","hashtag2"]},{"1333478985":["hashtag1","hashtag2"]},{"1333479000":["hashtag1","hashtag2"]},{"1333478996":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333478960, 1333478963, 1333478980, 1333478985, 1333479000, 1333478996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.514477968215942 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:41:32.306905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/26/image_31012025_18_26_34_10376.jpg', '/home/pi/Desktop/images/31012025/18/26/image_31012025_18_26_45_10458.jpg', '/home/pi/Desktop/images/31012025/18/26/image_31012025_18_26_54_9362.jpg', '/home/pi/Desktop/images/31012025/18/27/image_31012025_18_27_14_9422.jpg', '/home/pi/Desktop/images/31012025/18/27/image_31012025_18_27_25_10370.jpg', '/home/pi/Desktop/images/31012025/18/27/image_31012025_18_27_35_10466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/26/image_31012025_18_26_34_10376.jpg
/home/pi/Desktop/images/31012025/18/26/image_31012025_18_26_45_10458.jpg
/home/pi/Desktop/images/31012025/18/26/image_31012025_18_26_54_9362.jpg
/home/pi/Desktop/images/31012025/18/27/image_31012025_18_27_14_9422.jpg
/home/pi/Desktop/images/31012025/18/27/image_31012025_18_27_25_10370.jpg
/home/pi/Desktop/images/31012025/18/27/image_31012025_18_27_35_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":["1333479101","1333479104","1333479094","1333479107","1333479097","1333479109"],"photo_ids_order":["1333479094","1333479097","1333479101","1333479104","1333479107","1333479109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/143a30554e35b051bd4cf9590c546a79.jpg","text":"TemporaryFile(/tmp/multipartBody1512936928182126832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359752863,"filename":"image_31012025_18_26_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/1/31/c17984a9a98ce5710a0682eb4f874bf3.jpg","text":"TemporaryFile(/tmp/multipartBody4629271568336705941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359752863,"filename":"image_31012025_18_27_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/1/31/daec88f55317b1137a984a0aadc979fb.jpg","text":"TemporaryFile(/tmp/multipartBody4786647781577381749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359752863,"filename":"image_31012025_18_26_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/1/31/acbefaa0ec093babbdcecf20dada7de1.jpg","text":"TemporaryFile(/tmp/multipartBody6737962656225195893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359752863,"filename":"image_31012025_18_27_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/1/31/c3dc077457bc7fa804156a51eafef1c1.jpg","text":"TemporaryFile(/tmp/multipartBody8185580672016699168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359752863,"filename":"image_31012025_18_26_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/1/31/c6d7662b506e0b8051d742d69bc7cb86.jpg","text":"TemporaryFile(/tmp/multipartBody7559364440085957635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359752863,"filename":"image_31012025_18_27_35_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333479101","file1":"1333479097","file0":"1333479094","file4":"1333479107","file5":"1333479109","file3":"1333479104"},"map_files_photo_id_array":[{"photo_id":"1333479109","filename":"file5"},{"photo_id":"1333479101","filename":"file2"},{"photo_id":"1333479107","filename":"file4"},{"photo_id":"1333479097","filename":"file1"},{"photo_id":"1333479094","filename":"file0"},{"photo_id":"1333479104","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333479101":["hashtag1","hashtag2"]},{"1333479104":["hashtag1","hashtag2"]},{"1333479094":["hashtag1","hashtag2"]},{"1333479107":["hashtag1","hashtag2"]},{"1333479097":["hashtag1","hashtag2"]},{"1333479109":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333479101, 1333479104, 1333479094, 1333479107, 1333479097, 1333479109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.848527908325195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:42:32.515960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/27/image_31012025_18_27_44_9438.jpg', '/home/pi/Desktop/images/31012025/18/27/image_31012025_18_28_04_9418.jpg', '/home/pi/Desktop/images/31012025/18/28/image_31012025_18_28_15_10473.jpg', '/home/pi/Desktop/images/31012025/18/28/image_31012025_18_28_24_9424.jpg', '/home/pi/Desktop/images/31012025/18/28/image_31012025_18_28_35_10346.jpg', '/home/pi/Desktop/images/31012025/18/28/image_31012025_18_28_45_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/27/image_31012025_18_27_44_9438.jpg
/home/pi/Desktop/images/31012025/18/27/image_31012025_18_28_04_9418.jpg
/home/pi/Desktop/images/31012025/18/28/image_31012025_18_28_15_10473.jpg
/home/pi/Desktop/images/31012025/18/28/image_31012025_18_28_24_9424.jpg
/home/pi/Desktop/images/31012025/18/28/image_31012025_18_28_35_10346.jpg
/home/pi/Desktop/images/31012025/18/28/image_31012025_18_28_45_10342.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":["1333479146","1333479149","1333479143","1333479136","1333479151","1333479141"],"photo_ids_order":["1333479136","1333479141","1333479143","1333479146","1333479149","1333479151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0a3205dfe000e254feb40adaa635ddf6.jpg","text":"TemporaryFile(/tmp/multipartBody5292890699229389514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359813062,"filename":"image_31012025_18_28_24_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/573f722f3957567eefe12d34498803a9.jpg","text":"TemporaryFile(/tmp/multipartBody1177300265492811333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359813062,"filename":"image_31012025_18_28_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/1/31/a1c0287a642d0b96730a6d35082fa204.jpg","text":"TemporaryFile(/tmp/multipartBody4261777393260092123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359813062,"filename":"image_31012025_18_28_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/1/31/7a2f110572efebef7ac35b4d6c24e3b8.jpg","text":"TemporaryFile(/tmp/multipartBody7013150065344794891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359813062,"filename":"image_31012025_18_27_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/1/31/091e0489e394ffd07fe51939941713d7.jpg","text":"TemporaryFile(/tmp/multipartBody6606839325663500411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359813062,"filename":"image_31012025_18_28_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/1/31/d2e94d8cfe0f2bc0fa9662558a33c19b.jpg","text":"TemporaryFile(/tmp/multipartBody1211817249624925877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359813062,"filename":"image_31012025_18_28_04_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333479143","file1":"1333479141","file0":"1333479136","file4":"1333479149","file5":"1333479151","file3":"1333479146"},"map_files_photo_id_array":[{"photo_id":"1333479151","filename":"file5"},{"photo_id":"1333479143","filename":"file2"},{"photo_id":"1333479149","filename":"file4"},{"photo_id":"1333479141","filename":"file1"},{"photo_id":"1333479136","filename":"file0"},{"photo_id":"1333479146","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333479146":["hashtag1","hashtag2"]},{"1333479149":["hashtag1","hashtag2"]},{"1333479143":["hashtag1","hashtag2"]},{"1333479136":["hashtag1","hashtag2"]},{"1333479151":["hashtag1","hashtag2"]},{"1333479141":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333479146, 1333479149, 1333479143, 1333479136, 1333479151, 1333479141)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 29.528660774230957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:43:32.907889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/28/image_31012025_18_28_54_9332.jpg', '/home/pi/Desktop/images/31012025/18/28/image_31012025_18_29_05_10344.jpg', '/home/pi/Desktop/images/31012025/18/29/image_31012025_18_29_15_10421.jpg', '/home/pi/Desktop/images/31012025/18/29/image_31012025_18_29_24_9445.jpg', '/home/pi/Desktop/images/31012025/18/29/image_31012025_18_29_35_10439.jpg', '/home/pi/Desktop/images/31012025/18/29/image_31012025_18_29_44_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/28/image_31012025_18_28_54_9332.jpg
/home/pi/Desktop/images/31012025/18/28/image_31012025_18_29_05_10344.jpg
/home/pi/Desktop/images/31012025/18/29/image_31012025_18_29_15_10421.jpg
/home/pi/Desktop/images/31012025/18/29/image_31012025_18_29_24_9445.jpg
/home/pi/Desktop/images/31012025/18/29/image_31012025_18_29_35_10439.jpg
/home/pi/Desktop/images/31012025/18/29/image_31012025_18_29_44_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":["1333479187","1333479172","1333479181","1333479175","1333479184","1333479178"],"photo_ids_order":["1333479172","1333479175","1333479178","1333479181","1333479184","1333479187"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b014298e3d73b032fb6c249c29283ff2.jpg","text":"TemporaryFile(/tmp/multipartBody4383860372573734182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359873444,"filename":"image_31012025_18_29_44_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8ed163b87837d2b739f80dace100bb7a.jpg","text":"TemporaryFile(/tmp/multipartBody4240977873946445602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359873444,"filename":"image_31012025_18_28_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/1/31/d418e15119f564232b63110936c6c60e.jpg","text":"TemporaryFile(/tmp/multipartBody5016077796649055095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359873444,"filename":"image_31012025_18_29_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/1/31/ace516f19c3232c6a96357144c07f3a5.jpg","text":"TemporaryFile(/tmp/multipartBody7744203223696719282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359873444,"filename":"image_31012025_18_29_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/1/31/ec5b750a831b3ff2e827204405d646f0.jpg","text":"TemporaryFile(/tmp/multipartBody3724302804752763414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359873444,"filename":"image_31012025_18_29_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/1/31/27ce207c49e7583e04b392125e29cd9a.jpg","text":"TemporaryFile(/tmp/multipartBody4346106809744357832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359873444,"filename":"image_31012025_18_29_15_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333479178","file1":"1333479175","file0":"1333479172","file4":"1333479184","file5":"1333479187","file3":"1333479181"},"map_files_photo_id_array":[{"photo_id":"1333479187","filename":"file5"},{"photo_id":"1333479178","filename":"file2"},{"photo_id":"1333479184","filename":"file4"},{"photo_id":"1333479175","filename":"file1"},{"photo_id":"1333479172","filename":"file0"},{"photo_id":"1333479181","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333479187":["hashtag1","hashtag2"]},{"1333479172":["hashtag1","hashtag2"]},{"1333479181":["hashtag1","hashtag2"]},{"1333479175":["hashtag1","hashtag2"]},{"1333479184":["hashtag1","hashtag2"]},{"1333479178":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333479187, 1333479172, 1333479181, 1333479175, 1333479184, 1333479178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.525452375411987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:44:33.096357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/29/image_31012025_18_29_55_10340.jpg', '/home/pi/Desktop/images/31012025/18/29/image_31012025_18_30_05_10468.jpg', '/home/pi/Desktop/images/31012025/18/30/image_31012025_18_30_14_9337.jpg', '/home/pi/Desktop/images/31012025/18/30/image_31012025_18_30_25_10387.jpg', '/home/pi/Desktop/images/31012025/18/30/image_31012025_18_30_34_9350.jpg', '/home/pi/Desktop/images/31012025/18/30/image_31012025_18_30_55_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/29/image_31012025_18_29_55_10340.jpg
/home/pi/Desktop/images/31012025/18/29/image_31012025_18_30_05_10468.jpg
/home/pi/Desktop/images/31012025/18/30/image_31012025_18_30_14_9337.jpg
/home/pi/Desktop/images/31012025/18/30/image_31012025_18_30_25_10387.jpg
/home/pi/Desktop/images/31012025/18/30/image_31012025_18_30_34_9350.jpg
/home/pi/Desktop/images/31012025/18/30/image_31012025_18_30_55_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":["1333479233","1333479227","1333479229","1333479301","1333479246","1333479231"],"photo_ids_order":["1333479227","1333479229","1333479231","1333479233","1333479246","1333479301"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/930fc9dd8d01ed47a5f1148515087bbb.jpg","text":"TemporaryFile(/tmp/multipartBody3850690919044053455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359933610,"filename":"image_31012025_18_30_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/1/31/48741939d6cbbd01e3701f50c768e236.jpg","text":"TemporaryFile(/tmp/multipartBody1224572737760394279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359933610,"filename":"image_31012025_18_29_55_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fe2a9686c18186b2098f2ef94991131c.jpg","text":"TemporaryFile(/tmp/multipartBody5548365122962514770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359933610,"filename":"image_31012025_18_30_05_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7570aea00a120f8296fd28bf396114ae.jpg","text":"TemporaryFile(/tmp/multipartBody4740575914596323584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359933610,"filename":"image_31012025_18_30_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/1/31/b380bdc7cf1d58a1dd954c47bb1d1e57.jpg","text":"TemporaryFile(/tmp/multipartBody9113141528876434412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359933610,"filename":"image_31012025_18_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/1/31/9349a5c8d521f7ef8e7bab94c1cd0291.jpg","text":"TemporaryFile(/tmp/multipartBody2685280517567175886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359933610,"filename":"image_31012025_18_30_14_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333479231","file1":"1333479229","file0":"1333479227","file4":"1333479246","file5":"1333479301","file3":"1333479233"},"map_files_photo_id_array":[{"photo_id":"1333479301","filename":"file5"},{"photo_id":"1333479231","filename":"file2"},{"photo_id":"1333479246","filename":"file4"},{"photo_id":"1333479229","filename":"file1"},{"photo_id":"1333479227","filename":"file0"},{"photo_id":"1333479233","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333479233":["hashtag1","hashtag2"]},{"1333479227":["hashtag1","hashtag2"]},{"1333479229":["hashtag1","hashtag2"]},{"1333479301":["hashtag1","hashtag2"]},{"1333479246":["hashtag1","hashtag2"]},{"1333479231":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333479233, 1333479227, 1333479229, 1333479301, 1333479246, 1333479231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.623214960098267 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:45:32.482372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/30/image_31012025_18_31_04_9335.jpg', '/home/pi/Desktop/images/31012025/18/31/image_31012025_18_31_15_10341.jpg', '/home/pi/Desktop/images/31012025/18/31/image_31012025_18_31_25_10404.jpg', '/home/pi/Desktop/images/31012025/18/31/image_31012025_18_31_34_9347.jpg', '/home/pi/Desktop/images/31012025/18/31/image_31012025_18_31_45_10465.jpg', '/home/pi/Desktop/images/31012025/18/31/image_31012025_18_31_54_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/30/image_31012025_18_31_04_9335.jpg
/home/pi/Desktop/images/31012025/18/31/image_31012025_18_31_15_10341.jpg
/home/pi/Desktop/images/31012025/18/31/image_31012025_18_31_25_10404.jpg
/home/pi/Desktop/images/31012025/18/31/image_31012025_18_31_34_9347.jpg
/home/pi/Desktop/images/31012025/18/31/image_31012025_18_31_45_10465.jpg
/home/pi/Desktop/images/31012025/18/31/image_31012025_18_31_54_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":["1333479332","1333479328","1333479336","1333479330","1333479380","1333479356"],"photo_ids_order":["1333479328","1333479330","1333479332","1333479336","1333479356","1333479380"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/96b69715a8f363519c3a0120a7fa9689.jpg","text":"TemporaryFile(/tmp/multipartBody5188679064486505973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359993027,"filename":"image_31012025_18_31_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/1/31/164ee00e5482de6dce31b1d556406cfa.jpg","text":"TemporaryFile(/tmp/multipartBody1472445075190452557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359993027,"filename":"image_31012025_18_31_04_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f63de9c630ed55c1b2d7c3a2d3ebd1a4.jpg","text":"TemporaryFile(/tmp/multipartBody194685164940713135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359993027,"filename":"image_31012025_18_31_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/1/31/2f2a15b6020a3a8d7f42a43a187affed.jpg","text":"TemporaryFile(/tmp/multipartBody8001524896102647595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359993027,"filename":"image_31012025_18_31_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/1/31/7408756a9f81b96449ba5079657e0c80.jpg","text":"TemporaryFile(/tmp/multipartBody6938374622146259774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359993027,"filename":"image_31012025_18_31_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/1/31/e834dc6c874a547ec0d00ca3a1216d9f.jpg","text":"TemporaryFile(/tmp/multipartBody4234936370865961316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738359993027,"filename":"image_31012025_18_31_45_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333479332","file1":"1333479330","file0":"1333479328","file4":"1333479356","file5":"1333479380","file3":"1333479336"},"map_files_photo_id_array":[{"photo_id":"1333479380","filename":"file5"},{"photo_id":"1333479332","filename":"file2"},{"photo_id":"1333479356","filename":"file4"},{"photo_id":"1333479330","filename":"file1"},{"photo_id":"1333479328","filename":"file0"},{"photo_id":"1333479336","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333479332":["hashtag1","hashtag2"]},{"1333479328":["hashtag1","hashtag2"]},{"1333479336":["hashtag1","hashtag2"]},{"1333479330":["hashtag1","hashtag2"]},{"1333479380":["hashtag1","hashtag2"]},{"1333479356":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333479332, 1333479328, 1333479336, 1333479330, 1333479380, 1333479356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.808308601379395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:46:32.558669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/31/image_31012025_18_32_04_10337.jpg', '/home/pi/Desktop/images/31012025/18/32/image_31012025_18_32_15_10486.jpg', '/home/pi/Desktop/images/31012025/18/32/image_31012025_18_32_24_9350.jpg', '/home/pi/Desktop/images/31012025/18/32/image_31012025_18_32_35_10436.jpg', '/home/pi/Desktop/images/31012025/18/32/image_31012025_18_32_44_9353.jpg', '/home/pi/Desktop/images/31012025/18/32/image_31012025_18_32_54_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/31/image_31012025_18_32_04_10337.jpg
/home/pi/Desktop/images/31012025/18/32/image_31012025_18_32_15_10486.jpg
/home/pi/Desktop/images/31012025/18/32/image_31012025_18_32_24_9350.jpg
/home/pi/Desktop/images/31012025/18/32/image_31012025_18_32_35_10436.jpg
/home/pi/Desktop/images/31012025/18/32/image_31012025_18_32_44_9353.jpg
/home/pi/Desktop/images/31012025/18/32/image_31012025_18_32_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":["1333479542","1333479550","1333479562","1333479573","1333479511","1333479570"],"photo_ids_order":["1333479511","1333479542","1333479550","1333479562","1333479570","1333479573"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1bc1ea20c918ddf07f99eca126f10658.jpg","text":"TemporaryFile(/tmp/multipartBody9118959403451593570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360053098,"filename":"image_31012025_18_32_15_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b53b0589bc15f6aee116978a2486bcc4.jpg","text":"TemporaryFile(/tmp/multipartBody1250934783688364573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360053098,"filename":"image_31012025_18_32_24_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/06e2dd65cdbc39b53d19287783a08db3.jpg","text":"TemporaryFile(/tmp/multipartBody1258923859075761577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360053098,"filename":"image_31012025_18_32_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/1/31/d5adead0564bc678bc8992f1ba569282.jpg","text":"TemporaryFile(/tmp/multipartBody4269600138364821985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360053098,"filename":"image_31012025_18_32_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/1/31/a11d4b70c891fe4b4aee38143dbcbb02.jpg","text":"TemporaryFile(/tmp/multipartBody7977462748134654319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360053098,"filename":"image_31012025_18_32_04_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/940d2b15451ba57da7c03044ee8c782b.jpg","text":"TemporaryFile(/tmp/multipartBody2827670406054961627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360053098,"filename":"image_31012025_18_32_44_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333479550","file1":"1333479542","file0":"1333479511","file4":"1333479570","file5":"1333479573","file3":"1333479562"},"map_files_photo_id_array":[{"photo_id":"1333479573","filename":"file5"},{"photo_id":"1333479550","filename":"file2"},{"photo_id":"1333479570","filename":"file4"},{"photo_id":"1333479542","filename":"file1"},{"photo_id":"1333479511","filename":"file0"},{"photo_id":"1333479562","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333479542":["hashtag1","hashtag2"]},{"1333479550":["hashtag1","hashtag2"]},{"1333479562":["hashtag1","hashtag2"]},{"1333479573":["hashtag1","hashtag2"]},{"1333479511":["hashtag1","hashtag2"]},{"1333479570":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333479542, 1333479550, 1333479562, 1333479573, 1333479511, 1333479570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.68115043640137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:47:32.907708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/32/image_31012025_18_33_05_10439.jpg', '/home/pi/Desktop/images/31012025/18/33/image_31012025_18_33_14_9343.jpg', '/home/pi/Desktop/images/31012025/18/33/image_31012025_18_33_25_10361.jpg', '/home/pi/Desktop/images/31012025/18/33/image_31012025_18_33_44_9341.jpg', '/home/pi/Desktop/images/31012025/18/33/image_31012025_18_33_55_10406.jpg', '/home/pi/Desktop/images/31012025/18/33/image_31012025_18_34_04_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/32/image_31012025_18_33_05_10439.jpg
/home/pi/Desktop/images/31012025/18/33/image_31012025_18_33_14_9343.jpg
/home/pi/Desktop/images/31012025/18/33/image_31012025_18_33_25_10361.jpg
/home/pi/Desktop/images/31012025/18/33/image_31012025_18_33_44_9341.jpg
/home/pi/Desktop/images/31012025/18/33/image_31012025_18_33_55_10406.jpg
/home/pi/Desktop/images/31012025/18/33/image_31012025_18_34_04_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":["1333480058","1333480112","1333480109","1333480103","1333480048","1333480050"],"photo_ids_order":["1333480048","1333480050","1333480058","1333480103","1333480109","1333480112"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dc0934e94a1513bf04c1cac23002e3e9.jpg","text":"TemporaryFile(/tmp/multipartBody7371743819031052212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360113445,"filename":"image_31012025_18_33_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/1/31/4331a6ade659c44afd96441f4037fada.jpg","text":"TemporaryFile(/tmp/multipartBody5965622557446253215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360113445,"filename":"image_31012025_18_34_04_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/04ab66c048dba34986f5794e4bd3fbcb.jpg","text":"TemporaryFile(/tmp/multipartBody4800311545955900003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360113445,"filename":"image_31012025_18_33_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/1/31/8077ca35462e3e09a35e4f093521c1b3.jpg","text":"TemporaryFile(/tmp/multipartBody3350621446689369875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360113445,"filename":"image_31012025_18_33_44_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bffdee8437eabc8f2d31ccd8fde97d5b.jpg","text":"TemporaryFile(/tmp/multipartBody9016036704165600020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360113445,"filename":"image_31012025_18_33_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/1/31/d38338cb2038ef88101464eb387e1767.jpg","text":"TemporaryFile(/tmp/multipartBody162741828683279011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360113445,"filename":"image_31012025_18_33_14_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333480058","file1":"1333480050","file0":"1333480048","file4":"1333480109","file5":"1333480112","file3":"1333480103"},"map_files_photo_id_array":[{"photo_id":"1333480112","filename":"file5"},{"photo_id":"1333480058","filename":"file2"},{"photo_id":"1333480109","filename":"file4"},{"photo_id":"1333480050","filename":"file1"},{"photo_id":"1333480048","filename":"file0"},{"photo_id":"1333480103","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333480058":["hashtag1","hashtag2"]},{"1333480112":["hashtag1","hashtag2"]},{"1333480109":["hashtag1","hashtag2"]},{"1333480103":["hashtag1","hashtag2"]},{"1333480048":["hashtag1","hashtag2"]},{"1333480050":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333480058, 1333480112, 1333480109, 1333480103, 1333480048, 1333480050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.175861120224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:48:33.208493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/34/image_31012025_18_34_14_10335.jpg', '/home/pi/Desktop/images/31012025/18/34/image_31012025_18_34_25_10438.jpg', '/home/pi/Desktop/images/31012025/18/34/image_31012025_18_34_34_9330.jpg', '/home/pi/Desktop/images/31012025/18/34/image_31012025_18_34_45_10512.jpg', '/home/pi/Desktop/images/31012025/18/34/image_31012025_18_34_54_9389.jpg', '/home/pi/Desktop/images/31012025/18/34/image_31012025_18_35_04_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/34/image_31012025_18_34_14_10335.jpg
/home/pi/Desktop/images/31012025/18/34/image_31012025_18_34_25_10438.jpg
/home/pi/Desktop/images/31012025/18/34/image_31012025_18_34_34_9330.jpg
/home/pi/Desktop/images/31012025/18/34/image_31012025_18_34_45_10512.jpg
/home/pi/Desktop/images/31012025/18/34/image_31012025_18_34_54_9389.jpg
/home/pi/Desktop/images/31012025/18/34/image_31012025_18_35_04_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":["1333480325","1333480304","1333480321","1333480315","1333480309","1333480300"],"photo_ids_order":["1333480300","1333480304","1333480309","1333480315","1333480321","1333480325"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b69e26164ab7f6d235d6b93ea36ffa08.jpg","text":"TemporaryFile(/tmp/multipartBody5670465811369370346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360173776,"filename":"image_31012025_18_35_04_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/388a7be5036f4f174e5c6e377ab095c7.jpg","text":"TemporaryFile(/tmp/multipartBody4686981383622444440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360173776,"filename":"image_31012025_18_34_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/1/31/8308321e6e99e29d63392841a22f1a88.jpg","text":"TemporaryFile(/tmp/multipartBody2281045036185943391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360173776,"filename":"image_31012025_18_34_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/1/31/da181fa5123d4bcb275b70adbc5e729e.jpg","text":"TemporaryFile(/tmp/multipartBody8063432656846367296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360173776,"filename":"image_31012025_18_34_45_10512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ae33ca071f8f6eccb528ec57c8bd033d.jpg","text":"TemporaryFile(/tmp/multipartBody5805094501030232575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360173776,"filename":"image_31012025_18_34_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/1/31/045316536dd6f9f4a551c46869074c7f.jpg","text":"TemporaryFile(/tmp/multipartBody8917931060435739012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360173776,"filename":"image_31012025_18_34_14_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333480309","file1":"1333480304","file0":"1333480300","file4":"1333480321","file5":"1333480325","file3":"1333480315"},"map_files_photo_id_array":[{"photo_id":"1333480325","filename":"file5"},{"photo_id":"1333480309","filename":"file2"},{"photo_id":"1333480321","filename":"file4"},{"photo_id":"1333480304","filename":"file1"},{"photo_id":"1333480300","filename":"file0"},{"photo_id":"1333480315","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333480325":["hashtag1","hashtag2"]},{"1333480304":["hashtag1","hashtag2"]},{"1333480321":["hashtag1","hashtag2"]},{"1333480315":["hashtag1","hashtag2"]},{"1333480309":["hashtag1","hashtag2"]},{"1333480300":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333480325, 1333480304, 1333480321, 1333480315, 1333480309, 1333480300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.087902069091797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:49:32.280418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/35/image_31012025_18_35_15_10350.jpg', '/home/pi/Desktop/images/31012025/18/35/image_31012025_18_35_24_9370.jpg', '/home/pi/Desktop/images/31012025/18/35/image_31012025_18_35_35_10351.jpg', '/home/pi/Desktop/images/31012025/18/35/image_31012025_18_35_45_10424.jpg', '/home/pi/Desktop/images/31012025/18/35/image_31012025_18_35_54_9393.jpg', '/home/pi/Desktop/images/31012025/18/35/image_31012025_18_36_05_10411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/35/image_31012025_18_35_15_10350.jpg
/home/pi/Desktop/images/31012025/18/35/image_31012025_18_35_24_9370.jpg
/home/pi/Desktop/images/31012025/18/35/image_31012025_18_35_35_10351.jpg
/home/pi/Desktop/images/31012025/18/35/image_31012025_18_35_45_10424.jpg
/home/pi/Desktop/images/31012025/18/35/image_31012025_18_35_54_9393.jpg
/home/pi/Desktop/images/31012025/18/35/image_31012025_18_36_05_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333480433","1333480361","1333480366","1333480354","1333480357","1333480519"],"photo_ids_order":["1333480354","1333480357","1333480361","1333480366","1333480433","1333480519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2e595b6ff741f9079ab67b9812189926.jpg","text":"TemporaryFile(/tmp/multipartBody7577869506065368064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360232810,"filename":"image_31012025_18_35_54_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f4fc4825d367f0158503097f7d28ebcb.jpg","text":"TemporaryFile(/tmp/multipartBody6383328365401018539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360232810,"filename":"image_31012025_18_35_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/1/31/4fb074bb5dac349dae25abad708de760.jpg","text":"TemporaryFile(/tmp/multipartBody333968995191254148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360232810,"filename":"image_31012025_18_35_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/1/31/76c357aca23224c081e4fabd48394ec8.jpg","text":"TemporaryFile(/tmp/multipartBody5379471247578735783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360232810,"filename":"image_31012025_18_35_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/1/31/9808df6db62c7e0dd8895d1c11b355f7.jpg","text":"TemporaryFile(/tmp/multipartBody4566753254785767380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360232810,"filename":"image_31012025_18_35_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/1/31/3fbfc909c3ed4880fd3d5c4c6be6221f.jpg","text":"TemporaryFile(/tmp/multipartBody3709327414505479324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360232810,"filename":"image_31012025_18_36_05_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333480361","file1":"1333480357","file0":"1333480354","file4":"1333480433","file5":"1333480519","file3":"1333480366"},"map_files_photo_id_array":[{"photo_id":"1333480519","filename":"file5"},{"photo_id":"1333480361","filename":"file2"},{"photo_id":"1333480433","filename":"file4"},{"photo_id":"1333480357","filename":"file1"},{"photo_id":"1333480354","filename":"file0"},{"photo_id":"1333480366","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333480433":["hashtag1","hashtag2"]},{"1333480361":["hashtag1","hashtag2"]},{"1333480366":["hashtag1","hashtag2"]},{"1333480354":["hashtag1","hashtag2"]},{"1333480357":["hashtag1","hashtag2"]},{"1333480519":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333480433, 1333480361, 1333480366, 1333480354, 1333480357, 1333480519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.57579207420349 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:50:32.537901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/36/image_31012025_18_36_14_9323.jpg', '/home/pi/Desktop/images/31012025/18/36/image_31012025_18_36_24_10369.jpg', '/home/pi/Desktop/images/31012025/18/36/image_31012025_18_36_35_10416.jpg', '/home/pi/Desktop/images/31012025/18/36/image_31012025_18_36_44_9343.jpg', '/home/pi/Desktop/images/31012025/18/36/image_31012025_18_36_55_10356.jpg', '/home/pi/Desktop/images/31012025/18/36/image_31012025_18_37_05_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/36/image_31012025_18_36_14_9323.jpg
/home/pi/Desktop/images/31012025/18/36/image_31012025_18_36_24_10369.jpg
/home/pi/Desktop/images/31012025/18/36/image_31012025_18_36_35_10416.jpg
/home/pi/Desktop/images/31012025/18/36/image_31012025_18_36_44_9343.jpg
/home/pi/Desktop/images/31012025/18/36/image_31012025_18_36_55_10356.jpg
/home/pi/Desktop/images/31012025/18/36/image_31012025_18_37_05_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":["1333481380","1333481773","1333481617","1333481539","1333481697","1333481459"],"photo_ids_order":["1333481380","1333481459","1333481539","1333481617","1333481697","1333481773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b7564aef11895cd547ffb1ce53638212.jpg","text":"TemporaryFile(/tmp/multipartBody8916700452615504599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360293097,"filename":"image_31012025_18_36_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/1/31/f14f7fa9b9104f77fb0dc61129c855ad.jpg","text":"TemporaryFile(/tmp/multipartBody7975249717588441596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360293097,"filename":"image_31012025_18_37_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/1/31/3c6e771073e52580c2887e61c1aeb8ad.jpg","text":"TemporaryFile(/tmp/multipartBody3573817453056904339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360293097,"filename":"image_31012025_18_36_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/1/31/7bee721ecee6f2d0095661a13cda0250.jpg","text":"TemporaryFile(/tmp/multipartBody7276313592195437264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360293097,"filename":"image_31012025_18_36_35_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/49927e147033eb10d3ad3f4950e1a229.jpg","text":"TemporaryFile(/tmp/multipartBody4459068273048653195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360293097,"filename":"image_31012025_18_36_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/1/31/c8c6220f11dc8893a8d3ea4066f48c1a.jpg","text":"TemporaryFile(/tmp/multipartBody8755522545073253758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360293097,"filename":"image_31012025_18_36_24_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333481539","file1":"1333481459","file0":"1333481380","file4":"1333481697","file5":"1333481773","file3":"1333481617"},"map_files_photo_id_array":[{"photo_id":"1333481773","filename":"file5"},{"photo_id":"1333481539","filename":"file2"},{"photo_id":"1333481697","filename":"file4"},{"photo_id":"1333481459","filename":"file1"},{"photo_id":"1333481380","filename":"file0"},{"photo_id":"1333481617","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333481380":["hashtag1","hashtag2"]},{"1333481773":["hashtag1","hashtag2"]},{"1333481617":["hashtag1","hashtag2"]},{"1333481539":["hashtag1","hashtag2"]},{"1333481697":["hashtag1","hashtag2"]},{"1333481459":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333481380, 1333481773, 1333481617, 1333481539, 1333481697, 1333481459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.516117572784424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:51:32.850922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/37/image_31012025_18_37_14_9331.jpg', '/home/pi/Desktop/images/31012025/18/37/image_31012025_18_37_25_10408.jpg', '/home/pi/Desktop/images/31012025/18/37/image_31012025_18_37_35_10359.jpg', '/home/pi/Desktop/images/31012025/18/37/image_31012025_18_37_44_9348.jpg', '/home/pi/Desktop/images/31012025/18/37/image_31012025_18_37_55_10444.jpg', '/home/pi/Desktop/images/31012025/18/37/image_31012025_18_38_04_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/37/image_31012025_18_37_14_9331.jpg
/home/pi/Desktop/images/31012025/18/37/image_31012025_18_37_25_10408.jpg
/home/pi/Desktop/images/31012025/18/37/image_31012025_18_37_35_10359.jpg
/home/pi/Desktop/images/31012025/18/37/image_31012025_18_37_44_9348.jpg
/home/pi/Desktop/images/31012025/18/37/image_31012025_18_37_55_10444.jpg
/home/pi/Desktop/images/31012025/18/37/image_31012025_18_38_04_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":["1333482469","1333482460","1333482463","1333482456","1333482455","1333482458"],"photo_ids_order":["1333482455","1333482456","1333482458","1333482460","1333482463","1333482469"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ef44fbb3327a9c5c11506aeacbd96f59.jpg","text":"TemporaryFile(/tmp/multipartBody9179733527906089065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360353379,"filename":"image_31012025_18_38_04_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2ec8c352edd53dde6070e572df033589.jpg","text":"TemporaryFile(/tmp/multipartBody7678036376291933517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360353379,"filename":"image_31012025_18_37_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/1/31/fdfdcb6f89546d22710c0d38b6ccbd59.jpg","text":"TemporaryFile(/tmp/multipartBody5681259746729593072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360353379,"filename":"image_31012025_18_37_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/1/31/bc29141b8fd2abe79db4a9235e47f612.jpg","text":"TemporaryFile(/tmp/multipartBody7216193715580278054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360353379,"filename":"image_31012025_18_37_25_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e8c8d1069fb9ab0911419c166070afb9.jpg","text":"TemporaryFile(/tmp/multipartBody2290066479914944394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360353379,"filename":"image_31012025_18_37_14_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e4dd0d63165efeeea6088c37c38a6d63.jpg","text":"TemporaryFile(/tmp/multipartBody4401271736542210927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360353379,"filename":"image_31012025_18_37_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333482458","file1":"1333482456","file0":"1333482455","file4":"1333482463","file5":"1333482469","file3":"1333482460"},"map_files_photo_id_array":[{"photo_id":"1333482469","filename":"file5"},{"photo_id":"1333482458","filename":"file2"},{"photo_id":"1333482463","filename":"file4"},{"photo_id":"1333482456","filename":"file1"},{"photo_id":"1333482455","filename":"file0"},{"photo_id":"1333482460","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333482469":["hashtag1","hashtag2"]},{"1333482460":["hashtag1","hashtag2"]},{"1333482463":["hashtag1","hashtag2"]},{"1333482456":["hashtag1","hashtag2"]},{"1333482455":["hashtag1","hashtag2"]},{"1333482458":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333482469, 1333482460, 1333482463, 1333482456, 1333482455, 1333482458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.545692920684814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:52:33.024005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/38/image_31012025_18_38_15_10343.jpg', '/home/pi/Desktop/images/31012025/18/38/image_31012025_18_38_25_10435.jpg', '/home/pi/Desktop/images/31012025/18/38/image_31012025_18_38_34_9327.jpg', '/home/pi/Desktop/images/31012025/18/38/image_31012025_18_38_45_10401.jpg', '/home/pi/Desktop/images/31012025/18/38/image_31012025_18_38_54_9425.jpg', '/home/pi/Desktop/images/31012025/18/38/image_31012025_18_39_04_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/38/image_31012025_18_38_15_10343.jpg
/home/pi/Desktop/images/31012025/18/38/image_31012025_18_38_25_10435.jpg
/home/pi/Desktop/images/31012025/18/38/image_31012025_18_38_34_9327.jpg
/home/pi/Desktop/images/31012025/18/38/image_31012025_18_38_45_10401.jpg
/home/pi/Desktop/images/31012025/18/38/image_31012025_18_38_54_9425.jpg
/home/pi/Desktop/images/31012025/18/38/image_31012025_18_39_04_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333482661","1333482634","1333482643","1333482573","1333482669","1333482665"],"photo_ids_order":["1333482573","1333482634","1333482643","1333482661","1333482665","1333482669"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8b09d38723d78594dd2e69fd625b61f2.jpg","text":"TemporaryFile(/tmp/multipartBody6541791612400749062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360416244,"filename":"image_31012025_18_38_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/1/31/d6a0c8a732577fb9b173431f83f39bf4.jpg","text":"TemporaryFile(/tmp/multipartBody2191233463436060113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360416244,"filename":"image_31012025_18_38_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/1/31/dd91380e88a04fa83200fa75c3539316.jpg","text":"TemporaryFile(/tmp/multipartBody7706511647713995275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360416244,"filename":"image_31012025_18_38_34_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5855b24ba2c800c07c647bdfb650ac1c.jpg","text":"TemporaryFile(/tmp/multipartBody3381297318390860116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360416244,"filename":"image_31012025_18_38_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/1/31/c560de234a276749527cbb9b541712aa.jpg","text":"TemporaryFile(/tmp/multipartBody4371219658394333187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360416244,"filename":"image_31012025_18_39_04_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4f0e29056f930707bbd14884fa2b1db7.jpg","text":"TemporaryFile(/tmp/multipartBody2588933756081681656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360416244,"filename":"image_31012025_18_38_54_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333482643","file1":"1333482634","file0":"1333482573","file4":"1333482665","file5":"1333482669","file3":"1333482661"},"map_files_photo_id_array":[{"photo_id":"1333482669","filename":"file5"},{"photo_id":"1333482643","filename":"file2"},{"photo_id":"1333482665","filename":"file4"},{"photo_id":"1333482634","filename":"file1"},{"photo_id":"1333482573","filename":"file0"},{"photo_id":"1333482661","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333482661":["hashtag1","hashtag2"]},{"1333482634":["hashtag1","hashtag2"]},{"1333482643":["hashtag1","hashtag2"]},{"1333482573":["hashtag1","hashtag2"]},{"1333482669":["hashtag1","hashtag2"]},{"1333482665":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333482661, 1333482634, 1333482643, 1333482573, 1333482669, 1333482665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34777784347534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:53:32.190318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/39/image_31012025_18_39_15_10441.jpg', '/home/pi/Desktop/images/31012025/18/39/image_31012025_18_39_24_9345.jpg', '/home/pi/Desktop/images/31012025/18/39/image_31012025_18_39_35_10346.jpg', '/home/pi/Desktop/images/31012025/18/39/image_31012025_18_39_45_10425.jpg', '/home/pi/Desktop/images/31012025/18/39/image_31012025_18_39_54_9353.jpg', '/home/pi/Desktop/images/31012025/18/39/image_31012025_18_40_05_10520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/39/image_31012025_18_39_15_10441.jpg
/home/pi/Desktop/images/31012025/18/39/image_31012025_18_39_24_9345.jpg
/home/pi/Desktop/images/31012025/18/39/image_31012025_18_39_35_10346.jpg
/home/pi/Desktop/images/31012025/18/39/image_31012025_18_39_45_10425.jpg
/home/pi/Desktop/images/31012025/18/39/image_31012025_18_39_54_9353.jpg
/home/pi/Desktop/images/31012025/18/39/image_31012025_18_40_05_10520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333482844","1333482847","1333482820","1333482852","1333482822","1333482831"],"photo_ids_order":["1333482820","1333482822","1333482831","1333482844","1333482847","1333482852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f3f0c99c957d19be387b67c5a6d58f2f.jpg","text":"TemporaryFile(/tmp/multipartBody4057759584787923733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360472720,"filename":"image_31012025_18_39_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/1/31/747d09dea1ada620cedd1ff443ee9d1b.jpg","text":"TemporaryFile(/tmp/multipartBody8905471612025252499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360472720,"filename":"image_31012025_18_39_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/1/31/d398c69262938c32d1fa07ca87af29e6.jpg","text":"TemporaryFile(/tmp/multipartBody4846849939068306684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360472720,"filename":"image_31012025_18_39_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/1/31/5248e478aad3a77c08e686fcca02aef6.jpg","text":"TemporaryFile(/tmp/multipartBody5348277845035738167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360472720,"filename":"image_31012025_18_40_05_10520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bd70fe69e8916aedb43de0114849fe0a.jpg","text":"TemporaryFile(/tmp/multipartBody4415327512722819523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360472720,"filename":"image_31012025_18_39_24_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/88c125c15efc4caedd1acb4ac3c9b90f.jpg","text":"TemporaryFile(/tmp/multipartBody5531351928612545185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360472720,"filename":"image_31012025_18_39_35_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333482831","file1":"1333482822","file0":"1333482820","file4":"1333482847","file5":"1333482852","file3":"1333482844"},"map_files_photo_id_array":[{"photo_id":"1333482852","filename":"file5"},{"photo_id":"1333482831","filename":"file2"},{"photo_id":"1333482847","filename":"file4"},{"photo_id":"1333482822","filename":"file1"},{"photo_id":"1333482820","filename":"file0"},{"photo_id":"1333482844","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333482844":["hashtag1","hashtag2"]},{"1333482847":["hashtag1","hashtag2"]},{"1333482820":["hashtag1","hashtag2"]},{"1333482852":["hashtag1","hashtag2"]},{"1333482822":["hashtag1","hashtag2"]},{"1333482831":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333482844, 1333482847, 1333482820, 1333482852, 1333482822, 1333482831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.309863805770874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:54:32.385811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/40/image_31012025_18_40_25_10332.jpg', '/home/pi/Desktop/images/31012025/18/40/image_31012025_18_40_35_10412.jpg', '/home/pi/Desktop/images/31012025/18/40/image_31012025_18_40_44_9384.jpg', '/home/pi/Desktop/images/31012025/18/40/image_31012025_18_40_55_10406.jpg', '/home/pi/Desktop/images/31012025/18/40/image_31012025_18_41_04_9344.jpg', '/home/pi/Desktop/images/31012025/18/41/image_31012025_18_41_14_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/40/image_31012025_18_40_25_10332.jpg
/home/pi/Desktop/images/31012025/18/40/image_31012025_18_40_35_10412.jpg
/home/pi/Desktop/images/31012025/18/40/image_31012025_18_40_44_9384.jpg
/home/pi/Desktop/images/31012025/18/40/image_31012025_18_40_55_10406.jpg
/home/pi/Desktop/images/31012025/18/40/image_31012025_18_41_04_9344.jpg
/home/pi/Desktop/images/31012025/18/41/image_31012025_18_41_14_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":["1333483405","1333483274","1333483433","1333483376","1333483363","1333483372"],"photo_ids_order":["1333483274","1333483363","1333483372","1333483376","1333483405","1333483433"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c7b0779710a221a83fa549a0870b510d.jpg","text":"TemporaryFile(/tmp/multipartBody3038382070640573574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360532942,"filename":"image_31012025_18_41_04_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/808a8e9cc09c9e3f20cc00850293dcec.jpg","text":"TemporaryFile(/tmp/multipartBody4863093891527830326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360532942,"filename":"image_31012025_18_40_25_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/619a556f57714c7a0c80f93064ab7b7b.jpg","text":"TemporaryFile(/tmp/multipartBody4004659392714841714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360532942,"filename":"image_31012025_18_41_14_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/77372ceb70de6ac7971fe7d2d3f0fff2.jpg","text":"TemporaryFile(/tmp/multipartBody8942224444052525517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360532942,"filename":"image_31012025_18_40_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/1/31/05aa563ebdb8829c895fe20891768620.jpg","text":"TemporaryFile(/tmp/multipartBody6053931342721008761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360532942,"filename":"image_31012025_18_40_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/1/31/0fde13e26f081a57f615cd10fe2f2544.jpg","text":"TemporaryFile(/tmp/multipartBody430286980705209367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360532942,"filename":"image_31012025_18_40_44_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333483372","file1":"1333483363","file0":"1333483274","file4":"1333483405","file5":"1333483433","file3":"1333483376"},"map_files_photo_id_array":[{"photo_id":"1333483433","filename":"file5"},{"photo_id":"1333483372","filename":"file2"},{"photo_id":"1333483405","filename":"file4"},{"photo_id":"1333483363","filename":"file1"},{"photo_id":"1333483274","filename":"file0"},{"photo_id":"1333483376","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333483405":["hashtag1","hashtag2"]},{"1333483274":["hashtag1","hashtag2"]},{"1333483433":["hashtag1","hashtag2"]},{"1333483376":["hashtag1","hashtag2"]},{"1333483363":["hashtag1","hashtag2"]},{"1333483372":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333483405, 1333483274, 1333483433, 1333483376, 1333483363, 1333483372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.90980362892151 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:55:32.828403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/41/image_31012025_18_41_25_10437.jpg', '/home/pi/Desktop/images/31012025/18/41/image_31012025_18_41_34_9319.jpg', '/home/pi/Desktop/images/31012025/18/41/image_31012025_18_41_45_10356.jpg', '/home/pi/Desktop/images/31012025/18/41/image_31012025_18_41_55_10361.jpg', '/home/pi/Desktop/images/31012025/18/41/image_31012025_18_42_04_9353.jpg', '/home/pi/Desktop/images/31012025/18/42/image_31012025_18_42_15_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/41/image_31012025_18_41_25_10437.jpg
/home/pi/Desktop/images/31012025/18/41/image_31012025_18_41_34_9319.jpg
/home/pi/Desktop/images/31012025/18/41/image_31012025_18_41_45_10356.jpg
/home/pi/Desktop/images/31012025/18/41/image_31012025_18_41_55_10361.jpg
/home/pi/Desktop/images/31012025/18/41/image_31012025_18_42_04_9353.jpg
/home/pi/Desktop/images/31012025/18/42/image_31012025_18_42_15_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":["1333483595","1333483598","1333483601","1333483610","1333483582","1333483585"],"photo_ids_order":["1333483582","1333483585","1333483595","1333483598","1333483601","1333483610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5a93dd6e05a7b78117c0a121c1d509c1.jpg","text":"TemporaryFile(/tmp/multipartBody6938185276361670796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360593360,"filename":"image_31012025_18_41_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/1/31/7f48b4e91724583d4ba344b85f1c62d5.jpg","text":"TemporaryFile(/tmp/multipartBody3340084191263104854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360593360,"filename":"image_31012025_18_41_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/1/31/e95b21250e7b89e8117bf505c920a5d0.jpg","text":"TemporaryFile(/tmp/multipartBody8992542696495476857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360593360,"filename":"image_31012025_18_42_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/1/31/6b331b6256ed1ea01eebf4961729f3a0.jpg","text":"TemporaryFile(/tmp/multipartBody4381590867358104214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360593360,"filename":"image_31012025_18_42_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/1/31/42686d74c91a52ee6b03c64f5c327de7.jpg","text":"TemporaryFile(/tmp/multipartBody5385630436050903357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360593360,"filename":"image_31012025_18_41_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/1/31/5ba868599ace3a8c8c6a0a6f368d6c8f.jpg","text":"TemporaryFile(/tmp/multipartBody5869052981252488011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360593360,"filename":"image_31012025_18_41_34_9319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333483595","file1":"1333483585","file0":"1333483582","file4":"1333483601","file5":"1333483610","file3":"1333483598"},"map_files_photo_id_array":[{"photo_id":"1333483610","filename":"file5"},{"photo_id":"1333483595","filename":"file2"},{"photo_id":"1333483601","filename":"file4"},{"photo_id":"1333483585","filename":"file1"},{"photo_id":"1333483582","filename":"file0"},{"photo_id":"1333483598","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333483595":["hashtag1","hashtag2"]},{"1333483598":["hashtag1","hashtag2"]},{"1333483601":["hashtag1","hashtag2"]},{"1333483610":["hashtag1","hashtag2"]},{"1333483582":["hashtag1","hashtag2"]},{"1333483585":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333483595, 1333483598, 1333483601, 1333483610, 1333483582, 1333483585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.11593270301819 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:56:32.951620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/42/image_31012025_18_42_25_10448.jpg', '/home/pi/Desktop/images/31012025/18/42/image_31012025_18_42_34_9349.jpg', '/home/pi/Desktop/images/31012025/18/42/image_31012025_18_42_45_10370.jpg', '/home/pi/Desktop/images/31012025/18/42/image_31012025_18_42_54_9386.jpg', '/home/pi/Desktop/images/31012025/18/42/image_31012025_18_43_05_10361.jpg', '/home/pi/Desktop/images/31012025/18/43/image_31012025_18_43_15_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/42/image_31012025_18_42_25_10448.jpg
/home/pi/Desktop/images/31012025/18/42/image_31012025_18_42_34_9349.jpg
/home/pi/Desktop/images/31012025/18/42/image_31012025_18_42_45_10370.jpg
/home/pi/Desktop/images/31012025/18/42/image_31012025_18_42_54_9386.jpg
/home/pi/Desktop/images/31012025/18/42/image_31012025_18_43_05_10361.jpg
/home/pi/Desktop/images/31012025/18/43/image_31012025_18_43_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":["1333483776","1333483760","1333483772","1333483721","1333483715","1333483777"],"photo_ids_order":["1333483715","1333483721","1333483760","1333483772","1333483776","1333483777"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b76d81f64189e2618cdf04a95a9d2999.jpg","text":"TemporaryFile(/tmp/multipartBody4503206605286315129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360653478,"filename":"image_31012025_18_43_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/1/31/1aa8a9a1d3e3172bcaadd9ef4ac8beaf.jpg","text":"TemporaryFile(/tmp/multipartBody8578187887399754373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360653478,"filename":"image_31012025_18_42_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/1/31/cfdb1e57c372cf8c56b6ab01ca0dffe7.jpg","text":"TemporaryFile(/tmp/multipartBody1527872971268738692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360653478,"filename":"image_31012025_18_42_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/1/31/d9c91682ef901ebbf8686668482b6784.jpg","text":"TemporaryFile(/tmp/multipartBody7918460253216078344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360653478,"filename":"image_31012025_18_42_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/1/31/b171b8196f606556e1930afafa9dbe55.jpg","text":"TemporaryFile(/tmp/multipartBody6549184047976339418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360653478,"filename":"image_31012025_18_42_25_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ae45a3ef4ea70a4a62d6784b2cdbfa5e.jpg","text":"TemporaryFile(/tmp/multipartBody7566517430732632720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360653478,"filename":"image_31012025_18_43_15_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333483760","file1":"1333483721","file0":"1333483715","file4":"1333483776","file5":"1333483777","file3":"1333483772"},"map_files_photo_id_array":[{"photo_id":"1333483777","filename":"file5"},{"photo_id":"1333483760","filename":"file2"},{"photo_id":"1333483776","filename":"file4"},{"photo_id":"1333483721","filename":"file1"},{"photo_id":"1333483715","filename":"file0"},{"photo_id":"1333483772","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333483776":["hashtag1","hashtag2"]},{"1333483760":["hashtag1","hashtag2"]},{"1333483772":["hashtag1","hashtag2"]},{"1333483721":["hashtag1","hashtag2"]},{"1333483715":["hashtag1","hashtag2"]},{"1333483777":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333483776, 1333483760, 1333483772, 1333483721, 1333483715, 1333483777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.178894996643066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 22:57:32.273290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/43/image_31012025_18_43_24_9342.jpg', '/home/pi/Desktop/images/31012025/18/43/image_31012025_18_43_35_10437.jpg', '/home/pi/Desktop/images/31012025/18/43/image_31012025_18_43_44_9394.jpg', '/home/pi/Desktop/images/31012025/18/43/image_31012025_18_43_54_10350.jpg', '/home/pi/Desktop/images/31012025/18/43/image_31012025_18_44_05_10360.jpg', '/home/pi/Desktop/images/31012025/18/44/image_31012025_18_44_14_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/43/image_31012025_18_43_24_9342.jpg
/home/pi/Desktop/images/31012025/18/43/image_31012025_18_43_35_10437.jpg
/home/pi/Desktop/images/31012025/18/43/image_31012025_18_43_44_9394.jpg
/home/pi/Desktop/images/31012025/18/43/image_31012025_18_43_54_10350.jpg
/home/pi/Desktop/images/31012025/18/43/image_31012025_18_44_05_10360.jpg
/home/pi/Desktop/images/31012025/18/44/image_31012025_18_44_14_9331.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-01-31 22:59:04.469781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/43/image_31012025_18_43_24_9342.jpg', '/home/pi/Desktop/images/31012025/18/43/image_31012025_18_43_35_10437.jpg', '/home/pi/Desktop/images/31012025/18/43/image_31012025_18_43_44_9394.jpg', '/home/pi/Desktop/images/31012025/18/43/image_31012025_18_43_54_10350.jpg', '/home/pi/Desktop/images/31012025/18/43/image_31012025_18_44_05_10360.jpg', '/home/pi/Desktop/images/31012025/18/44/image_31012025_18_44_14_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/43/image_31012025_18_43_24_9342.jpg
/home/pi/Desktop/images/31012025/18/43/image_31012025_18_43_35_10437.jpg
/home/pi/Desktop/images/31012025/18/43/image_31012025_18_43_44_9394.jpg
/home/pi/Desktop/images/31012025/18/43/image_31012025_18_43_54_10350.jpg
/home/pi/Desktop/images/31012025/18/43/image_31012025_18_44_05_10360.jpg
/home/pi/Desktop/images/31012025/18/44/image_31012025_18_44_14_9331.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333484120","1333484021","1333484123","1333484039","1333484068","1333484128"],"photo_ids_order":["1333484021","1333484039","1333484068","1333484120","1333484123","1333484128"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/69d83cd2a18847ceee8dbf52c2c57792.jpg","text":"TemporaryFile(/tmp/multipartBody6076490503671428791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360805117,"filename":"image_31012025_18_43_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/1/31/0064f7c56d87ce7fc334ab1764cf9619.jpg","text":"TemporaryFile(/tmp/multipartBody625622408265282086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360805117,"filename":"image_31012025_18_43_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/1/31/12b7190c3bf2e1ea3190f179a003a00a.jpg","text":"TemporaryFile(/tmp/multipartBody2446970011532437584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360805117,"filename":"image_31012025_18_44_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/1/31/b193b15f62fe9b696e9b60cbd5b35040.jpg","text":"TemporaryFile(/tmp/multipartBody4331440614961022332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360805117,"filename":"image_31012025_18_43_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/1/31/209b170f5aaf4d5dfc15937de83f070c.jpg","text":"TemporaryFile(/tmp/multipartBody3387560132307374258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360805117,"filename":"image_31012025_18_43_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/1/31/b170ec109a2633b80c6ce7e77a83c1db.jpg","text":"TemporaryFile(/tmp/multipartBody7947541311248199938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360805117,"filename":"image_31012025_18_44_14_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333484068","file1":"1333484039","file0":"1333484021","file4":"1333484123","file5":"1333484128","file3":"1333484120"},"map_files_photo_id_array":[{"photo_id":"1333484128","filename":"file5"},{"photo_id":"1333484068","filename":"file2"},{"photo_id":"1333484123","filename":"file4"},{"photo_id":"1333484039","filename":"file1"},{"photo_id":"1333484021","filename":"file0"},{"photo_id":"1333484120","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333484120":["hashtag1","hashtag2"]},{"1333484021":["hashtag1","hashtag2"]},{"1333484123":["hashtag1","hashtag2"]},{"1333484039":["hashtag1","hashtag2"]},{"1333484068":["hashtag1","hashtag2"]},{"1333484128":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333484120, 1333484021, 1333484123, 1333484039, 1333484068, 1333484128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11179876327515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 22:59:42.749959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/44/image_31012025_18_44_25_10441.jpg', '/home/pi/Desktop/images/31012025/18/44/image_31012025_18_44_35_10335.jpg', '/home/pi/Desktop/images/31012025/18/44/image_31012025_18_44_44_9337.jpg', '/home/pi/Desktop/images/31012025/18/44/image_31012025_18_44_55_10461.jpg', '/home/pi/Desktop/images/31012025/18/45/image_31012025_18_45_14_10347.jpg', '/home/pi/Desktop/images/31012025/18/45/image_31012025_18_45_25_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/44/image_31012025_18_44_25_10441.jpg
/home/pi/Desktop/images/31012025/18/44/image_31012025_18_44_35_10335.jpg
/home/pi/Desktop/images/31012025/18/44/image_31012025_18_44_44_9337.jpg
/home/pi/Desktop/images/31012025/18/44/image_31012025_18_44_55_10461.jpg
/home/pi/Desktop/images/31012025/18/45/image_31012025_18_45_14_10347.jpg
/home/pi/Desktop/images/31012025/18/45/image_31012025_18_45_25_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":["1333484160","1333484163","1333484153","1333484156","1333484144","1333484167"],"photo_ids_order":["1333484144","1333484153","1333484156","1333484160","1333484163","1333484167"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/61ce763ab5db82c844571799b2b14291.jpg","text":"TemporaryFile(/tmp/multipartBody4333477740027962021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360843303,"filename":"image_31012025_18_44_55_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d8a1e67bc00aa1e3cff7c0fd99df5c3e.jpg","text":"TemporaryFile(/tmp/multipartBody1707941943507711922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360843303,"filename":"image_31012025_18_45_14_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8ccd1cd2fa264252bb816810e49d36e8.jpg","text":"TemporaryFile(/tmp/multipartBody2767215019733678562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360843303,"filename":"image_31012025_18_44_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/1/31/3936d0edfa5b2122a113933f1aafa35e.jpg","text":"TemporaryFile(/tmp/multipartBody8483536195058503177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360843303,"filename":"image_31012025_18_44_44_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/576e4ff5d69bdbb9d84cf59f3702185f.jpg","text":"TemporaryFile(/tmp/multipartBody7363963922683119142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360843303,"filename":"image_31012025_18_44_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/1/31/b21726adc601648ebdf3d548d4952b62.jpg","text":"TemporaryFile(/tmp/multipartBody2060233675855242696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360843303,"filename":"image_31012025_18_45_25_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333484156","file1":"1333484153","file0":"1333484144","file4":"1333484163","file5":"1333484167","file3":"1333484160"},"map_files_photo_id_array":[{"photo_id":"1333484167","filename":"file5"},{"photo_id":"1333484156","filename":"file2"},{"photo_id":"1333484163","filename":"file4"},{"photo_id":"1333484153","filename":"file1"},{"photo_id":"1333484144","filename":"file0"},{"photo_id":"1333484160","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333484160":["hashtag1","hashtag2"]},{"1333484163":["hashtag1","hashtag2"]},{"1333484153":["hashtag1","hashtag2"]},{"1333484156":["hashtag1","hashtag2"]},{"1333484144":["hashtag1","hashtag2"]},{"1333484167":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333484160, 1333484163, 1333484153, 1333484156, 1333484144, 1333484167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.68099880218506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:00:33.076326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/45/image_31012025_18_45_34_9344.jpg', '/home/pi/Desktop/images/31012025/18/45/image_31012025_18_45_44_10351.jpg', '/home/pi/Desktop/images/31012025/18/45/image_31012025_18_45_55_10461.jpg', '/home/pi/Desktop/images/31012025/18/45/image_31012025_18_46_04_9344.jpg', '/home/pi/Desktop/images/31012025/18/46/image_31012025_18_46_24_9450.jpg', '/home/pi/Desktop/images/31012025/18/46/image_31012025_18_46_35_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/45/image_31012025_18_45_34_9344.jpg
/home/pi/Desktop/images/31012025/18/45/image_31012025_18_45_44_10351.jpg
/home/pi/Desktop/images/31012025/18/45/image_31012025_18_45_55_10461.jpg
/home/pi/Desktop/images/31012025/18/45/image_31012025_18_46_04_9344.jpg
/home/pi/Desktop/images/31012025/18/46/image_31012025_18_46_24_9450.jpg
/home/pi/Desktop/images/31012025/18/46/image_31012025_18_46_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":["1333484241","1333484244","1333484226","1333484237","1333484230","1333484233"],"photo_ids_order":["1333484226","1333484230","1333484233","1333484237","1333484241","1333484244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2429b3d25dc537600fbc910478d55af5.jpg","text":"TemporaryFile(/tmp/multipartBody2227524069375822212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360893610,"filename":"image_31012025_18_46_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/1/31/8d6d016a4b20950419a2b0448c063abb.jpg","text":"TemporaryFile(/tmp/multipartBody191583053893098700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360893610,"filename":"image_31012025_18_46_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/1/31/cfe838105e682086cc96b4a81ee97b06.jpg","text":"TemporaryFile(/tmp/multipartBody5638553311723570618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360893610,"filename":"image_31012025_18_45_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/1/31/72e9f2393401b8f0552cb12d626a7665.jpg","text":"TemporaryFile(/tmp/multipartBody5039538932367016144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360893610,"filename":"image_31012025_18_46_04_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cf0e60deb7dfde7e500834cc61f95441.jpg","text":"TemporaryFile(/tmp/multipartBody2207282684355243215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360893610,"filename":"image_31012025_18_45_44_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6e99e1991bd1e954bd54deb2c6c74d1d.jpg","text":"TemporaryFile(/tmp/multipartBody759611280552823270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360893610,"filename":"image_31012025_18_45_55_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333484233","file1":"1333484230","file0":"1333484226","file4":"1333484241","file5":"1333484244","file3":"1333484237"},"map_files_photo_id_array":[{"photo_id":"1333484244","filename":"file5"},{"photo_id":"1333484233","filename":"file2"},{"photo_id":"1333484241","filename":"file4"},{"photo_id":"1333484230","filename":"file1"},{"photo_id":"1333484226","filename":"file0"},{"photo_id":"1333484237","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333484241":["hashtag1","hashtag2"]},{"1333484244":["hashtag1","hashtag2"]},{"1333484226":["hashtag1","hashtag2"]},{"1333484237":["hashtag1","hashtag2"]},{"1333484230":["hashtag1","hashtag2"]},{"1333484233":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333484241, 1333484244, 1333484226, 1333484237, 1333484230, 1333484233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.394864320755005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:01:32.400767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/46/image_31012025_18_46_45_10484.jpg', '/home/pi/Desktop/images/31012025/18/46/image_31012025_18_47_05_10423.jpg', '/home/pi/Desktop/images/31012025/18/47/image_31012025_18_47_14_9328.jpg', '/home/pi/Desktop/images/31012025/18/47/image_31012025_18_47_35_10454.jpg', '/home/pi/Desktop/images/31012025/18/47/image_31012025_18_47_44_9352.jpg', '/home/pi/Desktop/images/31012025/18/47/image_31012025_18_47_55_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/46/image_31012025_18_46_45_10484.jpg
/home/pi/Desktop/images/31012025/18/46/image_31012025_18_47_05_10423.jpg
/home/pi/Desktop/images/31012025/18/47/image_31012025_18_47_14_9328.jpg
/home/pi/Desktop/images/31012025/18/47/image_31012025_18_47_35_10454.jpg
/home/pi/Desktop/images/31012025/18/47/image_31012025_18_47_44_9352.jpg
/home/pi/Desktop/images/31012025/18/47/image_31012025_18_47_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":["1333484280","1333484274","1333484283","1333484270","1333484287","1333484278"],"photo_ids_order":["1333484270","1333484274","1333484278","1333484280","1333484283","1333484287"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/355c387160e77518070792c94d4920ca.jpg","text":"TemporaryFile(/tmp/multipartBody5907302312259475949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360952951,"filename":"image_31012025_18_47_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/1/31/d352af0cd94674438ceb1fba9ea581e4.jpg","text":"TemporaryFile(/tmp/multipartBody9109069922754116673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360952951,"filename":"image_31012025_18_47_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/1/31/7a24ec751f6b07ec20e9bf9097ba2937.jpg","text":"TemporaryFile(/tmp/multipartBody2053395563750034538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360952951,"filename":"image_31012025_18_47_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/1/31/dcd51887bfa512e4cb48456ce2b466b2.jpg","text":"TemporaryFile(/tmp/multipartBody6320854627131759657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360952951,"filename":"image_31012025_18_46_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/1/31/88c2c4b9c565bef63088700261ae34cc.jpg","text":"TemporaryFile(/tmp/multipartBody8297829670676261421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360952951,"filename":"image_31012025_18_47_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/1/31/bc36fadc2766bf4b702897c15cf2a52e.jpg","text":"TemporaryFile(/tmp/multipartBody7262414892689187990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738360952951,"filename":"image_31012025_18_47_14_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333484278","file1":"1333484274","file0":"1333484270","file4":"1333484283","file5":"1333484287","file3":"1333484280"},"map_files_photo_id_array":[{"photo_id":"1333484287","filename":"file5"},{"photo_id":"1333484278","filename":"file2"},{"photo_id":"1333484283","filename":"file4"},{"photo_id":"1333484274","filename":"file1"},{"photo_id":"1333484270","filename":"file0"},{"photo_id":"1333484280","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333484280":["hashtag1","hashtag2"]},{"1333484274":["hashtag1","hashtag2"]},{"1333484283":["hashtag1","hashtag2"]},{"1333484270":["hashtag1","hashtag2"]},{"1333484287":["hashtag1","hashtag2"]},{"1333484278":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333484280, 1333484274, 1333484283, 1333484270, 1333484287, 1333484278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54458522796631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:02:32.642075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/47/image_31012025_18_48_04_9374.jpg', '/home/pi/Desktop/images/31012025/18/48/image_31012025_18_48_14_10432.jpg', '/home/pi/Desktop/images/31012025/18/48/image_31012025_18_48_25_10461.jpg', '/home/pi/Desktop/images/31012025/18/48/image_31012025_18_48_34_9323.jpg', '/home/pi/Desktop/images/31012025/18/48/image_31012025_18_48_45_10459.jpg', '/home/pi/Desktop/images/31012025/18/48/image_31012025_18_48_54_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/47/image_31012025_18_48_04_9374.jpg
/home/pi/Desktop/images/31012025/18/48/image_31012025_18_48_14_10432.jpg
/home/pi/Desktop/images/31012025/18/48/image_31012025_18_48_25_10461.jpg
/home/pi/Desktop/images/31012025/18/48/image_31012025_18_48_34_9323.jpg
/home/pi/Desktop/images/31012025/18/48/image_31012025_18_48_45_10459.jpg
/home/pi/Desktop/images/31012025/18/48/image_31012025_18_48_54_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":["1333484340","1333484328","1333484351","1333484342","1333484321","1333484318"],"photo_ids_order":["1333484318","1333484321","1333484328","1333484340","1333484342","1333484351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5034e136d304b1a495740614210154fd.jpg","text":"TemporaryFile(/tmp/multipartBody4283393671493549101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361013208,"filename":"image_31012025_18_48_34_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1aad8918bcb95d1f118f76c844504641.jpg","text":"TemporaryFile(/tmp/multipartBody4387069323938640429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361013208,"filename":"image_31012025_18_48_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/1/31/e35674e01efd0050bc26788434bee911.jpg","text":"TemporaryFile(/tmp/multipartBody1951747034244440852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361013208,"filename":"image_31012025_18_48_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/1/31/49182482d3971937bc7b18affec895d1.jpg","text":"TemporaryFile(/tmp/multipartBody3767019442794873268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361013208,"filename":"image_31012025_18_48_45_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8fb7c3c86f6e6d41c7ac20f6c7f86fba.jpg","text":"TemporaryFile(/tmp/multipartBody3878689420234384891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361013208,"filename":"image_31012025_18_48_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/1/31/0057c49d383b02196b2933ba1feb7c1e.jpg","text":"TemporaryFile(/tmp/multipartBody3421012318755142162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361013208,"filename":"image_31012025_18_48_04_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333484328","file1":"1333484321","file0":"1333484318","file4":"1333484342","file5":"1333484351","file3":"1333484340"},"map_files_photo_id_array":[{"photo_id":"1333484351","filename":"file5"},{"photo_id":"1333484328","filename":"file2"},{"photo_id":"1333484342","filename":"file4"},{"photo_id":"1333484321","filename":"file1"},{"photo_id":"1333484318","filename":"file0"},{"photo_id":"1333484340","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333484340":["hashtag1","hashtag2"]},{"1333484328":["hashtag1","hashtag2"]},{"1333484351":["hashtag1","hashtag2"]},{"1333484342":["hashtag1","hashtag2"]},{"1333484321":["hashtag1","hashtag2"]},{"1333484318":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333484340, 1333484328, 1333484351, 1333484342, 1333484321, 1333484318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.555981636047363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:03:32.944011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/48/image_31012025_18_49_04_10343.jpg', '/home/pi/Desktop/images/31012025/18/49/image_31012025_18_49_15_10429.jpg', '/home/pi/Desktop/images/31012025/18/49/image_31012025_18_49_35_10446.jpg', '/home/pi/Desktop/images/31012025/18/49/image_31012025_18_49_45_10379.jpg', '/home/pi/Desktop/images/31012025/18/49/image_31012025_18_49_54_9345.jpg', '/home/pi/Desktop/images/31012025/18/49/image_31012025_18_50_05_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/48/image_31012025_18_49_04_10343.jpg
/home/pi/Desktop/images/31012025/18/49/image_31012025_18_49_15_10429.jpg
/home/pi/Desktop/images/31012025/18/49/image_31012025_18_49_35_10446.jpg
/home/pi/Desktop/images/31012025/18/49/image_31012025_18_49_45_10379.jpg
/home/pi/Desktop/images/31012025/18/49/image_31012025_18_49_54_9345.jpg
/home/pi/Desktop/images/31012025/18/49/image_31012025_18_50_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":["1333484391","1333484385","1333484631","1333484448","1333484381","1333484993"],"photo_ids_order":["1333484381","1333484385","1333484391","1333484448","1333484631","1333484993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bea78ad6ec08a4715c117c8b0161940d.jpg","text":"TemporaryFile(/tmp/multipartBody4365005642878819767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361073480,"filename":"image_31012025_18_49_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/1/31/97e89f322f0e2510905387c45d627f6e.jpg","text":"TemporaryFile(/tmp/multipartBody824405074356219139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361073480,"filename":"image_31012025_18_49_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/1/31/89f3c9031ade1fa5fb2fe368d8ed175c.jpg","text":"TemporaryFile(/tmp/multipartBody3970953485465115411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361073480,"filename":"image_31012025_18_49_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/1/31/9d0a6188e7420c1840b6c3a2c7102ca6.jpg","text":"TemporaryFile(/tmp/multipartBody7384021341363048049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361073480,"filename":"image_31012025_18_49_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/1/31/579d5366a05479bb0ce3473227334589.jpg","text":"TemporaryFile(/tmp/multipartBody2203100705306175482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361073480,"filename":"image_31012025_18_49_04_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/337629faba2264b4ca905c025ea90325.jpg","text":"TemporaryFile(/tmp/multipartBody4171448230371829077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361073480,"filename":"image_31012025_18_50_05_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333484391","file1":"1333484385","file0":"1333484381","file4":"1333484631","file5":"1333484993","file3":"1333484448"},"map_files_photo_id_array":[{"photo_id":"1333484993","filename":"file5"},{"photo_id":"1333484391","filename":"file2"},{"photo_id":"1333484631","filename":"file4"},{"photo_id":"1333484385","filename":"file1"},{"photo_id":"1333484381","filename":"file0"},{"photo_id":"1333484448","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333484391":["hashtag1","hashtag2"]},{"1333484385":["hashtag1","hashtag2"]},{"1333484631":["hashtag1","hashtag2"]},{"1333484448":["hashtag1","hashtag2"]},{"1333484381":["hashtag1","hashtag2"]},{"1333484993":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333484391, 1333484385, 1333484631, 1333484448, 1333484381, 1333484993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62180829048157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:04:33.098517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/50/image_31012025_18_50_14_9349.jpg', '/home/pi/Desktop/images/31012025/18/50/image_31012025_18_50_24_10337.jpg', '/home/pi/Desktop/images/31012025/18/50/image_31012025_18_50_35_10350.jpg', '/home/pi/Desktop/images/31012025/18/50/image_31012025_18_50_44_9358.jpg', '/home/pi/Desktop/images/31012025/18/50/image_31012025_18_50_55_10452.jpg', '/home/pi/Desktop/images/31012025/18/50/image_31012025_18_51_05_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/50/image_31012025_18_50_14_9349.jpg
/home/pi/Desktop/images/31012025/18/50/image_31012025_18_50_24_10337.jpg
/home/pi/Desktop/images/31012025/18/50/image_31012025_18_50_35_10350.jpg
/home/pi/Desktop/images/31012025/18/50/image_31012025_18_50_44_9358.jpg
/home/pi/Desktop/images/31012025/18/50/image_31012025_18_50_55_10452.jpg
/home/pi/Desktop/images/31012025/18/50/image_31012025_18_51_05_10448.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.4550967216491699 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 23:04:43.081147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/50/image_31012025_18_50_14_9349.jpg', '/home/pi/Desktop/images/31012025/18/50/image_31012025_18_50_24_10337.jpg', '/home/pi/Desktop/images/31012025/18/50/image_31012025_18_50_35_10350.jpg', '/home/pi/Desktop/images/31012025/18/50/image_31012025_18_50_44_9358.jpg', '/home/pi/Desktop/images/31012025/18/50/image_31012025_18_50_55_10452.jpg', '/home/pi/Desktop/images/31012025/18/50/image_31012025_18_51_05_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/50/image_31012025_18_50_14_9349.jpg
/home/pi/Desktop/images/31012025/18/50/image_31012025_18_50_24_10337.jpg
/home/pi/Desktop/images/31012025/18/50/image_31012025_18_50_35_10350.jpg
/home/pi/Desktop/images/31012025/18/50/image_31012025_18_50_44_9358.jpg
/home/pi/Desktop/images/31012025/18/50/image_31012025_18_50_55_10452.jpg
/home/pi/Desktop/images/31012025/18/50/image_31012025_18_51_05_10448.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":["1333485851","1333485845","1333485676","1333485550","1333485547","1333485556"],"photo_ids_order":["1333485547","1333485550","1333485556","1333485676","1333485845","1333485851"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1deb09e1da67d42f5e6c5849de490071.jpg","text":"TemporaryFile(/tmp/multipartBody680311719926918032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361143563,"filename":"image_31012025_18_51_05_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cbe8c8e0f9737103f41a9afb658106d6.jpg","text":"TemporaryFile(/tmp/multipartBody5312404149846939191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361143563,"filename":"image_31012025_18_50_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/1/31/5a3353a18aee43d51cbc9f0e8193a202.jpg","text":"TemporaryFile(/tmp/multipartBody1579095777461298417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361143563,"filename":"image_31012025_18_50_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/1/31/515aba296c4b3d6f1629e05ad1d5a8c9.jpg","text":"TemporaryFile(/tmp/multipartBody7191202574026933395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361143563,"filename":"image_31012025_18_50_24_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c1f5dcf3f7c08a64894c83fe17742f99.jpg","text":"TemporaryFile(/tmp/multipartBody4173471470892586975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361143563,"filename":"image_31012025_18_50_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/1/31/bef695874710501ad7e59afb8334bf3a.jpg","text":"TemporaryFile(/tmp/multipartBody2591879629492816982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361143563,"filename":"image_31012025_18_50_35_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333485556","file1":"1333485550","file0":"1333485547","file4":"1333485845","file5":"1333485851","file3":"1333485676"},"map_files_photo_id_array":[{"photo_id":"1333485851","filename":"file5"},{"photo_id":"1333485556","filename":"file2"},{"photo_id":"1333485845","filename":"file4"},{"photo_id":"1333485550","filename":"file1"},{"photo_id":"1333485547","filename":"file0"},{"photo_id":"1333485676","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333485851":["hashtag1","hashtag2"]},{"1333485845":["hashtag1","hashtag2"]},{"1333485676":["hashtag1","hashtag2"]},{"1333485550":["hashtag1","hashtag2"]},{"1333485547":["hashtag1","hashtag2"]},{"1333485556":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333485851, 1333485845, 1333485676, 1333485550, 1333485547, 1333485556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68877124786377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:05:32.369517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/51/image_31012025_18_51_14_9381.jpg', '/home/pi/Desktop/images/31012025/18/51/image_31012025_18_51_25_10413.jpg', '/home/pi/Desktop/images/31012025/18/51/image_31012025_18_51_34_9343.jpg', '/home/pi/Desktop/images/31012025/18/51/image_31012025_18_51_54_9411.jpg', '/home/pi/Desktop/images/31012025/18/51/image_31012025_18_52_04_10349.jpg', '/home/pi/Desktop/images/31012025/18/52/image_31012025_18_52_15_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/51/image_31012025_18_51_14_9381.jpg
/home/pi/Desktop/images/31012025/18/51/image_31012025_18_51_25_10413.jpg
/home/pi/Desktop/images/31012025/18/51/image_31012025_18_51_34_9343.jpg
/home/pi/Desktop/images/31012025/18/51/image_31012025_18_51_54_9411.jpg
/home/pi/Desktop/images/31012025/18/51/image_31012025_18_52_04_10349.jpg
/home/pi/Desktop/images/31012025/18/52/image_31012025_18_52_15_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":["1333486172","1333486289","1333486097","1333486355","1333486158","1333486020"],"photo_ids_order":["1333486020","1333486097","1333486158","1333486172","1333486289","1333486355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f09f24995b82dec28683904fc0e49b15.jpg","text":"TemporaryFile(/tmp/multipartBody8394897204641037357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361192915,"filename":"image_31012025_18_51_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/1/31/6fc66fdc583af21481142191f2421c43.jpg","text":"TemporaryFile(/tmp/multipartBody5367821613421920233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361192915,"filename":"image_31012025_18_52_04_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bd0299768d4213837a154270d6031d25.jpg","text":"TemporaryFile(/tmp/multipartBody2954469408274069575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361192915,"filename":"image_31012025_18_51_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/1/31/52b89915dca2103fd7395809717ebc71.jpg","text":"TemporaryFile(/tmp/multipartBody8647885074878399079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361192915,"filename":"image_31012025_18_52_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/1/31/207c5a0ef538b0bb080502391d1853fe.jpg","text":"TemporaryFile(/tmp/multipartBody2088235010797166618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361192915,"filename":"image_31012025_18_51_34_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8470701e80ff4979146985f0d7632435.jpg","text":"TemporaryFile(/tmp/multipartBody2670191520476314021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361192915,"filename":"image_31012025_18_51_14_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333486158","file1":"1333486097","file0":"1333486020","file4":"1333486289","file5":"1333486355","file3":"1333486172"},"map_files_photo_id_array":[{"photo_id":"1333486355","filename":"file5"},{"photo_id":"1333486158","filename":"file2"},{"photo_id":"1333486289","filename":"file4"},{"photo_id":"1333486097","filename":"file1"},{"photo_id":"1333486020","filename":"file0"},{"photo_id":"1333486172","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333486172":["hashtag1","hashtag2"]},{"1333486289":["hashtag1","hashtag2"]},{"1333486097":["hashtag1","hashtag2"]},{"1333486355":["hashtag1","hashtag2"]},{"1333486158":["hashtag1","hashtag2"]},{"1333486020":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333486172, 1333486289, 1333486097, 1333486355, 1333486158, 1333486020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.943389654159546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:06:32.516070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/52/image_31012025_18_52_24_9359.jpg', '/home/pi/Desktop/images/31012025/18/52/image_31012025_18_52_35_10559.jpg', '/home/pi/Desktop/images/31012025/18/52/image_31012025_18_52_55_10480.jpg', '/home/pi/Desktop/images/31012025/18/52/image_31012025_18_53_04_9350.jpg', '/home/pi/Desktop/images/31012025/18/53/image_31012025_18_53_25_10422.jpg', '/home/pi/Desktop/images/31012025/18/53/image_31012025_18_53_34_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/52/image_31012025_18_52_24_9359.jpg
/home/pi/Desktop/images/31012025/18/52/image_31012025_18_52_35_10559.jpg
/home/pi/Desktop/images/31012025/18/52/image_31012025_18_52_55_10480.jpg
/home/pi/Desktop/images/31012025/18/52/image_31012025_18_53_04_9350.jpg
/home/pi/Desktop/images/31012025/18/53/image_31012025_18_53_25_10422.jpg
/home/pi/Desktop/images/31012025/18/53/image_31012025_18_53_34_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":["1333486586","1333486646","1333486640","1333486637","1333486648","1333486651"],"photo_ids_order":["1333486586","1333486637","1333486640","1333486646","1333486648","1333486651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/47e41bab6a671513f58c275353a7902a.jpg","text":"TemporaryFile(/tmp/multipartBody5286631650730392933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361253161,"filename":"image_31012025_18_52_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/1/31/8b8674900efe045cc15546c857c9ac09.jpg","text":"TemporaryFile(/tmp/multipartBody8173460529305642663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361253161,"filename":"image_31012025_18_53_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/1/31/cf8aa61ac5f9c0e88ee1961a3912180e.jpg","text":"TemporaryFile(/tmp/multipartBody2817493474448314321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361253161,"filename":"image_31012025_18_52_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/1/31/985f2a2171861e7437f31684472a4c12.jpg","text":"TemporaryFile(/tmp/multipartBody2071549086555208414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361253161,"filename":"image_31012025_18_52_35_10559.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8d28e1f509bcab0ed446ed64b3569f9d.jpg","text":"TemporaryFile(/tmp/multipartBody4579802873958517631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361253161,"filename":"image_31012025_18_53_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/1/31/bd66c11d368d375183deeed69b5dc67b.jpg","text":"TemporaryFile(/tmp/multipartBody8972670581008882978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361253161,"filename":"image_31012025_18_53_34_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333486640","file1":"1333486637","file0":"1333486586","file4":"1333486648","file5":"1333486651","file3":"1333486646"},"map_files_photo_id_array":[{"photo_id":"1333486651","filename":"file5"},{"photo_id":"1333486640","filename":"file2"},{"photo_id":"1333486648","filename":"file4"},{"photo_id":"1333486637","filename":"file1"},{"photo_id":"1333486586","filename":"file0"},{"photo_id":"1333486646","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333486586":["hashtag1","hashtag2"]},{"1333486646":["hashtag1","hashtag2"]},{"1333486640":["hashtag1","hashtag2"]},{"1333486637":["hashtag1","hashtag2"]},{"1333486648":["hashtag1","hashtag2"]},{"1333486651":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333486586, 1333486646, 1333486640, 1333486637, 1333486648, 1333486651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.559766054153442 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-01-31 23:07:32.826102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/53/image_31012025_18_53_45_10342.jpg', '/home/pi/Desktop/images/31012025/18/53/image_31012025_18_53_55_10429.jpg', '/home/pi/Desktop/images/31012025/18/53/image_31012025_18_54_04_9327.jpg', '/home/pi/Desktop/images/31012025/18/54/image_31012025_18_54_15_10422.jpg', '/home/pi/Desktop/images/31012025/18/54/image_31012025_18_54_24_9356.jpg', '/home/pi/Desktop/images/31012025/18/54/image_31012025_18_54_45_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/53/image_31012025_18_53_45_10342.jpg
/home/pi/Desktop/images/31012025/18/53/image_31012025_18_53_55_10429.jpg
/home/pi/Desktop/images/31012025/18/53/image_31012025_18_54_04_9327.jpg
/home/pi/Desktop/images/31012025/18/54/image_31012025_18_54_15_10422.jpg
/home/pi/Desktop/images/31012025/18/54/image_31012025_18_54_24_9356.jpg
/home/pi/Desktop/images/31012025/18/54/image_31012025_18_54_45_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":["1333487216","1333487287","1333487227","1333487155","1333487221","1333487168"],"photo_ids_order":["1333487155","1333487168","1333487216","1333487221","1333487227","1333487287"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0582bc5b719f67d6cc6ae12956446e51.jpg","text":"TemporaryFile(/tmp/multipartBody8693638892061718310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361313379,"filename":"image_31012025_18_54_04_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cad1464d08c52e297b2b16e133c85f19.jpg","text":"TemporaryFile(/tmp/multipartBody7493696129491614594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361313379,"filename":"image_31012025_18_54_45_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c8733ac3a45a09f9b02a7376030a8595.jpg","text":"TemporaryFile(/tmp/multipartBody1334127076309710988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361313379,"filename":"image_31012025_18_54_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/1/31/819a1b100b8959b483021fa1dcf98845.jpg","text":"TemporaryFile(/tmp/multipartBody4722936278592698513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361313379,"filename":"image_31012025_18_53_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/1/31/b9192271a607675de269d30090f470da.jpg","text":"TemporaryFile(/tmp/multipartBody545401157320113235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361313379,"filename":"image_31012025_18_54_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/1/31/ab5da98834763020f11ac4db4e087f83.jpg","text":"TemporaryFile(/tmp/multipartBody799979864348530639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361313379,"filename":"image_31012025_18_53_55_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333487216","file1":"1333487168","file0":"1333487155","file4":"1333487227","file5":"1333487287","file3":"1333487221"},"map_files_photo_id_array":[{"photo_id":"1333487287","filename":"file5"},{"photo_id":"1333487216","filename":"file2"},{"photo_id":"1333487227","filename":"file4"},{"photo_id":"1333487168","filename":"file1"},{"photo_id":"1333487155","filename":"file0"},{"photo_id":"1333487221","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333487216":["hashtag1","hashtag2"]},{"1333487287":["hashtag1","hashtag2"]},{"1333487227":["hashtag1","hashtag2"]},{"1333487155":["hashtag1","hashtag2"]},{"1333487221":["hashtag1","hashtag2"]},{"1333487168":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333487216, 1333487287, 1333487227, 1333487155, 1333487221, 1333487168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6930456161499 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:08:33.080687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/54/image_31012025_18_54_54_9335.jpg', '/home/pi/Desktop/images/31012025/18/54/image_31012025_18_55_05_10469.jpg', '/home/pi/Desktop/images/31012025/18/55/image_31012025_18_56_04_9352.jpg', '/home/pi/Desktop/images/31012025/18/56/image_31012025_18_56_25_10465.jpg', '/home/pi/Desktop/images/31012025/18/56/image_31012025_18_56_34_9334.jpg', '/home/pi/Desktop/images/31012025/18/56/image_31012025_18_56_54_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/54/image_31012025_18_54_54_9335.jpg
/home/pi/Desktop/images/31012025/18/54/image_31012025_18_55_05_10469.jpg
/home/pi/Desktop/images/31012025/18/55/image_31012025_18_56_04_9352.jpg
/home/pi/Desktop/images/31012025/18/56/image_31012025_18_56_25_10465.jpg
/home/pi/Desktop/images/31012025/18/56/image_31012025_18_56_34_9334.jpg
/home/pi/Desktop/images/31012025/18/56/image_31012025_18_56_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":["1333487333","1333487342","1333487336","1333487434","1333487487","1333487358"],"photo_ids_order":["1333487333","1333487336","1333487342","1333487358","1333487434","1333487487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/04f5ae6d089d1c4a7d1fe517a9cdecfb.jpg","text":"TemporaryFile(/tmp/multipartBody5575254009216006922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361373605,"filename":"image_31012025_18_54_54_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/eb23d135118576fc4d157811dd7b150f.jpg","text":"TemporaryFile(/tmp/multipartBody7409820638804137701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361373605,"filename":"image_31012025_18_56_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/1/31/675e6b3e01d2f65edcdb5f864e0ae845.jpg","text":"TemporaryFile(/tmp/multipartBody6845526509061523337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361373605,"filename":"image_31012025_18_55_05_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/38d88f5b7fe81d37cd794c5001f8391b.jpg","text":"TemporaryFile(/tmp/multipartBody5815704461448644979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361373605,"filename":"image_31012025_18_56_34_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6342a7132892f20003f83b3a555db506.jpg","text":"TemporaryFile(/tmp/multipartBody4339983832324640990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361373605,"filename":"image_31012025_18_56_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/1/31/ee73422f76fa0cf463ed15057072b905.jpg","text":"TemporaryFile(/tmp/multipartBody6752996434184832379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361373605,"filename":"image_31012025_18_56_25_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333487342","file1":"1333487336","file0":"1333487333","file4":"1333487434","file5":"1333487487","file3":"1333487358"},"map_files_photo_id_array":[{"photo_id":"1333487487","filename":"file5"},{"photo_id":"1333487342","filename":"file2"},{"photo_id":"1333487434","filename":"file4"},{"photo_id":"1333487336","filename":"file1"},{"photo_id":"1333487333","filename":"file0"},{"photo_id":"1333487358","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333487333":["hashtag1","hashtag2"]},{"1333487342":["hashtag1","hashtag2"]},{"1333487336":["hashtag1","hashtag2"]},{"1333487434":["hashtag1","hashtag2"]},{"1333487487":["hashtag1","hashtag2"]},{"1333487358":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333487333, 1333487342, 1333487336, 1333487434, 1333487487, 1333487358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.361674308776855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:09:32.473173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/56/image_31012025_18_57_04_10343.jpg', '/home/pi/Desktop/images/31012025/18/57/image_31012025_18_57_45_10341.jpg', '/home/pi/Desktop/images/31012025/18/57/image_31012025_18_57_54_9370.jpg', '/home/pi/Desktop/images/31012025/18/58/image_31012025_18_58_15_10438.jpg', '/home/pi/Desktop/images/31012025/18/58/image_31012025_18_58_55_10361.jpg', '/home/pi/Desktop/images/31012025/18/58/image_31012025_18_59_05_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/56/image_31012025_18_57_04_10343.jpg
/home/pi/Desktop/images/31012025/18/57/image_31012025_18_57_45_10341.jpg
/home/pi/Desktop/images/31012025/18/57/image_31012025_18_57_54_9370.jpg
/home/pi/Desktop/images/31012025/18/58/image_31012025_18_58_15_10438.jpg
/home/pi/Desktop/images/31012025/18/58/image_31012025_18_58_55_10361.jpg
/home/pi/Desktop/images/31012025/18/58/image_31012025_18_59_05_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":["1333487602","1333487598","1333487556","1333487850","1333487619","1333487792"],"photo_ids_order":["1333487556","1333487598","1333487602","1333487619","1333487792","1333487850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8273b16279a656bbd9765f3f34513b5e.jpg","text":"TemporaryFile(/tmp/multipartBody8028668188827810388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361433086,"filename":"image_31012025_18_57_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/1/31/4ba12f6573489923e2e76bcb8b320c05.jpg","text":"TemporaryFile(/tmp/multipartBody1774618661693294518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361433086,"filename":"image_31012025_18_57_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/1/31/5e6f6cb439fc390f21635b2923a7de2c.jpg","text":"TemporaryFile(/tmp/multipartBody2450392945229835888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361433086,"filename":"image_31012025_18_57_04_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/045be073f69790f9c9147ad191ba3b4b.jpg","text":"TemporaryFile(/tmp/multipartBody8654636741100993698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361433086,"filename":"image_31012025_18_59_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/1/31/466d9a9da982c0d221eb560023ba3be6.jpg","text":"TemporaryFile(/tmp/multipartBody2223232336873877350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361433086,"filename":"image_31012025_18_58_15_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ba0b85a271675907aed4e9c0950d5a0c.jpg","text":"TemporaryFile(/tmp/multipartBody4573978844125119681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361433086,"filename":"image_31012025_18_58_55_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333487602","file1":"1333487598","file0":"1333487556","file4":"1333487792","file5":"1333487850","file3":"1333487619"},"map_files_photo_id_array":[{"photo_id":"1333487850","filename":"file5"},{"photo_id":"1333487602","filename":"file2"},{"photo_id":"1333487792","filename":"file4"},{"photo_id":"1333487598","filename":"file1"},{"photo_id":"1333487556","filename":"file0"},{"photo_id":"1333487619","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333487602":["hashtag1","hashtag2"]},{"1333487598":["hashtag1","hashtag2"]},{"1333487556":["hashtag1","hashtag2"]},{"1333487850":["hashtag1","hashtag2"]},{"1333487619":["hashtag1","hashtag2"]},{"1333487792":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333487602, 1333487598, 1333487556, 1333487850, 1333487619, 1333487792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.65041255950928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:10:32.662225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/59/image_31012025_18_59_14_9396.jpg', '/home/pi/Desktop/images/31012025/18/59/image_31012025_18_59_25_10470.jpg', '/home/pi/Desktop/images/31012025/18/59/image_31012025_18_59_45_10423.jpg', '/home/pi/Desktop/images/31012025/18/59/image_31012025_18_59_55_10353.jpg', '/home/pi/Desktop/images/31012025/19/01/image_31012025_19_01_14_10078.jpg', '/home/pi/Desktop/images/31012025/19/01/image_31012025_19_01_24_10469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/59/image_31012025_18_59_14_9396.jpg
/home/pi/Desktop/images/31012025/18/59/image_31012025_18_59_25_10470.jpg
/home/pi/Desktop/images/31012025/18/59/image_31012025_18_59_45_10423.jpg
/home/pi/Desktop/images/31012025/18/59/image_31012025_18_59_55_10353.jpg
/home/pi/Desktop/images/31012025/19/01/image_31012025_19_01_14_10078.jpg
/home/pi/Desktop/images/31012025/19/01/image_31012025_19_01_24_10469.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.48317432403564453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 23:10:42.739941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/18/59/image_31012025_18_59_14_9396.jpg', '/home/pi/Desktop/images/31012025/18/59/image_31012025_18_59_25_10470.jpg', '/home/pi/Desktop/images/31012025/18/59/image_31012025_18_59_45_10423.jpg', '/home/pi/Desktop/images/31012025/18/59/image_31012025_18_59_55_10353.jpg', '/home/pi/Desktop/images/31012025/19/01/image_31012025_19_01_14_10078.jpg', '/home/pi/Desktop/images/31012025/19/01/image_31012025_19_01_24_10469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/18/59/image_31012025_18_59_14_9396.jpg
/home/pi/Desktop/images/31012025/18/59/image_31012025_18_59_25_10470.jpg
/home/pi/Desktop/images/31012025/18/59/image_31012025_18_59_45_10423.jpg
/home/pi/Desktop/images/31012025/18/59/image_31012025_18_59_55_10353.jpg
/home/pi/Desktop/images/31012025/19/01/image_31012025_19_01_14_10078.jpg
/home/pi/Desktop/images/31012025/19/01/image_31012025_19_01_24_10469.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":["1333487977","1333487979","1333487973","1333487967","1333487982","1333487981"],"photo_ids_order":["1333487967","1333487973","1333487977","1333487979","1333487981","1333487982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/93da137f405e21cb8fc00ef91b5a012d.jpg","text":"TemporaryFile(/tmp/multipartBody4870721957180366217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361503214,"filename":"image_31012025_18_59_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/1/31/9668dd7c40907be3a372789b97ef5be9.jpg","text":"TemporaryFile(/tmp/multipartBody7928832586324005499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361503214,"filename":"image_31012025_18_59_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/1/31/9dbfb9534a4c35a3d70628bc32367cb8.jpg","text":"TemporaryFile(/tmp/multipartBody3820898969928515586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361503214,"filename":"image_31012025_18_59_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/1/31/f16702197d16034d0c84ce7effd19a94.jpg","text":"TemporaryFile(/tmp/multipartBody1230703927723120200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361503214,"filename":"image_31012025_18_59_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/1/31/4bb67668c755294fc54e8bca4e36b681.jpg","text":"TemporaryFile(/tmp/multipartBody4898529263258705431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361503214,"filename":"image_31012025_19_01_24_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d6b4788f2861023d4d2f44427e697459.jpg","text":"TemporaryFile(/tmp/multipartBody1344501260180522127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361503214,"filename":"image_31012025_19_01_14_10078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333487977","file1":"1333487973","file0":"1333487967","file4":"1333487981","file5":"1333487982","file3":"1333487979"},"map_files_photo_id_array":[{"photo_id":"1333487982","filename":"file5"},{"photo_id":"1333487977","filename":"file2"},{"photo_id":"1333487981","filename":"file4"},{"photo_id":"1333487973","filename":"file1"},{"photo_id":"1333487967","filename":"file0"},{"photo_id":"1333487979","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333487977":["hashtag1","hashtag2"]},{"1333487979":["hashtag1","hashtag2"]},{"1333487973":["hashtag1","hashtag2"]},{"1333487967":["hashtag1","hashtag2"]},{"1333487982":["hashtag1","hashtag2"]},{"1333487981":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333487977, 1333487979, 1333487973, 1333487967, 1333487982, 1333487981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.354143142700195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:11:33.012514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/01/image_31012025_19_01_35_10347.jpg', '/home/pi/Desktop/images/31012025/19/01/image_31012025_19_01_44_9402.jpg', '/home/pi/Desktop/images/31012025/19/01/image_31012025_19_01_55_10368.jpg', '/home/pi/Desktop/images/31012025/19/01/image_31012025_19_02_04_9404.jpg', '/home/pi/Desktop/images/31012025/19/02/image_31012025_19_02_14_10421.jpg', '/home/pi/Desktop/images/31012025/19/02/image_31012025_19_02_25_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/01/image_31012025_19_01_35_10347.jpg
/home/pi/Desktop/images/31012025/19/01/image_31012025_19_01_44_9402.jpg
/home/pi/Desktop/images/31012025/19/01/image_31012025_19_01_55_10368.jpg
/home/pi/Desktop/images/31012025/19/01/image_31012025_19_02_04_9404.jpg
/home/pi/Desktop/images/31012025/19/02/image_31012025_19_02_14_10421.jpg
/home/pi/Desktop/images/31012025/19/02/image_31012025_19_02_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":["1333488011","1333488004","1333488013","1333487997","1333488000","1333488008"],"photo_ids_order":["1333487997","1333488000","1333488004","1333488008","1333488011","1333488013"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8001c93efd30b49d87a82abedf9e3f5a.jpg","text":"TemporaryFile(/tmp/multipartBody3332575930098765432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361553579,"filename":"image_31012025_19_02_14_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dd2c4fd6f1c70870ed65fbe5061c0d04.jpg","text":"TemporaryFile(/tmp/multipartBody6262235266989391012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361553579,"filename":"image_31012025_19_01_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/1/31/7262c4330b956e3a9952c8eec3893087.jpg","text":"TemporaryFile(/tmp/multipartBody5989979612198641599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361553579,"filename":"image_31012025_19_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/1/31/249bcf0db1f75aec245ccdeede72d7e2.jpg","text":"TemporaryFile(/tmp/multipartBody6571215987165692882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361553579,"filename":"image_31012025_19_01_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/1/31/f92589c590241a831c5d6b24ab934edd.jpg","text":"TemporaryFile(/tmp/multipartBody5872377367262213943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361553579,"filename":"image_31012025_19_01_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/1/31/4d74699b5a0758c74b7b5951cd74cf76.jpg","text":"TemporaryFile(/tmp/multipartBody7924624551743026611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361553579,"filename":"image_31012025_19_02_04_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333488004","file1":"1333488000","file0":"1333487997","file4":"1333488011","file5":"1333488013","file3":"1333488008"},"map_files_photo_id_array":[{"photo_id":"1333488013","filename":"file5"},{"photo_id":"1333488004","filename":"file2"},{"photo_id":"1333488011","filename":"file4"},{"photo_id":"1333488000","filename":"file1"},{"photo_id":"1333487997","filename":"file0"},{"photo_id":"1333488008","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333488011":["hashtag1","hashtag2"]},{"1333488004":["hashtag1","hashtag2"]},{"1333488013":["hashtag1","hashtag2"]},{"1333487997":["hashtag1","hashtag2"]},{"1333488000":["hashtag1","hashtag2"]},{"1333488008":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333488011, 1333488004, 1333488013, 1333487997, 1333488000, 1333488008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.339253187179565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:12:32.151234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/02/image_31012025_19_02_34_9390.jpg', '/home/pi/Desktop/images/31012025/19/02/image_31012025_19_02_45_10356.jpg', '/home/pi/Desktop/images/31012025/19/02/image_31012025_19_02_55_10370.jpg', '/home/pi/Desktop/images/31012025/19/02/image_31012025_19_03_04_9351.jpg', '/home/pi/Desktop/images/31012025/19/03/image_31012025_19_03_15_10417.jpg', '/home/pi/Desktop/images/31012025/19/03/image_31012025_19_03_24_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/02/image_31012025_19_02_34_9390.jpg
/home/pi/Desktop/images/31012025/19/02/image_31012025_19_02_45_10356.jpg
/home/pi/Desktop/images/31012025/19/02/image_31012025_19_02_55_10370.jpg
/home/pi/Desktop/images/31012025/19/02/image_31012025_19_03_04_9351.jpg
/home/pi/Desktop/images/31012025/19/03/image_31012025_19_03_15_10417.jpg
/home/pi/Desktop/images/31012025/19/03/image_31012025_19_03_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":["1333488441","1333488345","1333488269","1333488179","1333488416","1333488413"],"photo_ids_order":["1333488179","1333488269","1333488345","1333488413","1333488416","1333488441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fef3929a38b106c8c624126a41ccdfc4.jpg","text":"TemporaryFile(/tmp/multipartBody1330688879804182188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361612689,"filename":"image_31012025_19_03_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/1/31/e852004712e8b0326d95067d4b491b69.jpg","text":"TemporaryFile(/tmp/multipartBody6045882820667430514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361612689,"filename":"image_31012025_19_02_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/1/31/3d98d1e01f97638260231a2108fde89f.jpg","text":"TemporaryFile(/tmp/multipartBody1528386449880384483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361612689,"filename":"image_31012025_19_02_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/1/31/c7108d66658bd3b80484a589f228c6b3.jpg","text":"TemporaryFile(/tmp/multipartBody4636425229239742415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361612689,"filename":"image_31012025_19_02_34_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7485a38e26da6c1f376789b883702231.jpg","text":"TemporaryFile(/tmp/multipartBody2631303970292491787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361612689,"filename":"image_31012025_19_03_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/1/31/2da8f9667c525bdc27091c85d0eba5a6.jpg","text":"TemporaryFile(/tmp/multipartBody1171852472178277728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361612689,"filename":"image_31012025_19_03_04_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333488345","file1":"1333488269","file0":"1333488179","file4":"1333488416","file5":"1333488441","file3":"1333488413"},"map_files_photo_id_array":[{"photo_id":"1333488441","filename":"file5"},{"photo_id":"1333488345","filename":"file2"},{"photo_id":"1333488416","filename":"file4"},{"photo_id":"1333488269","filename":"file1"},{"photo_id":"1333488179","filename":"file0"},{"photo_id":"1333488413","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333488441":["hashtag1","hashtag2"]},{"1333488345":["hashtag1","hashtag2"]},{"1333488269":["hashtag1","hashtag2"]},{"1333488179":["hashtag1","hashtag2"]},{"1333488416":["hashtag1","hashtag2"]},{"1333488413":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333488441, 1333488345, 1333488269, 1333488179, 1333488416, 1333488413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.75313925743103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:13:32.432146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/03/image_31012025_19_03_34_10356.jpg', '/home/pi/Desktop/images/31012025/19/03/image_31012025_19_03_45_10393.jpg', '/home/pi/Desktop/images/31012025/19/03/image_31012025_19_03_54_9362.jpg', '/home/pi/Desktop/images/31012025/19/03/image_31012025_19_04_05_10429.jpg', '/home/pi/Desktop/images/31012025/19/04/image_31012025_19_04_14_9355.jpg', '/home/pi/Desktop/images/31012025/19/04/image_31012025_19_04_24_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/03/image_31012025_19_03_34_10356.jpg
/home/pi/Desktop/images/31012025/19/03/image_31012025_19_03_45_10393.jpg
/home/pi/Desktop/images/31012025/19/03/image_31012025_19_03_54_9362.jpg
/home/pi/Desktop/images/31012025/19/03/image_31012025_19_04_05_10429.jpg
/home/pi/Desktop/images/31012025/19/04/image_31012025_19_04_14_9355.jpg
/home/pi/Desktop/images/31012025/19/04/image_31012025_19_04_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":["1333488736","1333488709","1333488657","1333488732","1333488833","1333488821"],"photo_ids_order":["1333488657","1333488709","1333488732","1333488736","1333488821","1333488833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3b1596212367c260bdbf6c87132f1c9a.jpg","text":"TemporaryFile(/tmp/multipartBody2611569904098237072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361672978,"filename":"image_31012025_19_04_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/1/31/4e0a10bf6629cedbbb25fe007caf8ded.jpg","text":"TemporaryFile(/tmp/multipartBody2277567411580125221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361672978,"filename":"image_31012025_19_03_45_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/95080c3b52647484006811b95d381ffe.jpg","text":"TemporaryFile(/tmp/multipartBody3370029399946406566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361672978,"filename":"image_31012025_19_03_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/1/31/8f8187ffc21a9ce3b04af1c5517906c3.jpg","text":"TemporaryFile(/tmp/multipartBody2213371437311241672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361672978,"filename":"image_31012025_19_03_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/1/31/411b663e8bf184110f2ac818e10b5157.jpg","text":"TemporaryFile(/tmp/multipartBody6457235706492697278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361672978,"filename":"image_31012025_19_04_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/1/31/2d99f869682f51ef0652ead4f56c4c07.jpg","text":"TemporaryFile(/tmp/multipartBody282606432964224976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361672978,"filename":"image_31012025_19_04_14_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333488732","file1":"1333488709","file0":"1333488657","file4":"1333488821","file5":"1333488833","file3":"1333488736"},"map_files_photo_id_array":[{"photo_id":"1333488833","filename":"file5"},{"photo_id":"1333488732","filename":"file2"},{"photo_id":"1333488821","filename":"file4"},{"photo_id":"1333488709","filename":"file1"},{"photo_id":"1333488657","filename":"file0"},{"photo_id":"1333488736","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333488736":["hashtag1","hashtag2"]},{"1333488709":["hashtag1","hashtag2"]},{"1333488657":["hashtag1","hashtag2"]},{"1333488732":["hashtag1","hashtag2"]},{"1333488833":["hashtag1","hashtag2"]},{"1333488821":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333488736, 1333488709, 1333488657, 1333488732, 1333488833, 1333488821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.23171353340149 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:14:32.863419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/04/image_31012025_19_04_35_10448.jpg', '/home/pi/Desktop/images/31012025/19/04/image_31012025_19_04_44_9353.jpg', '/home/pi/Desktop/images/31012025/19/04/image_31012025_19_04_54_10372.jpg', '/home/pi/Desktop/images/31012025/19/04/image_31012025_19_05_05_10421.jpg', '/home/pi/Desktop/images/31012025/19/05/image_31012025_19_05_14_9401.jpg', '/home/pi/Desktop/images/31012025/19/05/image_31012025_19_05_25_10530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/04/image_31012025_19_04_35_10448.jpg
/home/pi/Desktop/images/31012025/19/04/image_31012025_19_04_44_9353.jpg
/home/pi/Desktop/images/31012025/19/04/image_31012025_19_04_54_10372.jpg
/home/pi/Desktop/images/31012025/19/04/image_31012025_19_05_05_10421.jpg
/home/pi/Desktop/images/31012025/19/05/image_31012025_19_05_14_9401.jpg
/home/pi/Desktop/images/31012025/19/05/image_31012025_19_05_25_10530.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333489030","1333489024","1333489026","1333489020","1333489017","1333489028"],"photo_ids_order":["1333489017","1333489020","1333489024","1333489026","1333489028","1333489030"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2a2ac59f9b18ced076020c654811cfc3.jpg","text":"TemporaryFile(/tmp/multipartBody4201963843081748998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361733460,"filename":"image_31012025_19_05_25_10530.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f251e49024337b162548e0f6e02897bc.jpg","text":"TemporaryFile(/tmp/multipartBody8151250869668587264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361733460,"filename":"image_31012025_19_04_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/1/31/72068928c949062f2803be5b86a2cac6.jpg","text":"TemporaryFile(/tmp/multipartBody366647958383845442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361733460,"filename":"image_31012025_19_05_05_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c5859bcaeb1b3164e39aa8e0b3d7dad5.jpg","text":"TemporaryFile(/tmp/multipartBody4547896506002431304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361733460,"filename":"image_31012025_19_04_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/1/31/669d9bca5b66d3d1cb1b4e484ea5d0d4.jpg","text":"TemporaryFile(/tmp/multipartBody9188185021962148541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361733460,"filename":"image_31012025_19_04_35_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/546a5d9da5736b770d25c8cce7aff08a.jpg","text":"TemporaryFile(/tmp/multipartBody4401064065982368863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361733460,"filename":"image_31012025_19_05_14_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333489024","file1":"1333489020","file0":"1333489017","file4":"1333489028","file5":"1333489030","file3":"1333489026"},"map_files_photo_id_array":[{"photo_id":"1333489030","filename":"file5"},{"photo_id":"1333489024","filename":"file2"},{"photo_id":"1333489028","filename":"file4"},{"photo_id":"1333489020","filename":"file1"},{"photo_id":"1333489017","filename":"file0"},{"photo_id":"1333489026","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333489030":["hashtag1","hashtag2"]},{"1333489024":["hashtag1","hashtag2"]},{"1333489026":["hashtag1","hashtag2"]},{"1333489020":["hashtag1","hashtag2"]},{"1333489017":["hashtag1","hashtag2"]},{"1333489028":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333489030, 1333489024, 1333489026, 1333489020, 1333489017, 1333489028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69830012321472 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:15:33.752003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/05/image_31012025_19_05_34_9333.jpg', '/home/pi/Desktop/images/31012025/19/05/image_31012025_19_05_45_10427.jpg', '/home/pi/Desktop/images/31012025/19/05/image_31012025_19_05_54_9388.jpg', '/home/pi/Desktop/images/31012025/19/05/image_31012025_19_06_04_10339.jpg', '/home/pi/Desktop/images/31012025/19/06/image_31012025_19_06_15_10403.jpg', '/home/pi/Desktop/images/31012025/19/06/image_31012025_19_06_24_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/05/image_31012025_19_05_34_9333.jpg
/home/pi/Desktop/images/31012025/19/05/image_31012025_19_05_45_10427.jpg
/home/pi/Desktop/images/31012025/19/05/image_31012025_19_05_54_9388.jpg
/home/pi/Desktop/images/31012025/19/05/image_31012025_19_06_04_10339.jpg
/home/pi/Desktop/images/31012025/19/06/image_31012025_19_06_15_10403.jpg
/home/pi/Desktop/images/31012025/19/06/image_31012025_19_06_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":["1333489057","1333489062","1333489068","1333489052","1333489046","1333489072"],"photo_ids_order":["1333489046","1333489052","1333489057","1333489062","1333489068","1333489072"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9b68eff3d1084a5560fe6b044ab0aa2b.jpg","text":"TemporaryFile(/tmp/multipartBody6123544684032798395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361794307,"filename":"image_31012025_19_05_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/1/31/cf2bb4bc18deece165702b98d65dca46.jpg","text":"TemporaryFile(/tmp/multipartBody863243656075143635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361794307,"filename":"image_31012025_19_06_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/1/31/664aa279b6b272595b66bd2ba940f976.jpg","text":"TemporaryFile(/tmp/multipartBody2762045677148526698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361794307,"filename":"image_31012025_19_06_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/1/31/71c32ad35d4a89b7875b0cf2be44c887.jpg","text":"TemporaryFile(/tmp/multipartBody3053506660942441642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361794307,"filename":"image_31012025_19_05_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/1/31/e3dacf02f168b0b4bd2bccd821d98c5e.jpg","text":"TemporaryFile(/tmp/multipartBody4620416562476854106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361794307,"filename":"image_31012025_19_05_34_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/55fc9cc22c218a06fd110944b6004c03.jpg","text":"TemporaryFile(/tmp/multipartBody5899501857907323028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361794307,"filename":"image_31012025_19_06_24_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333489057","file1":"1333489052","file0":"1333489046","file4":"1333489068","file5":"1333489072","file3":"1333489062"},"map_files_photo_id_array":[{"photo_id":"1333489072","filename":"file5"},{"photo_id":"1333489057","filename":"file2"},{"photo_id":"1333489068","filename":"file4"},{"photo_id":"1333489052","filename":"file1"},{"photo_id":"1333489046","filename":"file0"},{"photo_id":"1333489062","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333489057":["hashtag1","hashtag2"]},{"1333489062":["hashtag1","hashtag2"]},{"1333489068":["hashtag1","hashtag2"]},{"1333489052":["hashtag1","hashtag2"]},{"1333489046":["hashtag1","hashtag2"]},{"1333489072":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333489057, 1333489062, 1333489068, 1333489052, 1333489046, 1333489072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.19864368438721 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:16:33.025993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/06/image_31012025_19_06_35_10360.jpg', '/home/pi/Desktop/images/31012025/19/06/image_31012025_19_06_45_10417.jpg', '/home/pi/Desktop/images/31012025/19/06/image_31012025_19_06_54_9347.jpg', '/home/pi/Desktop/images/31012025/19/06/image_31012025_19_07_05_10476.jpg', '/home/pi/Desktop/images/31012025/19/07/image_31012025_19_07_14_9331.jpg', '/home/pi/Desktop/images/31012025/19/07/image_31012025_19_07_24_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/06/image_31012025_19_06_35_10360.jpg
/home/pi/Desktop/images/31012025/19/06/image_31012025_19_06_45_10417.jpg
/home/pi/Desktop/images/31012025/19/06/image_31012025_19_06_54_9347.jpg
/home/pi/Desktop/images/31012025/19/06/image_31012025_19_07_05_10476.jpg
/home/pi/Desktop/images/31012025/19/07/image_31012025_19_07_14_9331.jpg
/home/pi/Desktop/images/31012025/19/07/image_31012025_19_07_24_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":["1333489114","1333489105","1333489119","1333489110","1333489096","1333489099"],"photo_ids_order":["1333489096","1333489099","1333489105","1333489110","1333489114","1333489119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e34a4b5e295fa291c1c69b8f8e9abded.jpg","text":"TemporaryFile(/tmp/multipartBody1096742503863936841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361853569,"filename":"image_31012025_19_07_14_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/56100d43d5e25b1ed4ac1aa443b08770.jpg","text":"TemporaryFile(/tmp/multipartBody7385214012290461215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361853569,"filename":"image_31012025_19_06_54_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fcb56cd5f06e793fb393134e42756d4a.jpg","text":"TemporaryFile(/tmp/multipartBody450576418405092323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361853569,"filename":"image_31012025_19_07_24_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/15fe4f4e8df46e167dc5cb868eba7525.jpg","text":"TemporaryFile(/tmp/multipartBody3150596838814015788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361853569,"filename":"image_31012025_19_07_05_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/856c063bcaa4a51be023aa6dc0f48f48.jpg","text":"TemporaryFile(/tmp/multipartBody3952494394463764776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361853569,"filename":"image_31012025_19_06_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/1/31/2c2aa7017e6f6a62ceb26df6ae1a2233.jpg","text":"TemporaryFile(/tmp/multipartBody634621669624301228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361853569,"filename":"image_31012025_19_06_45_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333489105","file1":"1333489099","file0":"1333489096","file4":"1333489114","file5":"1333489119","file3":"1333489110"},"map_files_photo_id_array":[{"photo_id":"1333489119","filename":"file5"},{"photo_id":"1333489105","filename":"file2"},{"photo_id":"1333489114","filename":"file4"},{"photo_id":"1333489099","filename":"file1"},{"photo_id":"1333489096","filename":"file0"},{"photo_id":"1333489110","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333489114":["hashtag1","hashtag2"]},{"1333489105":["hashtag1","hashtag2"]},{"1333489119":["hashtag1","hashtag2"]},{"1333489110":["hashtag1","hashtag2"]},{"1333489096":["hashtag1","hashtag2"]},{"1333489099":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333489114, 1333489105, 1333489119, 1333489110, 1333489096, 1333489099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.129401683807373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:17:32.261683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/07/image_31012025_19_07_35_10348.jpg', '/home/pi/Desktop/images/31012025/19/07/image_31012025_19_07_44_9361.jpg', '/home/pi/Desktop/images/31012025/19/07/image_31012025_19_08_05_10356.jpg', '/home/pi/Desktop/images/31012025/19/08/image_31012025_19_08_14_9401.jpg', '/home/pi/Desktop/images/31012025/19/08/image_31012025_19_08_25_10447.jpg', '/home/pi/Desktop/images/31012025/19/08/image_31012025_19_08_34_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/07/image_31012025_19_07_35_10348.jpg
/home/pi/Desktop/images/31012025/19/07/image_31012025_19_07_44_9361.jpg
/home/pi/Desktop/images/31012025/19/07/image_31012025_19_08_05_10356.jpg
/home/pi/Desktop/images/31012025/19/08/image_31012025_19_08_14_9401.jpg
/home/pi/Desktop/images/31012025/19/08/image_31012025_19_08_25_10447.jpg
/home/pi/Desktop/images/31012025/19/08/image_31012025_19_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":["1333489155","1333489158","1333489152","1333489146","1333489149","1333489160"],"photo_ids_order":["1333489146","1333489149","1333489152","1333489155","1333489158","1333489160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e8017e09bb2ccec4f91f1c18cad7baab.jpg","text":"TemporaryFile(/tmp/multipartBody7407465737412165066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361912829,"filename":"image_31012025_19_08_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/1/31/007f65eeb618eb0ed0d4ce3077f09b5e.jpg","text":"TemporaryFile(/tmp/multipartBody7381084630802279773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361912829,"filename":"image_31012025_19_08_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/1/31/3061a5ed12e909863bdbc2b2e603b77b.jpg","text":"TemporaryFile(/tmp/multipartBody4617360710114105647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361912829,"filename":"image_31012025_19_08_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/1/31/c13d4318fb19b89369cdd8fc9056b28c.jpg","text":"TemporaryFile(/tmp/multipartBody4138869387957676701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361912829,"filename":"image_31012025_19_07_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5b6499b359e844abcd89394d1c76f815.jpg","text":"TemporaryFile(/tmp/multipartBody9189426487539791228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361912829,"filename":"image_31012025_19_07_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/1/31/ff5ba4bf56b603a5ee79152849609c86.jpg","text":"TemporaryFile(/tmp/multipartBody5203690824408401351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361912829,"filename":"image_31012025_19_08_34_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333489152","file1":"1333489149","file0":"1333489146","file4":"1333489158","file5":"1333489160","file3":"1333489155"},"map_files_photo_id_array":[{"photo_id":"1333489160","filename":"file5"},{"photo_id":"1333489152","filename":"file2"},{"photo_id":"1333489158","filename":"file4"},{"photo_id":"1333489149","filename":"file1"},{"photo_id":"1333489146","filename":"file0"},{"photo_id":"1333489155","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333489155":["hashtag1","hashtag2"]},{"1333489158":["hashtag1","hashtag2"]},{"1333489152":["hashtag1","hashtag2"]},{"1333489146":["hashtag1","hashtag2"]},{"1333489149":["hashtag1","hashtag2"]},{"1333489160":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333489155, 1333489158, 1333489152, 1333489146, 1333489149, 1333489160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.897858381271362 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:18:32.540461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/08/image_31012025_19_08_44_10354.jpg', '/home/pi/Desktop/images/31012025/19/08/image_31012025_19_08_55_10359.jpg', '/home/pi/Desktop/images/31012025/19/08/image_31012025_19_09_04_9351.jpg', '/home/pi/Desktop/images/31012025/19/09/image_31012025_19_09_15_10336.jpg', '/home/pi/Desktop/images/31012025/19/09/image_31012025_19_09_25_10356.jpg', '/home/pi/Desktop/images/31012025/19/09/image_31012025_19_09_34_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/08/image_31012025_19_08_44_10354.jpg
/home/pi/Desktop/images/31012025/19/08/image_31012025_19_08_55_10359.jpg
/home/pi/Desktop/images/31012025/19/08/image_31012025_19_09_04_9351.jpg
/home/pi/Desktop/images/31012025/19/09/image_31012025_19_09_15_10336.jpg
/home/pi/Desktop/images/31012025/19/09/image_31012025_19_09_25_10356.jpg
/home/pi/Desktop/images/31012025/19/09/image_31012025_19_09_34_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":["1333489194","1333489185","1333489181","1333489205","1333489189","1333489177"],"photo_ids_order":["1333489177","1333489181","1333489185","1333489189","1333489194","1333489205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b3dead73895a50f367b168d3dcbea2fd.jpg","text":"TemporaryFile(/tmp/multipartBody5516737693189921095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361973168,"filename":"image_31012025_19_09_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bc76a9cb2fe06fbeef0eb679769520d9.jpg","text":"TemporaryFile(/tmp/multipartBody5321421262889243440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361973168,"filename":"image_31012025_19_09_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/1/31/be59e06d9b331e4c2a50939ec606da71.jpg","text":"TemporaryFile(/tmp/multipartBody7312880008118111432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361973168,"filename":"image_31012025_19_08_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/1/31/bb9d2fbb46eecb72c1795ace5e796732.jpg","text":"TemporaryFile(/tmp/multipartBody196810496604420879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361973168,"filename":"image_31012025_19_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/1/31/85a2f21b5303fc9f1d28a7f7d78f7226.jpg","text":"TemporaryFile(/tmp/multipartBody65482463748952062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361973168,"filename":"image_31012025_19_09_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a7cc3fcd8e26d0af1fb271fa7b6a0fa7.jpg","text":"TemporaryFile(/tmp/multipartBody8734833718292284031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738361973168,"filename":"image_31012025_19_08_44_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333489185","file1":"1333489181","file0":"1333489177","file4":"1333489194","file5":"1333489205","file3":"1333489189"},"map_files_photo_id_array":[{"photo_id":"1333489205","filename":"file5"},{"photo_id":"1333489185","filename":"file2"},{"photo_id":"1333489194","filename":"file4"},{"photo_id":"1333489181","filename":"file1"},{"photo_id":"1333489177","filename":"file0"},{"photo_id":"1333489189","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333489194":["hashtag1","hashtag2"]},{"1333489185":["hashtag1","hashtag2"]},{"1333489181":["hashtag1","hashtag2"]},{"1333489205":["hashtag1","hashtag2"]},{"1333489189":["hashtag1","hashtag2"]},{"1333489177":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333489194, 1333489185, 1333489181, 1333489205, 1333489189, 1333489177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.910518884658813 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:19:32.737363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/09/image_31012025_19_09_45_10361.jpg', '/home/pi/Desktop/images/31012025/19/09/image_31012025_19_09_54_9425.jpg', '/home/pi/Desktop/images/31012025/19/09/image_31012025_19_10_04_10408.jpg', '/home/pi/Desktop/images/31012025/19/10/image_31012025_19_10_15_10341.jpg', '/home/pi/Desktop/images/31012025/19/10/image_31012025_19_10_24_9358.jpg', '/home/pi/Desktop/images/31012025/19/10/image_31012025_19_10_34_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/09/image_31012025_19_09_45_10361.jpg
/home/pi/Desktop/images/31012025/19/09/image_31012025_19_09_54_9425.jpg
/home/pi/Desktop/images/31012025/19/09/image_31012025_19_10_04_10408.jpg
/home/pi/Desktop/images/31012025/19/10/image_31012025_19_10_15_10341.jpg
/home/pi/Desktop/images/31012025/19/10/image_31012025_19_10_24_9358.jpg
/home/pi/Desktop/images/31012025/19/10/image_31012025_19_10_34_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":["1333489312","1333489323","1333489326","1333489334","1333489343","1333489330"],"photo_ids_order":["1333489312","1333489323","1333489326","1333489330","1333489334","1333489343"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bd1854e1daea7faf18e148db8fe95d3b.jpg","text":"TemporaryFile(/tmp/multipartBody9099879903630770350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362033292,"filename":"image_31012025_19_09_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/1/31/6821d005dea7d441c3ba47bc6fcc7714.jpg","text":"TemporaryFile(/tmp/multipartBody653721068196717152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362033292,"filename":"image_31012025_19_09_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/1/31/86d341f2f65da4020009d4f1f3dc92fa.jpg","text":"TemporaryFile(/tmp/multipartBody9170236878518257316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362033292,"filename":"image_31012025_19_10_04_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8aa7a6edc1f42a508b8d53fe4cb70432.jpg","text":"TemporaryFile(/tmp/multipartBody1611366865103138334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362033292,"filename":"image_31012025_19_10_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/1/31/aefa83052df48b3f88d0ed26e94e5446.jpg","text":"TemporaryFile(/tmp/multipartBody3304116564185587109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362033292,"filename":"image_31012025_19_10_34_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/713ce1fe5aa6d577a9172714f80ef8ac.jpg","text":"TemporaryFile(/tmp/multipartBody7945663283754473486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362033292,"filename":"image_31012025_19_10_15_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333489326","file1":"1333489323","file0":"1333489312","file4":"1333489334","file5":"1333489343","file3":"1333489330"},"map_files_photo_id_array":[{"photo_id":"1333489343","filename":"file5"},{"photo_id":"1333489326","filename":"file2"},{"photo_id":"1333489334","filename":"file4"},{"photo_id":"1333489323","filename":"file1"},{"photo_id":"1333489312","filename":"file0"},{"photo_id":"1333489330","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333489312":["hashtag1","hashtag2"]},{"1333489323":["hashtag1","hashtag2"]},{"1333489326":["hashtag1","hashtag2"]},{"1333489334":["hashtag1","hashtag2"]},{"1333489343":["hashtag1","hashtag2"]},{"1333489330":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333489312, 1333489323, 1333489326, 1333489334, 1333489343, 1333489330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.080629110336304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:20:33.055277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/10/image_31012025_19_10_45_10353.jpg', '/home/pi/Desktop/images/31012025/19/10/image_31012025_19_10_54_9367.jpg', '/home/pi/Desktop/images/31012025/19/10/image_31012025_19_11_05_10367.jpg', '/home/pi/Desktop/images/31012025/19/11/image_31012025_19_11_15_10385.jpg', '/home/pi/Desktop/images/31012025/19/11/image_31012025_19_11_24_9351.jpg', '/home/pi/Desktop/images/31012025/19/11/image_31012025_19_11_35_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/10/image_31012025_19_10_45_10353.jpg
/home/pi/Desktop/images/31012025/19/10/image_31012025_19_10_54_9367.jpg
/home/pi/Desktop/images/31012025/19/10/image_31012025_19_11_05_10367.jpg
/home/pi/Desktop/images/31012025/19/11/image_31012025_19_11_15_10385.jpg
/home/pi/Desktop/images/31012025/19/11/image_31012025_19_11_24_9351.jpg
/home/pi/Desktop/images/31012025/19/11/image_31012025_19_11_35_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":["1333489377","1333489362","1333489370","1333489364","1333489373","1333489366"],"photo_ids_order":["1333489362","1333489364","1333489366","1333489370","1333489373","1333489377"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4d568f826fbdc20ace974c7db0186507.jpg","text":"TemporaryFile(/tmp/multipartBody8515834083392761412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362093761,"filename":"image_31012025_19_11_35_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4e8209e48aba5d61209fbaee20c3efbb.jpg","text":"TemporaryFile(/tmp/multipartBody7535396092123023234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362093761,"filename":"image_31012025_19_10_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/1/31/48a7689d6f0554a3209b26ce95e511e8.jpg","text":"TemporaryFile(/tmp/multipartBody8858612854706015861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362093761,"filename":"image_31012025_19_11_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/1/31/70e8424c15b563a8d54c8b1568c03c6d.jpg","text":"TemporaryFile(/tmp/multipartBody1599339735191687573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362093761,"filename":"image_31012025_19_10_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/1/31/d20095752d460ca5b3c52a0fb1423582.jpg","text":"TemporaryFile(/tmp/multipartBody5865463778351125862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362093761,"filename":"image_31012025_19_11_24_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7f1cc02283fb578f48b8ceaecb210fee.jpg","text":"TemporaryFile(/tmp/multipartBody4497428672181937543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362093761,"filename":"image_31012025_19_11_05_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333489366","file1":"1333489364","file0":"1333489362","file4":"1333489373","file5":"1333489377","file3":"1333489370"},"map_files_photo_id_array":[{"photo_id":"1333489377","filename":"file5"},{"photo_id":"1333489366","filename":"file2"},{"photo_id":"1333489373","filename":"file4"},{"photo_id":"1333489364","filename":"file1"},{"photo_id":"1333489362","filename":"file0"},{"photo_id":"1333489370","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333489377":["hashtag1","hashtag2"]},{"1333489362":["hashtag1","hashtag2"]},{"1333489370":["hashtag1","hashtag2"]},{"1333489364":["hashtag1","hashtag2"]},{"1333489373":["hashtag1","hashtag2"]},{"1333489366":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333489377, 1333489362, 1333489370, 1333489364, 1333489373, 1333489366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.34044575691223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:21:32.234009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/11/image_31012025_19_11_44_9385.jpg', '/home/pi/Desktop/images/31012025/19/11/image_31012025_19_11_55_10433.jpg', '/home/pi/Desktop/images/31012025/19/11/image_31012025_19_12_04_9435.jpg', '/home/pi/Desktop/images/31012025/19/12/image_31012025_19_12_14_10354.jpg', '/home/pi/Desktop/images/31012025/19/12/image_31012025_19_12_25_10486.jpg', '/home/pi/Desktop/images/31012025/19/12/image_31012025_19_12_34_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/11/image_31012025_19_11_44_9385.jpg
/home/pi/Desktop/images/31012025/19/11/image_31012025_19_11_55_10433.jpg
/home/pi/Desktop/images/31012025/19/11/image_31012025_19_12_04_9435.jpg
/home/pi/Desktop/images/31012025/19/12/image_31012025_19_12_14_10354.jpg
/home/pi/Desktop/images/31012025/19/12/image_31012025_19_12_25_10486.jpg
/home/pi/Desktop/images/31012025/19/12/image_31012025_19_12_34_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":["1333490530","1333490526","1333490540","1333490543","1333490537","1333490534"],"photo_ids_order":["1333490526","1333490530","1333490534","1333490537","1333490540","1333490543"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/73b5aa89fee7f865b3a30d6ce228ae1c.jpg","text":"TemporaryFile(/tmp/multipartBody9184576899807961345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362152833,"filename":"image_31012025_19_11_55_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5734ab8aa7d696191637a1c4db7e7eff.jpg","text":"TemporaryFile(/tmp/multipartBody3463516471545287376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362152833,"filename":"image_31012025_19_11_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/1/31/9d9db09ec10f3704f99356daf9bc72b6.jpg","text":"TemporaryFile(/tmp/multipartBody5038403561853573587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362152833,"filename":"image_31012025_19_12_25_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0f7e2c2e6610858bd4bdf02c0b1a49b4.jpg","text":"TemporaryFile(/tmp/multipartBody6807156010080766508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362152833,"filename":"image_31012025_19_12_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/1/31/daf3eb3e024ab7d7a3a8c031b00a4bd6.jpg","text":"TemporaryFile(/tmp/multipartBody7604012834687290992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362152833,"filename":"image_31012025_19_12_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/1/31/df56e931477d22a9c394ddec0c4bf501.jpg","text":"TemporaryFile(/tmp/multipartBody7245070061292110426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362152833,"filename":"image_31012025_19_12_04_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333490534","file1":"1333490530","file0":"1333490526","file4":"1333490540","file5":"1333490543","file3":"1333490537"},"map_files_photo_id_array":[{"photo_id":"1333490543","filename":"file5"},{"photo_id":"1333490534","filename":"file2"},{"photo_id":"1333490540","filename":"file4"},{"photo_id":"1333490530","filename":"file1"},{"photo_id":"1333490526","filename":"file0"},{"photo_id":"1333490537","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333490530":["hashtag1","hashtag2"]},{"1333490526":["hashtag1","hashtag2"]},{"1333490540":["hashtag1","hashtag2"]},{"1333490543":["hashtag1","hashtag2"]},{"1333490537":["hashtag1","hashtag2"]},{"1333490534":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333490530, 1333490526, 1333490540, 1333490543, 1333490537, 1333490534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.181737184524536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:22:32.439434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/12/image_31012025_19_12_45_10393.jpg', '/home/pi/Desktop/images/31012025/19/12/image_31012025_19_12_54_9513.jpg', '/home/pi/Desktop/images/31012025/19/12/image_31012025_19_13_05_10462.jpg', '/home/pi/Desktop/images/31012025/19/13/image_31012025_19_13_14_9432.jpg', '/home/pi/Desktop/images/31012025/19/13/image_31012025_19_13_24_10377.jpg', '/home/pi/Desktop/images/31012025/19/13/image_31012025_19_13_35_10482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/12/image_31012025_19_12_45_10393.jpg
/home/pi/Desktop/images/31012025/19/12/image_31012025_19_12_54_9513.jpg
/home/pi/Desktop/images/31012025/19/12/image_31012025_19_13_05_10462.jpg
/home/pi/Desktop/images/31012025/19/13/image_31012025_19_13_14_9432.jpg
/home/pi/Desktop/images/31012025/19/13/image_31012025_19_13_24_10377.jpg
/home/pi/Desktop/images/31012025/19/13/image_31012025_19_13_35_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":["1333490872","1333490860","1333490697","1333490877","1333490592","1333490903"],"photo_ids_order":["1333490592","1333490697","1333490860","1333490872","1333490877","1333490903"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5d4ddd12a785086a42364e285419be7d.jpg","text":"TemporaryFile(/tmp/multipartBody1375354436031204688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362213068,"filename":"image_31012025_19_13_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/1/31/c663e30448f85213192e12d11b399928.jpg","text":"TemporaryFile(/tmp/multipartBody4427710439779104813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362213068,"filename":"image_31012025_19_13_05_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/004720b781e00d1e36a791175d648ff7.jpg","text":"TemporaryFile(/tmp/multipartBody5854838773682617961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362213068,"filename":"image_31012025_19_12_54_9513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e5bcf49e6f00eaa96a5b2c2393bffa24.jpg","text":"TemporaryFile(/tmp/multipartBody2267140611757401618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362213068,"filename":"image_31012025_19_13_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/1/31/4eccda91c94bcb3ce3db6cd616fa4d95.jpg","text":"TemporaryFile(/tmp/multipartBody6909541338500653072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362213068,"filename":"image_31012025_19_12_45_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c0864571642194aa009231c32c223f51.jpg","text":"TemporaryFile(/tmp/multipartBody1838771187498232984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362213068,"filename":"image_31012025_19_13_35_10482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333490860","file1":"1333490697","file0":"1333490592","file4":"1333490877","file5":"1333490903","file3":"1333490872"},"map_files_photo_id_array":[{"photo_id":"1333490903","filename":"file5"},{"photo_id":"1333490860","filename":"file2"},{"photo_id":"1333490877","filename":"file4"},{"photo_id":"1333490697","filename":"file1"},{"photo_id":"1333490592","filename":"file0"},{"photo_id":"1333490872","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333490872":["hashtag1","hashtag2"]},{"1333490860":["hashtag1","hashtag2"]},{"1333490697":["hashtag1","hashtag2"]},{"1333490877":["hashtag1","hashtag2"]},{"1333490592":["hashtag1","hashtag2"]},{"1333490903":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333490872, 1333490860, 1333490697, 1333490877, 1333490592, 1333490903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.487066984176636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:23:32.662776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/13/image_31012025_19_13_44_9357.jpg', '/home/pi/Desktop/images/31012025/19/13/image_31012025_19_13_55_10362.jpg', '/home/pi/Desktop/images/31012025/19/13/image_31012025_19_14_04_9440.jpg', '/home/pi/Desktop/images/31012025/19/14/image_31012025_19_14_14_10360.jpg', '/home/pi/Desktop/images/31012025/19/14/image_31012025_19_14_25_10460.jpg', '/home/pi/Desktop/images/31012025/19/14/image_31012025_19_14_34_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/13/image_31012025_19_13_44_9357.jpg
/home/pi/Desktop/images/31012025/19/13/image_31012025_19_13_55_10362.jpg
/home/pi/Desktop/images/31012025/19/13/image_31012025_19_14_04_9440.jpg
/home/pi/Desktop/images/31012025/19/14/image_31012025_19_14_14_10360.jpg
/home/pi/Desktop/images/31012025/19/14/image_31012025_19_14_25_10460.jpg
/home/pi/Desktop/images/31012025/19/14/image_31012025_19_14_34_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":["1333491010","1333491007","1333490991","1333491003","1333491000","1333490996"],"photo_ids_order":["1333490991","1333490996","1333491000","1333491003","1333491007","1333491010"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dead6f2bbb6c405af4a3e46841378c26.jpg","text":"TemporaryFile(/tmp/multipartBody7922997904701908639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362273222,"filename":"image_31012025_19_14_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/1/31/3721e0d9e1cd58bb337a95a58a4dbf94.jpg","text":"TemporaryFile(/tmp/multipartBody640709692932815749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362273222,"filename":"image_31012025_19_14_25_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7eb83d07f9883a9fe47115d1b2cc0312.jpg","text":"TemporaryFile(/tmp/multipartBody7695106331079604304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362273222,"filename":"image_31012025_19_13_44_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fed3ddf1c6ded4d14bddeea36eeab3ca.jpg","text":"TemporaryFile(/tmp/multipartBody6559189707230277335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362273222,"filename":"image_31012025_19_14_14_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4097383d0e4dab8ad2b6f009993ae721.jpg","text":"TemporaryFile(/tmp/multipartBody6873353538156533923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362273222,"filename":"image_31012025_19_14_04_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/09d5752a232ba8b5b464a436ccb3a054.jpg","text":"TemporaryFile(/tmp/multipartBody9024672365872743995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362273222,"filename":"image_31012025_19_13_55_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333491000","file1":"1333490996","file0":"1333490991","file4":"1333491007","file5":"1333491010","file3":"1333491003"},"map_files_photo_id_array":[{"photo_id":"1333491010","filename":"file5"},{"photo_id":"1333491000","filename":"file2"},{"photo_id":"1333491007","filename":"file4"},{"photo_id":"1333490996","filename":"file1"},{"photo_id":"1333490991","filename":"file0"},{"photo_id":"1333491003","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333491010":["hashtag1","hashtag2"]},{"1333491007":["hashtag1","hashtag2"]},{"1333490991":["hashtag1","hashtag2"]},{"1333491003":["hashtag1","hashtag2"]},{"1333491000":["hashtag1","hashtag2"]},{"1333490996":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333491010, 1333491007, 1333490991, 1333491003, 1333491000, 1333490996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.056424617767334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:24:32.956469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/14/image_31012025_19_14_44_10354.jpg', '/home/pi/Desktop/images/31012025/19/14/image_31012025_19_14_55_10452.jpg', '/home/pi/Desktop/images/31012025/19/14/image_31012025_19_15_04_9343.jpg', '/home/pi/Desktop/images/31012025/19/15/image_31012025_19_15_15_10440.jpg', '/home/pi/Desktop/images/31012025/19/15/image_31012025_19_15_24_9360.jpg', '/home/pi/Desktop/images/31012025/19/15/image_31012025_19_15_34_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/14/image_31012025_19_14_44_10354.jpg
/home/pi/Desktop/images/31012025/19/14/image_31012025_19_14_55_10452.jpg
/home/pi/Desktop/images/31012025/19/14/image_31012025_19_15_04_9343.jpg
/home/pi/Desktop/images/31012025/19/15/image_31012025_19_15_15_10440.jpg
/home/pi/Desktop/images/31012025/19/15/image_31012025_19_15_24_9360.jpg
/home/pi/Desktop/images/31012025/19/15/image_31012025_19_15_34_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":["1333491096","1333491100","1333491162","1333491102","1333491105","1333491166"],"photo_ids_order":["1333491096","1333491100","1333491102","1333491105","1333491162","1333491166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/754849561e98396e2b01ab83b7330192.jpg","text":"TemporaryFile(/tmp/multipartBody191164979999267268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362333513,"filename":"image_31012025_19_14_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/1/31/965756f3c1d357583c5d892a15210291.jpg","text":"TemporaryFile(/tmp/multipartBody7017966284534391617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362333513,"filename":"image_31012025_19_14_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/1/31/8ff28d7780ad20383aaa3d185068d548.jpg","text":"TemporaryFile(/tmp/multipartBody2221551827499237014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362333513,"filename":"image_31012025_19_15_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/1/31/5c25d23da9a0c5dc76dcd364f6891a11.jpg","text":"TemporaryFile(/tmp/multipartBody652656935030608364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362333513,"filename":"image_31012025_19_15_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/1/31/fec0ac09cea3e8c2cadc5089e410e43c.jpg","text":"TemporaryFile(/tmp/multipartBody6584899410849106120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362333513,"filename":"image_31012025_19_15_15_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1c993c87d1ec82bb2c00ac468d72e043.jpg","text":"TemporaryFile(/tmp/multipartBody244181042099892915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362333513,"filename":"image_31012025_19_15_34_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333491102","file1":"1333491100","file0":"1333491096","file4":"1333491162","file5":"1333491166","file3":"1333491105"},"map_files_photo_id_array":[{"photo_id":"1333491166","filename":"file5"},{"photo_id":"1333491102","filename":"file2"},{"photo_id":"1333491162","filename":"file4"},{"photo_id":"1333491100","filename":"file1"},{"photo_id":"1333491096","filename":"file0"},{"photo_id":"1333491105","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333491096":["hashtag1","hashtag2"]},{"1333491100":["hashtag1","hashtag2"]},{"1333491162":["hashtag1","hashtag2"]},{"1333491102":["hashtag1","hashtag2"]},{"1333491105":["hashtag1","hashtag2"]},{"1333491166":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333491096, 1333491100, 1333491162, 1333491102, 1333491105, 1333491166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.14168620109558 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:25:32.153172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/15/image_31012025_19_15_44_9460.jpg', '/home/pi/Desktop/images/31012025/19/15/image_31012025_19_15_54_10372.jpg', '/home/pi/Desktop/images/31012025/19/15/image_31012025_19_16_05_10403.jpg', '/home/pi/Desktop/images/31012025/19/16/image_31012025_19_16_14_9353.jpg', '/home/pi/Desktop/images/31012025/19/16/image_31012025_19_16_25_10423.jpg', '/home/pi/Desktop/images/31012025/19/16/image_31012025_19_16_35_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/15/image_31012025_19_15_44_9460.jpg
/home/pi/Desktop/images/31012025/19/15/image_31012025_19_15_54_10372.jpg
/home/pi/Desktop/images/31012025/19/15/image_31012025_19_16_05_10403.jpg
/home/pi/Desktop/images/31012025/19/16/image_31012025_19_16_14_9353.jpg
/home/pi/Desktop/images/31012025/19/16/image_31012025_19_16_25_10423.jpg
/home/pi/Desktop/images/31012025/19/16/image_31012025_19_16_35_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":["1333491375","1333491408","1333491491","1333491281","1333491419","1333491410"],"photo_ids_order":["1333491281","1333491375","1333491408","1333491410","1333491419","1333491491"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/db8d9716ece042e386869ece52928193.jpg","text":"TemporaryFile(/tmp/multipartBody4773422351605152885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362392695,"filename":"image_31012025_19_15_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/1/31/cfb2609930f9dd7f38181a0b7c49f49d.jpg","text":"TemporaryFile(/tmp/multipartBody7707225684624520390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362392695,"filename":"image_31012025_19_16_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/1/31/dac252b2fe5708044515f453fa60fe17.jpg","text":"TemporaryFile(/tmp/multipartBody8342981910399819352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362392695,"filename":"image_31012025_19_16_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/1/31/ebfa6d5cc7224f88c92dc1a69e5f6096.jpg","text":"TemporaryFile(/tmp/multipartBody1119014473143367687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362392695,"filename":"image_31012025_19_15_44_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8fad6ef0a8039b228bcc194480affeee.jpg","text":"TemporaryFile(/tmp/multipartBody4874919537537334209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362392695,"filename":"image_31012025_19_16_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/1/31/300727793b08c630d002db8e7c78f3de.jpg","text":"TemporaryFile(/tmp/multipartBody5539529209384245834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362392695,"filename":"image_31012025_19_16_14_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333491408","file1":"1333491375","file0":"1333491281","file4":"1333491419","file5":"1333491491","file3":"1333491410"},"map_files_photo_id_array":[{"photo_id":"1333491491","filename":"file5"},{"photo_id":"1333491408","filename":"file2"},{"photo_id":"1333491419","filename":"file4"},{"photo_id":"1333491375","filename":"file1"},{"photo_id":"1333491281","filename":"file0"},{"photo_id":"1333491410","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333491375":["hashtag1","hashtag2"]},{"1333491408":["hashtag1","hashtag2"]},{"1333491491":["hashtag1","hashtag2"]},{"1333491281":["hashtag1","hashtag2"]},{"1333491419":["hashtag1","hashtag2"]},{"1333491410":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333491375, 1333491408, 1333491491, 1333491281, 1333491419, 1333491410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.35723829269409 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:26:32.393360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/16/image_31012025_19_16_44_9352.jpg', '/home/pi/Desktop/images/31012025/19/16/image_31012025_19_16_55_10411.jpg', '/home/pi/Desktop/images/31012025/19/16/image_31012025_19_17_04_9373.jpg', '/home/pi/Desktop/images/31012025/19/17/image_31012025_19_17_14_10330.jpg', '/home/pi/Desktop/images/31012025/19/17/image_31012025_19_17_25_10423.jpg', '/home/pi/Desktop/images/31012025/19/17/image_31012025_19_17_34_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/16/image_31012025_19_16_44_9352.jpg
/home/pi/Desktop/images/31012025/19/16/image_31012025_19_16_55_10411.jpg
/home/pi/Desktop/images/31012025/19/16/image_31012025_19_17_04_9373.jpg
/home/pi/Desktop/images/31012025/19/17/image_31012025_19_17_14_10330.jpg
/home/pi/Desktop/images/31012025/19/17/image_31012025_19_17_25_10423.jpg
/home/pi/Desktop/images/31012025/19/17/image_31012025_19_17_34_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":["1333491904","1333491901","1333491864","1333491855","1333491862","1333491859"],"photo_ids_order":["1333491855","1333491859","1333491862","1333491864","1333491901","1333491904"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dc7334edf530c4b3f10746608ca161d0.jpg","text":"TemporaryFile(/tmp/multipartBody862948982943276571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362452977,"filename":"image_31012025_19_17_34_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4f42f0b5759aefa5ca43e779b2c44461.jpg","text":"TemporaryFile(/tmp/multipartBody8804242851037896261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362452977,"filename":"image_31012025_19_17_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/1/31/3facf97d139c54ba2167aacef95daa99.jpg","text":"TemporaryFile(/tmp/multipartBody1835627653079573005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362452977,"filename":"image_31012025_19_17_14_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b2e60db0b237f999835dd60a84c4722c.jpg","text":"TemporaryFile(/tmp/multipartBody3434357129443155628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362452977,"filename":"image_31012025_19_16_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/1/31/180531ae767a48c23f12ba6e13a21195.jpg","text":"TemporaryFile(/tmp/multipartBody2177976437216256411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362452977,"filename":"image_31012025_19_17_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/1/31/dfc821adeb171f231cdba1e5694a0069.jpg","text":"TemporaryFile(/tmp/multipartBody96691728743688991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362452977,"filename":"image_31012025_19_16_55_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333491862","file1":"1333491859","file0":"1333491855","file4":"1333491901","file5":"1333491904","file3":"1333491864"},"map_files_photo_id_array":[{"photo_id":"1333491904","filename":"file5"},{"photo_id":"1333491862","filename":"file2"},{"photo_id":"1333491901","filename":"file4"},{"photo_id":"1333491859","filename":"file1"},{"photo_id":"1333491855","filename":"file0"},{"photo_id":"1333491864","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333491904":["hashtag1","hashtag2"]},{"1333491901":["hashtag1","hashtag2"]},{"1333491864":["hashtag1","hashtag2"]},{"1333491855":["hashtag1","hashtag2"]},{"1333491862":["hashtag1","hashtag2"]},{"1333491859":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333491904, 1333491901, 1333491864, 1333491855, 1333491862, 1333491859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.94729208946228 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:27:32.585095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/17/image_31012025_19_17_45_10391.jpg', '/home/pi/Desktop/images/31012025/19/17/image_31012025_19_17_54_9469.jpg', '/home/pi/Desktop/images/31012025/19/17/image_31012025_19_18_04_10342.jpg', '/home/pi/Desktop/images/31012025/19/18/image_31012025_19_18_15_10397.jpg', '/home/pi/Desktop/images/31012025/19/18/image_31012025_19_18_24_9416.jpg', '/home/pi/Desktop/images/31012025/19/18/image_31012025_19_18_35_10509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/17/image_31012025_19_17_45_10391.jpg
/home/pi/Desktop/images/31012025/19/17/image_31012025_19_17_54_9469.jpg
/home/pi/Desktop/images/31012025/19/17/image_31012025_19_18_04_10342.jpg
/home/pi/Desktop/images/31012025/19/18/image_31012025_19_18_15_10397.jpg
/home/pi/Desktop/images/31012025/19/18/image_31012025_19_18_24_9416.jpg
/home/pi/Desktop/images/31012025/19/18/image_31012025_19_18_35_10509.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.47081875801086426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 23:27:42.672914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/17/image_31012025_19_17_45_10391.jpg', '/home/pi/Desktop/images/31012025/19/17/image_31012025_19_17_54_9469.jpg', '/home/pi/Desktop/images/31012025/19/17/image_31012025_19_18_04_10342.jpg', '/home/pi/Desktop/images/31012025/19/18/image_31012025_19_18_15_10397.jpg', '/home/pi/Desktop/images/31012025/19/18/image_31012025_19_18_24_9416.jpg', '/home/pi/Desktop/images/31012025/19/18/image_31012025_19_18_35_10509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/17/image_31012025_19_17_45_10391.jpg
/home/pi/Desktop/images/31012025/19/17/image_31012025_19_17_54_9469.jpg
/home/pi/Desktop/images/31012025/19/17/image_31012025_19_18_04_10342.jpg
/home/pi/Desktop/images/31012025/19/18/image_31012025_19_18_15_10397.jpg
/home/pi/Desktop/images/31012025/19/18/image_31012025_19_18_24_9416.jpg
/home/pi/Desktop/images/31012025/19/18/image_31012025_19_18_35_10509.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":["1333491948","1333491944","1333491952","1333491955","1333491940","1333491937"],"photo_ids_order":["1333491937","1333491940","1333491944","1333491948","1333491952","1333491955"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4e954b5aa3fb319c0a12ca4aaf796904.jpg","text":"TemporaryFile(/tmp/multipartBody4103683950287657901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362523137,"filename":"image_31012025_19_18_15_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4ce93809f948cef88a78a6046def5f72.jpg","text":"TemporaryFile(/tmp/multipartBody243415441131532333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362523137,"filename":"image_31012025_19_18_04_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2500c6e9111a6dc8d0adef86f5a22af3.jpg","text":"TemporaryFile(/tmp/multipartBody2559881807691742447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362523137,"filename":"image_31012025_19_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/1/31/ba770b9e480dc03f5df5b7147a982530.jpg","text":"TemporaryFile(/tmp/multipartBody476738694240569912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362523137,"filename":"image_31012025_19_18_35_10509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ea0d5ba57a4d3843a5bd5ea959bd0d8c.jpg","text":"TemporaryFile(/tmp/multipartBody1366597941875961766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362523137,"filename":"image_31012025_19_17_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/1/31/c276fee8a3ac5391567bf70e92ecc07a.jpg","text":"TemporaryFile(/tmp/multipartBody3155915412046192495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362523137,"filename":"image_31012025_19_17_45_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333491944","file1":"1333491940","file0":"1333491937","file4":"1333491952","file5":"1333491955","file3":"1333491948"},"map_files_photo_id_array":[{"photo_id":"1333491955","filename":"file5"},{"photo_id":"1333491944","filename":"file2"},{"photo_id":"1333491952","filename":"file4"},{"photo_id":"1333491940","filename":"file1"},{"photo_id":"1333491937","filename":"file0"},{"photo_id":"1333491948","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333491948":["hashtag1","hashtag2"]},{"1333491944":["hashtag1","hashtag2"]},{"1333491952":["hashtag1","hashtag2"]},{"1333491955":["hashtag1","hashtag2"]},{"1333491940":["hashtag1","hashtag2"]},{"1333491937":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333491948, 1333491944, 1333491952, 1333491955, 1333491940, 1333491937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.2721848487854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:28:32.973044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/18/image_31012025_19_18_44_9358.jpg', '/home/pi/Desktop/images/31012025/19/18/image_31012025_19_18_54_10427.jpg', '/home/pi/Desktop/images/31012025/19/18/image_31012025_19_19_05_10401.jpg', '/home/pi/Desktop/images/31012025/19/19/image_31012025_19_19_14_9324.jpg', '/home/pi/Desktop/images/31012025/19/19/image_31012025_19_19_25_10370.jpg', '/home/pi/Desktop/images/31012025/19/19/image_31012025_19_19_34_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/18/image_31012025_19_18_44_9358.jpg
/home/pi/Desktop/images/31012025/19/18/image_31012025_19_18_54_10427.jpg
/home/pi/Desktop/images/31012025/19/18/image_31012025_19_19_05_10401.jpg
/home/pi/Desktop/images/31012025/19/19/image_31012025_19_19_14_9324.jpg
/home/pi/Desktop/images/31012025/19/19/image_31012025_19_19_25_10370.jpg
/home/pi/Desktop/images/31012025/19/19/image_31012025_19_19_34_9402.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.45888447761535645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 23:28:42.898003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/18/image_31012025_19_18_44_9358.jpg', '/home/pi/Desktop/images/31012025/19/18/image_31012025_19_18_54_10427.jpg', '/home/pi/Desktop/images/31012025/19/18/image_31012025_19_19_05_10401.jpg', '/home/pi/Desktop/images/31012025/19/19/image_31012025_19_19_14_9324.jpg', '/home/pi/Desktop/images/31012025/19/19/image_31012025_19_19_25_10370.jpg', '/home/pi/Desktop/images/31012025/19/19/image_31012025_19_19_34_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/18/image_31012025_19_18_44_9358.jpg
/home/pi/Desktop/images/31012025/19/18/image_31012025_19_18_54_10427.jpg
/home/pi/Desktop/images/31012025/19/18/image_31012025_19_19_05_10401.jpg
/home/pi/Desktop/images/31012025/19/19/image_31012025_19_19_14_9324.jpg
/home/pi/Desktop/images/31012025/19/19/image_31012025_19_19_25_10370.jpg
/home/pi/Desktop/images/31012025/19/19/image_31012025_19_19_34_9402.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":["1333492044","1333492040","1333491989","1333492010","1333491998","1333492007"],"photo_ids_order":["1333491989","1333491998","1333492007","1333492010","1333492040","1333492044"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/17df81229bb9d276942a29152a6a1cbe.jpg","text":"TemporaryFile(/tmp/multipartBody8622824346005015404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362583370,"filename":"image_31012025_19_19_34_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/92eb7b6e0f73e42abe7e0216147d6450.jpg","text":"TemporaryFile(/tmp/multipartBody4787224902561628711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362583370,"filename":"image_31012025_19_19_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/1/31/3a6149ecc656b33f12d93e99a30cdb5a.jpg","text":"TemporaryFile(/tmp/multipartBody4426075766792505210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362583370,"filename":"image_31012025_19_18_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/1/31/5816bf4807f1b04a69b4f792b5314b25.jpg","text":"TemporaryFile(/tmp/multipartBody6973038080436695691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362583370,"filename":"image_31012025_19_19_14_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/65bbddb116ba9735ca6b540ee3278fd2.jpg","text":"TemporaryFile(/tmp/multipartBody5951949488391497641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362583370,"filename":"image_31012025_19_18_54_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8526ba5d54a380206fcea6009c9dcfd9.jpg","text":"TemporaryFile(/tmp/multipartBody693881506024221163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362583370,"filename":"image_31012025_19_19_05_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333492007","file1":"1333491998","file0":"1333491989","file4":"1333492040","file5":"1333492044","file3":"1333492010"},"map_files_photo_id_array":[{"photo_id":"1333492044","filename":"file5"},{"photo_id":"1333492007","filename":"file2"},{"photo_id":"1333492040","filename":"file4"},{"photo_id":"1333491998","filename":"file1"},{"photo_id":"1333491989","filename":"file0"},{"photo_id":"1333492010","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333492044":["hashtag1","hashtag2"]},{"1333492040":["hashtag1","hashtag2"]},{"1333491989":["hashtag1","hashtag2"]},{"1333492010":["hashtag1","hashtag2"]},{"1333491998":["hashtag1","hashtag2"]},{"1333492007":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333492044, 1333492040, 1333491989, 1333492010, 1333491998, 1333492007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.76680397987366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:29:33.286595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/19/image_31012025_19_19_44_10361.jpg', '/home/pi/Desktop/images/31012025/19/19/image_31012025_19_19_55_10479.jpg', '/home/pi/Desktop/images/31012025/19/19/image_31012025_19_20_04_9344.jpg', '/home/pi/Desktop/images/31012025/19/20/image_31012025_19_20_15_10366.jpg', '/home/pi/Desktop/images/31012025/19/20/image_31012025_19_20_24_9441.jpg', '/home/pi/Desktop/images/31012025/19/20/image_31012025_19_20_34_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/19/image_31012025_19_19_44_10361.jpg
/home/pi/Desktop/images/31012025/19/19/image_31012025_19_19_55_10479.jpg
/home/pi/Desktop/images/31012025/19/19/image_31012025_19_20_04_9344.jpg
/home/pi/Desktop/images/31012025/19/20/image_31012025_19_20_15_10366.jpg
/home/pi/Desktop/images/31012025/19/20/image_31012025_19_20_24_9441.jpg
/home/pi/Desktop/images/31012025/19/20/image_31012025_19_20_34_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":["1333492077","1333492085","1333492073","1333492082","1333492079","1333492087"],"photo_ids_order":["1333492073","1333492077","1333492079","1333492082","1333492085","1333492087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f1ee6c130ea887635d975139c12a182f.jpg","text":"TemporaryFile(/tmp/multipartBody8985377539675143796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362633823,"filename":"image_31012025_19_19_55_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/505769f73ca886fe707ff6b8bce4c450.jpg","text":"TemporaryFile(/tmp/multipartBody4685078260078957341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362633823,"filename":"image_31012025_19_20_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/1/31/dd7a44481a8f3bfa72ccd5d56532c097.jpg","text":"TemporaryFile(/tmp/multipartBody8664775663145246961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362633823,"filename":"image_31012025_19_19_44_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dbe5d5a4d914d224e6306d909352d4ee.jpg","text":"TemporaryFile(/tmp/multipartBody2640726578327726891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362633823,"filename":"image_31012025_19_20_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/1/31/dbcf5a0b2469fd873017a9d22e140056.jpg","text":"TemporaryFile(/tmp/multipartBody7520921482438757640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362633823,"filename":"image_31012025_19_20_04_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/98f5b8ee70aac15cd64ecf6defbb9fcc.jpg","text":"TemporaryFile(/tmp/multipartBody2927016039850600642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362633823,"filename":"image_31012025_19_20_34_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333492079","file1":"1333492077","file0":"1333492073","file4":"1333492085","file5":"1333492087","file3":"1333492082"},"map_files_photo_id_array":[{"photo_id":"1333492087","filename":"file5"},{"photo_id":"1333492079","filename":"file2"},{"photo_id":"1333492085","filename":"file4"},{"photo_id":"1333492077","filename":"file1"},{"photo_id":"1333492073","filename":"file0"},{"photo_id":"1333492082","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333492077":["hashtag1","hashtag2"]},{"1333492085":["hashtag1","hashtag2"]},{"1333492073":["hashtag1","hashtag2"]},{"1333492082":["hashtag1","hashtag2"]},{"1333492079":["hashtag1","hashtag2"]},{"1333492087":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333492077, 1333492085, 1333492073, 1333492082, 1333492079, 1333492087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46351385116577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:30:32.269224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/20/image_31012025_19_20_45_10384.jpg', '/home/pi/Desktop/images/31012025/19/20/image_31012025_19_20_54_9359.jpg', '/home/pi/Desktop/images/31012025/19/20/image_31012025_19_21_04_10359.jpg', '/home/pi/Desktop/images/31012025/19/21/image_31012025_19_21_15_10364.jpg', '/home/pi/Desktop/images/31012025/19/21/image_31012025_19_21_24_9405.jpg', '/home/pi/Desktop/images/31012025/19/21/image_31012025_19_21_35_10480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/20/image_31012025_19_20_45_10384.jpg
/home/pi/Desktop/images/31012025/19/20/image_31012025_19_20_54_9359.jpg
/home/pi/Desktop/images/31012025/19/20/image_31012025_19_21_04_10359.jpg
/home/pi/Desktop/images/31012025/19/21/image_31012025_19_21_15_10364.jpg
/home/pi/Desktop/images/31012025/19/21/image_31012025_19_21_24_9405.jpg
/home/pi/Desktop/images/31012025/19/21/image_31012025_19_21_35_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":["1333492119","1333492128","1333492110","1333492133","1333492115","1333492123"],"photo_ids_order":["1333492110","1333492115","1333492119","1333492123","1333492128","1333492133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/33f2ea15dc6c80d0a5bc8ea9f14d27e1.jpg","text":"TemporaryFile(/tmp/multipartBody2828534966372808883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362692817,"filename":"image_31012025_19_21_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/1/31/fdabcb2876b3c95e0bce2ad531f23192.jpg","text":"TemporaryFile(/tmp/multipartBody1556730235241548989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362692817,"filename":"image_31012025_19_21_24_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/94b7f9a56f4d759b6bbfb974d39d730c.jpg","text":"TemporaryFile(/tmp/multipartBody4626153683041019542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362692817,"filename":"image_31012025_19_20_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/1/31/e7ffc471d4c053ff779294ad584fd176.jpg","text":"TemporaryFile(/tmp/multipartBody1768819259505235168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362692817,"filename":"image_31012025_19_21_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/1/31/eb54b06ca5c6fa30dd35b03a4b7efeb4.jpg","text":"TemporaryFile(/tmp/multipartBody7991263797653092852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362692817,"filename":"image_31012025_19_20_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/1/31/df24429d6888b0c54fe4f3cfe8b47aae.jpg","text":"TemporaryFile(/tmp/multipartBody3736049480488295429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362692817,"filename":"image_31012025_19_21_15_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333492119","file1":"1333492115","file0":"1333492110","file4":"1333492128","file5":"1333492133","file3":"1333492123"},"map_files_photo_id_array":[{"photo_id":"1333492133","filename":"file5"},{"photo_id":"1333492119","filename":"file2"},{"photo_id":"1333492128","filename":"file4"},{"photo_id":"1333492115","filename":"file1"},{"photo_id":"1333492110","filename":"file0"},{"photo_id":"1333492123","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333492119":["hashtag1","hashtag2"]},{"1333492128":["hashtag1","hashtag2"]},{"1333492110":["hashtag1","hashtag2"]},{"1333492133":["hashtag1","hashtag2"]},{"1333492115":["hashtag1","hashtag2"]},{"1333492123":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333492119, 1333492128, 1333492110, 1333492133, 1333492115, 1333492123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.77964997291565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:31:32.556558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/21/image_31012025_19_21_44_9400.jpg', '/home/pi/Desktop/images/31012025/19/21/image_31012025_19_21_54_10360.jpg', '/home/pi/Desktop/images/31012025/19/21/image_31012025_19_22_05_10428.jpg', '/home/pi/Desktop/images/31012025/19/22/image_31012025_19_22_14_9353.jpg', '/home/pi/Desktop/images/31012025/19/22/image_31012025_19_22_25_10442.jpg', '/home/pi/Desktop/images/31012025/19/22/image_31012025_19_22_34_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/21/image_31012025_19_21_44_9400.jpg
/home/pi/Desktop/images/31012025/19/21/image_31012025_19_21_54_10360.jpg
/home/pi/Desktop/images/31012025/19/21/image_31012025_19_22_05_10428.jpg
/home/pi/Desktop/images/31012025/19/22/image_31012025_19_22_14_9353.jpg
/home/pi/Desktop/images/31012025/19/22/image_31012025_19_22_25_10442.jpg
/home/pi/Desktop/images/31012025/19/22/image_31012025_19_22_34_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":["1333492341","1333492332","1333492160","1333492157","1333492337","1333492165"],"photo_ids_order":["1333492157","1333492160","1333492165","1333492332","1333492337","1333492341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dcb95413bcceccd2a25574ed1cb1719d.jpg","text":"TemporaryFile(/tmp/multipartBody5037571861335372620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362753109,"filename":"image_31012025_19_22_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/1/31/968d028428da73115524d2b1dca5018d.jpg","text":"TemporaryFile(/tmp/multipartBody6108295323283487235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362753109,"filename":"image_31012025_19_22_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/1/31/eb51ad1fd3a12a92e3d7e3243fd1f2ac.jpg","text":"TemporaryFile(/tmp/multipartBody556096572869737849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362753109,"filename":"image_31012025_19_21_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/1/31/3180e6b740deca2999e07321a603e703.jpg","text":"TemporaryFile(/tmp/multipartBody1084830904797576714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362753109,"filename":"image_31012025_19_21_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/1/31/c08d2d70fc430372cd8f017e856b807f.jpg","text":"TemporaryFile(/tmp/multipartBody630903563117597568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362753109,"filename":"image_31012025_19_22_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/1/31/5980b8f8102eb88b54dd44fdc926057f.jpg","text":"TemporaryFile(/tmp/multipartBody7872183096037427228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362753109,"filename":"image_31012025_19_22_05_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333492165","file1":"1333492160","file0":"1333492157","file4":"1333492337","file5":"1333492341","file3":"1333492332"},"map_files_photo_id_array":[{"photo_id":"1333492341","filename":"file5"},{"photo_id":"1333492165","filename":"file2"},{"photo_id":"1333492337","filename":"file4"},{"photo_id":"1333492160","filename":"file1"},{"photo_id":"1333492157","filename":"file0"},{"photo_id":"1333492332","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333492341":["hashtag1","hashtag2"]},{"1333492332":["hashtag1","hashtag2"]},{"1333492160":["hashtag1","hashtag2"]},{"1333492157":["hashtag1","hashtag2"]},{"1333492337":["hashtag1","hashtag2"]},{"1333492165":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333492341, 1333492332, 1333492160, 1333492157, 1333492337, 1333492165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.455811023712158 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:32:32.701817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/22/image_31012025_19_22_44_10435.jpg', '/home/pi/Desktop/images/31012025/19/22/image_31012025_19_22_55_10364.jpg', '/home/pi/Desktop/images/31012025/19/22/image_31012025_19_23_04_9348.jpg', '/home/pi/Desktop/images/31012025/19/23/image_31012025_19_23_15_10349.jpg', '/home/pi/Desktop/images/31012025/19/23/image_31012025_19_23_24_9415.jpg', '/home/pi/Desktop/images/31012025/19/23/image_31012025_19_23_34_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/22/image_31012025_19_22_44_10435.jpg
/home/pi/Desktop/images/31012025/19/22/image_31012025_19_22_55_10364.jpg
/home/pi/Desktop/images/31012025/19/22/image_31012025_19_23_04_9348.jpg
/home/pi/Desktop/images/31012025/19/23/image_31012025_19_23_15_10349.jpg
/home/pi/Desktop/images/31012025/19/23/image_31012025_19_23_24_9415.jpg
/home/pi/Desktop/images/31012025/19/23/image_31012025_19_23_34_10409.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":["1333492518","1333492514","1333492523","1333492531","1333492534","1333492528"],"photo_ids_order":["1333492514","1333492518","1333492523","1333492528","1333492531","1333492534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/181cad5c3d93ed6d6f53c684d1ca354f.jpg","text":"TemporaryFile(/tmp/multipartBody2527108086203869198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362813269,"filename":"image_31012025_19_22_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/1/31/c73fc707a5741e2a3b793cddd9a4b452.jpg","text":"TemporaryFile(/tmp/multipartBody6027540322591448735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362813269,"filename":"image_31012025_19_22_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/1/31/2953bab0c56dbd19e4480216b887908b.jpg","text":"TemporaryFile(/tmp/multipartBody3161106677060018051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362813269,"filename":"image_31012025_19_23_04_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/33f41845046c2a6ccd92100bb2d152b1.jpg","text":"TemporaryFile(/tmp/multipartBody9201896031967323941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362813269,"filename":"image_31012025_19_23_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/1/31/3198b053f3c86a61f58abf1265c9ff3e.jpg","text":"TemporaryFile(/tmp/multipartBody7448998615515789542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362813269,"filename":"image_31012025_19_23_34_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/db6bebbe778a6188aa72369b0ac60388.jpg","text":"TemporaryFile(/tmp/multipartBody3830984915092436285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362813269,"filename":"image_31012025_19_23_15_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333492523","file1":"1333492518","file0":"1333492514","file4":"1333492531","file5":"1333492534","file3":"1333492528"},"map_files_photo_id_array":[{"photo_id":"1333492534","filename":"file5"},{"photo_id":"1333492523","filename":"file2"},{"photo_id":"1333492531","filename":"file4"},{"photo_id":"1333492518","filename":"file1"},{"photo_id":"1333492514","filename":"file0"},{"photo_id":"1333492528","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333492518":["hashtag1","hashtag2"]},{"1333492514":["hashtag1","hashtag2"]},{"1333492523":["hashtag1","hashtag2"]},{"1333492531":["hashtag1","hashtag2"]},{"1333492534":["hashtag1","hashtag2"]},{"1333492528":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333492518, 1333492514, 1333492523, 1333492531, 1333492534, 1333492528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.499778509140015 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-01-31 23:33:32.989888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/23/image_31012025_19_23_45_10417.jpg', '/home/pi/Desktop/images/31012025/19/23/image_31012025_19_23_54_9436.jpg', '/home/pi/Desktop/images/31012025/19/23/image_31012025_19_24_05_10374.jpg', '/home/pi/Desktop/images/31012025/19/24/image_31012025_19_24_14_9348.jpg', '/home/pi/Desktop/images/31012025/19/24/image_31012025_19_24_24_10373.jpg', '/home/pi/Desktop/images/31012025/19/24/image_31012025_19_24_35_10505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/23/image_31012025_19_23_45_10417.jpg
/home/pi/Desktop/images/31012025/19/23/image_31012025_19_23_54_9436.jpg
/home/pi/Desktop/images/31012025/19/23/image_31012025_19_24_05_10374.jpg
/home/pi/Desktop/images/31012025/19/24/image_31012025_19_24_14_9348.jpg
/home/pi/Desktop/images/31012025/19/24/image_31012025_19_24_24_10373.jpg
/home/pi/Desktop/images/31012025/19/24/image_31012025_19_24_35_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":["1333492632","1333492614","1333492617","1333492625","1333492628","1333492606"],"photo_ids_order":["1333492606","1333492614","1333492617","1333492625","1333492628","1333492632"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ea8b80ff59a45f41eee99fa8c0c89838.jpg","text":"TemporaryFile(/tmp/multipartBody4822783587829689690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362873525,"filename":"image_31012025_19_24_35_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f93e3986eff24059d95375fd89e32973.jpg","text":"TemporaryFile(/tmp/multipartBody6639195231384538563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362873525,"filename":"image_31012025_19_23_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/1/31/30db0374fd79fcc86ee9838f6541b05d.jpg","text":"TemporaryFile(/tmp/multipartBody778313404124090991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362873525,"filename":"image_31012025_19_24_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/1/31/2948b4faee2bde2da642080a1ef2922b.jpg","text":"TemporaryFile(/tmp/multipartBody8865015527278799382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362873525,"filename":"image_31012025_19_24_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/1/31/c13a054eff35ffa56b5cdb866b59cd25.jpg","text":"TemporaryFile(/tmp/multipartBody976272780225677706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362873525,"filename":"image_31012025_19_24_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/1/31/094af16e994003162b26e39d7416b7f9.jpg","text":"TemporaryFile(/tmp/multipartBody8581376037166205660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362873525,"filename":"image_31012025_19_23_45_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333492617","file1":"1333492614","file0":"1333492606","file4":"1333492628","file5":"1333492632","file3":"1333492625"},"map_files_photo_id_array":[{"photo_id":"1333492632","filename":"file5"},{"photo_id":"1333492617","filename":"file2"},{"photo_id":"1333492628","filename":"file4"},{"photo_id":"1333492614","filename":"file1"},{"photo_id":"1333492606","filename":"file0"},{"photo_id":"1333492625","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333492632":["hashtag1","hashtag2"]},{"1333492614":["hashtag1","hashtag2"]},{"1333492617":["hashtag1","hashtag2"]},{"1333492625":["hashtag1","hashtag2"]},{"1333492628":["hashtag1","hashtag2"]},{"1333492606":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333492632, 1333492614, 1333492617, 1333492625, 1333492628, 1333492606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.085290670394897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:34:32.183849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/24/image_31012025_19_24_44_9355.jpg', '/home/pi/Desktop/images/31012025/19/24/image_31012025_19_24_55_10365.jpg', '/home/pi/Desktop/images/31012025/19/25/image_31012025_19_25_34_9353.jpg', '/home/pi/Desktop/images/31012025/19/25/image_31012025_19_25_45_10444.jpg', '/home/pi/Desktop/images/31012025/19/25/image_31012025_19_25_54_9401.jpg', '/home/pi/Desktop/images/31012025/19/25/image_31012025_19_26_04_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/24/image_31012025_19_24_44_9355.jpg
/home/pi/Desktop/images/31012025/19/24/image_31012025_19_24_55_10365.jpg
/home/pi/Desktop/images/31012025/19/25/image_31012025_19_25_34_9353.jpg
/home/pi/Desktop/images/31012025/19/25/image_31012025_19_25_45_10444.jpg
/home/pi/Desktop/images/31012025/19/25/image_31012025_19_25_54_9401.jpg
/home/pi/Desktop/images/31012025/19/25/image_31012025_19_26_04_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":["1333492766","1333492727","1333492741","1333492735","1333492738","1333492732"],"photo_ids_order":["1333492727","1333492732","1333492735","1333492738","1333492741","1333492766"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d0f33fe52382fa13683ae4b341a94293.jpg","text":"TemporaryFile(/tmp/multipartBody8103911874864099212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362932712,"filename":"image_31012025_19_26_04_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a672b17af7b2ac7b7809761e15dc3da5.jpg","text":"TemporaryFile(/tmp/multipartBody1112513488299697105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362932712,"filename":"image_31012025_19_24_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/1/31/354fccabe9c5432defe677d5cd5adc51.jpg","text":"TemporaryFile(/tmp/multipartBody379043500416204229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362932712,"filename":"image_31012025_19_25_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/1/31/9103a970b8033c67443d9334fcaa37c9.jpg","text":"TemporaryFile(/tmp/multipartBody1347503068859732225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362932712,"filename":"image_31012025_19_25_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/1/31/c10805c73610fbf60ad3ec3badb1fac3.jpg","text":"TemporaryFile(/tmp/multipartBody4517638999531308836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362932712,"filename":"image_31012025_19_25_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/1/31/9bb1de718a89b62ae8ab83e7a0df9955.jpg","text":"TemporaryFile(/tmp/multipartBody3148497378022467728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362932712,"filename":"image_31012025_19_24_55_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333492735","file1":"1333492732","file0":"1333492727","file4":"1333492741","file5":"1333492766","file3":"1333492738"},"map_files_photo_id_array":[{"photo_id":"1333492766","filename":"file5"},{"photo_id":"1333492735","filename":"file2"},{"photo_id":"1333492741","filename":"file4"},{"photo_id":"1333492732","filename":"file1"},{"photo_id":"1333492727","filename":"file0"},{"photo_id":"1333492738","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333492766":["hashtag1","hashtag2"]},{"1333492727":["hashtag1","hashtag2"]},{"1333492741":["hashtag1","hashtag2"]},{"1333492735":["hashtag1","hashtag2"]},{"1333492738":["hashtag1","hashtag2"]},{"1333492732":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333492766, 1333492727, 1333492741, 1333492735, 1333492738, 1333492732)","result":[],"list_datou_current":[]}'
Result OK !
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1333492735 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31012025/19/25/image_31012025_19_25_34_9353.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 53.71425676345825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:35:32.441742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/26/image_31012025_19_26_15_10402.jpg', '/home/pi/Desktop/images/31012025/19/26/image_31012025_19_26_34_10374.jpg', '/home/pi/Desktop/images/31012025/19/26/image_31012025_19_26_45_10474.jpg', '/home/pi/Desktop/images/31012025/19/26/image_31012025_19_26_54_9337.jpg', '/home/pi/Desktop/images/31012025/19/27/image_31012025_19_27_14_9344.jpg', '/home/pi/Desktop/images/31012025/19/27/image_31012025_19_27_24_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/26/image_31012025_19_26_15_10402.jpg
/home/pi/Desktop/images/31012025/19/26/image_31012025_19_26_34_10374.jpg
/home/pi/Desktop/images/31012025/19/26/image_31012025_19_26_45_10474.jpg
/home/pi/Desktop/images/31012025/19/26/image_31012025_19_26_54_9337.jpg
/home/pi/Desktop/images/31012025/19/27/image_31012025_19_27_14_9344.jpg
/home/pi/Desktop/images/31012025/19/27/image_31012025_19_27_24_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":["1333492857","1333492851","1333492854","1333492862","1333492864","1333492860"],"photo_ids_order":["1333492851","1333492854","1333492857","1333492860","1333492862","1333492864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d676474b4d44a70c95e5cdb61cd702e7.jpg","text":"TemporaryFile(/tmp/multipartBody3937237426179266623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362993012,"filename":"image_31012025_19_26_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/1/31/cf9aa2b4ea175f3f86a75948e1f4e9a4.jpg","text":"TemporaryFile(/tmp/multipartBody4798255451638858549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362993012,"filename":"image_31012025_19_26_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/1/31/dc714cda95c8d3885c9f1e38a75c104e.jpg","text":"TemporaryFile(/tmp/multipartBody167737529278029687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362993012,"filename":"image_31012025_19_26_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/1/31/ce38114c457076269b18ebe7f1b09d40.jpg","text":"TemporaryFile(/tmp/multipartBody2608189005049238735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362993012,"filename":"image_31012025_19_27_14_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e76a9dd2f43b25d9f68cbf4981e1f926.jpg","text":"TemporaryFile(/tmp/multipartBody1541205866986609020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362993012,"filename":"image_31012025_19_27_24_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dfa76bb9ae0f5c6b3be49e828726f136.jpg","text":"TemporaryFile(/tmp/multipartBody1965070630811978611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738362993012,"filename":"image_31012025_19_26_54_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333492857","file1":"1333492854","file0":"1333492851","file4":"1333492862","file5":"1333492864","file3":"1333492860"},"map_files_photo_id_array":[{"photo_id":"1333492864","filename":"file5"},{"photo_id":"1333492857","filename":"file2"},{"photo_id":"1333492862","filename":"file4"},{"photo_id":"1333492854","filename":"file1"},{"photo_id":"1333492851","filename":"file0"},{"photo_id":"1333492860","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333492857":["hashtag1","hashtag2"]},{"1333492851":["hashtag1","hashtag2"]},{"1333492854":["hashtag1","hashtag2"]},{"1333492862":["hashtag1","hashtag2"]},{"1333492864":["hashtag1","hashtag2"]},{"1333492860":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333492857, 1333492851, 1333492854, 1333492862, 1333492864, 1333492860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.722662925720215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:36:32.614710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/27/image_31012025_19_27_44_9353.jpg', '/home/pi/Desktop/images/31012025/19/28/image_31012025_19_28_34_9336.jpg', '/home/pi/Desktop/images/31012025/19/28/image_31012025_19_28_45_10348.jpg', '/home/pi/Desktop/images/31012025/19/28/image_31012025_19_29_04_10353.jpg', '/home/pi/Desktop/images/31012025/19/29/image_31012025_19_29_15_10392.jpg', '/home/pi/Desktop/images/31012025/19/29/image_31012025_19_29_24_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/27/image_31012025_19_27_44_9353.jpg
/home/pi/Desktop/images/31012025/19/28/image_31012025_19_28_34_9336.jpg
/home/pi/Desktop/images/31012025/19/28/image_31012025_19_28_45_10348.jpg
/home/pi/Desktop/images/31012025/19/28/image_31012025_19_29_04_10353.jpg
/home/pi/Desktop/images/31012025/19/29/image_31012025_19_29_15_10392.jpg
/home/pi/Desktop/images/31012025/19/29/image_31012025_19_29_24_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":["1333493316","1333493399","1333493237","1333493242","1333493248","1333493253"],"photo_ids_order":["1333493237","1333493242","1333493248","1333493253","1333493316","1333493399"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1bdbb54aff92bcd6ec398961e9bcb3e9.jpg","text":"TemporaryFile(/tmp/multipartBody1142113932679051152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363053153,"filename":"image_31012025_19_29_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/1/31/24c9ccde95e8bbbb41e997dfe070546b.jpg","text":"TemporaryFile(/tmp/multipartBody7019662758351100576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363053153,"filename":"image_31012025_19_29_24_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/24765073e3460fda0258e4e78006fc3a.jpg","text":"TemporaryFile(/tmp/multipartBody3548451920922829654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363053153,"filename":"image_31012025_19_27_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/1/31/66304857b5a51a44b7580685e83d5c18.jpg","text":"TemporaryFile(/tmp/multipartBody8755381420959740659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363053153,"filename":"image_31012025_19_28_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/1/31/04b49f5afa7c8184037dfd387996893c.jpg","text":"TemporaryFile(/tmp/multipartBody5872641048289492445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363053153,"filename":"image_31012025_19_28_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/1/31/c0a2a40ddcdcb0fc1f808e7eaff0b728.jpg","text":"TemporaryFile(/tmp/multipartBody7426461776108096880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363053153,"filename":"image_31012025_19_29_04_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333493248","file1":"1333493242","file0":"1333493237","file4":"1333493316","file5":"1333493399","file3":"1333493253"},"map_files_photo_id_array":[{"photo_id":"1333493399","filename":"file5"},{"photo_id":"1333493248","filename":"file2"},{"photo_id":"1333493316","filename":"file4"},{"photo_id":"1333493242","filename":"file1"},{"photo_id":"1333493237","filename":"file0"},{"photo_id":"1333493253","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333493316":["hashtag1","hashtag2"]},{"1333493399":["hashtag1","hashtag2"]},{"1333493237":["hashtag1","hashtag2"]},{"1333493242":["hashtag1","hashtag2"]},{"1333493248":["hashtag1","hashtag2"]},{"1333493253":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333493316, 1333493399, 1333493237, 1333493242, 1333493248, 1333493253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.661856174468994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:37:32.937146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/29/image_31012025_19_29_34_10365.jpg', '/home/pi/Desktop/images/31012025/19/29/image_31012025_19_29_45_10450.jpg', '/home/pi/Desktop/images/31012025/19/29/image_31012025_19_29_54_9347.jpg', '/home/pi/Desktop/images/31012025/19/29/image_31012025_19_30_05_10463.jpg', '/home/pi/Desktop/images/31012025/19/30/image_31012025_19_30_14_9368.jpg', '/home/pi/Desktop/images/31012025/19/30/image_31012025_19_30_35_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/29/image_31012025_19_29_34_10365.jpg
/home/pi/Desktop/images/31012025/19/29/image_31012025_19_29_45_10450.jpg
/home/pi/Desktop/images/31012025/19/29/image_31012025_19_29_54_9347.jpg
/home/pi/Desktop/images/31012025/19/29/image_31012025_19_30_05_10463.jpg
/home/pi/Desktop/images/31012025/19/30/image_31012025_19_30_14_9368.jpg
/home/pi/Desktop/images/31012025/19/30/image_31012025_19_30_35_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":["1333493541","1333493561","1333493564","1333493595","1333493506","1333493553"],"photo_ids_order":["1333493506","1333493541","1333493553","1333493561","1333493564","1333493595"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/46960f343c7b7f5612d27693a6c9f43f.jpg","text":"TemporaryFile(/tmp/multipartBody1796934916151372223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363113492,"filename":"image_31012025_19_29_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/1/31/383c4bd2020f864e28411b2fb5a82502.jpg","text":"TemporaryFile(/tmp/multipartBody262892978922423151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363113492,"filename":"image_31012025_19_30_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/1/31/6701bf437a08659b1d28aff768645a52.jpg","text":"TemporaryFile(/tmp/multipartBody2179357704967963936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363113492,"filename":"image_31012025_19_30_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/1/31/e906b97d6163e3dbe1331094580adc2b.jpg","text":"TemporaryFile(/tmp/multipartBody2890878220672494253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363113492,"filename":"image_31012025_19_30_35_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/911cc74103593bcaa8d1c0661e3ba5a1.jpg","text":"TemporaryFile(/tmp/multipartBody8205107208674243800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363113492,"filename":"image_31012025_19_29_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/1/31/b2e1c6c44f7df15d78b59cb9f46dee50.jpg","text":"TemporaryFile(/tmp/multipartBody7042592993933436498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363113492,"filename":"image_31012025_19_29_54_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333493553","file1":"1333493541","file0":"1333493506","file4":"1333493564","file5":"1333493595","file3":"1333493561"},"map_files_photo_id_array":[{"photo_id":"1333493595","filename":"file5"},{"photo_id":"1333493553","filename":"file2"},{"photo_id":"1333493564","filename":"file4"},{"photo_id":"1333493541","filename":"file1"},{"photo_id":"1333493506","filename":"file0"},{"photo_id":"1333493561","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333493541":["hashtag1","hashtag2"]},{"1333493561":["hashtag1","hashtag2"]},{"1333493564":["hashtag1","hashtag2"]},{"1333493595":["hashtag1","hashtag2"]},{"1333493506":["hashtag1","hashtag2"]},{"1333493553":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333493541, 1333493561, 1333493564, 1333493595, 1333493506, 1333493553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.806390523910522 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:38:33.175246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/30/image_31012025_19_30_55_10413.jpg', '/home/pi/Desktop/images/31012025/19/30/image_31012025_19_31_04_9391.jpg', '/home/pi/Desktop/images/31012025/19/31/image_31012025_19_31_14_10339.jpg', '/home/pi/Desktop/images/31012025/19/31/image_31012025_19_31_25_10426.jpg', '/home/pi/Desktop/images/31012025/19/31/image_31012025_19_31_34_9341.jpg', '/home/pi/Desktop/images/31012025/19/31/image_31012025_19_31_45_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/30/image_31012025_19_30_55_10413.jpg
/home/pi/Desktop/images/31012025/19/30/image_31012025_19_31_04_9391.jpg
/home/pi/Desktop/images/31012025/19/31/image_31012025_19_31_14_10339.jpg
/home/pi/Desktop/images/31012025/19/31/image_31012025_19_31_25_10426.jpg
/home/pi/Desktop/images/31012025/19/31/image_31012025_19_31_34_9341.jpg
/home/pi/Desktop/images/31012025/19/31/image_31012025_19_31_45_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":["1333493721","1333493729","1333493723","1333493726","1333493734","1333493719"],"photo_ids_order":["1333493719","1333493721","1333493723","1333493726","1333493729","1333493734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0ca416450691f7d1ecf916d91fb8dd9f.jpg","text":"TemporaryFile(/tmp/multipartBody259133729295704164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363173727,"filename":"image_31012025_19_31_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/1/31/df2c100aaa186139279838baf851498b.jpg","text":"TemporaryFile(/tmp/multipartBody6672028009892293587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363173727,"filename":"image_31012025_19_31_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/1/31/9d3e7db0cfd07d7453c2a1b37b5a9b55.jpg","text":"TemporaryFile(/tmp/multipartBody8846440084951244728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363173727,"filename":"image_31012025_19_31_14_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/482d18f30a4cc3aa738af4f405b3bb8f.jpg","text":"TemporaryFile(/tmp/multipartBody9177654574371935441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363173727,"filename":"image_31012025_19_31_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/1/31/0c84882cff592474c36f53117620acac.jpg","text":"TemporaryFile(/tmp/multipartBody1989471144556281239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363173727,"filename":"image_31012025_19_31_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/1/31/186151590cde1fb3e6ad07c2829fc73e.jpg","text":"TemporaryFile(/tmp/multipartBody391631087687197429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363173727,"filename":"image_31012025_19_30_55_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333493723","file1":"1333493721","file0":"1333493719","file4":"1333493729","file5":"1333493734","file3":"1333493726"},"map_files_photo_id_array":[{"photo_id":"1333493734","filename":"file5"},{"photo_id":"1333493723","filename":"file2"},{"photo_id":"1333493729","filename":"file4"},{"photo_id":"1333493721","filename":"file1"},{"photo_id":"1333493719","filename":"file0"},{"photo_id":"1333493726","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333493721":["hashtag1","hashtag2"]},{"1333493729":["hashtag1","hashtag2"]},{"1333493723":["hashtag1","hashtag2"]},{"1333493726":["hashtag1","hashtag2"]},{"1333493734":["hashtag1","hashtag2"]},{"1333493719":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333493721, 1333493729, 1333493723, 1333493726, 1333493734, 1333493719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13596296310425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:39:32.430406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/31/image_31012025_19_31_55_10347.jpg', '/home/pi/Desktop/images/31012025/19/32/image_31012025_19_32_15_10367.jpg', '/home/pi/Desktop/images/31012025/19/32/image_31012025_19_32_24_9448.jpg', '/home/pi/Desktop/images/31012025/19/32/image_31012025_19_32_34_10354.jpg', '/home/pi/Desktop/images/31012025/19/32/image_31012025_19_32_54_9389.jpg', '/home/pi/Desktop/images/31012025/19/32/image_31012025_19_33_05_10532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/31/image_31012025_19_31_55_10347.jpg
/home/pi/Desktop/images/31012025/19/32/image_31012025_19_32_15_10367.jpg
/home/pi/Desktop/images/31012025/19/32/image_31012025_19_32_24_9448.jpg
/home/pi/Desktop/images/31012025/19/32/image_31012025_19_32_34_10354.jpg
/home/pi/Desktop/images/31012025/19/32/image_31012025_19_32_54_9389.jpg
/home/pi/Desktop/images/31012025/19/32/image_31012025_19_33_05_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":["1333494353","1333494137","1333494026","1333493942","1333494262","1333493902"],"photo_ids_order":["1333493902","1333493942","1333494026","1333494137","1333494262","1333494353"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1de5e2e3a782f48778f29273bf12def8.jpg","text":"TemporaryFile(/tmp/multipartBody1691005280716050632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363236552,"filename":"image_31012025_19_33_05_10532.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f8b8c3cda85451bb714b5d2b884b0a52.jpg","text":"TemporaryFile(/tmp/multipartBody3621410067072176296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363236552,"filename":"image_31012025_19_32_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/1/31/bbfa294ece6245db2ea30cbf7f29b392.jpg","text":"TemporaryFile(/tmp/multipartBody2819579044652981914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363236552,"filename":"image_31012025_19_32_24_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5c37e9476dac6a571c2a3a8721cf62f6.jpg","text":"TemporaryFile(/tmp/multipartBody2113933371390466471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363236552,"filename":"image_31012025_19_32_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/1/31/be168f4818d7e06cf17874d87ab15be2.jpg","text":"TemporaryFile(/tmp/multipartBody1226686585082150033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363236552,"filename":"image_31012025_19_32_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/1/31/b22e1396df1c3ea1e36735036e8e2445.jpg","text":"TemporaryFile(/tmp/multipartBody1099410052807909225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363236552,"filename":"image_31012025_19_31_55_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333494026","file1":"1333493942","file0":"1333493902","file4":"1333494262","file5":"1333494353","file3":"1333494137"},"map_files_photo_id_array":[{"photo_id":"1333494353","filename":"file5"},{"photo_id":"1333494026","filename":"file2"},{"photo_id":"1333494262","filename":"file4"},{"photo_id":"1333493942","filename":"file1"},{"photo_id":"1333493902","filename":"file0"},{"photo_id":"1333494137","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333494353":["hashtag1","hashtag2"]},{"1333494137":["hashtag1","hashtag2"]},{"1333494026":["hashtag1","hashtag2"]},{"1333493942":["hashtag1","hashtag2"]},{"1333494262":["hashtag1","hashtag2"]},{"1333493902":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333494353, 1333494137, 1333494026, 1333493942, 1333494262, 1333493902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.058313846588135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:40:32.754135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/33/image_31012025_19_33_14_9448.jpg', '/home/pi/Desktop/images/31012025/19/33/image_31012025_19_33_25_10352.jpg', '/home/pi/Desktop/images/31012025/19/33/image_31012025_19_33_35_10420.jpg', '/home/pi/Desktop/images/31012025/19/33/image_31012025_19_33_44_9348.jpg', '/home/pi/Desktop/images/31012025/19/33/image_31012025_19_33_55_10415.jpg', '/home/pi/Desktop/images/31012025/19/33/image_31012025_19_34_04_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/33/image_31012025_19_33_14_9448.jpg
/home/pi/Desktop/images/31012025/19/33/image_31012025_19_33_25_10352.jpg
/home/pi/Desktop/images/31012025/19/33/image_31012025_19_33_35_10420.jpg
/home/pi/Desktop/images/31012025/19/33/image_31012025_19_33_44_9348.jpg
/home/pi/Desktop/images/31012025/19/33/image_31012025_19_33_55_10415.jpg
/home/pi/Desktop/images/31012025/19/33/image_31012025_19_34_04_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":["1333495492","1333495261","1333495576","1333495378","1333495176","1333495682"],"photo_ids_order":["1333495176","1333495261","1333495378","1333495492","1333495576","1333495682"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c7c5117513bf612ee36cd6ed41662bd5.jpg","text":"TemporaryFile(/tmp/multipartBody350696228498362525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363293300,"filename":"image_31012025_19_33_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/1/31/1f767226b09ca9fe1957e781f67ba0dd.jpg","text":"TemporaryFile(/tmp/multipartBody1290667764932865407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363293300,"filename":"image_31012025_19_33_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/1/31/b2be1a2519cd1380d769174b25514ccb.jpg","text":"TemporaryFile(/tmp/multipartBody6140622944475820865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363293300,"filename":"image_31012025_19_33_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/1/31/870a205b36368d1fb4b378b47ace9140.jpg","text":"TemporaryFile(/tmp/multipartBody1220826763160234097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363293300,"filename":"image_31012025_19_33_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/1/31/0f34ed030fecac342fded84830e78779.jpg","text":"TemporaryFile(/tmp/multipartBody629780520862375533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363293300,"filename":"image_31012025_19_33_14_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f42612d9492c51c565a29a8bfd0f9f18.jpg","text":"TemporaryFile(/tmp/multipartBody1624459943769338247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363293300,"filename":"image_31012025_19_34_04_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333495378","file1":"1333495261","file0":"1333495176","file4":"1333495576","file5":"1333495682","file3":"1333495492"},"map_files_photo_id_array":[{"photo_id":"1333495682","filename":"file5"},{"photo_id":"1333495378","filename":"file2"},{"photo_id":"1333495576","filename":"file4"},{"photo_id":"1333495261","filename":"file1"},{"photo_id":"1333495176","filename":"file0"},{"photo_id":"1333495492","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333495492":["hashtag1","hashtag2"]},{"1333495261":["hashtag1","hashtag2"]},{"1333495576":["hashtag1","hashtag2"]},{"1333495378":["hashtag1","hashtag2"]},{"1333495176":["hashtag1","hashtag2"]},{"1333495682":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333495492, 1333495261, 1333495576, 1333495378, 1333495176, 1333495682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.328598737716675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:41:32.943441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/34/image_31012025_19_34_14_10359.jpg', '/home/pi/Desktop/images/31012025/19/34/image_31012025_19_34_25_10369.jpg', '/home/pi/Desktop/images/31012025/19/34/image_31012025_19_34_34_9342.jpg', '/home/pi/Desktop/images/31012025/19/34/image_31012025_19_34_44_10360.jpg', '/home/pi/Desktop/images/31012025/19/34/image_31012025_19_34_55_10457.jpg', '/home/pi/Desktop/images/31012025/19/34/image_31012025_19_35_04_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/34/image_31012025_19_34_14_10359.jpg
/home/pi/Desktop/images/31012025/19/34/image_31012025_19_34_25_10369.jpg
/home/pi/Desktop/images/31012025/19/34/image_31012025_19_34_34_9342.jpg
/home/pi/Desktop/images/31012025/19/34/image_31012025_19_34_44_10360.jpg
/home/pi/Desktop/images/31012025/19/34/image_31012025_19_34_55_10457.jpg
/home/pi/Desktop/images/31012025/19/34/image_31012025_19_35_04_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":["1333495925","1333495945","1333495915","1333495941","1333495934","1333495937"],"photo_ids_order":["1333495915","1333495925","1333495934","1333495937","1333495941","1333495945"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/97865abaae07ddfda931efcff2a4b17b.jpg","text":"TemporaryFile(/tmp/multipartBody5661917142535575509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363353489,"filename":"image_31012025_19_34_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/1/31/088f0b51595bc4547ec71d2b08480d04.jpg","text":"TemporaryFile(/tmp/multipartBody56253078322241171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363353489,"filename":"image_31012025_19_35_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/1/31/f2e9e719514cf005799be71ec6506a85.jpg","text":"TemporaryFile(/tmp/multipartBody7361551957327523065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363353489,"filename":"image_31012025_19_34_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/1/31/ef39e04f02ac064628c7de037f7853cf.jpg","text":"TemporaryFile(/tmp/multipartBody7887896689480370587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363353489,"filename":"image_31012025_19_34_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/1/31/73f88ca24ed8bbc42be3f91c234dc896.jpg","text":"TemporaryFile(/tmp/multipartBody4867518437782286593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363353489,"filename":"image_31012025_19_34_34_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/cc8dc66814c572c05d55c16c93777175.jpg","text":"TemporaryFile(/tmp/multipartBody2736236696092284549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363353489,"filename":"image_31012025_19_34_44_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333495934","file1":"1333495925","file0":"1333495915","file4":"1333495941","file5":"1333495945","file3":"1333495937"},"map_files_photo_id_array":[{"photo_id":"1333495945","filename":"file5"},{"photo_id":"1333495934","filename":"file2"},{"photo_id":"1333495941","filename":"file4"},{"photo_id":"1333495925","filename":"file1"},{"photo_id":"1333495915","filename":"file0"},{"photo_id":"1333495937","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333495925":["hashtag1","hashtag2"]},{"1333495945":["hashtag1","hashtag2"]},{"1333495915":["hashtag1","hashtag2"]},{"1333495941":["hashtag1","hashtag2"]},{"1333495934":["hashtag1","hashtag2"]},{"1333495937":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333495925, 1333495945, 1333495915, 1333495941, 1333495934, 1333495937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.28287100791931 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:42:32.148170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/35/image_31012025_19_35_15_10389.jpg', '/home/pi/Desktop/images/31012025/19/35/image_31012025_19_35_54_9438.jpg', '/home/pi/Desktop/images/31012025/19/35/image_31012025_19_36_05_10537.jpg', '/home/pi/Desktop/images/31012025/19/36/image_31012025_19_36_25_10420.jpg', '/home/pi/Desktop/images/31012025/19/36/image_31012025_19_37_04_9370.jpg', '/home/pi/Desktop/images/31012025/19/37/image_31012025_19_37_15_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/35/image_31012025_19_35_15_10389.jpg
/home/pi/Desktop/images/31012025/19/35/image_31012025_19_35_54_9438.jpg
/home/pi/Desktop/images/31012025/19/35/image_31012025_19_36_05_10537.jpg
/home/pi/Desktop/images/31012025/19/36/image_31012025_19_36_25_10420.jpg
/home/pi/Desktop/images/31012025/19/36/image_31012025_19_37_04_9370.jpg
/home/pi/Desktop/images/31012025/19/37/image_31012025_19_37_15_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333496362","1333496382","1333496376","1333496379","1333496373","1333496386"],"photo_ids_order":["1333496362","1333496373","1333496376","1333496379","1333496382","1333496386"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/eb29c4ee907c350749be3e9bf6854030.jpg","text":"TemporaryFile(/tmp/multipartBody8502131005555256102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363412670,"filename":"image_31012025_19_35_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/1/31/920b2fae96fc898f306d61be420b61bd.jpg","text":"TemporaryFile(/tmp/multipartBody7266084862579299272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363412670,"filename":"image_31012025_19_37_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/1/31/013d0885811304b6d0942c5f1cb9a49a.jpg","text":"TemporaryFile(/tmp/multipartBody2288003600730869176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363412670,"filename":"image_31012025_19_36_05_10537.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5bf62f6ad0bfaac8a0f04fa605859723.jpg","text":"TemporaryFile(/tmp/multipartBody5044030002512654823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363412670,"filename":"image_31012025_19_36_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/1/31/a3168e3b677c8f700bc209c9c7a5d089.jpg","text":"TemporaryFile(/tmp/multipartBody6839121835474510697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363412670,"filename":"image_31012025_19_35_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/1/31/48e4d8b155c4328e93e7e443fd77950a.jpg","text":"TemporaryFile(/tmp/multipartBody6228777937812803274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363412670,"filename":"image_31012025_19_37_15_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333496376","file1":"1333496373","file0":"1333496362","file4":"1333496382","file5":"1333496386","file3":"1333496379"},"map_files_photo_id_array":[{"photo_id":"1333496386","filename":"file5"},{"photo_id":"1333496376","filename":"file2"},{"photo_id":"1333496382","filename":"file4"},{"photo_id":"1333496373","filename":"file1"},{"photo_id":"1333496362","filename":"file0"},{"photo_id":"1333496379","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333496362":["hashtag1","hashtag2"]},{"1333496382":["hashtag1","hashtag2"]},{"1333496376":["hashtag1","hashtag2"]},{"1333496379":["hashtag1","hashtag2"]},{"1333496373":["hashtag1","hashtag2"]},{"1333496386":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333496362, 1333496382, 1333496376, 1333496379, 1333496373, 1333496386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.99320387840271 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:43:32.375701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/37/image_31012025_19_37_24_9401.jpg', '/home/pi/Desktop/images/31012025/19/37/image_31012025_19_37_34_10357.jpg', '/home/pi/Desktop/images/31012025/19/37/image_31012025_19_37_45_10405.jpg', '/home/pi/Desktop/images/31012025/19/37/image_31012025_19_37_54_9405.jpg', '/home/pi/Desktop/images/31012025/19/38/image_31012025_19_38_24_9345.jpg', '/home/pi/Desktop/images/31012025/19/38/image_31012025_19_38_44_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/37/image_31012025_19_37_24_9401.jpg
/home/pi/Desktop/images/31012025/19/37/image_31012025_19_37_34_10357.jpg
/home/pi/Desktop/images/31012025/19/37/image_31012025_19_37_45_10405.jpg
/home/pi/Desktop/images/31012025/19/37/image_31012025_19_37_54_9405.jpg
/home/pi/Desktop/images/31012025/19/38/image_31012025_19_38_24_9345.jpg
/home/pi/Desktop/images/31012025/19/38/image_31012025_19_38_44_9420.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":["1333496935","1333496985","1333496988","1333496850","1333496981","1333496744"],"photo_ids_order":["1333496744","1333496850","1333496935","1333496981","1333496985","1333496988"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3c63857971a70ecaa6ef54afe17c3219.jpg","text":"TemporaryFile(/tmp/multipartBody1713481657500685739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363472928,"filename":"image_31012025_19_37_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/1/31/1436b5cf6599390a48e136d4b1d92cc5.jpg","text":"TemporaryFile(/tmp/multipartBody4952742564231016240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363472928,"filename":"image_31012025_19_38_24_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b65ac6c9e92b407545ea1a8517ac2e54.jpg","text":"TemporaryFile(/tmp/multipartBody9007592926407350762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363472928,"filename":"image_31012025_19_38_44_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a468cca981bc39cb1e72e8d97049eb61.jpg","text":"TemporaryFile(/tmp/multipartBody4343791315602727156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363472928,"filename":"image_31012025_19_37_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/1/31/16792c47a09f70b828669408034a14a8.jpg","text":"TemporaryFile(/tmp/multipartBody8358143934620929104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363472928,"filename":"image_31012025_19_37_54_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6bfb15dea7578b0b10ab59b23d5bd0d3.jpg","text":"TemporaryFile(/tmp/multipartBody6652149785937902387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363472928,"filename":"image_31012025_19_37_24_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333496935","file1":"1333496850","file0":"1333496744","file4":"1333496985","file5":"1333496988","file3":"1333496981"},"map_files_photo_id_array":[{"photo_id":"1333496988","filename":"file5"},{"photo_id":"1333496935","filename":"file2"},{"photo_id":"1333496985","filename":"file4"},{"photo_id":"1333496850","filename":"file1"},{"photo_id":"1333496744","filename":"file0"},{"photo_id":"1333496981","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333496935":["hashtag1","hashtag2"]},{"1333496985":["hashtag1","hashtag2"]},{"1333496988":["hashtag1","hashtag2"]},{"1333496850":["hashtag1","hashtag2"]},{"1333496981":["hashtag1","hashtag2"]},{"1333496744":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333496935, 1333496985, 1333496988, 1333496850, 1333496981, 1333496744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 28.97604274749756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 23:44:03.351248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/38/image_31012025_19_38_54_10363.jpg', '/home/pi/Desktop/images/31012025/19/38/image_31012025_19_39_05_10361.jpg', '/home/pi/Desktop/images/31012025/19/39/image_31012025_19_39_14_9335.jpg', '/home/pi/Desktop/images/31012025/19/39/image_31012025_19_39_24_10357.jpg', '/home/pi/Desktop/images/31012025/19/39/image_31012025_19_39_35_10442.jpg', '/home/pi/Desktop/images/31012025/19/39/image_31012025_19_39_44_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/38/image_31012025_19_38_54_10363.jpg
/home/pi/Desktop/images/31012025/19/38/image_31012025_19_39_05_10361.jpg
/home/pi/Desktop/images/31012025/19/39/image_31012025_19_39_14_9335.jpg
/home/pi/Desktop/images/31012025/19/39/image_31012025_19_39_24_10357.jpg
/home/pi/Desktop/images/31012025/19/39/image_31012025_19_39_35_10442.jpg
/home/pi/Desktop/images/31012025/19/39/image_31012025_19_39_44_9345.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333497244","1333497238","1333497114","1333497242","1333497190","1333497235"],"photo_ids_order":["1333497114","1333497190","1333497235","1333497238","1333497242","1333497244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fb383008a1fb4712febc3956b58f905d.jpg","text":"TemporaryFile(/tmp/multipartBody4786738110190329034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363503973,"filename":"image_31012025_19_39_44_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/515f651cb6d008bc19e7c398dc309fb7.jpg","text":"TemporaryFile(/tmp/multipartBody6236160310062264636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363503973,"filename":"image_31012025_19_39_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/1/31/bd723abd1c632db3e7558c225eef344b.jpg","text":"TemporaryFile(/tmp/multipartBody4924522282455146722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363503973,"filename":"image_31012025_19_38_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/1/31/379be7312e411320caf5be4caa27ed45.jpg","text":"TemporaryFile(/tmp/multipartBody2055163867281736205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363503973,"filename":"image_31012025_19_39_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/1/31/227da244046c1bd179b1c6e907aabedf.jpg","text":"TemporaryFile(/tmp/multipartBody5142939508639273261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363503973,"filename":"image_31012025_19_39_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/1/31/ba2da4b373086c7038ce43709e7d1ae3.jpg","text":"TemporaryFile(/tmp/multipartBody4875742189846101135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363503973,"filename":"image_31012025_19_39_14_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333497235","file1":"1333497190","file0":"1333497114","file4":"1333497242","file5":"1333497244","file3":"1333497238"},"map_files_photo_id_array":[{"photo_id":"1333497244","filename":"file5"},{"photo_id":"1333497235","filename":"file2"},{"photo_id":"1333497242","filename":"file4"},{"photo_id":"1333497190","filename":"file1"},{"photo_id":"1333497114","filename":"file0"},{"photo_id":"1333497238","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333497244":["hashtag1","hashtag2"]},{"1333497238":["hashtag1","hashtag2"]},{"1333497114":["hashtag1","hashtag2"]},{"1333497242":["hashtag1","hashtag2"]},{"1333497190":["hashtag1","hashtag2"]},{"1333497235":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333497244, 1333497238, 1333497114, 1333497242, 1333497190, 1333497235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.794933080673218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 23:44:42.730372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/39/image_31012025_19_39_55_10365.jpg', '/home/pi/Desktop/images/31012025/19/39/image_31012025_19_40_04_9378.jpg', '/home/pi/Desktop/images/31012025/19/40/image_31012025_19_40_14_10342.jpg', '/home/pi/Desktop/images/31012025/19/40/image_31012025_19_40_25_10480.jpg', '/home/pi/Desktop/images/31012025/19/40/image_31012025_19_40_34_9328.jpg', '/home/pi/Desktop/images/31012025/19/40/image_31012025_19_40_44_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/39/image_31012025_19_39_55_10365.jpg
/home/pi/Desktop/images/31012025/19/39/image_31012025_19_40_04_9378.jpg
/home/pi/Desktop/images/31012025/19/40/image_31012025_19_40_14_10342.jpg
/home/pi/Desktop/images/31012025/19/40/image_31012025_19_40_25_10480.jpg
/home/pi/Desktop/images/31012025/19/40/image_31012025_19_40_34_9328.jpg
/home/pi/Desktop/images/31012025/19/40/image_31012025_19_40_44_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.45493197441101074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:44:52.583284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/39/image_31012025_19_39_55_10365.jpg', '/home/pi/Desktop/images/31012025/19/39/image_31012025_19_40_04_9378.jpg', '/home/pi/Desktop/images/31012025/19/40/image_31012025_19_40_14_10342.jpg', '/home/pi/Desktop/images/31012025/19/40/image_31012025_19_40_25_10480.jpg', '/home/pi/Desktop/images/31012025/19/40/image_31012025_19_40_34_9328.jpg', '/home/pi/Desktop/images/31012025/19/40/image_31012025_19_40_44_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/39/image_31012025_19_39_55_10365.jpg
/home/pi/Desktop/images/31012025/19/39/image_31012025_19_40_04_9378.jpg
/home/pi/Desktop/images/31012025/19/40/image_31012025_19_40_14_10342.jpg
/home/pi/Desktop/images/31012025/19/40/image_31012025_19_40_25_10480.jpg
/home/pi/Desktop/images/31012025/19/40/image_31012025_19_40_34_9328.jpg
/home/pi/Desktop/images/31012025/19/40/image_31012025_19_40_44_10372.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1333497712","1333497786","1333497750","1333497717","1333497707","1333497722"],"photo_ids_order":["1333497707","1333497712","1333497717","1333497722","1333497750","1333497786"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6da6cf7afae1213ac5e59bf3189a75d0.jpg","text":"TemporaryFile(/tmp/multipartBody4992269460464379008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363553046,"filename":"image_31012025_19_40_04_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/628a8c6b4d6bd17a2417f4e4a7ace6a5.jpg","text":"TemporaryFile(/tmp/multipartBody2628418696225234987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363553046,"filename":"image_31012025_19_40_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/1/31/ad1037803b652b9a68cf5e45fe218b78.jpg","text":"TemporaryFile(/tmp/multipartBody3019101322126318638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363553046,"filename":"image_31012025_19_40_34_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b6c5bc08f899440a993f39e6089c092b.jpg","text":"TemporaryFile(/tmp/multipartBody5614364137699435407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363553046,"filename":"image_31012025_19_40_14_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ad3457e0d913be65af4ee646e73fcf73.jpg","text":"TemporaryFile(/tmp/multipartBody4109589501268098803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363553046,"filename":"image_31012025_19_39_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/1/31/148211241fd46980cadfa2fd297846f7.jpg","text":"TemporaryFile(/tmp/multipartBody8863012534875654119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363553046,"filename":"image_31012025_19_40_25_10480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333497717","file1":"1333497712","file0":"1333497707","file4":"1333497750","file5":"1333497786","file3":"1333497722"},"map_files_photo_id_array":[{"photo_id":"1333497786","filename":"file5"},{"photo_id":"1333497717","filename":"file2"},{"photo_id":"1333497750","filename":"file4"},{"photo_id":"1333497712","filename":"file1"},{"photo_id":"1333497707","filename":"file0"},{"photo_id":"1333497722","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333497712":["hashtag1","hashtag2"]},{"1333497786":["hashtag1","hashtag2"]},{"1333497750":["hashtag1","hashtag2"]},{"1333497717":["hashtag1","hashtag2"]},{"1333497707":["hashtag1","hashtag2"]},{"1333497722":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333497712, 1333497786, 1333497750, 1333497717, 1333497707, 1333497722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.507261037826538 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:45:32.860044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/40/image_31012025_19_40_54_9457.jpg', '/home/pi/Desktop/images/31012025/19/40/image_31012025_19_41_04_10347.jpg', '/home/pi/Desktop/images/31012025/19/41/image_31012025_19_41_15_10395.jpg', '/home/pi/Desktop/images/31012025/19/41/image_31012025_19_41_25_10118.jpg', '/home/pi/Desktop/images/31012025/19/41/image_31012025_19_41_34_9315.jpg', '/home/pi/Desktop/images/31012025/19/41/image_31012025_19_41_45_10535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/40/image_31012025_19_40_54_9457.jpg
/home/pi/Desktop/images/31012025/19/40/image_31012025_19_41_04_10347.jpg
/home/pi/Desktop/images/31012025/19/41/image_31012025_19_41_15_10395.jpg
/home/pi/Desktop/images/31012025/19/41/image_31012025_19_41_25_10118.jpg
/home/pi/Desktop/images/31012025/19/41/image_31012025_19_41_34_9315.jpg
/home/pi/Desktop/images/31012025/19/41/image_31012025_19_41_45_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":["1333497907","1333498107","1333497903","1333498111","1333497946","1333497922"],"photo_ids_order":["1333497903","1333497907","1333497922","1333497946","1333498107","1333498111"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/68566df532aa224eff6223560c811ae0.jpg","text":"TemporaryFile(/tmp/multipartBody3055953177953443789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363593414,"filename":"image_31012025_19_41_04_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/622055a2717e743df532b7afe1900535.jpg","text":"TemporaryFile(/tmp/multipartBody8501220764707174296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363593414,"filename":"image_31012025_19_41_34_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/337ce8796429ca841a5bec500b9e6750.jpg","text":"TemporaryFile(/tmp/multipartBody1486991787138744953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363593414,"filename":"image_31012025_19_40_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/1/31/2a3fefbb575a34eb3a932f8cbc1a89af.jpg","text":"TemporaryFile(/tmp/multipartBody1069698399368288542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363593414,"filename":"image_31012025_19_41_45_10535.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0bf6792b5b1e46d20f4de0ca41ed8fa5.jpg","text":"TemporaryFile(/tmp/multipartBody7093525581042304765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363593414,"filename":"image_31012025_19_41_25_10118.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/84531a3153c97c834152f28d43d541a7.jpg","text":"TemporaryFile(/tmp/multipartBody8957407230472128914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363593414,"filename":"image_31012025_19_41_15_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333497922","file1":"1333497907","file0":"1333497903","file4":"1333498107","file5":"1333498111","file3":"1333497946"},"map_files_photo_id_array":[{"photo_id":"1333498111","filename":"file5"},{"photo_id":"1333497922","filename":"file2"},{"photo_id":"1333498107","filename":"file4"},{"photo_id":"1333497907","filename":"file1"},{"photo_id":"1333497903","filename":"file0"},{"photo_id":"1333497946","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333497907":["hashtag1","hashtag2"]},{"1333498107":["hashtag1","hashtag2"]},{"1333497903":["hashtag1","hashtag2"]},{"1333498111":["hashtag1","hashtag2"]},{"1333497946":["hashtag1","hashtag2"]},{"1333497922":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333497907, 1333498107, 1333497903, 1333498111, 1333497946, 1333497922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.66634702682495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:46:32.139271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/41/image_31012025_19_41_54_9453.jpg', '/home/pi/Desktop/images/31012025/19/41/image_31012025_19_42_05_10443.jpg', '/home/pi/Desktop/images/31012025/19/42/image_31012025_19_42_14_9419.jpg', '/home/pi/Desktop/images/31012025/19/42/image_31012025_19_42_24_10411.jpg', '/home/pi/Desktop/images/31012025/19/42/image_31012025_19_42_35_10424.jpg', '/home/pi/Desktop/images/31012025/19/42/image_31012025_19_42_44_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/41/image_31012025_19_41_54_9453.jpg
/home/pi/Desktop/images/31012025/19/41/image_31012025_19_42_05_10443.jpg
/home/pi/Desktop/images/31012025/19/42/image_31012025_19_42_14_9419.jpg
/home/pi/Desktop/images/31012025/19/42/image_31012025_19_42_24_10411.jpg
/home/pi/Desktop/images/31012025/19/42/image_31012025_19_42_35_10424.jpg
/home/pi/Desktop/images/31012025/19/42/image_31012025_19_42_44_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":["1333498335","1333498399","1333498390","1333498403","1333498330","1333498395"],"photo_ids_order":["1333498330","1333498335","1333498390","1333498395","1333498399","1333498403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/618178b68fde4a1d1bfa42cf43a73c1c.jpg","text":"TemporaryFile(/tmp/multipartBody3747009329056879553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363652684,"filename":"image_31012025_19_42_05_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a09984a29ef950f7951387ea22ae0703.jpg","text":"TemporaryFile(/tmp/multipartBody4685285592545482278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363652684,"filename":"image_31012025_19_42_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/1/31/8474cd19c2a017477e25fc5eb4989535.jpg","text":"TemporaryFile(/tmp/multipartBody2808716120531217477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363652684,"filename":"image_31012025_19_42_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/1/31/92d12dc36ad9dcc5ac2e33afe6cd9d40.jpg","text":"TemporaryFile(/tmp/multipartBody4047681981082537295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363652684,"filename":"image_31012025_19_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/1/31/ea462a255dfbee798ae2070388b735be.jpg","text":"TemporaryFile(/tmp/multipartBody7365207458835282632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363652684,"filename":"image_31012025_19_41_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/1/31/e7612da797070364ec5a9787cdccc2d5.jpg","text":"TemporaryFile(/tmp/multipartBody1261916825089426437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363652684,"filename":"image_31012025_19_42_24_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333498390","file1":"1333498335","file0":"1333498330","file4":"1333498399","file5":"1333498403","file3":"1333498395"},"map_files_photo_id_array":[{"photo_id":"1333498403","filename":"file5"},{"photo_id":"1333498390","filename":"file2"},{"photo_id":"1333498399","filename":"file4"},{"photo_id":"1333498335","filename":"file1"},{"photo_id":"1333498330","filename":"file0"},{"photo_id":"1333498395","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333498335":["hashtag1","hashtag2"]},{"1333498399":["hashtag1","hashtag2"]},{"1333498390":["hashtag1","hashtag2"]},{"1333498403":["hashtag1","hashtag2"]},{"1333498330":["hashtag1","hashtag2"]},{"1333498395":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333498335, 1333498399, 1333498390, 1333498403, 1333498330, 1333498395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.675665855407715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:47:32.427748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/42/image_31012025_19_42_55_10367.jpg', '/home/pi/Desktop/images/31012025/19/42/image_31012025_19_43_05_10354.jpg', '/home/pi/Desktop/images/31012025/19/43/image_31012025_19_43_25_10429.jpg', '/home/pi/Desktop/images/31012025/19/43/image_31012025_19_43_34_9342.jpg', '/home/pi/Desktop/images/31012025/19/43/image_31012025_19_43_55_10361.jpg', '/home/pi/Desktop/images/31012025/19/44/image_31012025_19_44_15_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/42/image_31012025_19_42_55_10367.jpg
/home/pi/Desktop/images/31012025/19/42/image_31012025_19_43_05_10354.jpg
/home/pi/Desktop/images/31012025/19/43/image_31012025_19_43_25_10429.jpg
/home/pi/Desktop/images/31012025/19/43/image_31012025_19_43_34_9342.jpg
/home/pi/Desktop/images/31012025/19/43/image_31012025_19_43_55_10361.jpg
/home/pi/Desktop/images/31012025/19/44/image_31012025_19_44_15_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":["1333498431","1333498569","1333498421","1333498663","1333498426","1333498476"],"photo_ids_order":["1333498421","1333498426","1333498431","1333498476","1333498569","1333498663"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/975e9cdbdab85b1b8ad475b2c7d6bbf8.jpg","text":"TemporaryFile(/tmp/multipartBody1585473553188355426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363713148,"filename":"image_31012025_19_43_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/1/31/ceee15291329c58eb321151f34d66063.jpg","text":"TemporaryFile(/tmp/multipartBody6636932928181807770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363713148,"filename":"image_31012025_19_43_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/1/31/5cfea1034b78d5ff44f2b947b5f2a23a.jpg","text":"TemporaryFile(/tmp/multipartBody604571121097948332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363713148,"filename":"image_31012025_19_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/1/31/af1ce795a966467af2bce0b0cdf66445.jpg","text":"TemporaryFile(/tmp/multipartBody2457896354836520361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363713148,"filename":"image_31012025_19_44_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/1/31/e975202163494d1943022a8af93bb8fd.jpg","text":"TemporaryFile(/tmp/multipartBody8155776175298925037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363713148,"filename":"image_31012025_19_43_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/1/31/8c0c0a392c873eebaa7ddd97940aa26d.jpg","text":"TemporaryFile(/tmp/multipartBody6005028719873433290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363713148,"filename":"image_31012025_19_43_34_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333498431","file1":"1333498426","file0":"1333498421","file4":"1333498569","file5":"1333498663","file3":"1333498476"},"map_files_photo_id_array":[{"photo_id":"1333498663","filename":"file5"},{"photo_id":"1333498431","filename":"file2"},{"photo_id":"1333498569","filename":"file4"},{"photo_id":"1333498426","filename":"file1"},{"photo_id":"1333498421","filename":"file0"},{"photo_id":"1333498476","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333498431":["hashtag1","hashtag2"]},{"1333498569":["hashtag1","hashtag2"]},{"1333498421":["hashtag1","hashtag2"]},{"1333498663":["hashtag1","hashtag2"]},{"1333498426":["hashtag1","hashtag2"]},{"1333498476":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333498431, 1333498569, 1333498421, 1333498663, 1333498426, 1333498476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30712151527405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:48:32.669981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/44/image_31012025_19_44_45_10365.jpg', '/home/pi/Desktop/images/31012025/19/44/image_31012025_19_44_54_9407.jpg', '/home/pi/Desktop/images/31012025/19/44/image_31012025_19_45_04_10343.jpg', '/home/pi/Desktop/images/31012025/19/45/image_31012025_19_45_24_9357.jpg', '/home/pi/Desktop/images/31012025/19/45/image_31012025_19_45_35_10374.jpg', '/home/pi/Desktop/images/31012025/19/45/image_31012025_19_45_44_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/44/image_31012025_19_44_45_10365.jpg
/home/pi/Desktop/images/31012025/19/44/image_31012025_19_44_54_9407.jpg
/home/pi/Desktop/images/31012025/19/44/image_31012025_19_45_04_10343.jpg
/home/pi/Desktop/images/31012025/19/45/image_31012025_19_45_24_9357.jpg
/home/pi/Desktop/images/31012025/19/45/image_31012025_19_45_35_10374.jpg
/home/pi/Desktop/images/31012025/19/45/image_31012025_19_45_44_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":["1333499063","1333498973","1333498969","1333498960","1333498978","1333498965"],"photo_ids_order":["1333498960","1333498965","1333498969","1333498973","1333498978","1333499063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9f1ec330c286876fd87ba27461cbac6f.jpg","text":"TemporaryFile(/tmp/multipartBody6348054210710808569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363773227,"filename":"image_31012025_19_45_44_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/16a88b50c915d5848c026ddffce2c445.jpg","text":"TemporaryFile(/tmp/multipartBody8980073258599985046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363773227,"filename":"image_31012025_19_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/1/31/1d46f2b4d54632f03cd8d6988e482af4.jpg","text":"TemporaryFile(/tmp/multipartBody8270657123017788503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363773227,"filename":"image_31012025_19_45_04_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/9033fbc26ff983b3bd447f74296a98ae.jpg","text":"TemporaryFile(/tmp/multipartBody3052008451078790581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363773227,"filename":"image_31012025_19_44_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/1/31/41a5529673de01647497856e4360a28f.jpg","text":"TemporaryFile(/tmp/multipartBody8641627510801969415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363773227,"filename":"image_31012025_19_45_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/1/31/cb028c6c77c9097a933eb71298a9f492.jpg","text":"TemporaryFile(/tmp/multipartBody3921838914964924760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363773227,"filename":"image_31012025_19_44_54_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333498969","file1":"1333498965","file0":"1333498960","file4":"1333498978","file5":"1333499063","file3":"1333498973"},"map_files_photo_id_array":[{"photo_id":"1333499063","filename":"file5"},{"photo_id":"1333498969","filename":"file2"},{"photo_id":"1333498978","filename":"file4"},{"photo_id":"1333498965","filename":"file1"},{"photo_id":"1333498960","filename":"file0"},{"photo_id":"1333498973","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333499063":["hashtag1","hashtag2"]},{"1333498973":["hashtag1","hashtag2"]},{"1333498969":["hashtag1","hashtag2"]},{"1333498960":["hashtag1","hashtag2"]},{"1333498978":["hashtag1","hashtag2"]},{"1333498965":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333499063, 1333498973, 1333498969, 1333498960, 1333498978, 1333498965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.957193613052368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:49:32.906159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/45/image_31012025_19_45_54_10365.jpg', '/home/pi/Desktop/images/31012025/19/45/image_31012025_19_46_05_10483.jpg', '/home/pi/Desktop/images/31012025/19/46/image_31012025_19_46_25_10366.jpg', '/home/pi/Desktop/images/31012025/19/46/image_31012025_19_46_44_10362.jpg', '/home/pi/Desktop/images/31012025/19/47/image_31012025_19_47_14_10419.jpg', '/home/pi/Desktop/images/31012025/19/47/image_31012025_19_47_25_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/45/image_31012025_19_45_54_10365.jpg
/home/pi/Desktop/images/31012025/19/45/image_31012025_19_46_05_10483.jpg
/home/pi/Desktop/images/31012025/19/46/image_31012025_19_46_25_10366.jpg
/home/pi/Desktop/images/31012025/19/46/image_31012025_19_46_44_10362.jpg
/home/pi/Desktop/images/31012025/19/47/image_31012025_19_47_14_10419.jpg
/home/pi/Desktop/images/31012025/19/47/image_31012025_19_47_25_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":["1333499567","1333499668","1333499608","1333499652","1333499460","1333499457"],"photo_ids_order":["1333499457","1333499460","1333499567","1333499608","1333499652","1333499668"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6b2f479a9b5f4547758ef4a360bb5f05.jpg","text":"TemporaryFile(/tmp/multipartBody1532383796734191508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363833705,"filename":"image_31012025_19_46_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/1/31/8e075c574b1276f863098f09f2916cd1.jpg","text":"TemporaryFile(/tmp/multipartBody7425222890344910940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363833705,"filename":"image_31012025_19_47_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/1/31/c61c98b62b495490c4a30293a5b057bf.jpg","text":"TemporaryFile(/tmp/multipartBody8505142636396259257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363833705,"filename":"image_31012025_19_46_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/1/31/029521086c55e4c254fa01d28b19fa50.jpg","text":"TemporaryFile(/tmp/multipartBody160830088382612491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363833705,"filename":"image_31012025_19_47_14_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/402f875cf3341475baf68218ef196359.jpg","text":"TemporaryFile(/tmp/multipartBody630202572976339589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363833705,"filename":"image_31012025_19_46_05_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6b31e1a73bcf40a0f3f013b9deaf7e50.jpg","text":"TemporaryFile(/tmp/multipartBody2085050098822000724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363833705,"filename":"image_31012025_19_45_54_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333499567","file1":"1333499460","file0":"1333499457","file4":"1333499652","file5":"1333499668","file3":"1333499608"},"map_files_photo_id_array":[{"photo_id":"1333499668","filename":"file5"},{"photo_id":"1333499567","filename":"file2"},{"photo_id":"1333499652","filename":"file4"},{"photo_id":"1333499460","filename":"file1"},{"photo_id":"1333499457","filename":"file0"},{"photo_id":"1333499608","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333499567":["hashtag1","hashtag2"]},{"1333499668":["hashtag1","hashtag2"]},{"1333499608":["hashtag1","hashtag2"]},{"1333499652":["hashtag1","hashtag2"]},{"1333499460":["hashtag1","hashtag2"]},{"1333499457":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333499567, 1333499668, 1333499608, 1333499652, 1333499460, 1333499457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8535532951355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:50:33.204540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/47/image_31012025_19_47_34_9340.jpg', '/home/pi/Desktop/images/31012025/19/47/image_31012025_19_47_45_10352.jpg', '/home/pi/Desktop/images/31012025/19/47/image_31012025_19_48_04_10372.jpg', '/home/pi/Desktop/images/31012025/19/48/image_31012025_19_48_15_10391.jpg', '/home/pi/Desktop/images/31012025/19/48/image_31012025_19_48_24_9341.jpg', '/home/pi/Desktop/images/31012025/19/49/image_31012025_19_49_15_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/47/image_31012025_19_47_34_9340.jpg
/home/pi/Desktop/images/31012025/19/47/image_31012025_19_47_45_10352.jpg
/home/pi/Desktop/images/31012025/19/47/image_31012025_19_48_04_10372.jpg
/home/pi/Desktop/images/31012025/19/48/image_31012025_19_48_15_10391.jpg
/home/pi/Desktop/images/31012025/19/48/image_31012025_19_48_24_9341.jpg
/home/pi/Desktop/images/31012025/19/49/image_31012025_19_49_15_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":["1333499795","1333499798","1333499782","1333499770","1333499752","1333499745"],"photo_ids_order":["1333499745","1333499752","1333499770","1333499782","1333499795","1333499798"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/250957eadf62920c7f2eeb2e4e68cefc.jpg","text":"TemporaryFile(/tmp/multipartBody8921200568488073832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363893734,"filename":"image_31012025_19_48_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/1/31/cce72eaf8a9e8600a254433c82d3e4f5.jpg","text":"TemporaryFile(/tmp/multipartBody7785616636979396924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363893734,"filename":"image_31012025_19_49_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/1/31/be31ef8a34010cb06903307375a81265.jpg","text":"TemporaryFile(/tmp/multipartBody7759605212725680067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363893734,"filename":"image_31012025_19_48_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/1/31/454fad19d8700ee913c68a85fda34b57.jpg","text":"TemporaryFile(/tmp/multipartBody6812465964131121459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363893734,"filename":"image_31012025_19_48_04_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a4ec9e286c43792269e1186f21b68db1.jpg","text":"TemporaryFile(/tmp/multipartBody6289756674076134465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363893734,"filename":"image_31012025_19_47_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/1/31/ac4911f20758f636057311c956a57f46.jpg","text":"TemporaryFile(/tmp/multipartBody538263686815360162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363893734,"filename":"image_31012025_19_47_34_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333499770","file1":"1333499752","file0":"1333499745","file4":"1333499795","file5":"1333499798","file3":"1333499782"},"map_files_photo_id_array":[{"photo_id":"1333499798","filename":"file5"},{"photo_id":"1333499770","filename":"file2"},{"photo_id":"1333499795","filename":"file4"},{"photo_id":"1333499752","filename":"file1"},{"photo_id":"1333499745","filename":"file0"},{"photo_id":"1333499782","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333499795":["hashtag1","hashtag2"]},{"1333499798":["hashtag1","hashtag2"]},{"1333499782":["hashtag1","hashtag2"]},{"1333499770":["hashtag1","hashtag2"]},{"1333499752":["hashtag1","hashtag2"]},{"1333499745":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333499795, 1333499798, 1333499782, 1333499770, 1333499752, 1333499745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.03647804260254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:51:32.541381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/49/image_31012025_19_49_24_9395.jpg', '/home/pi/Desktop/images/31012025/19/49/image_31012025_19_49_35_10530.jpg', '/home/pi/Desktop/images/31012025/19/49/image_31012025_19_49_44_9362.jpg', '/home/pi/Desktop/images/31012025/19/49/image_31012025_19_49_55_10356.jpg', '/home/pi/Desktop/images/31012025/19/49/image_31012025_19_50_05_10373.jpg', '/home/pi/Desktop/images/31012025/19/50/image_31012025_19_50_14_9327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/49/image_31012025_19_49_24_9395.jpg
/home/pi/Desktop/images/31012025/19/49/image_31012025_19_49_35_10530.jpg
/home/pi/Desktop/images/31012025/19/49/image_31012025_19_49_44_9362.jpg
/home/pi/Desktop/images/31012025/19/49/image_31012025_19_49_55_10356.jpg
/home/pi/Desktop/images/31012025/19/49/image_31012025_19_50_05_10373.jpg
/home/pi/Desktop/images/31012025/19/50/image_31012025_19_50_14_9327.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":["1333499831","1333499822","1333499819","1333499827","1333499815","1333499835"],"photo_ids_order":["1333499815","1333499819","1333499822","1333499827","1333499831","1333499835"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/402e8876e46b8d5143807c31eae04a6e.jpg","text":"TemporaryFile(/tmp/multipartBody3221103045696317262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363953098,"filename":"image_31012025_19_50_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/1/31/c5e6c897015d79f9fbd5fdec208823ea.jpg","text":"TemporaryFile(/tmp/multipartBody3877729023380282177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363953098,"filename":"image_31012025_19_49_44_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/abd25649cd630cb95dfe8d38315c5350.jpg","text":"TemporaryFile(/tmp/multipartBody930214782525854037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363953098,"filename":"image_31012025_19_49_35_10530.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7be7b0c6e35dcd30a039a631b0cb0678.jpg","text":"TemporaryFile(/tmp/multipartBody3164456909480675868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363953098,"filename":"image_31012025_19_49_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/1/31/d57aca276c38491d487382c79e12b66b.jpg","text":"TemporaryFile(/tmp/multipartBody2353428258283468776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363953098,"filename":"image_31012025_19_49_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/1/31/03c1e61314f2324256ce36123b27a21b.jpg","text":"TemporaryFile(/tmp/multipartBody8819105253183401081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738363953098,"filename":"image_31012025_19_50_14_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333499822","file1":"1333499819","file0":"1333499815","file4":"1333499831","file5":"1333499835","file3":"1333499827"},"map_files_photo_id_array":[{"photo_id":"1333499835","filename":"file5"},{"photo_id":"1333499822","filename":"file2"},{"photo_id":"1333499831","filename":"file4"},{"photo_id":"1333499819","filename":"file1"},{"photo_id":"1333499815","filename":"file0"},{"photo_id":"1333499827","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333499831":["hashtag1","hashtag2"]},{"1333499822":["hashtag1","hashtag2"]},{"1333499819":["hashtag1","hashtag2"]},{"1333499827":["hashtag1","hashtag2"]},{"1333499815":["hashtag1","hashtag2"]},{"1333499835":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333499831, 1333499822, 1333499819, 1333499827, 1333499815, 1333499835)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 29.391907453536987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:52:32.752330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/50/image_31012025_19_50_25_10345.jpg', '/home/pi/Desktop/images/31012025/19/50/image_31012025_19_50_34_9417.jpg', '/home/pi/Desktop/images/31012025/19/50/image_31012025_19_50_44_10362.jpg', '/home/pi/Desktop/images/31012025/19/50/image_31012025_19_50_55_10490.jpg', '/home/pi/Desktop/images/31012025/19/50/image_31012025_19_51_04_9341.jpg', '/home/pi/Desktop/images/31012025/19/51/image_31012025_19_51_25_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/50/image_31012025_19_50_25_10345.jpg
/home/pi/Desktop/images/31012025/19/50/image_31012025_19_50_34_9417.jpg
/home/pi/Desktop/images/31012025/19/50/image_31012025_19_50_44_10362.jpg
/home/pi/Desktop/images/31012025/19/50/image_31012025_19_50_55_10490.jpg
/home/pi/Desktop/images/31012025/19/50/image_31012025_19_51_04_9341.jpg
/home/pi/Desktop/images/31012025/19/51/image_31012025_19_51_25_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":["1333499858","1333499899","1333499866","1333499853","1333499862","1333499901"],"photo_ids_order":["1333499853","1333499858","1333499862","1333499866","1333499899","1333499901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c85bf50d5edac2d7a4045a33b9059a0f.jpg","text":"TemporaryFile(/tmp/multipartBody701975591155254624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364013388,"filename":"image_31012025_19_50_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/1/31/a700b3bc6f2fec42f2a3c62130257521.jpg","text":"TemporaryFile(/tmp/multipartBody4452832687499404468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364013388,"filename":"image_31012025_19_51_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/1/31/edd772b52c3f73eecc7a7efe88d427bf.jpg","text":"TemporaryFile(/tmp/multipartBody7358157898317569156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364013388,"filename":"image_31012025_19_50_55_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d7bf808b24f2e62bfd245f9fb039c77e.jpg","text":"TemporaryFile(/tmp/multipartBody8029948542775841676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364013388,"filename":"image_31012025_19_50_25_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e53479998ec500bca646f057b6c2b301.jpg","text":"TemporaryFile(/tmp/multipartBody892034651971481003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364013388,"filename":"image_31012025_19_50_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/1/31/f6cf3769ca86017078c7ebc727d502f1.jpg","text":"TemporaryFile(/tmp/multipartBody8447596807308523321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364013388,"filename":"image_31012025_19_51_25_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333499862","file1":"1333499858","file0":"1333499853","file4":"1333499899","file5":"1333499901","file3":"1333499866"},"map_files_photo_id_array":[{"photo_id":"1333499901","filename":"file5"},{"photo_id":"1333499862","filename":"file2"},{"photo_id":"1333499899","filename":"file4"},{"photo_id":"1333499858","filename":"file1"},{"photo_id":"1333499853","filename":"file0"},{"photo_id":"1333499866","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333499858":["hashtag1","hashtag2"]},{"1333499899":["hashtag1","hashtag2"]},{"1333499866":["hashtag1","hashtag2"]},{"1333499853":["hashtag1","hashtag2"]},{"1333499862":["hashtag1","hashtag2"]},{"1333499901":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333499858, 1333499899, 1333499866, 1333499853, 1333499862, 1333499901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.459710597991943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:53:32.970528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/51/image_31012025_19_51_34_9341.jpg', '/home/pi/Desktop/images/31012025/19/51/image_31012025_19_51_45_10421.jpg', '/home/pi/Desktop/images/31012025/19/51/image_31012025_19_51_54_9362.jpg', '/home/pi/Desktop/images/31012025/19/51/image_31012025_19_52_04_10354.jpg', '/home/pi/Desktop/images/31012025/19/52/image_31012025_19_52_15_10354.jpg', '/home/pi/Desktop/images/31012025/19/52/image_31012025_19_52_24_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/51/image_31012025_19_51_34_9341.jpg
/home/pi/Desktop/images/31012025/19/51/image_31012025_19_51_45_10421.jpg
/home/pi/Desktop/images/31012025/19/51/image_31012025_19_51_54_9362.jpg
/home/pi/Desktop/images/31012025/19/51/image_31012025_19_52_04_10354.jpg
/home/pi/Desktop/images/31012025/19/52/image_31012025_19_52_15_10354.jpg
/home/pi/Desktop/images/31012025/19/52/image_31012025_19_52_24_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":["1333500058","1333499983","1333499980","1333499974","1333499977","1333500062"],"photo_ids_order":["1333499974","1333499977","1333499980","1333499983","1333500058","1333500062"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4399bb34d239f0ff12393eaa7e00d5fb.jpg","text":"TemporaryFile(/tmp/multipartBody3344669667373367840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364073509,"filename":"image_31012025_19_52_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/1/31/1ac3e7f5a40d2eb40aced1ef68bbeb76.jpg","text":"TemporaryFile(/tmp/multipartBody7995829795863895802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364073509,"filename":"image_31012025_19_52_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/1/31/cd463089e3117444dcec4c09b2bc1b81.jpg","text":"TemporaryFile(/tmp/multipartBody6042858790409820508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364073509,"filename":"image_31012025_19_51_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/1/31/db6daa160fdadfb03c5c14a81d04a527.jpg","text":"TemporaryFile(/tmp/multipartBody2197326000499410800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364073509,"filename":"image_31012025_19_51_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/1/31/f399b3bf675ac0587d6329d3c1fea913.jpg","text":"TemporaryFile(/tmp/multipartBody6685345629200995795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364073509,"filename":"image_31012025_19_51_45_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f67b082a1865952f8ef3ca2c1089313e.jpg","text":"TemporaryFile(/tmp/multipartBody45202038421199121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364073509,"filename":"image_31012025_19_52_24_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333499980","file1":"1333499977","file0":"1333499974","file4":"1333500058","file5":"1333500062","file3":"1333499983"},"map_files_photo_id_array":[{"photo_id":"1333500062","filename":"file5"},{"photo_id":"1333499980","filename":"file2"},{"photo_id":"1333500058","filename":"file4"},{"photo_id":"1333499977","filename":"file1"},{"photo_id":"1333499974","filename":"file0"},{"photo_id":"1333499983","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333500058":["hashtag1","hashtag2"]},{"1333499983":["hashtag1","hashtag2"]},{"1333499980":["hashtag1","hashtag2"]},{"1333499974":["hashtag1","hashtag2"]},{"1333499977":["hashtag1","hashtag2"]},{"1333500062":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333500058, 1333499983, 1333499980, 1333499974, 1333499977, 1333500062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.997398138046265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:54:33.081189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/52/image_31012025_19_52_34_10353.jpg', '/home/pi/Desktop/images/31012025/19/52/image_31012025_19_52_45_10376.jpg', '/home/pi/Desktop/images/31012025/19/52/image_31012025_19_52_54_9413.jpg', '/home/pi/Desktop/images/31012025/19/52/image_31012025_19_53_05_10365.jpg', '/home/pi/Desktop/images/31012025/19/53/image_31012025_19_53_14_9391.jpg', '/home/pi/Desktop/images/31012025/19/53/image_31012025_19_53_24_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/52/image_31012025_19_52_34_10353.jpg
/home/pi/Desktop/images/31012025/19/52/image_31012025_19_52_45_10376.jpg
/home/pi/Desktop/images/31012025/19/52/image_31012025_19_52_54_9413.jpg
/home/pi/Desktop/images/31012025/19/52/image_31012025_19_53_05_10365.jpg
/home/pi/Desktop/images/31012025/19/53/image_31012025_19_53_14_9391.jpg
/home/pi/Desktop/images/31012025/19/53/image_31012025_19_53_24_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":["1333500193","1333500187","1333500190","1333500176","1333500164","1333500161"],"photo_ids_order":["1333500161","1333500164","1333500176","1333500187","1333500190","1333500193"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/762bfc38d78fc178ce9b9123d704de4c.jpg","text":"TemporaryFile(/tmp/multipartBody7630155870730827201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364133620,"filename":"image_31012025_19_53_24_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5dc778033c822adeb8808320c75892c1.jpg","text":"TemporaryFile(/tmp/multipartBody3194989199759790186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364133620,"filename":"image_31012025_19_53_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/1/31/dd53135f6bcb1a708d8feb647a092504.jpg","text":"TemporaryFile(/tmp/multipartBody7757386073436627223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364133620,"filename":"image_31012025_19_53_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/1/31/6892c44371b1f0dcd0694a0092ed3a18.jpg","text":"TemporaryFile(/tmp/multipartBody8150834329062362609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364133620,"filename":"image_31012025_19_52_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/1/31/bfa8a7c9b476eb61fffa025e7c13a09b.jpg","text":"TemporaryFile(/tmp/multipartBody3421491507074685945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364133620,"filename":"image_31012025_19_52_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/1/31/399cf5a89bfdf8f7930a6aeb1f08baaf.jpg","text":"TemporaryFile(/tmp/multipartBody3995536811272892819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364133620,"filename":"image_31012025_19_52_34_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333500176","file1":"1333500164","file0":"1333500161","file4":"1333500190","file5":"1333500193","file3":"1333500187"},"map_files_photo_id_array":[{"photo_id":"1333500193","filename":"file5"},{"photo_id":"1333500176","filename":"file2"},{"photo_id":"1333500190","filename":"file4"},{"photo_id":"1333500164","filename":"file1"},{"photo_id":"1333500161","filename":"file0"},{"photo_id":"1333500187","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333500193":["hashtag1","hashtag2"]},{"1333500187":["hashtag1","hashtag2"]},{"1333500190":["hashtag1","hashtag2"]},{"1333500176":["hashtag1","hashtag2"]},{"1333500164":["hashtag1","hashtag2"]},{"1333500161":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333500193, 1333500187, 1333500190, 1333500176, 1333500164, 1333500161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.75313377380371 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:55:32.225460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/53/image_31012025_19_53_35_10348.jpg', '/home/pi/Desktop/images/31012025/19/53/image_31012025_19_53_44_9361.jpg', '/home/pi/Desktop/images/31012025/19/53/image_31012025_19_53_54_10340.jpg', '/home/pi/Desktop/images/31012025/19/53/image_31012025_19_54_05_10452.jpg', '/home/pi/Desktop/images/31012025/19/54/image_31012025_19_54_14_9343.jpg', '/home/pi/Desktop/images/31012025/19/54/image_31012025_19_54_25_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/53/image_31012025_19_53_35_10348.jpg
/home/pi/Desktop/images/31012025/19/53/image_31012025_19_53_44_9361.jpg
/home/pi/Desktop/images/31012025/19/53/image_31012025_19_53_54_10340.jpg
/home/pi/Desktop/images/31012025/19/53/image_31012025_19_54_05_10452.jpg
/home/pi/Desktop/images/31012025/19/54/image_31012025_19_54_14_9343.jpg
/home/pi/Desktop/images/31012025/19/54/image_31012025_19_54_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":["1333500270","1333500267","1333500264","1333500258","1333500269","1333500260"],"photo_ids_order":["1333500258","1333500260","1333500264","1333500267","1333500269","1333500270"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/5152a8541831814b895fe8d80272b1aa.jpg","text":"TemporaryFile(/tmp/multipartBody5879822937808396942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364192774,"filename":"image_31012025_19_54_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/1/31/3e190c35cef1c1841759b384c257c01a.jpg","text":"TemporaryFile(/tmp/multipartBody6874881395651699178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364192774,"filename":"image_31012025_19_54_05_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a2a60ff3f308ddb3c5c1fbfd67bd11b5.jpg","text":"TemporaryFile(/tmp/multipartBody1061815008574212024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364192774,"filename":"image_31012025_19_53_54_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8de9b0e3129de701614f4d7cdea0a552.jpg","text":"TemporaryFile(/tmp/multipartBody1735067179139871033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364192774,"filename":"image_31012025_19_53_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f4e47b433b0f8910009b746484d83881.jpg","text":"TemporaryFile(/tmp/multipartBody1920723345514447504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364192774,"filename":"image_31012025_19_54_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/1/31/2d9a72b72414f8616e9b14aeab3bb379.jpg","text":"TemporaryFile(/tmp/multipartBody2656018271158761968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364192774,"filename":"image_31012025_19_53_44_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333500264","file1":"1333500260","file0":"1333500258","file4":"1333500269","file5":"1333500270","file3":"1333500267"},"map_files_photo_id_array":[{"photo_id":"1333500270","filename":"file5"},{"photo_id":"1333500264","filename":"file2"},{"photo_id":"1333500269","filename":"file4"},{"photo_id":"1333500260","filename":"file1"},{"photo_id":"1333500258","filename":"file0"},{"photo_id":"1333500267","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333500270":["hashtag1","hashtag2"]},{"1333500267":["hashtag1","hashtag2"]},{"1333500264":["hashtag1","hashtag2"]},{"1333500258":["hashtag1","hashtag2"]},{"1333500269":["hashtag1","hashtag2"]},{"1333500260":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333500270, 1333500267, 1333500264, 1333500258, 1333500269, 1333500260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44245934486389 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:56:32.460900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/54/image_31012025_19_54_34_9332.jpg', '/home/pi/Desktop/images/31012025/19/54/image_31012025_19_54_44_10350.jpg', '/home/pi/Desktop/images/31012025/19/54/image_31012025_19_54_55_10412.jpg', '/home/pi/Desktop/images/31012025/19/54/image_31012025_19_55_04_9340.jpg', '/home/pi/Desktop/images/31012025/19/55/image_31012025_19_55_14_10354.jpg', '/home/pi/Desktop/images/31012025/19/55/image_31012025_19_55_24_9454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/54/image_31012025_19_54_34_9332.jpg
/home/pi/Desktop/images/31012025/19/54/image_31012025_19_54_44_10350.jpg
/home/pi/Desktop/images/31012025/19/54/image_31012025_19_54_55_10412.jpg
/home/pi/Desktop/images/31012025/19/54/image_31012025_19_55_04_9340.jpg
/home/pi/Desktop/images/31012025/19/55/image_31012025_19_55_14_10354.jpg
/home/pi/Desktop/images/31012025/19/55/image_31012025_19_55_24_9454.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.48397040367126465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.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-01-31 23:56:42.468413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/54/image_31012025_19_54_34_9332.jpg', '/home/pi/Desktop/images/31012025/19/54/image_31012025_19_54_44_10350.jpg', '/home/pi/Desktop/images/31012025/19/54/image_31012025_19_54_55_10412.jpg', '/home/pi/Desktop/images/31012025/19/54/image_31012025_19_55_04_9340.jpg', '/home/pi/Desktop/images/31012025/19/55/image_31012025_19_55_14_10354.jpg', '/home/pi/Desktop/images/31012025/19/55/image_31012025_19_55_24_9454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/54/image_31012025_19_54_34_9332.jpg
/home/pi/Desktop/images/31012025/19/54/image_31012025_19_54_44_10350.jpg
/home/pi/Desktop/images/31012025/19/54/image_31012025_19_54_55_10412.jpg
/home/pi/Desktop/images/31012025/19/54/image_31012025_19_55_04_9340.jpg
/home/pi/Desktop/images/31012025/19/55/image_31012025_19_55_14_10354.jpg
/home/pi/Desktop/images/31012025/19/55/image_31012025_19_55_24_9454.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":["1333500626","1333500622","1333500630","1333500567","1333500633","1333500618"],"photo_ids_order":["1333500567","1333500618","1333500622","1333500626","1333500630","1333500633"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3af72cf7b9b5a52bb7d3266654e8ff90.jpg","text":"TemporaryFile(/tmp/multipartBody1153215605096704685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364262955,"filename":"image_31012025_19_55_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/1/31/02cbfb04a4b6654f132e4f4e54300733.jpg","text":"TemporaryFile(/tmp/multipartBody349390016710669429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364262955,"filename":"image_31012025_19_54_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/1/31/94fa362a57663b7f6450e8472dcfc3cb.jpg","text":"TemporaryFile(/tmp/multipartBody7468738567939537161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364262955,"filename":"image_31012025_19_55_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/1/31/092989ca3c5fe69ef654a1ec814f3393.jpg","text":"TemporaryFile(/tmp/multipartBody4248378574625498731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364262955,"filename":"image_31012025_19_54_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/1/31/10a6704c8b39e66500a9ccc45cd7cd21.jpg","text":"TemporaryFile(/tmp/multipartBody4437748725541998766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364262955,"filename":"image_31012025_19_55_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/1/31/e5d0ad62e6d626230430c8a9d8bc5a4b.jpg","text":"TemporaryFile(/tmp/multipartBody6757404496041921251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1738364262955,"filename":"image_31012025_19_54_44_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1333500622","file1":"1333500618","file0":"1333500567","file4":"1333500630","file5":"1333500633","file3":"1333500626"},"map_files_photo_id_array":[{"photo_id":"1333500633","filename":"file5"},{"photo_id":"1333500622","filename":"file2"},{"photo_id":"1333500630","filename":"file4"},{"photo_id":"1333500618","filename":"file1"},{"photo_id":"1333500567","filename":"file0"},{"photo_id":"1333500626","filename":"file3"}],"portfolio_id":20089544,"hashtag_by_photo_ids":[{"1333500626":["hashtag1","hashtag2"]},{"1333500622":["hashtag1","hashtag2"]},{"1333500630":["hashtag1","hashtag2"]},{"1333500567":["hashtag1","hashtag2"]},{"1333500633":["hashtag1","hashtag2"]},{"1333500618":["hashtag1","hashtag2"]}],"comms":"Portfolio 20089544 used, photo_id : ArrayBuffer(1333500626, 1333500622, 1333500630, 1333500567, 1333500633, 1333500618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.664199590682983 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-31 23:57:32.752716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250131 ORDER BY id_local ASC LIMIT 6;
  port_id : 20089544
  datou_current_id : 2531304
in upload_from_sqlite, uploading in 20089544
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31012025/19/55/image_31012025_19_56_05_10436.jpg', '/home/pi/Desktop/images/31012025/19/56/image_31012025_19_56_35_10488.jpg', '/home/pi/Desktop/images/31012025/19/57/image_31012025_19_57_25_10431.jpg', '/home/pi/Desktop/images/31012025/19/57/image_31012025_19_57_34_9412.jpg', '/home/pi/Desktop/images/31012025/19/57/image_31012025_19_58_04_10364.jpg', '/home/pi/Desktop/images/31012025/19/58/image_31012025_19_58_15_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2531304&datou=0
/home/pi/Desktop/images/31012025/19/55/image_31012025_19_56_05_10436.jpg
/home/pi/Desktop/images/31012025/19/56/image_31012025_19_56_35_10488.jpg
/home/pi/Desktop/images/31012025/19/57/image_31012025_19_57_25_10431.jpg
/home/pi/Desktop/images/31012025/19/57/image_31012025_19_57_34_9412.jpg
/home/pi/Desktop/images/31012025/19/57/image_31012025_19_58_04_10364.jpg
/home/pi/Desktop/images/31012025/19/58/image_31012025_19_58_15_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
